Documentation ¶
Overview ¶
Package storage provides blob storage service
Package storage provides blob storage service
Index ¶
- type Option
- func WithAccessKey(ak string) Option
- func WithBucketName(bn string) Option
- func WithCompressAlgorithm(al string) Option
- func WithCompressionLevel(level int) Option
- func WithEndpoint(ep string) Option
- func WithErrGroup(eg errgroup.Group) Option
- func WithFilename(fn string) Option
- func WithFilenameSuffix(sf string) Option
- func WithMaxPartSizeGB(gb int) Option
- func WithMaxPartSizeKB(kb int) Option
- func WithMaxPartSizeMB(mb int) Option
- func WithRegion(rg string) Option
- func WithSecretAccessKey(sak string) Option
- func WithToken(tk string) Option
- func WithType(bst string) Option
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(b *bs) error
func WithAccessKey ¶
func WithBucketName ¶
func WithCompressAlgorithm ¶
func WithCompressionLevel ¶
func WithEndpoint ¶
func WithErrGroup ¶
func WithFilename ¶
func WithFilenameSuffix ¶
func WithMaxPartSizeGB ¶
func WithMaxPartSizeKB ¶
func WithMaxPartSizeMB ¶
func WithRegion ¶
func WithSecretAccessKey ¶
Click to show internal directories.
Click to hide internal directories.