Versions in this module Expand all Collapse all v0 v0.2.13 Sep 11, 2020 Changes in this version + type DeleteObjectsResult struct + DeletedObjects []string + Local string + Space string + type ListObjectsResult struct + CommonPrefixes []string + Delimiter string + IsTruncated bool + Marker string + MaxKeys int + NextMarker string + Objects []ObjectProperties + Prefix string + XMLName string + type ObjectProperties struct + ETag string + Key string + LastModified time.Time + Name string + Owner Owner + Size int64 + StorageClass string + Type string + type Option func(map[string]optionValue) error + type Oss interface + DeleteObject func(dstPath string) error + DeleteObjects func(dstPaths []string, options ...Option) (DeleteObjectsResult, error) + GetObject func(dstPath string, options ...Option) ([]byte, error) + GetObjectToFile func(dstPath, srcPath string, options ...Option) error + IsObjectExist func(dstPath string) (bool, error) + ListObjects func(options ...Option) (ListObjectsResult, error) + PutObject func(dstPath string, reader io.Reader, options ...Option) error + PutObjectFromFile func(dstPath, srcPath string, options ...Option) error + SignURL func(dstPath string, method string, expiredInSec int64, options ...Option) (string, error) + type Owner struct + DisplayName string + ID string + Name string