Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileUpload ¶
type FileUpload interface { FilePathAndName(dirs ...string) string RangeFileName() string RandString(len int) string RandomInt(start int, end int) int OssClient() (*oss.Bucket, error) OssUpload(path string, byt []byte) (string, error) UploadFileByUrl(imageArr []string) ([]*UploadResonse, error) UploadFileByByte(byt [][]byte) ([]*UploadResonse, error) SetExt(byt string) }
func NewUploadFile ¶
func NewUploadFile() FileUpload
*@Author Administrator *@Date 26/4/2021 16:29 *@desc
type UploadResonse ¶
Click to show internal directories.
Click to hide internal directories.