Documentation
¶
Index ¶
- type BucketMgr
- func (b *BucketMgr) DeleteObjects(objectKeys []string, options ...types.OpOption) (result types.DeleteObjectResp, err error)
- func (b *BucketMgr) GetObject(objectKey string, options ...types.OpOption) (io.ReadCloser, int64, error)
- func (b *BucketMgr) GetObjectSignUrl(objectKey string, expire time.Duration, options ...types.OpOption) (result string, err error)
- func (b *BucketMgr) ListObject(prefix string, options ...types.OpOption) (result types.ListObjectResp, err error)
- func (b *BucketMgr) PutObject(objectKey string, reader io.Reader, options ...types.OpOption) error
- type CustomReader
- type S3Mgr
- func (s *S3Mgr) Bucket(bucketName string) types.BucketMgrInterface
- func (s *S3Mgr) BucketNative(bucketName string) *BucketMgr
- func (s *S3Mgr) CreateBucket(bucketName string) (types.BucketMgrInterface, error)
- func (s *S3Mgr) DeleteBucket(bucketName string) error
- func (s *S3Mgr) ListBucket() (result types.ListBucketResp, err error)
- func (s *S3Mgr) ListBucketNative() (*s3.ListBucketsOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketMgr ¶
func (*BucketMgr) DeleteObjects ¶
func (*BucketMgr) GetObjectSignUrl ¶ added in v1.1.0
func (*BucketMgr) ListObject ¶
type CustomReader ¶
type CustomReader struct {
// contains filtered or unexported fields
}
func NewCustomReader ¶
func NewCustomReader(readerAtSeeker readerAtSeeker, progressFn types.ProgressFn) *CustomReader
func (*CustomReader) Close ¶
func (r *CustomReader) Close()
type S3Mgr ¶
func (*S3Mgr) BucketNative ¶
func (*S3Mgr) CreateBucket ¶
func (s *S3Mgr) CreateBucket(bucketName string) (types.BucketMgrInterface, error)
func (*S3Mgr) DeleteBucket ¶
func (*S3Mgr) ListBucket ¶
func (s *S3Mgr) ListBucket() (result types.ListBucketResp, err error)
func (*S3Mgr) ListBucketNative ¶
func (s *S3Mgr) ListBucketNative() (*s3.ListBucketsOutput, error)
Click to show internal directories.
Click to hide internal directories.