Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UntarDirectory ¶
func UntarDirectory(upDir string, w http.ResponseWriter, r *http.Request)
Untar directory from http request (dl it, untar it, remove it)
func UploadFile ¶
func UploadFile(upDir string, w http.ResponseWriter, r *http.Request)
Upload binary file <= 32Mb and return byte content Note: upload with curl -X POST -F "file=@[BINARY_FILENAME]" http://[TARGET_IP:PORT]/push
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.