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

Method GetName

src/api/node/node.go:50–54  ·  view source on GitHub ↗

GetName returns the node's name

()

Source from the content-addressed store, hash-verified

48
49// GetName returns the node's name
50func (n *Node) GetName() string {
51 n.mu.RLock()
52 defer n.mu.RUnlock()
53 return n.Name
54}
55
56// GetIPAddress returns the node's IP address
57func (n *Node) GetIPAddress() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected