Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ IsOnline
Method
IsOnline
pkg/proxy/proxy.go:216–220 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
214
}
215
216
func
(s *Proxy) IsOnline() bool {
217
s.mu.Lock()
218
defer
s.mu.Unlock()
219
return
s.online && !s.closed
220
}
221
222
func
(s *Proxy) IsClosed() bool {
223
s.mu.Lock()
Callers
5
Stats
Method · 0.95
main
Function · 0.45
AutoOnlineWithDashboard
Function · 0.45
AutoOnlineWithCoordinator
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected