MCPcopy
hub / github.com/fabiolb/fabio / Set

Method Set

proxy/grpc_handler.go:290–295  ·  view source on GitHub ↗
(target *route.Target, conn *grpc.ClientConn)

Source from the content-addressed store, hash-verified

288}
289
290func (p *grpcConnectionPool) Set(target *route.Target, conn *grpc.ClientConn) {
291 p.lock.Lock()
292 defer p.lock.Unlock()
293
294 p.connections[makeGRPCTargetKey(target)] = conn
295}
296
297func (p *grpcConnectionPool) cleanup() {
298 for {

Callers 15

newConnectionMethod · 0.95
testProxyLogOutputFunction · 0.45
TestProxyGzipHandlerFunction · 0.45
plainHandlerFunction · 0.45
gzipHandlerFunction · 0.45
newHTTPProxyFunction · 0.45
addResponseHeadersFunction · 0.45
addHeadersFunction · 0.45
newWSHandlerFunction · 0.45
ListenAndServePrometheusFunction · 0.45

Calls 1

makeGRPCTargetKeyFunction · 0.85