types/netmap: add some docs/warning to NetworkMap
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user