Documentation
¶
Index ¶
- type ExchangeFieldsChangedListener
- type ExchangeFieldsChangedListenerFunc
- type Logbook
- func (l *Logbook) All() []core.QSO
- func (l *Logbook) ClearRowAddedListeners()
- func (l *Logbook) LastBand() core.Band
- func (l *Logbook) LastExchange() []string
- func (l *Logbook) LastMode() core.Mode
- func (l *Logbook) Log(qso core.QSO)
- func (l *Logbook) NextNumber() core.QSONumber
- func (l *Logbook) OnRowAdded(listener RowAddedListener)
- func (l *Logbook) ReplayAll()
- func (l *Logbook) SetWriter(writer Writer)
- func (l *Logbook) WriteAll(writer Writer) error
- type QSOAddedListener
- type QSOAddedListenerFunc
- type QSOList
- func (l *QSOList) All() []core.QSO
- func (l *QSOList) Clear()
- func (l *QSOList) ContestChanged(contest core.Contest)
- func (l *QSOList) Fill(qsos []core.QSO)
- func (l *QSOList) FindDuplicateQSOs(callsign callsign.Callsign, band core.Band, mode core.Mode) []core.QSO
- func (l *QSOList) FindWorkedQSOs(callsign callsign.Callsign, band core.Band, mode core.Mode) ([]core.QSO, bool)
- func (l *QSOList) GetExchangeFields() ([]core.ExchangeField, []core.ExchangeField)
- func (l *QSOList) GetQSOs(numbers []core.QSONumber) []core.QSO
- func (l *QSOList) Notify(listener any)
- func (l *QSOList) Put(qso core.QSO)
- func (l *QSOList) SelectLastQSO()
- func (l *QSOList) SelectRow(index int)
- func (l *QSOList) Valid() bool
- type QSOScorer
- type QSOSelectedListener
- type QSOSelectedListenerFunc
- type QSOsClearedListener
- type QSOsClearedListenerFunc
- type RowAddedListener
- type RowSelectedListener
- type RowSelectedListenerFunc
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExchangeFieldsChangedListener ¶ added in v0.10.0
type ExchangeFieldsChangedListener interface {
ExchangeFieldsChanged(myExchangeFields []core.ExchangeField, theirExchangeFields []core.ExchangeField)
}
type ExchangeFieldsChangedListenerFunc ¶ added in v0.10.0
type ExchangeFieldsChangedListenerFunc func(myExchangeFields []core.ExchangeField, theirExchangeFields []core.ExchangeField)
func (ExchangeFieldsChangedListenerFunc) ExchangeFieldsChanged ¶ added in v0.10.0
func (f ExchangeFieldsChangedListenerFunc) ExchangeFieldsChanged(myExchangeFields []core.ExchangeField, theirExchangeFields []core.ExchangeField)
type Logbook ¶
type Logbook struct {
// contains filtered or unexported fields
}
func (*Logbook) ClearRowAddedListeners ¶
func (l *Logbook) ClearRowAddedListeners()
func (*Logbook) LastExchange ¶ added in v0.10.0
func (*Logbook) NextNumber ¶
func (*Logbook) OnRowAdded ¶
func (l *Logbook) OnRowAdded(listener RowAddedListener)
type QSOAddedListener ¶
type QSOAddedListenerFunc ¶
func (QSOAddedListenerFunc) QSOAdded ¶
func (f QSOAddedListenerFunc) QSOAdded(qso core.QSO)
type QSOList ¶
type QSOList struct {
// contains filtered or unexported fields
}
QSOList is thread-safe.
func (*QSOList) ContestChanged ¶ added in v0.6.0
func (*QSOList) FindDuplicateQSOs ¶ added in v0.4.0
func (*QSOList) FindWorkedQSOs ¶ added in v0.4.0
func (*QSOList) GetExchangeFields ¶ added in v0.10.0
func (l *QSOList) GetExchangeFields() ([]core.ExchangeField, []core.ExchangeField)
func (*QSOList) SelectLastQSO ¶
func (l *QSOList) SelectLastQSO()
type QSOSelectedListener ¶
type QSOSelectedListenerFunc ¶
func (QSOSelectedListenerFunc) QSOSelected ¶
func (f QSOSelectedListenerFunc) QSOSelected(qso core.QSO)
type QSOsClearedListener ¶
type QSOsClearedListener interface {
QSOsCleared()
}
type QSOsClearedListenerFunc ¶
type QSOsClearedListenerFunc func()
func (QSOsClearedListenerFunc) QSOsCleared ¶ added in v0.2.0
func (f QSOsClearedListenerFunc) QSOsCleared()
type RowAddedListener ¶
RowAddedListener is notified when a new row is added to the log.
type RowSelectedListener ¶
type RowSelectedListener interface {
RowSelected(int)
}
type RowSelectedListenerFunc ¶
type RowSelectedListenerFunc func(int)
func (RowSelectedListenerFunc) RowSelected ¶
func (f RowSelectedListenerFunc) RowSelected(index int)
Click to show internal directories.
Click to hide internal directories.