MCPcopy
hub / github.com/CodisLabs/codis / GetProxy

Method GetProxy

cmd/fe/main.go:316–320  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

314}
315
316func (r *ReverseProxy) GetProxy(name string) *httputil.ReverseProxy {
317 r.Lock()
318 defer r.Unlock()
319 return r.routes[name]
320}
321
322func (r *ReverseProxy) GetNames() []string {
323 r.Lock()

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected