| Lorenz Brun | 4bde931 | 2025-08-06 05:04:11 +0200 | [diff] [blame] | 1 | // Copyright The Monogon Project Authors. |
| 2 | // SPDX-License-Identifier: Apache-2.0 | ||||
| 3 | |||||
| 4 | package node | ||||
| 5 | |||||
| 6 | import "net" | ||||
| 7 | |||||
| 8 | // NetStatus is the current network status of the host. It will be updated by the | ||||
| 9 | // network Service whenever the node's network configuration changes. Spurious | ||||
| 10 | // changes might occur, consumers should ensure that the change that occured is | ||||
| 11 | // meaningful to them. | ||||
| 12 | type NetStatus struct { | ||||
| 13 | ExternalAddress net.IP | ||||
| 14 | } | ||||