Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalBody ¶
UnmarshalBody reads the body of the given HTTP request and decodes it into the provided interface.
func Write ¶
func Write(writer http.ResponseWriter, status int, headers map[string]string, body interface{})
Write writes the provided data as the HTTP response using the provided writer.
func WriteErr ¶
func WriteErr(writer http.ResponseWriter, err error)
WriteErr writes the provided error as the HTTP response using the provided writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.