Documentation ¶
Index ¶
- type OssClient
- func (c OssClient) DeleteFile(bucketName, objectName string) error
- func (c OssClient) DownloadFile(bucketName, objectName, downloadedFileName string) error
- func (c OssClient) GetFileList(bucketName string) ([]string, error)
- func (c OssClient) UpdateFile(bucketName, objectName, localFileName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OssClient ¶
type OssClient struct { Endpoint string AccessKeyId string AccessKeySecret string ReadWriteTimeout int64 HttpConnectTimeout int64 }
func (OssClient) DeleteFile ¶
func (OssClient) DownloadFile ¶
func (OssClient) UpdateFile ¶
Click to show internal directories.
Click to hide internal directories.