Versions in this module Expand all Collapse all v0 v0.2.13 Sep 11, 2020 Changes in this version + func NewOss(endpoints, accessKeyId, accessKeySecret, bucketName 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) (ouput []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) (string, error)