Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a WebSocket client connection
type EventFilters ¶
type EventFilters struct {
// EventTypes filters events by type (e.g., test.begin, test.end)
// Empty slice means all event types
EventTypes []string
// RunID filters events by run ID
RunID string
// TestID filters events by test ID
TestID string
// SuiteID filters events by suite ID
SuiteID string
}
EventFilters holds filters for selective event streaming
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
Hub manages WebSocket connections and broadcasts events to connected clients
func (*Hub) GetMetrics ¶
func (h *Hub) GetMetrics() HubMetrics
GetMetrics returns current hub metrics (safe for concurrent access)
func (*Hub) InitNATS ¶
func (h *Hub) InitNATS(cfg NATSConfig) error
InitNATS initializes NATS consumer for the WebSocket hub
func (*Hub) LogMetrics ¶
func (h *Hub) LogMetrics()
LogMetrics logs current metrics (useful for periodic health checks)
Click to show internal directories.
Click to hide internal directories.