examples

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FiberStreamHandler

type FiberStreamHandler struct {
	// contains filtered or unexported fields
}

FiberStreamHandler handles WebSocket connections using Fiber framework

func NewFiberStreamHandler

func NewFiberStreamHandler(streamService *audit.StreamService) *FiberStreamHandler

NewFiberStreamHandler creates a new Fiber stream handler

func (*FiberStreamHandler) HandleSSE

func (h *FiberStreamHandler) HandleSSE(c *fiber.Ctx) error

HandleSSE handles Server-Sent Events for browsers without WebSocket support

func (*FiberStreamHandler) HandleWebSocket

func (h *FiberStreamHandler) HandleWebSocket(c *websocket.Conn)

HandleWebSocket handles WebSocket connections

func (*FiberStreamHandler) RegisterRoutes

func (h *FiberStreamHandler) RegisterRoutes(app *fiber.App)

RegisterRoutes registers WebSocket routes with Fiber app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL