Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteContext ¶
func SetBuildInfo ¶
func SetBuildInfo(v, bt, gc, gb, bb string)
SetBuildInfo sets the build information
Types ¶
type BackendStats ¶
type BackendStats struct {
Requests int64
Failures int64
LastHealthy time.Time
IsHealthy bool
AverageLatency time.Duration
}
BackendStats holds per-backend statistics
type BenchmarkResults ¶
type BenchmarkResults struct {
TotalConnections int64
SuccessfulConns int64
FailedConns int64
TotalBytes int64
TotalPackets int64
MinLatency time.Duration
MaxLatency time.Duration
AvgLatency time.Duration
StartTime time.Time
EndTime time.Time
Errors []string
// contains filtered or unexported fields
}
BenchmarkResults holds benchmark statistics
type DistributedManager ¶
type DistributedManager struct {
// contains filtered or unexported fields
}
DistributedManager manages distributed operations
type ForwardStats ¶
type ForwardStats struct {
TotalConnections int64
ActiveConnections int64
BytesForwarded int64
ErrorCount int64
// contains filtered or unexported fields
}
Port forwarding statistics
type Node ¶
type Node struct {
ID string `json:"id"`
Type NodeType `json:"type"`
Address string `json:"address"`
Status string `json:"status"`
Capacity int `json:"capacity"`
Load int `json:"load"`
LastSeen time.Time `json:"last_seen"`
Metadata map[string]interface{} `json:"metadata"`
}
Node represents a distributed node
type ProxyStats ¶
type ProxyStats struct {
TotalRequests int64
ActiveRequests int64
FailedRequests int64
BytesReceived int64
BytesSent int64
AverageLatency time.Duration
BackendStats map[string]*BackendStats
// contains filtered or unexported fields
}
ProxyStats holds proxy statistics
type ScriptInfo ¶
ScriptInfo holds parsed script information
type Task ¶
type Task struct {
ID string `json:"id"`
Type string `json:"type"`
Priority int `json:"priority"`
Payload map[string]interface{} `json:"payload"`
AssignedTo string `json:"assigned_to"`
Status string `json:"status"`
Result interface{} `json:"result"`
Error string `json:"error"`
CreatedAt time.Time `json:"created_at"`
StartedAt *time.Time `json:"started_at"`
CompletedAt *time.Time `json:"completed_at"`
}
Task represents a distributed task
Source Files
¶
Click to show internal directories.
Click to hide internal directories.