Documentation
      ¶
    
    
  
    
  
    Overview ¶
*
- @Author: yangon
 - @Description
 - @Date: 2020/12/23 16:30 *
 
Index ¶
- func NewOss(cdnName string, bucket string, isDelete bool) (client standard.Oss, err error)
 - type Client
 - 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)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
	// contains filtered or unexported fields
}
    func (*Client) DeleteObject ¶
func (*Client) DeleteObjects ¶
func (*Client) GetObjectToFile ¶
func (*Client) ListObjects ¶
func (*Client) PutObjectFromFile ¶
 Click to show internal directories. 
   Click to hide internal directories.