Documentation
¶
Index ¶
- func NewS3Storage(useAws bool, endpoint string, usePathStyle bool, ak string, sk string, ...) (oss.OSS, error)
- type S3Storage
- func (s *S3Storage) Delete(key string) error
- func (s *S3Storage) Exists(key string) (bool, error)
- func (s *S3Storage) List(prefix string) ([]oss.OSSPath, error)
- func (s *S3Storage) Load(key string) ([]byte, error)
- func (s *S3Storage) Save(key string, data []byte) error
- func (s *S3Storage) State(key string) (oss.OSSState, error)
- func (s *S3Storage) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.