Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder interface { //Encode an interface{} to a data format. //Can only be called once in a request because it sets data format specific http headers Encode(w http.ResponseWriter, v interface{}) error }
Encoder for api http endpoints
Click to show internal directories.
Click to hide internal directories.