Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(s *Storage)
Option represents the S3 storage options
func WithAccessKey ¶
WithAccessKey sets the bucket accessKey
func WithBucketRegion ¶
WithBucketRegion sets the bucket region
func WithHystrixCommand ¶
func WithHystrixCommand(hytrixCmd storage.HystrixCommand) Option
WithHystrixCommand sets the bucket hystrixCmd
func WithSecretKey ¶
WithSecretKey sets the bucket secretKey
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage holds the fields used by S3 storage implementation
func NewStorage ¶
NewStorage returns a new s3.Storage instance
Click to show internal directories.
Click to hide internal directories.