agent

command
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

README

agent

Startup Sequence

sequenceDiagram
    participant A as Agent Server
    participant S as Sweep Service
    participant M as Monitor
    participant CS as Combined Scanner

    A->>S: Start(ctx)
    Note over A,S: loadServices() -> loadSweepService()
    
    A->>S: startNodeMonitoring(ctx)
    Note over S: Sleep 30s (nodeDiscoveryTimeout)
    Note over S: checkInitialStates()
    Note over S: Sleep 30s (nodeNeverReportedTimeout)
    Note over S: checkNeverReportedGateways()
    
    S->>M: MonitorGateways(ctx)
    Note over M: ticker := time.NewTicker(gatewayTimeout)
    M->>CS: Scan(ctx, targets)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL