Documentation ¶
Index ¶
- func CopyHeaders(h map[string][]string) map[string][]string
- func DecodeJSONBody(w http.ResponseWriter, r *http.Request, contentType string, dst interface{}) error
- func SetHeaders(src, dest map[string][]string)
- func StreamToResponseWriter(r *bufio.Reader, w http.ResponseWriter, bufSize int) error
- type MalformedParserReponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyHeaders ¶
Copies the headers from h into a new map of string slices.
func DecodeJSONBody ¶
func SetHeaders ¶
Assigns the headers in dest from src
func StreamToResponseWriter ¶
Streams the data from the response 'r' into the response writer 'w'.
Types ¶
type MalformedParserReponse ¶
func (*MalformedParserReponse) Error ¶
func (mr *MalformedParserReponse) Error() string
Click to show internal directories.
Click to hide internal directories.