Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode reads n bytes from request body as JSON-encoded value and stores it in the value pointed to by v.
func Encode ¶
func Encode(w http.ResponseWriter, v interface{}, code int)
Encode writes the JSON encoding of v to the response writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.