Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteErrorJSON ¶
func WriteErrorJSON(statusCode int, msg string, w http.ResponseWriter)
func WriteJSON ¶
func WriteJSON(statusCode int, data interface{}, w http.ResponseWriter)
func WriteSuccessJSON ¶
func WriteSuccessJSON(statusCode int, msg string, w http.ResponseWriter)
Types ¶
Click to show internal directories.
Click to hide internal directories.