websocket

package
v0.0.0-...-1cbd5cf Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartReader

func StartReader(ctx context.Context, done chan<- bool, ws *websocket.Conn, handler func([]byte) error) error

StartReader reads messages from a Websocket connection and passes them to a supplied handler for processing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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