ws

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebsocketConn

type WebsocketConn interface {
	net.Conn
	WriteMessage(int, []byte) error
	ReadMessage() (int, []byte, error)
	xnet.ClientAddr
}

func Conn

func Conn(conn *websocket.Conn) WebsocketConn

func ConnWithClientAddr added in v0.2.6

func ConnWithClientAddr(conn *websocket.Conn, clientAddr net.Addr) WebsocketConn

Jump to

Keyboard shortcuts

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