GetUpdatedAt returns the node's update time
()
| 76 | |
| 77 | // GetUpdatedAt returns the node's update time |
| 78 | func (n *Node) GetUpdatedAt() time.Time { |
| 79 | n.mu.RLock() |
| 80 | defer n.mu.RUnlock() |
| 81 | return n.UpdatedAt |
| 82 | } |
| 83 | |
| 84 | // Update updates the node's information |
| 85 | func (n *Node) Update(name, ipAddress string, port int) error { |
nothing calls this directly
no outgoing calls
no test coverage detected