cabrillo

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryOperator

type CategoryOperator byte
const (
	CategoryOperatorUnknown CategoryOperator = iota
	CategoryOperatorSingle
	CategoryOperatorMulti
	CategoryOperatorChecklog
)

type CategoryOverlay

type CategoryOverlay byte
const (
	CategoryOverlayUnknown CategoryOverlay = iota
	CategoryOverlayClassic
	CategoryOverlayRookie
	CategoryOverlayTBWires
	CategoryOverlayNoviceTech
	CategoryOverlayOver50
)

type CategoryPower

type CategoryPower byte
const (
	CategoryPowerUnknown CategoryPower = iota
	CategoryPowerHigh
	CategoryPowerLow
	CategoryPowerQRP
)

type CategoryStation

type CategoryStation byte
const (
	CategoryStationUnknown CategoryStation = iota
	CategoryStationFixed
	CategoryStationMobile
	CategoryStationPortable
	CategoryStationRover
	CategoryStationRoverLimited
	CategoryStationRoverUnlimited
	CategoryStationExpedition
	CategoryStationHQ
	CategoryStationSchool
)

type Log

type Log struct {
	Filename         string
	Callsign         string
	Name             string
	Address          []string
	Email            string
	Operators        string
	Soapbox          []string
	Contest          string
	CategoryAssisted bool
	CategoryOperator CategoryOperator
	CategoryStation  CategoryStation
	CategoryPower    CategoryPower
	CategoryOverlay  CategoryOverlay
	ClaimedScore     int
	QSOS             []QSO
	ExtraHeaders     map[string]string
}

func ParseFile

func ParseFile(filename string) (*Log, error)

func (*Log) Write

func (l *Log) Write(w io.Writer) error

func (*Log) WriteToFile

func (l *Log) WriteToFile(filename string) error

type QSO

type QSO struct {
	Frequency string
	Mode      string
	Timestamp time.Time

	SentCall     string
	SentRST      string
	SentExchange string

	RcvdCall     string
	RcvdRST      string
	RcvdExchange string
}

Jump to

Keyboard shortcuts

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