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

Function httpScheme

cmd/tempo-cli/shared.go:187–192  ·  view source on GitHub ↗
(secure bool)

Source from the content-addressed store, hash-verified

185}
186
187func httpScheme(secure bool) string {
188 if secure {
189 return "https"
190 }
191 return "http"
192}
193
194func grpcTransportCredentials(secure bool) (opt grpc.DialOption, err error) {
195 var creds credentials.TransportCredentials

Callers 5

searchHTTPMethod · 0.85
searchHTTPMethod · 0.85
searchHTTPMethod · 0.85
queryRangeHTTPMethod · 0.85
queryInstantHTTPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected