tailscale: Expose more peer info fields

This commit is contained in:
世界
2026-05-21 14:20:48 +08:00
parent 9afbd45d4b
commit 3bc481a845
6 changed files with 72 additions and 2 deletions
+4
View File
@@ -41,12 +41,16 @@ type TailscalePeer struct {
DNSName string
OS string
TailscaleIPs []string
SSHHostKeys []string
Online bool
ExitNode bool
ExitNodeOption bool
ShareeNode bool
Expired bool
Active bool
RxBytes int64
TxBytes int64
UserID int64
KeyExpiry int64
LastSeen int64
}