Documentation
¶
Index ¶
- func ErrorEncoder(writer http.ResponseWriter, request *http.Request, err error)
- func FromError(resp *Resp) (*cerr.CodeError, bool)
- func RequestBodyDecoder(r *nethttp.Request, i interface{}) error
- func ResponseEncoder(writer nethttp.ResponseWriter, request *nethttp.Request, i interface{}) error
- type Resp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorEncoder ¶
func ErrorEncoder(writer http.ResponseWriter, request *http.Request, err error)
func RequestBodyDecoder ¶
func ResponseEncoder ¶
func ResponseEncoder(writer nethttp.ResponseWriter, request *nethttp.Request, i interface{}) error
Types ¶
Click to show internal directories.
Click to hide internal directories.