conn

package
v0.0.0-...-354bb4a Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TCPConnection

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

func NewTCPConnection

func NewTCPConnection(conn *net.TCPConn) *TCPConnection

func (*TCPConnection) WriteMessage

func (tc *TCPConnection) WriteMessage(data []byte) error

type WebsocketConnection

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

func NewWebsocketConnection

func NewWebsocketConnection(conn *websocket.Conn) *WebsocketConnection

func (*WebsocketConnection) WriteMessage

func (wc *WebsocketConnection) WriteMessage(data []byte) error

Jump to

Keyboard shortcuts

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