GetID returns the node's ID
()
| 41 | |
| 42 | // GetID returns the node's ID |
| 43 | func (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 |
| 50 | func (n *Node) GetName() string { |
nothing calls this directly
no outgoing calls
no test coverage detected