Documentation ¶
Index ¶
Constants ¶
View Source
const DesignSizeLimit int64 = 100 * 1024 * 1024 //200MB
DesignSizeLimit is the maximum upload request size
View Source
const RequestMaxMemory int64 = 2 * 1024 * 1024 //2MB
RequestMaxMemory is the maximum memory used to parse the multipart form
View Source
const TemporaryDirectory string = ""
TemporaryDirectory is a temporary path to store uploaded files, empty string indicates the system's temproary directory
Variables ¶
This section is empty.
Functions ¶
func HandleDesignUpload ¶
func HandleDesignUpload(w http.ResponseWriter, r *http.Request)
HandleDesignUpload handles user uploaded design
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.