Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/client_golang
/ Do
Method
Do
api/client.go:79–79 ·
view source on GitHub ↗
(context.Context, *http.Request)
Source
from the content-addressed store, hash-verified
77
type
Client
interface
{
78
URL(ep string, args
map
[string]string) *url.URL
79
Do(context.Context, *http.Request) (*http.Response, []byte, error)
80
}
81
82
type
CloseIdler
interface
{
Callers
7
TestDoContextCancellation
Function · 0.95
BenchmarkClient
Function · 0.95
attemptWrite
Method · 0.65
file_io_prometheus_write_v2_types_proto_rawDescGZIP
Function · 0.65
Do
Method · 0.65
runMain
Function · 0.65
runMain
Function · 0.65
Implementers
5
httpClient
api/client.go
apiClientImpl
api/prometheus/v1/api.go
apiTestClient
api/prometheus/v1/api_test.go
testClient
api/prometheus/v1/api_test.go
httpTestClient
api/prometheus/v1/api_test.go
Calls
no outgoing calls
Tested by
2
TestDoContextCancellation
Function · 0.76
BenchmarkClient
Function · 0.76