qConstruct

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Replace

func Replace(packet string, toCall string, newPath []string) (string, error)

Replace path in the APRS packet

Types

type ConnectionType

type ConnectionType int

ConnectionType defined type of connections

const (
	ConnectionDirectUDP ConnectionType = iota
	ConnectionUnverified
	ConnectionVerifiedClientOnly
	ConnectionVerified
	ConnectionOutboundServer
	ConnectionSendOnly
	ConnectionClientOnly
)

type QConfig

type QConfig struct {
	ServerLogin    string
	ClientLogin    string
	ConnectionType ConnectionType
	EnableTrace    bool
	RemoteIP       string
	IsVerified     bool
	IsClientOnly   bool
	IsSendOnly     bool
}

QConfig includes config of QConstruct

type QResult

type QResult struct {
	Path       []string
	ShouldDrop bool
	DropReason string
	IsLoop     bool
}

QResult is the struct of result of QConstruct

func QConstruct

func QConstruct(p parser.Parsed, config *QConfig) (QResult, error)

QConstruct processes QConstruct

func (*QResult) GetPathString

func (r *QResult) GetPathString() string

GetPathString returns string of path result

Jump to

Keyboard shortcuts

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