utp

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(_ context.Context, config interface{}) (interface{}, error)

New creates a new UTP header for the given config.

Types

type Config

type Config = utpcfg.Config

type UTP

type UTP struct {
	// contains filtered or unexported fields
}

func (*UTP) Serialize

func (u *UTP) Serialize(b []byte)

Serialize implements PacketHeader.

func (*UTP) Size

func (*UTP) Size() int32

Jump to

Keyboard shortcuts

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