websocket

package
v0.0.0-...-297abb6 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WS

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

func (*WS) Run

func (ws *WS) Run(ctx context.Context, address string, checkOrigin bool, dispatch func(net.Conn))

func (*WS) RunTLS

func (ws *WS) RunTLS(ctx context.Context, address, certFile, keyFile string, checkOrigin bool, dispatch func(net.Conn))

func (*WS) Stop

func (ws *WS) Stop() error

Jump to

Keyboard shortcuts

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