Versions in this module Expand all Collapse all v1 v1.0.0 May 11, 2024 Changes in this version + const CloudHuawei + type OBS struct + func NewOBS(endpoint, accessKeyID, accessKeySecret, bucketName string, opts ...Option) (*OBS, error) + func (o *OBS) AuthorizedUpload(key string, expires int) (string, error) + func (o *OBS) Cloud() string + func (o *OBS) DeleteObjects(keys ...string) error + func (o *OBS) GetObject(key string) (io.ReadCloser, error) + func (o *OBS) GetThumbnailSuffix(width, height int, size int64) string + func (o *OBS) GetURL(key string) string + func (o *OBS) PutObject(key string, reader io.Reader) (string, error) + func (o *OBS) UploadFile(key, filePath string, partSize int64, routines int) (string, error) + type Option func(o *OBS) + func WithNotSetACL(notSetACL ...bool) Option