Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallHistoryFinder ¶ added in v0.9.0
type CallHistoryFinder interface {
FindEntry(string) (core.AnnotatedCallsign, bool)
Find(string) ([]core.AnnotatedCallsign, error)
}
CallHistoryFinder returns additional information for a given callsign if a call history file is used.
type Callinfo ¶
type Callinfo struct {
// contains filtered or unexported fields
}
func New ¶
func New(entities DXCCFinder, callsigns CallsignFinder, callHistory CallHistoryFinder, dupeChecker DupeChecker, valuer Valuer) *Callinfo
func (*Callinfo) PredictedXchange ¶ added in v0.9.0
type CallsignFinder ¶
type CallsignFinder interface {
FindStrings(string) ([]string, error)
Find(string) ([]core.AnnotatedCallsign, error)
}
CallsignFinder returns a list of matching callsigns for the given partial string.
type DXCCFinder ¶
DXCCFinder returns a list of matching prefixes for the given string and indicates if there was a match at all.
type DupeChecker ¶
type DupeChecker interface {
FindWorkedQSOs(callsign.Callsign, core.Band, core.Mode) ([]core.QSO, bool)
}
DupeChecker can be used to find out if the given callsign was already worked, according to the contest rules.
Click to show internal directories.
Click to hide internal directories.