Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
func Setup(oss OSSHandler)
Types ¶
type OSSHandler ¶
type OSSHandler interface { UploadFile(file *multipart.FileHeader) (filePath string, fileKey string, err error) DeleteFile(key string) error }
OSS 对象存储接口
var Oss OSSHandler
Click to show internal directories.
Click to hide internal directories.