MCPcopy Index your code
hub / github.com/CodisLabs/codis / Get

Method Get

pkg/proxy/backend.go:510–512  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

508}
509
510func (p *sharedBackendConnPool) Get(addr string) *sharedBackendConn {
511 return p.pool[addr]
512}
513
514func (p *sharedBackendConnPool) Retain(addr string) *sharedBackendConn {
515 if bc := p.pool[addr]; bc != nil {

Callers 2

dispatchAddrMethod · 0.45
newApiServerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected