Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadRequestBody ¶
ReadRequestBody read request body values and bind to the interface
func RenderErr ¶
func RenderErr(w http.ResponseWriter, err error)
RenderErr return error in http response
func RenderJSON ¶
func RenderJSON(w http.ResponseWriter, obj interface{})
RenderJSON return json object in the http response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.