packet

package
v0.0.0-...-0e8913f Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MaxBuffer = 1000 * 1000

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection interface {
	Receiver
	Sender
	io.Closer
}

func NewConn

func NewConn(rwc io.ReadWriteCloser) Connection

type Receiver

type Receiver interface {
	Receive() ([]byte, error)
}

type Sender

type Sender interface {
	Send([]byte) error
}

Jump to

Keyboard shortcuts

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