Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitFileUrl ¶ added in v1.8.0
规划图片文件路径
func RemoveFile ¶
上传文件到云存储
Types ¶
type AliOSS ¶
type AliOSS struct { Endpoint string AccessKeyId string AccessKeySecret string BucketName string BaseUrl string }
type TencentCOS ¶
func (*TencentCOS) RemoveFile ¶
func (m *TencentCOS) RemoveFile(cloudFileUrl string, localFileUrl string, removeLocalFile bool) error
删除文件
func (*TencentCOS) UploadFile ¶
func (m *TencentCOS) UploadFile(cloudFileUrl string, localFileUrl string) error
上传文件
Click to show internal directories.
Click to hide internal directories.