websocket

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWsListener added in v0.4.0

func NewWsListener(addr string) *wsListener

Types

type WsNode added in v0.4.0

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

func NewWsNode added in v0.4.0

func NewWsNode(c *websocket.Conn, buffer uint) *WsNode

func (*WsNode) Go added in v0.4.0

func (n *WsNode) Go() *rua.Handle

func (*WsNode) Handle added in v0.4.0

func (n *WsNode) Handle() *rua.Handle

func (*WsNode) OnMsg added in v0.4.0

func (n *WsNode) OnMsg(f func([]byte)) *WsNode

Directories

Path Synopsis
_example

Jump to

Keyboard shortcuts

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