Documentation ¶
Index ¶
- Constants
- func Default(opts ...httpcli.Option) *httpcli.Client
- func Log(logger log.Logger) httpcli.Middleware
- func LogConfigToContext(ctx context.Context, logRequestBody bool, logResponseBody bool) context.Context
- func Metrics(storage *http_metrics.ClientStorage) httpcli.Middleware
- func RequestId() httpcli.Middleware
Constants ¶
View Source
const (
RequestIdHeader = "x-request-id"
)
Variables ¶
This section is empty.
Functions ¶
func LogConfigToContext ¶
func Metrics ¶
func Metrics(storage *http_metrics.ClientStorage) httpcli.Middleware
func RequestId ¶
func RequestId() httpcli.Middleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.