Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encodeous/nylon
/ IsNode
Method
IsNode
state/config.go:414–416 ·
view source on GitHub ↗
(node NodeId)
Source
from the content-addressed store, hash-verified
412
}
413
414
func
(e *CentralCfg) IsNode(node NodeId) bool {
415
return
e.IsRouter(node) || e.IsClient(node)
416
}
417
418
func
(e *CentralCfg) GetNode(node NodeId) NodeCfg {
419
val := e.TryGetNode(node)
Callers
1
NodeConfigValidator
Function · 0.80
Calls
2
IsRouter
Method · 0.95
IsClient
Method · 0.95
Tested by
no test coverage detected