mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-13 22:47:30 +00:00
ipn/localapi,client/local: add debug watcher for bus events (#16239)
Updates: #15160 Signed-off-by: Claus Lensbøl <claus@tailscale.com>
This commit is contained in:
@@ -186,3 +186,12 @@ type hookFn[T any] struct {
|
||||
ID uint64
|
||||
Fn func(T)
|
||||
}
|
||||
|
||||
// DebugEvent is a representation of an event used for debug clients.
|
||||
type DebugEvent struct {
|
||||
Count int
|
||||
Type string
|
||||
From string
|
||||
To []string
|
||||
Event any
|
||||
}
|
||||
|
Reference in New Issue
Block a user