MCPcopy Create free account
hub / github.com/prometheus/common / applyToHTTPClientOptions

Method applyToHTTPClientOptions

config/http_config.go:515–517  ·  view source on GitHub ↗
(options *httpClientOptions)

Source from the content-addressed store, hash-verified

513type httpClientOptionFunc func(options *httpClientOptions)
514
515func (f httpClientOptionFunc) applyToHTTPClientOptions(options *httpClientOptions) {
516 f(options)
517}
518
519// WithDialContextFunc allows you to override the func gets used for the dialing.
520// The default is `net.Dialer.DialContext`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected