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

Method String

config/http_config.go:1188–1194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1186}
1187
1188func (c HTTPClientConfig) String() string {
1189 b, err := yaml.Marshal(c)
1190 if err != nil {
1191 return fmt.Sprintf("<error creating http client config string: %s>", err)
1192 }
1193 return string(b)
1194}
1195
1196type ProxyConfig struct {
1197 // HTTP proxy server to use to connect to the targets.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected