packet

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(stream []byte) error

Types

type Address

type Address [6]byte

type Packet

type Packet struct {
	Header  [6]byte
	Payload [16]Address
}

func New

func New(m string) (*Packet, error)

func (*Packet) Marshal

func (p *Packet) Marshal() ([]byte, error)

Jump to

Keyboard shortcuts

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