Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RespondError ¶
func RespondError(w http.ResponseWriter, code int, message string)
RespondError makes error json format
func ResponseJSON ¶
func ResponseJSON(w http.ResponseWriter, status int, payload interface{})
ResponseJSON makes json response
Types ¶
Click to show internal directories.
Click to hide internal directories.