# Functions
No description provided by the author
NewHandler return handle interface implementation.
NewUpload wraps net/http upload into PRS-7 compatible structure.
URI fetches full uri from request in a form of string (including https scheme if TLS connection is enabled).
# Constants
No description provided by the author
MaxLevel defines maximum tree depth for incoming request data and files.
No description provided by the author
UploadErrorCantWrite - failed to write file to disk.
UploadErrorExtension - forbidden file extension.
UploadErrorNoFile - no file was uploaded.
UploadErrorNoTmpDir - missing a temporary folder.
UploadErrorOK - no error, the file uploaded with success.
# Structs
FileUpload represents singular file NewUpload.
Handler serves http connections to underlying PHP application using PSR-7 protocol.
Request maps net/http requests to PSR7 compatible structure and managed state of temporary uploaded files.
Response handles PSR7 response logic.
Uploads tree manages uploaded files tree and temporary files.