package
3.6.0
Repository: https://github.com/aos-dev/go-storage.git
Documentation: pkg.go.dev

# Functions

WithContentMd5 will apply content_md5 value to Options ContentMd5.
WithContentType will apply content_type value to Options ContentType.
WithContext will apply context value to Options Context.
WithContinuationToken will apply continuation_token value to Options ContinuationToken specify the continuation token for list.
WithCredential will apply credential value to Options Credential specify how to provide credential for service or storage.
WithEndpoint will apply endpoint value to Options Endpoint specify how to provide endpoint for service or storage.
WithExpire will apply expire value to Options Expire specify when the url returned by reach will expire.
WithHTTPClientOptions will apply http_client_options value to Options HTTPClientOptions.
WithInterceptor will apply interceptor value to Options Interceptor.
WithIoCallback will apply io_callback value to Options IoCallback specify what todo every time we read data from source.
WithListMode will apply list_mode value to Options ListMode.
WithLocation will apply location value to Options Location specify the location for service or storage.
WithMultipartID will apply multipart_id value to Options MultipartID.
WithName will apply name value to Options Name specify the storage name.
WithOffset will apply offset value to Options Offset specify offset for this request, storage will seek to this offset before read.
WithPairPolicy will apply pair_policy value to Options PairPolicy.
WithSize will apply size value to Options Size specify size for this request, storage will only read limited content data.
WithWorkDir will apply work_dir value to Options WorkDir specify the work dir for service or storage, every operation will be relative to this dir.

# Variables

ErrPairTypeMismatch means the pair's type is not match.

# Structs

Error represents error related to a pair.