notifications

package
v0.0.0-...-5b75bdc Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WsConnectionManager

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

func NewWsConnectionManager

func NewWsConnectionManager() *WsConnectionManager

func (*WsConnectionManager) RegisterWebSocket

func (wsConn *WsConnectionManager) RegisterWebSocket(id string, conn *websocket.Conn)

func (*WsConnectionManager) SendMessage

func (wsConn *WsConnectionManager) SendMessage(id string, message string)

func (*WsConnectionManager) UnregisterWebSocket

func (wsConn *WsConnectionManager) UnregisterWebSocket(id string)

Jump to

Keyboard shortcuts

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