types/netmap: add some docs/warning to NetworkMap

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-04-12 12:49:23 -07:00
parent ccb322db04
commit 64c80129f1

View File

@ -18,6 +18,10 @@
"tailscale.com/wgengine/filter"
)
// NetworkMap is the current state of the world.
//
// The fields should all be considered read-only. They might
// alias parts of previous NetworkMap values.
type NetworkMap struct {
// Core networking