mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-28 12:02:23 +00:00
wgengine/magicsock: add immutability documentation to endpointDisco
Updates #7825 Signed-off-by: James Tucker <james@tailscale.com>
This commit is contained in:
parent
fb18af5564
commit
a257b2f88b
@ -4085,6 +4085,8 @@ func ippDebugString(ua netip.AddrPort) string {
|
|||||||
// recalculated.
|
// recalculated.
|
||||||
type endpointSendFunc func([][]byte) error
|
type endpointSendFunc func([][]byte) error
|
||||||
|
|
||||||
|
// endpointDisco is the current disco key and short string for an endpoint. This
|
||||||
|
// structure is immutable.
|
||||||
type endpointDisco struct {
|
type endpointDisco struct {
|
||||||
key key.DiscoPublic // for discovery messages.
|
key key.DiscoPublic // for discovery messages.
|
||||||
short string // ShortString of discoKey.
|
short string // ShortString of discoKey.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user