Documentation ¶
Index ¶
- Constants
- func Get(ctx context.Context, fileName string) (int64, io.ReadCloser, error)
- func Init(endpoint, accessKey, secretKey, bucket string, useSSL bool) error
- func Put(ctx context.Context, filePath, objName string) (string, error)
- func Remove(ctx context.Context, fileName string) error
- type Err
- type S3Client
Constants ¶
View Source
const ErrClientNotInit = Err("s3 client not init")
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.