uniserver

package
v0.0.0-...-632c06c Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnifiedConnectionTransport

type UnifiedConnectionTransport struct {
	ConnID                 []byte
	Arw                    *antiReplayWindow.AntiReplayWindow
	LastConnIter           int32
	LastCOnnIterCancelFunc map[string]context.CancelFunc
	TxChan                 chan []byte
	RxChan                 chan []byte
	// contains filtered or unexported fields
}

func (UnifiedConnectionTransport) Close

func (*UnifiedConnectionTransport) Rehandshake

func (uct *UnifiedConnectionTransport) Rehandshake()

func (*UnifiedConnectionTransport) Rx

func (uct *UnifiedConnectionTransport) Rx(conn net.Conn, ctx context.Context)

func (*UnifiedConnectionTransport) Tx

func (uct *UnifiedConnectionTransport) Tx(conn net.Conn, ctx context.Context)

type UnifiedConnectionTransportHub

type UnifiedConnectionTransportHub struct {
	Conns      sync.Map
	Uplistener transport.UnderlayTransportListener
	// contains filtered or unexported fields
}

func (*UnifiedConnectionTransportHub) Connection

Jump to

Keyboard shortcuts

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