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, logger log.Logger, ...) http1.Handler
- func TracingHTTPClientOptions(tracer opentracinggo.Tracer, logger log.Logger) func([]httpkit.ClientOption) []httpkit.ClientOption
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, logger log.Logger, tracer opentracinggo.Tracer, opts ...http.ServerOption) http1.Handler
func TracingHTTPClientOptions ¶
func TracingHTTPClientOptions(tracer opentracinggo.Tracer, logger log.Logger) func([]httpkit.ClientOption) []httpkit.ClientOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.