Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliYunOSS ¶
type AliYunOSS struct {
// contains filtered or unexported fields
}
AliYunOSS AliYunOSS
func NewAliYunOSS ¶
func NewAliYunOSS(Endpoint, AccessKeyID, AccessKeySecret, BucketName, baseURL string) (oo AliYunOSS, err error)
NewAliYunOSS NewAliYunOSS
type QiNiu ¶
type QiNiu struct { Bucket string AccessKey string SecretKey string ImgPath string UseHTTPS bool UseCdnDomains bool Zone string }
QiNiu QiNiu
type TencentCOS ¶
type TencentCOS struct { Bucket string Region string SecretID string SecretKey string PathPrefix string BaseURL string }
TencentCOS TencentCOS
func (*TencentCOS) Upload ¶
func (a *TencentCOS) Upload(file *multipart.FileHeader) (fullPath string, path string, err error)
Upload Upload
Click to show internal directories.
Click to hide internal directories.