sampledconn

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotTCPConn = errors.New("passed conn is not a TCPConn")

Functions

This section is empty.

Types

type ManetTCPConnInterface

type ManetTCPConnInterface interface {
	manet.Conn
	// contains filtered or unexported methods
}

type PeekedBytes

type PeekedBytes = [peekSize]byte

func PeekBytes

func PeekBytes(conn manet.Conn) (PeekedBytes, manet.Conn, error)

Jump to

Keyboard shortcuts

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