Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadBodyAndUnmarshalData ¶
ReadBodyAndUnmarshalData helper function
func ResponseError ¶
func ResponseError(w http.ResponseWriter, message string, code int)
ResponseError to respond some errors
func ResponseJSON ¶
func ResponseJSON(w http.ResponseWriter, data interface{})
ResponseJSON to respond with some JSON
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.