MCPcopy Create free account
hub / github.com/KOSASIH/skybridge / nodeService

Struct nodeService

src/api/node/node.go:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156type nodeService struct {
157 logger logging.Logger
158 nodes map[string]*Node
159 mu sync.RWMutex
160}
161
162func (s *nodeService) GetNode(ctx context.Context, id string) (*Node, error) {
163 s.mu.RLock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected