Documentation ¶
Overview ¶
*
- @Author : nopsky
- @Email : cnnopsky@gmail.com
- @Date : 2021/8/20 17:59
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodecForRequest ¶
CodecForRequest get encoding.Codec via http.Request
func Encoder ¶
func Encoder(w http.ResponseWriter, r *http.Request, v interface{}) error
DefaultResponseEncoder encodes the object to the HTTP response.
func ErrorEncoder ¶
func ErrorEncoder(w http.ResponseWriter, r *http.Request, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.