Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encoder ¶
func Encoder(w nethttp.ResponseWriter, r *nethttp.Request, i interface{}) error
Encoder @see https://go-kratos.dev/docs/component/encoding
func ErrorEncoder ¶
func ErrorEncoder(w nethttp.ResponseWriter, r *nethttp.Request, err error)
Types ¶
type ErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.