Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalStateHandler ¶
type GlobalStateHandler struct {
// contains filtered or unexported fields
}
GlobalStateHandler handles global state management
func NewGlobalStateHandler ¶
func NewGlobalStateHandler(jsEngine *engine.Engine) *GlobalStateHandler
NewGlobalStateHandler creates a new global state handler
func (*GlobalStateHandler) HandleGlobalState ¶
func (gsh *GlobalStateHandler) HandleGlobalState(w http.ResponseWriter, r *http.Request)
HandleGlobalState serves the globalState interface and API
type LogsHandler ¶
type LogsHandler struct {
// contains filtered or unexported fields
}
LogsHandler handles log-related admin endpoints
func NewLogsHandler ¶
func NewLogsHandler(logger *engine.RequestLogger, repos repository.RepositoryManager) *LogsHandler
NewLogsHandler creates a new logs handler
func (*LogsHandler) HandleLogsAPI ¶
func (lh *LogsHandler) HandleLogsAPI(w http.ResponseWriter, r *http.Request)
HandleLogsAPI handles API endpoints for log data
type SSEHandler ¶
type SSEHandler struct {
// contains filtered or unexported fields
}
SSEHandler handles Server-Sent Events for real-time updates
func NewSSEHandler ¶
func NewSSEHandler(logger *engine.RequestLogger, repos repository.RepositoryManager) *SSEHandler
NewSSEHandler creates a new SSE handler
func (*SSEHandler) BroadcastSSE ¶
func (sh *SSEHandler) BroadcastSSE(message string)
BroadcastSSE sends a message to all connected SSE clients
func (*SSEHandler) ServeSSE ¶
func (sh *SSEHandler) ServeSSE(w http.ResponseWriter, r *http.Request)
ServeSSE handles Server-Sent Events for real-time updates
Click to show internal directories.
Click to hide internal directories.