Documentation ¶
Index ¶
- Constants
- type IClient
- type S3
- func (service *S3) AssignURL(bucket, key string) (string, error)
- func (service *S3) CreateBucket(bucket string, isPublic bool) (string, error)
- func (service *S3) DeleteBucket(bucket string) (string, error)
- func (service *S3) DeleteObject(bucket, key string) (string, error)
- func (service *S3) GetObject(bucket, key, path string) (string, error)
- func (service *S3) ListBuckets() (string, error)
- func (service *S3) ListObjects(bucket string) (string, error)
- func (service *S3) PutObjects(bucket string, filePaths []string) (output []string, errArr []error)
- func (service *S3) PutObjectsAsync(bucket string, filenames []string, outCh chan string, errCh chan error)
Constants ¶
View Source
const MinutesToExpireSignedURL = 15
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
type IClient interface { ListBuckets() (string, error) CreateBucket(bucket string, isPublic bool) (string, error) PutObjectsAsync(bucket string, filenames []string, outCh chan string, errCh chan error) PutObjects(bucket string, filePaths []string) (output []string, errArr []error) ListObjects(bucket string) (string, error) GetObject(bucket, key, path string) (string, error) DeleteObject(bucket, key string) (string, error) DeleteBucket(bucket string) (string, error) AssignURL(bucket, key string) (string, error) }
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
func (*S3) CreateBucket ¶
func (*S3) ListBuckets ¶
func (*S3) PutObjects ¶
Click to show internal directories.
Click to hide internal directories.