Documentation ¶
Index ¶
- func CheckBucket(ctx context.Context, bucketName string) (err error)
- func Connect(addr string, options ...Option)
- func DelObject(ctx context.Context, bucketName, objName string) (err error)
- func GetObject(ctx context.Context, bucketName, objName string) (obj *minio.Object, err error)
- func PreSignedGetObject(ctx context.Context, bucketName, objName string, expiration time.Duration) (url string, err error)
- func PutObject(ctx context.Context, bucketName, objectName string, reader io.Reader, ...) (err error)
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckBucket ¶
CheckBucket 检查桶是否存在,不存在则创建
Types ¶
Click to show internal directories.
Click to hide internal directories.