Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AllowedFileTypes []string MaxUploadFileSize int )
Functions ¶
This section is empty.
Types ¶
type UploadedFile ¶
UploadedFile is a struct used to save information about an uploaded file.
func UploadFile ¶ added in v1.3.0
UploadFile uploads one file to the specified directory with random file name. If rename is true, then original file name is use.
func UploadFiles ¶
UploadFiles uploads one or more files to the specified directory with random file names. If rename is true, then original file names are use.
Click to show internal directories.
Click to hide internal directories.