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

Method String

config/http_config.go:1672–1678  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1670}
1671
1672func (c HTTPClientConfig) String() string {
1673 b, err := yaml.Marshal(c)
1674 if err != nil {
1675 return fmt.Sprintf("<error creating http client config string: %s>", err)
1676 }
1677 return string(b)
1678}
1679
1680type ProxyConfig struct {
1681 // 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