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

Method GetID

src/api/node/node.go:43–47  ·  view source on GitHub ↗

GetID returns the node's ID

()

Source from the content-addressed store, hash-verified

41
42// GetID returns the node's ID
43func (n *Node) GetID() string {
44 n.mu.RLock()
45 defer n.mu.RUnlock()
46 return n.ID
47}
48
49// GetName returns the node's name
50func (n *Node) GetName() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected