MCPcopy
hub / github.com/grafana/tempo / SetHeader

Method SetHeader

pkg/httpclient/client.go:87–92  ·  view source on GitHub ↗
(key string, value string)

Source from the content-addressed store, hash-verified

85}
86
87func (c *Client) SetHeader(key string, value string) {
88 if c.headers == nil {
89 c.headers = make(map[string]string)
90 }
91 c.headers[key] = value
92}
93
94func (c *Client) SetQueryParam(key, value string) {
95 if c.queryParams == nil {

Callers 2

RunValidationModeFunction · 0.45
applyHeadersFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected