Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorEncoder ¶
func ErrorEncoder(w nethttp.ResponseWriter, r *nethttp.Request, err error)
ErrorEncoder encode error response
func ResponseEncoder ¶
func ResponseEncoder(w http.ResponseWriter, r *http.Request, data interface{}) error
ResponseEncoder encode response struct
Types ¶
Click to show internal directories.
Click to hide internal directories.