Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FileStorage = fileStorage{
Path: "./files",
TempPath: ".tmp",
}
FileStorage settings. When finished uploading with success files are stored inside Path config. While uploading temporary files are stored inside TempPath directory.
Functions ¶
func HTTPHandler ¶
func HTTPHandler(w http.ResponseWriter, r *http.Request)
HTTPHandler is main request/response handler for HTTP server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.