cabrillo

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(w io.Writer, export *cabrillo.Log) error

Export writes the given QSOs to the given writer in the Cabrillo format. The header is very limited and needs to be completed manually after the log was written.

Types

type Controller added in v0.22.0

type Controller struct {
	// contains filtered or unexported fields
}

func NewController added in v0.22.0

func NewController() *Controller

func (*Controller) Categories added in v0.22.0

func (c *Controller) Categories() []string

func (*Controller) CategoryAssisted added in v0.22.0

func (c *Controller) CategoryAssisted() []string

func (*Controller) CategoryBands added in v0.22.0

func (c *Controller) CategoryBands() []string

func (*Controller) CategoryModes added in v0.22.0

func (c *Controller) CategoryModes() []string

func (*Controller) CategoryOperators added in v0.22.0

func (c *Controller) CategoryOperators() []string

func (*Controller) CategoryOverlays added in v0.22.0

func (c *Controller) CategoryOverlays() []string

func (*Controller) CategoryPowers added in v0.22.0

func (c *Controller) CategoryPowers() []string

func (*Controller) CategoryStations added in v0.22.0

func (c *Controller) CategoryStations() []string

func (*Controller) CategoryTimes added in v0.22.0

func (c *Controller) CategoryTimes() []string

func (*Controller) CategoryTransmitters added in v0.22.0

func (c *Controller) CategoryTransmitters() []string

func (*Controller) Run added in v0.22.0

func (c *Controller) Run(settings core.Settings, claimedScore int, qsos []core.QSO) (Result, bool)

func (*Controller) SetAddressCity added in v0.22.0

func (c *Controller) SetAddressCity(addressCity string)

func (*Controller) SetAddressCountry added in v0.22.0

func (c *Controller) SetAddressCountry(addressCountry string)

func (*Controller) SetAddressPostalCode added in v0.22.0

func (c *Controller) SetAddressPostalCode(addressPostalCode string)

func (*Controller) SetAddressStateProvince added in v0.22.0

func (c *Controller) SetAddressStateProvince(addressStateProvince string)

func (*Controller) SetAddressText added in v0.22.0

func (c *Controller) SetAddressText(addressText string)

func (*Controller) SetCategory added in v0.22.0

func (c *Controller) SetCategory(name string)

func (*Controller) SetCategoryAssisted added in v0.22.0

func (c *Controller) SetCategoryAssisted(assisted string)

func (*Controller) SetCategoryBand added in v0.22.0

func (c *Controller) SetCategoryBand(band string)

func (*Controller) SetCategoryMode added in v0.22.0

func (c *Controller) SetCategoryMode(mode string)

func (*Controller) SetCategoryOperator added in v0.22.0

func (c *Controller) SetCategoryOperator(operator string)

func (*Controller) SetCategoryOverlay added in v0.22.0

func (c *Controller) SetCategoryOverlay(overlay string)

func (*Controller) SetCategoryPower added in v0.22.0

func (c *Controller) SetCategoryPower(power string)

func (*Controller) SetCategoryStation added in v0.22.0

func (c *Controller) SetCategoryStation(station string)

func (*Controller) SetCategoryTime added in v0.22.0

func (c *Controller) SetCategoryTime(time string)

func (*Controller) SetCategoryTransmitter added in v0.22.0

func (c *Controller) SetCategoryTransmitter(transmitter string)

func (*Controller) SetCertificate added in v0.22.0

func (c *Controller) SetCertificate(certificate bool)

func (*Controller) SetClub added in v0.22.0

func (c *Controller) SetClub(club string)

func (*Controller) SetEmail added in v0.22.0

func (c *Controller) SetEmail(email string)

func (*Controller) SetLocation added in v0.22.0

func (c *Controller) SetLocation(location string)

func (*Controller) SetName added in v0.22.0

func (c *Controller) SetName(name string)

func (*Controller) SetOpenAfterExport added in v0.22.0

func (c *Controller) SetOpenAfterExport(open bool)

func (*Controller) SetOpenUploadAfterExport added in v0.22.0

func (c *Controller) SetOpenUploadAfterExport(open bool)

func (*Controller) SetSoapBox added in v0.22.0

func (c *Controller) SetSoapBox(soapBox string)

func (*Controller) SetSpecific added in v0.22.0

func (c *Controller) SetSpecific(specific string)

func (*Controller) SetView added in v0.22.0

func (c *Controller) SetView(view View)

type Result added in v0.22.0

type Result struct {
	Export                *cabrillo.Log
	OpenUploadAfterExport bool
	OpenAfterExport       bool
}

type View added in v0.22.0

type View interface {
	Show() bool

	SetCategoryBand(string)
	SetCategoryMode(string)
	SetCategoryOperator(string)
	SetCategoryPower(string)
	SetCategoryAssisted(string)
	SetCategoryStation(string)
	SetCategoryTransmitter(string)
	SetCategoryOverlay(string)
	SetCategoryTime(string)

	SetName(string)
	SetEmail(string)
	SetLocation(string)
	SetAddressText(string)
	SetAddressCity(string)
	SetAddressPostalCode(string)
	SetAddressStateProvince(string)
	SetAddressCountry(string)
	SetClub(string)
	SetSpecific(string)

	SetCertificate(bool)
	SetSoapBox(string)

	SetOpenUploadAfterExport(bool)
	SetOpenAfterExport(bool)
}

Jump to

Keyboard shortcuts

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