Documentation
¶
Index ¶
- func Export(w io.Writer, summary core.Summary) error
- type Controller
- func (c *Controller) OperatorModes() []string
- func (c *Controller) Overlays() []string
- func (c *Controller) PowerModes() []string
- func (c *Controller) Run(settings core.Settings) (Result, bool)
- func (c *Controller) SetAssisted(assisted bool)
- func (c *Controller) SetOpenAfterExport(open bool)
- func (c *Controller) SetOperatorMode(operatorMode string)
- func (c *Controller) SetOverlay(overlay string)
- func (c *Controller) SetPowerMode(powerMode string)
- func (c *Controller) SetView(view View)
- type Result
- type ScoreCounter
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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) 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 ScoreCounter ¶
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)
}
Click to show internal directories.
Click to hide internal directories.