GetName returns the node's name
()
| 48 | |
| 49 | // GetName returns the node's name |
| 50 | func (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 |
| 57 | func (n *Node) GetIPAddress() string { |
nothing calls this directly
no outgoing calls
no test coverage detected