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

Struct headersRoundTripper

config/headers.go:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108type headersRoundTripper struct {
109 next http.RoundTripper
110 config *Headers
111}
112
113// RoundTrip implements http.RoundTripper.
114func (rt *headersRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected