tailscale/ipn/localapi
Simon Law 00b9e8d8ce
ipn: add fmt.Stringer support to NotifyWatchOpt (#20072)
This patch adds support for the fmt.Stringer interface to the
ipn.NotifyWatchOpt enum. This is useful when debugging these bitmasks.

For example:

	fmt.Printf("%s", ipn.NotifyPeerChanges | ipn.NotifyNoNetMap)
	// Output: (ipn.NotifyPeerChanges | ipn.NotifyNoNetMap)

Fixes #20066

Signed-off-by: Simon Law <sfllaw@tailscale.com>
2026-06-18 10:27:16 -07:00
..
cert.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
debug.go ipn/ipnlocal, control/controlclient: process node adds/removes in constant time 2026-05-21 09:26:19 -07:00
debugderp.go ipn/localapi,tstest/natlab: fix debug derp TLS check for sha256-raw CertName 2026-06-02 12:02:40 -07:00
disabled_stubs.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
localapi_drive.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
localapi_test.go ipn: add no-disconnect in-process bus subscribers 2026-06-09 12:51:38 -07:00
localapi.go ipn: add fmt.Stringer support to NotifyWatchOpt (#20072) 2026-06-18 10:27:16 -07:00
pprof.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
serve.go ipn,ipn/localapi: require local admin to serve Unix domain sockets 2026-06-03 09:45:02 -06:00
syspolicy_api.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tailnetlock.go all: rename NetworkLock functions/types to TailnetLock 2026-06-08 13:14:28 +01:00