Documentation ¶
Overview ¶
Please, do not change functions names!
Index ¶
- func CommonHTTPRequestEncoder(_ context.Context, r *http.Request, request interface{}) error
- func CommonHTTPResponseEncoder(_ context.Context, w http.ResponseWriter, response interface{}) error
- func NewHTTPClient(u *url.URL, opts ...httpkit.ClientOption) transport.EndpointsSet
- func NewHTTPHandler(endpoints *transport.EndpointsSet, opts ...http.ServerOption) http1.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonHTTPResponseEncoder ¶
func CommonHTTPResponseEncoder(_ context.Context, w http.ResponseWriter, response interface{}) error
func NewHTTPClient ¶
func NewHTTPClient(u *url.URL, opts ...httpkit.ClientOption) transport.EndpointsSet
func NewHTTPHandler ¶
func NewHTTPHandler(endpoints *transport.EndpointsSet, opts ...http.ServerOption) http1.Handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.