Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AliSMSAccessKeyId *string = tea.String(iniConfig.Ini.Section("AliSMS").Key("AccessKeyId").String())
Functions ¶
This section is empty.
Types ¶
type AliOSS ¶ added in v1.0.3
type AliOSS struct {
Endpoint string
AccessKeyId string
AccessKeySecret string
BucketName string
BaseUrl string
}
func (*AliOSS) RemoveFile ¶ added in v1.3.8
Remove AliOSS File
func (*AliOSS) UploadFile ¶ added in v1.3.8
upload a file to aliOSS
type TencentCOS ¶ added in v1.3.8
type TencentCOS struct {
BucketURL string
ServiceURL string
SecretId string
SecretKey string
BaseUrl string
}
func (*TencentCOS) InitClient ¶ added in v1.3.8
func (m *TencentCOS) InitClient() *cos.Client
初始化客户端
func (*TencentCOS) RemoveFile ¶ added in v1.3.8
func (m *TencentCOS) RemoveFile(fileUrl string, removeLocalFile bool) error
删除文件
func (*TencentCOS) UploadFile ¶ added in v1.3.8
func (m *TencentCOS) UploadFile(fileUrl string) error
上传文件
Click to show internal directories.
Click to hide internal directories.