Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(w http.ResponseWriter, err error, status int)
Error write error, status to http response writer
func JSON ¶
func JSON(w http.ResponseWriter, status int, data interface{})
JSON write status and JSON data to http response writer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.