websocket

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleWebSocket

func HandleWebSocket(broker *WebSocketBroker) echo.HandlerFunc

func RenderComponent

func RenderComponent(currentPath string, message []byte) (templ.Component, error)

Types

type Client

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

type WebSocketBroker

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

func NewWebSocketBroker

func NewWebSocketBroker(redisAddr string) (*WebSocketBroker, error)

func (*WebSocketBroker) Close

func (b *WebSocketBroker) Close() error

func (*WebSocketBroker) Run

func (b *WebSocketBroker) Run()

Jump to

Keyboard shortcuts

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