Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteErrJSON ¶
func WriteErrJSON(w http.ResponseWriter, err error)
func WriteErrJSONAPI ¶
func WriteErrJSONAPI(w http.ResponseWriter, err error)
func WriteJSON ¶
func WriteJSON(w http.ResponseWriter, code int, data interface{})
func WriteJSONAPI ¶
func WriteJSONAPI(w http.ResponseWriter, code int, data interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.