Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidMediaType = fmt.Errorf("Invalid media type, it should be multipart/mixed with boundary parameter")
ErrInvalidMediaType is returned when the media type is not multipart/mixed with boundary param set
View Source
var ErrMalformedMediaType = fmt.Errorf("Malformed media type")
ErrMalformedMediaType is returned when the media type cannot be parsed
View Source
var ErrMalformedRequest = fmt.Errorf("Invalid request part format")
ErrMalformedRequest is returned when a part can be read into a http.Request
Functions ¶
func UnpackRequests ¶
UnpackRequests split the multipart requests in its sub-requests
func WriteResponses ¶
func WriteResponses(w http.ResponseWriter, responses []*http.Response) error
WriteResponses serialize the responses passed as argument into the ResponseWriter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.