package
Version:
v1.6.2
Opens a new window with list of versions in this module.
Published: Oct 24, 2023
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
上传文件到本地目录
腾讯云COS对象存储操作
文件上传工具
type LocalConfig struct {
UploadDir string
}
本地上传配置结构体
type ObjectTag = cos.ObjectTaggingTag
type Uploader struct {
Local *localFile
TencentCos *tencentCos
}
func Instance(conf interface{}) (c Uploader)
Instance
conf: interface{} 上传方式配置
Source Files
¶
Click to show internal directories.
Click to hide internal directories.