uniclient

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnifiedConnectionClient

type UnifiedConnectionClient struct {
	ConnID []byte
	Iter   int

	RxChan     chan []byte
	TxChan     chan []byte
	IterCancel context.CancelFunc
	// contains filtered or unexported fields
}

func (*UnifiedConnectionClient) Close

func (u *UnifiedConnectionClient) Close() error

func (*UnifiedConnectionClient) Connect

func (*UnifiedConnectionClient) ReconnectListener

func (u *UnifiedConnectionClient) ReconnectListener(connctx context.Context)

func (*UnifiedConnectionClient) ReconnectUnder

func (u *UnifiedConnectionClient) ReconnectUnder(ctx context.Context) error

func (*UnifiedConnectionClient) ReconnectUnderR

func (u *UnifiedConnectionClient) ReconnectUnderR(ctx context.Context) error

func (*UnifiedConnectionClient) Rx

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

func (*UnifiedConnectionClient) Tx

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

Jump to

Keyboard shortcuts

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