edp

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDevice

func GenerateDevice(pkg *Packet) (*devices.Device, *devices.Device)

GenerateDevice returns stampzilla device and area id if the packet had that.

Types

type Packet

type Packet struct {
	Area     int
	ID       string
	Name     string
	UserName string
	Class    string
	Time     time.Time
	SystemID int
}

func Decode

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

Jump to

Keyboard shortcuts

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