Documentation ¶
Index ¶
- func RequestDecoder(_ context.Context, r *http.Request) (interface{}, error)
- func RequestEncoder(_ context.Context, r *http.Request, request interface{}) error
- func ResponseDecoder(_ context.Context, resp *http.Response) (interface{}, error)
- func ResponseEncoder(_ context.Context, w http.ResponseWriter, response interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestDecoder ¶
RequestDecoder decode rpc request from http request
func RequestEncoder ¶
RequestEncoder encode rpc request to http request
func ResponseDecoder ¶
ResponseDecoder decode rpc response from http response
func ResponseEncoder ¶
func ResponseEncoder(_ context.Context, w http.ResponseWriter, response interface{}) error
ResponseEncoder encode rpc response to http response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.