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

Struct hostRoundTripper

config/http_config.go:1628–1631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1626}
1627
1628type hostRoundTripper struct {
1629 host string
1630 rt http.RoundTripper
1631}
1632
1633// NewUserAgentRoundTripper adds the user agent every request header.
1634func NewUserAgentRoundTripper(userAgent string, rt http.RoundTripper) http.RoundTripper {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected