websocket

package
v1.0.68 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebsocketService

type WebsocketService struct {
	Client *melody.Melody
}

func NewWebsocketService

func NewWebsocketService() *WebsocketService

NewWebsocketService creates a new WebsocketService instance with a maximum message size of 2000 bytes. It also sets the Upgrader to allow cross-origin requests.

Jump to

Keyboard shortcuts

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