Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heartbeat ¶
type Heartbeat struct {
AgentID string `json:"agent_id"`
Timestamp time.Time `json:"timestamp"`
Version string `json:"version"`
OSVersion string `json:"os_version"`
Uptime float64 `json:"uptime_seconds,omitempty"`
}
Heartbeat represents an agent heartbeat message
type PermanentError ¶
type PermanentError struct {
// contains filtered or unexported fields
}
PermanentError represents a non-retryable error
type Shipper ¶
type Shipper struct {
// contains filtered or unexported fields
}
Shipper sends signals to the backend
func NewShipper ¶
NewShipper creates a new signal shipper
func (*Shipper) EnqueueSignal ¶
EnqueueSignal adds a signal to the shipping queue
func (*Shipper) GetMetrics ¶
GetMetrics returns current metrics (for testing/monitoring)
Click to show internal directories.
Click to hide internal directories.