types/netmap: add some docs/warning to NetworkMap

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/1697/head
Brad Fitzpatrick 4 years ago
parent ccb322db04
commit 64c80129f1

@ -18,6 +18,10 @@ import (
"tailscale.com/wgengine/filter" "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 { type NetworkMap struct {
// Core networking // Core networking

Loading…
Cancel
Save