ws_server

package
v0.0.0-...-98b6286 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: GPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

func IgnoreCheckOrigin

func IgnoreCheckOrigin(r *http.Request) bool

func Run

func Run(cfg *config.Config)

Types

type WSCmdEvent

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

type WSConnection

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

func (*WSConnection) ReplyError

func (wsc *WSConnection) ReplyError(error_msg string, jsonrpc_id interface{})

func (*WSConnection) ReplyOK

func (wsc *WSConnection) ReplyOK(jsonrpc_id interface{}, cmd_id string)

Jump to

Keyboard shortcuts

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