NodeAddresses returns the addresses of a node from the NetworkMap.
(publicKey key.NodePublic)
| 556 | |
| 557 | // NodeAddresses returns the addresses of a node from the NetworkMap. |
| 558 | func (c *Conn) NodeAddresses(publicKey key.NodePublic) ([]netip.Prefix, bool) { |
| 559 | return c.configMaps.nodeAddresses(publicKey) |
| 560 | } |
| 561 | |
| 562 | // Status returns the current ipnstate of a connection. |
| 563 | func (c *Conn) Status() *ipnstate.Status { |
no test coverage detected