MCPcopy Create free account
hub / github.com/eth-easl/dirigent / GetServiceName

Function GetServiceName

internal/data_plane/proxy/utils.go:33–36  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

31)
32
33func GetServiceName(r *http.Request) string {
34 // provided by the gRPC client through WithAuthority(...) call
35 return r.Host
36}
37
38func giveBackCCCapacity(endpoint *common.UpstreamEndpoint) {
39 endpointInflight := atomic.AddInt32(&endpoint.InFlight, -1)

Callers 2

fireRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected