listener

package
v0.0.0-...-a2ea4c1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SocketListen

func SocketListen(ctx context.Context, log zerolog.Logger, con *websocket.Conn) <-chan []byte

SocketListen Separate goroutine to listen WS connection, exposing channel for received data (was required to be able to release connection when gracefully shut down, since ReadMessage() is blocking)

Types

This section is empty.

Jump to

Keyboard shortcuts

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