MCPcopy
hub / github.com/uber/aresdb / ControllerHTTPClient

Struct ControllerHTTPClient

controller/client/controller.go:51–56  ·  view source on GitHub ↗

ControllerHTTPClient implements ControllerClient over http

Source from the content-addressed store, hash-verified

49
50// ControllerHTTPClient implements ControllerClient over http
51type ControllerHTTPClient struct {
52 c *http.Client
53 address string
54 headers http.Header
55 namespace string
56}
57
58// NewControllerHTTPClient returns new ControllerHTTPClient
59func NewControllerHTTPClient(address string, timeoutSec time.Duration, headers http.Header) *ControllerHTTPClient {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected