Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AllowImageExts = []string{".jpeg", ".jpg", ".png", ".bmp", ".gif"} AllowAnyExts = []string{"*"} )
Functions ¶
Types ¶
type FileAttribute ¶
func (FileAttribute) CheckFile ¶ added in v2.1.5
func (a FileAttribute) CheckFile(fileHeader *multipart.FileHeader) (err error)
type FileUpload ¶ added in v2.1.0
Click to show internal directories.
Click to hide internal directories.