Documentation
¶
Index ¶
- Constants
- Variables
- func DeleteImg(url string) error
- func GenerateImgName(suffix string) string
- func GetDir(path string) (*model.UpYunFileDir, error)
- func GetDownloadUrl(uri string) (string, error)
- func GetPolicy() string
- func JoinFileName(fileName string) string
- func NewUpYun()
- func SignStr(policy string) string
- func URlGetFile(url string) (*[]byte, error)
- func URlUploadFile(file []byte, url string) error
- func UploadFile(filepath, ussDir string) error
- func UploadImg(file []byte, url string) error
Constants ¶
View Source
const DefaultObjsChannelSize = 10
Variables ¶
View Source
var UpYun *upyun.UpYun
Functions ¶
func UploadFile ¶
UploadFile 支持上传文件 20241030: 暂时搁置上传计划
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.