Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBucket ¶
func WithBucket(bucket string) option
func WithFilePath ¶
func WithFilePath(filePath string) option
func WithImgUrl ¶
func WithImgUrl(imgUrl string) option
func WithIsDelLocal ¶
func WithIsDelLocal(isDelLocal bool) option
Types ¶
type File ¶
type File struct { qiniux.Qiniu Bucket string // 空间名 ImgUrl string // cdn域名 // contains filtered or unexported fields }
func (*File) SetFileName ¶
func (*File) SetFilePath ¶
func (*File) UploadFile ¶
Click to show internal directories.
Click to hide internal directories.