adp

package
v0.0.0-...-75fa4b0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RxTxToConn

type RxTxToConn struct {
	TxChan chan []byte
	RxChan chan []byte
	// contains filtered or unexported fields
}

func NewRxTxToConn

func NewRxTxToConn(TxChan chan []byte,
	RxChan chan []byte, closer io.Closer, ctx context.Context) *RxTxToConn

func (RxTxToConn) Close

func (r RxTxToConn) Close() error

func (RxTxToConn) LocalAddr

func (r RxTxToConn) LocalAddr() net.Addr

func (RxTxToConn) Read

func (r RxTxToConn) Read(b []byte) (n int, err error)

func (RxTxToConn) RemoteAddr

func (r RxTxToConn) RemoteAddr() net.Addr

func (RxTxToConn) SetDeadline

func (r RxTxToConn) SetDeadline(t time.Time) error

func (RxTxToConn) SetReadDeadline

func (r RxTxToConn) SetReadDeadline(t time.Time) error

func (RxTxToConn) SetWriteDeadline

func (r RxTxToConn) SetWriteDeadline(t time.Time) error

func (RxTxToConn) Write

func (r RxTxToConn) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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