mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-06 10:17:29 +08:00
harden node lifecycle with ttl heartbeat audits, action ACL checks, and status panel
This commit is contained in:
@@ -22,6 +22,8 @@ type NodeInfo struct {
|
||||
Endpoint string `json:"endpoint,omitempty"`
|
||||
Token string `json:"token,omitempty"`
|
||||
Capabilities Capabilities `json:"capabilities"`
|
||||
Actions []string `json:"actions,omitempty"`
|
||||
RegisteredAt time.Time `json:"registered_at,omitempty"`
|
||||
LastSeenAt time.Time `json:"last_seen_at"`
|
||||
Online bool `json:"online"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user