Documentation
¶
Overview ¶
Package logs provides concrete implementations for log streaming functionality. It handles tailing log files and streaming them via WebSocket to Base.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler implements the LogStreamer interface.
func NewHandler ¶
NewHandler creates a new log stream handler.
type WSHandler ¶
type WSHandler struct {
// contains filtered or unexported fields
}
WSHandler handles WebSocket connections for log streaming.
func NewWSHandler ¶
NewWSHandler creates a new WebSocket handler for log streaming.
func (*WSHandler) HandleWebSocket ¶
func (h *WSHandler) HandleWebSocket(w http.ResponseWriter, r *http.Request)
HandleWebSocket handles incoming WebSocket connections for log streaming.
Click to show internal directories.
Click to hide internal directories.