server

package
v0.0.0-...-cb4139d Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebSocketServer

type WebSocketServer struct {
	*websocket.Conn
	Parse   func([]byte) interface{}
	Address string
}

func NewWebSocketServer

func NewWebSocketServer(address string, parse func([]byte) interface{}) *WebSocketServer

func (*WebSocketServer) StartWebSocketServer

func (e *WebSocketServer) StartWebSocketServer()

Jump to

Keyboard shortcuts

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