MCPcopy 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
414func (e *CentralCfg) IsNode(node NodeId) bool {
415 return e.IsRouter(node) || e.IsClient(node)
416}
417
418func (e *CentralCfg) GetNode(node NodeId) NodeCfg {
419 val := e.TryGetNode(node)

Callers 1

NodeConfigValidatorFunction · 0.80

Calls 2

IsRouterMethod · 0.95
IsClientMethod · 0.95

Tested by

no test coverage detected