mirror of
https://github.com/tailscale/tailscale.git
synced 2026-07-20 21:23:07 +08:00
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>
|
||
|---|---|---|
| .. | ||
| cert.go | ||
| debug.go | ||
| debugderp.go | ||
| disabled_stubs.go | ||
| localapi_drive.go | ||
| localapi_test.go | ||
| localapi.go | ||
| pprof.go | ||
| serve.go | ||
| syspolicy_api.go | ||
| tailnetlock.go | ||