api package - github.com/prometheus/client_golang/api - Go Packages (original) (raw)
Package api provides clients for the HTTP APIs.
This section is empty.
DefaultRoundTripper is used if no RoundTripper is set in Config.
This section is empty.
Client is the interface for an API client.
NewClient returns a new Client.
It is safe to use the returned Client from multiple goroutines.
type CloseIdler interface { CloseIdleConnections() }
Config defines configuration parameters for a new client.