websocket

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT-0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BroadcastToClient = make(chan BroadcastMessage)

Functions

func CreateWebsocket

func CreateWebsocket(context *serverContext.Context, httpApp *fiber.App)

Types

type BroadcastMessage

type BroadcastMessage struct {
	Room    string
	Message string
}

Jump to

Keyboard shortcuts

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