aep

package
v0.0.0-...-d25c2eb Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

type Function uint8
const (
	EchoRequest Function = 1
	EchoReply   Function = 2
)

type Packet

type Packet struct {
	Function Function
	Data     []byte
}

Packet represents an AEP packet.

func Unmarshal

func Unmarshal(data []byte) (*Packet, error)

Unmarshal unmarshals an AEP packet.

func (*Packet) Marshal

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

Marshal marshals an AEP packet.

Jump to

Keyboard shortcuts

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