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

Method Close

pkg/proxy/backend.go:63–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func (bc *BackendConn) Close() {
64 bc.stop.Do(func() {
65 close(bc.input)
66 })
67 bc.closed.Set(true)
68}
69
70func (bc *BackendConn) IsConnected() bool {
71 return bc.state.Int64() == stateConnected

Callers

nothing calls this directly

Calls 2

DoMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected