summary

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(w io.Writer, summary core.Summary) error

Types

type Controller

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

func NewController

func NewController(counter ScoreCounter) *Controller

func (*Controller) OperatorModes

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

func (*Controller) Overlays

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

func (*Controller) PowerModes

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

func (*Controller) Run

func (c *Controller) Run(settings core.Settings) (Result, bool)

func (*Controller) SetAssisted

func (c *Controller) SetAssisted(assisted bool)

func (*Controller) SetOpenAfterExport

func (c *Controller) SetOpenAfterExport(open bool)

func (*Controller) SetOperatorMode

func (c *Controller) SetOperatorMode(operatorMode string)

func (*Controller) SetOverlay

func (c *Controller) SetOverlay(overlay string)

func (*Controller) SetPowerMode

func (c *Controller) SetPowerMode(powerMode string)

func (*Controller) SetView

func (c *Controller) SetView(view View)

type Result

type Result struct {
	Summary         core.Summary
	OpenAfterExport bool
}

type ScoreCounter

type ScoreCounter interface {
	FillSummary(*core.Summary)
}

type View

type View interface {
	Show() bool

	SetContestName(string)
	SetCabrilloName(string)
	SetStartTime(time.Time)
	SetCallsign(string)
	SetMyExchanges(string)

	SetOperatorMode(string)
	SetOverlay(string)
	SetPowerMode(string)
	SetAssisted(bool)

	SetWorkedModes(string)
	SetWorkedBands(string)
	SetOperatingTime(time.Duration)
	SetBreakTime(time.Duration)
	SetBreaks(int)

	SetQTCsEnabled(bool)
	SetScore(core.Score)

	SetOpenAfterExport(bool)
}

Jump to

Keyboard shortcuts

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