Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AliYunClientInterface ¶
type AliYunClientInterface interface { //文件上传(本地文件上传) Put(bucket, fileName, localFilePath string) error /** 字符串上传 */ PutStream(bucketName string, fileName string, reader io.Reader) error /** 分片上传 */ PutStreamChunk(bucketName string, filePath string, fileName string, chunkNum int) error }
func NewAliYunOssClient ¶
func NewAliYunOssClient(endPoint, accesskeyId, accessKeySecret string) AliYunClientInterface
Click to show internal directories.
Click to hide internal directories.