Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QiniuUploader ¶
type QiniuUploader struct { Bucket string `default:"msghub-picture"` // contains filtered or unexported fields }
func NewQiniuUploader ¶
func NewQiniuUploader(AccessKey string, SecretKey string, Bucket string) *QiniuUploader
func (*QiniuUploader) UploadFile ¶
func (q *QiniuUploader) UploadFile(fn string, key string) error
Click to show internal directories.
Click to hide internal directories.