GetPort returns the node's port
()
| 62 | |
| 63 | // GetPort returns the node's port |
| 64 | func (n *Node) GetPort() int { |
| 65 | n.mu.RLock() |
| 66 | defer n.mu.RUnlock() |
| 67 | return n.Port |
| 68 | } |
| 69 | |
| 70 | // GetCreatedAt returns the node's creation time |
| 71 | func (n *Node) GetCreatedAt() time.Time { |
nothing calls this directly
no outgoing calls
no test coverage detected