fix: gofmt NodeView AgentOS field alignment
This commit is contained in:
@@ -51,12 +51,12 @@ type NodeView struct {
|
|||||||
// skips intents), so lighting the badge there is a false promise.
|
// skips intents), so lighting the badge there is a false promise.
|
||||||
// Empty for agents that never reported probe facts; callers must
|
// Empty for agents that never reported probe facts; callers must
|
||||||
// treat empty as "not Windows" (fail open), never as Windows.
|
// treat empty as "not Windows" (fail open), never as Windows.
|
||||||
AgentOS string `json:"agentOs,omitempty" example:"Windows 10"`
|
AgentOS string `json:"agentOs,omitempty" example:"Windows 10"`
|
||||||
Guid string `json:"guid" example:"node-guid"`
|
Guid string `json:"guid" example:"node-guid"`
|
||||||
Status string `json:"status" example:"online"`
|
Status string `json:"status" example:"online"`
|
||||||
LastHeartbeat int64 `json:"lastHeartbeat" example:"1700000000"`
|
LastHeartbeat int64 `json:"lastHeartbeat" example:"1700000000"`
|
||||||
LatencyMs int `json:"latencyMs" example:"42"`
|
LatencyMs int `json:"latencyMs" example:"42"`
|
||||||
XrayVersion string `json:"xrayVersion" example:"25.10.31"`
|
XrayVersion string `json:"xrayVersion" example:"25.10.31"`
|
||||||
// SingboxVersion is the bound agent's sing-box core version
|
// SingboxVersion is the bound agent's sing-box core version
|
||||||
// (V2.0.1 ②), overlaid from agent telemetry like XrayVersion;
|
// (V2.0.1 ②), overlaid from agent telemetry like XrayVersion;
|
||||||
// empty for traditional nodes and agents that never reported
|
// empty for traditional nodes and agents that never reported
|
||||||
|
|||||||
Reference in New Issue
Block a user