Versions in this module Expand all Collapse all v1 v1.0.0 May 11, 2024 Changes in this version + type Config struct + AccessKeyID string + AccessKeySecret string + BucketName string + Cloud string + EndPoint string + NotSetACL bool + UploadInternal bool + UseSSL bool + type OSS interface + AuthorizedUpload func(key string, expires int) (string, error) + Cloud func() string + DeleteObjects func(keys ...string) error + GetObject func(key string) (io.ReadCloser, error) + GetThumbnailSuffix func(width, height int, size int64) string + GetURL func(key string) string + PutObject func(key string, reader io.Reader) (string, error) + UploadFile func(key, filePath string, partSize int64, routines int) (string, error) + func MustNewOSS(c Config) OSS + func NewOSS(c Config) (OSS, error)