Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AliyunOSS ¶
type AliyunOSS struct{}
func (*AliyunOSS) DeleteFile ¶
func (*AliyunOSS) UploadFile ¶
type GamePlugin ¶
type GamePlugin struct{}
func NewGamePlugin ¶
func NewGamePlugin() *GamePlugin
func (*GamePlugin) DeleteFile ¶
func (*GamePlugin) DeleteFile(key string) error
func (*GamePlugin) UploadFile ¶
func (*GamePlugin) UploadFile(file *multipart.FileHeader) (string, string, error)
type OSS ¶
type TencentCOS ¶
type TencentCOS struct{}
func (*TencentCOS) DeleteFile ¶
func (*TencentCOS) DeleteFile(key string) error
DeleteFile delete file form COS
func (*TencentCOS) UploadFile ¶
func (*TencentCOS) UploadFile(file *multipart.FileHeader) (string, string, error)
UploadFile upload file to COS
Click to show internal directories.
Click to hide internal directories.