entity

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handshaker

type Handshaker interface {
	HandshakeServer(net.Conn) (net.Conn, error)
	HandshakeClient(net.Conn) (net.Conn, error)
	StreamHeader(buf *bytes.Buffer, addr netapi.Address)
	PacketHeader(*bytes.Buffer)
	ParseHeader(net.Conn) (Net, error)
}

type Net

type Net byte
var (
	TCP Net = 66
	UDP Net = 77
)

func (Net) Unknown

func (n Net) Unknown() bool

Jump to

Keyboard shortcuts

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