Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertForm ¶
Transforms body of request to mime multipart upload. Request body should be io.ReadCloser of file being transfered. fieldname specifies field for content.
func ConvertFormFile ¶
func ConvertFormFile(request *http.Request, fieldname string, filename string, add_fields map[string]string, byte_limit int64)
Transforms body of request to mime multipart upload. Request body should be io.ReadCloser of file being transfered. fieldname specified field for content, filename should be filename of file. if byte_limit is > 0, original request.Body will need to be closed outside of function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.