Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ IsClosed
Method
IsClosed
internal/pool/conn.go:942–944 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
940
}
941
942
func
(cn *Conn) IsClosed() bool {
943
return
cn.stateMachine.GetState() == StateClosed
944
}
945
946
func
(cn *Conn) Close() error {
947
if
cn.IsClosed() {
Callers
5
handleMoving
Method · 0.95
Close
Method · 0.95
OnNext
Method · 0.80
OnPut
Method · 0.80
pool_test.go
File · 0.80
Calls
1
GetState
Method · 0.45
Tested by
no test coverage detected