websocket

package
v0.0.0-...-fe78ce7 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	*ws.Conn
	// contains filtered or unexported fields
}

func NewConn

func NewConn(conn *ws.Conn, options ConnOptions) *Conn

func (*Conn) Serve

func (c *Conn) Serve()

type ConnOptions

type ConnOptions struct {
	Ctx    context.Context
	ReqCtx *nswebctx.Context
	Log    *nslog.Logger
	Bus    *nsbus.Bus
}

Jump to

Keyboard shortcuts

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