socket

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var H *hub

H is the socket hub

Functions

func GetStatus

func GetStatus(context echo.Context) error

GetStatus returns the status of the hub along with the program

func ServeWebsocket

func ServeWebsocket(w http.ResponseWriter, r *http.Request)

func SetMessenger

func SetMessenger(m *messenger.Messenger)

SetMessenger .

Types

type Client

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

Jump to

Keyboard shortcuts

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