Versions in this module Expand all Collapse all v1 v1.0.3 Mar 6, 2021 Changes in this version + func NewOss(cdnName string, bucket string, isDelete bool) (client standard.Oss, err error) + type Client struct + func (c *Client) DeleteObject(dstPath string) (err error) + func (c *Client) DeleteObjects(dstPaths []string, options ...standard.Option) (output standard.DeleteObjectsResult, err error) + func (c *Client) GetObject(dstPath string, options ...standard.Option) (output []byte, err error) + func (c *Client) GetObjectToFile(dstPath, srcPath string, options ...standard.Option) error + func (c *Client) IsObjectExist(dstPath string) (bool, error) + func (c *Client) ListObjects(options ...standard.Option) (standard.ListObjectsResult, error) + func (c *Client) PutObject(dstPath string, reader io.Reader, options ...standard.Option) error + func (c *Client) PutObjectFromFile(dstPath, srcPath string, options ...standard.Option) (err error) + func (c *Client) SignURL(dstPath string, method string, expiredInSec int64, options ...standard.Option) (resp string, err error)