Documentation
¶
Index ¶
- Variables
- func ToContest(pbContest *Contest) (core.Contest, error)
- func ToKeyerSettings(pbSettings *Keyer) (core.KeyerSettings, error)
- func ToQSO(pbQSO *QSO) (core.QSO, error)
- func ToQTC(pbQTC *QTC) (core.QTC, error)
- func ToStation(pbStation *Station) (core.Station, error)
- type Contest
- func (*Contest) Descriptor() ([]byte, []int)deprecated
- func (x *Contest) GetAllowMultiBand() bool
- func (x *Contest) GetAllowMultiMode() bool
- func (x *Contest) GetCabrilloQsoTemplate() string
- func (x *Contest) GetCallHistoryFieldNames() []string
- func (x *Contest) GetCallHistoryFilename() string
- func (x *Contest) GetCountPerBand() bool
- func (x *Contest) GetDefinitionYaml() string
- func (x *Contest) GetEnableQtcs() bool
- func (x *Contest) GetEnterTheirNumber() bool
- func (x *Contest) GetEnterTheirXchange() bool
- func (x *Contest) GetExchangeValues() []string
- func (x *Contest) GetGenerateReport() bool
- func (x *Contest) GetGenerateSerialExchange() bool
- func (x *Contest) GetMultis() *Multis
- func (x *Contest) GetMultisGoal() int32
- func (x *Contest) GetName() string
- func (x *Contest) GetOtherPoints() int32
- func (x *Contest) GetPointsGoal() int32
- func (x *Contest) GetQsosGoal() int32
- func (x *Contest) GetRequireTheirXchange() bool
- func (x *Contest) GetSameContinentPoints() int32
- func (x *Contest) GetSameCountryPoints() int32
- func (x *Contest) GetSpecificCountryPoints() int32
- func (x *Contest) GetSpecificCountryPrefixes() []string
- func (x *Contest) GetSprintOperation() bool
- func (x *Contest) GetStartTime() *timestamppb.Timestamp
- func (x *Contest) GetXchangeMultiPattern() string
- func (*Contest) ProtoMessage()
- func (x *Contest) ProtoReflect() protoreflect.Message
- func (x *Contest) Reset()
- func (x *Contest) String() string
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetContest() *Contest
- func (x *Entry) GetEntry() isEntry_Entry
- func (x *Entry) GetKeyer() *Keyer
- func (x *Entry) GetQso() *QSO
- func (x *Entry) GetQtc() *QTC
- func (x *Entry) GetStation() *Station
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type Entry_Contest
- type Entry_Keyer
- type Entry_Qso
- type Entry_Qtc
- type Entry_Station
- type FileInfo
- type Keyer
- func (*Keyer) Descriptor() ([]byte, []int)deprecated
- func (x *Keyer) GetParrotIntervalSeconds() int32
- func (x *Keyer) GetRunLabels() []string
- func (x *Keyer) GetRunMacros() []string
- func (x *Keyer) GetSpLabels() []string
- func (x *Keyer) GetSpMacros() []string
- func (x *Keyer) GetWpm() int32
- func (*Keyer) ProtoMessage()
- func (x *Keyer) ProtoReflect() protoreflect.Message
- func (x *Keyer) Reset()
- func (x *Keyer) String() string
- type Multis
- type QSO
- func (*QSO) Descriptor() ([]byte, []int)deprecated
- func (x *QSO) GetBand() string
- func (x *QSO) GetCallsign() string
- func (x *QSO) GetFrequency() float64
- func (x *QSO) GetLogTimestamp() int64
- func (x *QSO) GetMode() string
- func (x *QSO) GetMyExchange() []string
- func (x *QSO) GetMyNumber() int32
- func (x *QSO) GetMyReport() string
- func (x *QSO) GetMyXchange() string
- func (x *QSO) GetTheirExchange() []string
- func (x *QSO) GetTheirNumber() int32
- func (x *QSO) GetTheirReport() string
- func (x *QSO) GetTheirXchange() string
- func (x *QSO) GetTimestamp() int64
- func (x *QSO) GetWorkmode() Workmode
- func (*QSO) ProtoMessage()
- func (x *QSO) ProtoReflect() protoreflect.Message
- func (x *QSO) Reset()
- func (x *QSO) String() string
- type QTC
- func (*QTC) Descriptor() ([]byte, []int)deprecated
- func (x *QTC) GetBand() string
- func (x *QTC) GetFrequency() float64
- func (x *QTC) GetHeader() string
- func (x *QTC) GetKind() int32
- func (x *QTC) GetMode() string
- func (x *QTC) GetQsoNumber() int32
- func (x *QTC) GetQtcCallsign() string
- func (x *QTC) GetQtcNumber() int32
- func (x *QTC) GetQtcTime() string
- func (x *QTC) GetTheirCallsign() string
- func (x *QTC) GetTimestamp() int64
- func (*QTC) ProtoMessage()
- func (x *QTC) ProtoReflect() protoreflect.Message
- func (x *QTC) Reset()
- func (x *QTC) String() string
- type Station
- func (*Station) Descriptor() ([]byte, []int)deprecated
- func (x *Station) GetCallsign() string
- func (x *Station) GetLocator() string
- func (x *Station) GetOperator() string
- func (*Station) ProtoMessage()
- func (x *Station) ProtoReflect() protoreflect.Message
- func (x *Station) Reset()
- func (x *Station) String() string
- type Workmode
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Workmode_name = map[int32]string{ 0: "WORKMODE_UNKNOWN", 1: "WORKMODE_SEARCH_POUNCE", 2: "WORKMODE_RUN", } Workmode_value = map[string]int32{ "WORKMODE_UNKNOWN": 0, "WORKMODE_SEARCH_POUNCE": 1, "WORKMODE_RUN": 2, } )
Enum value maps for Workmode.
View Source
var File_log_proto protoreflect.FileDescriptor
Functions ¶
func ToKeyerSettings ¶ added in v0.15.0
func ToKeyerSettings(pbSettings *Keyer) (core.KeyerSettings, error)
Types ¶
type Contest ¶ added in v0.6.0
type Contest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
EnterTheirNumber bool `protobuf:"varint,2,opt,name=enter_their_number,json=enterTheirNumber,proto3" json:"enter_their_number,omitempty"` // deprecated
EnterTheirXchange bool `protobuf:"varint,3,opt,name=enter_their_xchange,json=enterTheirXchange,proto3" json:"enter_their_xchange,omitempty"` // deprecated
RequireTheirXchange bool `protobuf:"varint,4,opt,name=require_their_xchange,json=requireTheirXchange,proto3" json:"require_their_xchange,omitempty"` // deprecated
AllowMultiBand bool `protobuf:"varint,5,opt,name=allow_multi_band,json=allowMultiBand,proto3" json:"allow_multi_band,omitempty"` // deprecated
AllowMultiMode bool `protobuf:"varint,6,opt,name=allow_multi_mode,json=allowMultiMode,proto3" json:"allow_multi_mode,omitempty"` // deprecated
SameCountryPoints int32 `protobuf:"varint,7,opt,name=same_country_points,json=sameCountryPoints,proto3" json:"same_country_points,omitempty"` // deprecated
SameContinentPoints int32 `protobuf:"varint,8,opt,name=same_continent_points,json=sameContinentPoints,proto3" json:"same_continent_points,omitempty"` // deprecated
SpecificCountryPoints int32 `` // deprecated
/* 127-byte string literal not displayed */
SpecificCountryPrefixes []string `` // deprecated
/* 133-byte string literal not displayed */
OtherPoints int32 `protobuf:"varint,11,opt,name=other_points,json=otherPoints,proto3" json:"other_points,omitempty"` // deprecated
Multis *Multis `protobuf:"bytes,12,opt,name=multis,proto3" json:"multis,omitempty"` // deprecated
XchangeMultiPattern string `protobuf:"bytes,13,opt,name=xchange_multi_pattern,json=xchangeMultiPattern,proto3" json:"xchange_multi_pattern,omitempty"` // deprecated
CountPerBand bool `protobuf:"varint,14,opt,name=count_per_band,json=countPerBand,proto3" json:"count_per_band,omitempty"` // deprecated
CabrilloQsoTemplate string `protobuf:"bytes,15,opt,name=cabrillo_qso_template,json=cabrilloQsoTemplate,proto3" json:"cabrillo_qso_template,omitempty"` // deprecated
CallHistoryFilename string `protobuf:"bytes,16,opt,name=call_history_filename,json=callHistoryFilename,proto3" json:"call_history_filename,omitempty"`
DefinitionYaml string `protobuf:"bytes,18,opt,name=definition_yaml,json=definitionYaml,proto3" json:"definition_yaml,omitempty"`
ExchangeValues []string `protobuf:"bytes,19,rep,name=exchange_values,json=exchangeValues,proto3" json:"exchange_values,omitempty"`
GenerateSerialExchange bool `` /* 131-byte string literal not displayed */
CallHistoryFieldNames []string `` /* 129-byte string literal not displayed */
QsosGoal int32 `protobuf:"varint,22,opt,name=qsos_goal,json=qsosGoal,proto3" json:"qsos_goal,omitempty"`
PointsGoal int32 `protobuf:"varint,23,opt,name=points_goal,json=pointsGoal,proto3" json:"points_goal,omitempty"`
MultisGoal int32 `protobuf:"varint,24,opt,name=multis_goal,json=multisGoal,proto3" json:"multis_goal,omitempty"`
SprintOperation bool `protobuf:"varint,25,opt,name=sprint_operation,json=sprintOperation,proto3" json:"sprint_operation,omitempty"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
GenerateReport bool `protobuf:"varint,27,opt,name=generate_report,json=generateReport,proto3" json:"generate_report,omitempty"`
EnableQtcs bool `protobuf:"varint,28,opt,name=enable_qtcs,json=enableQtcs,proto3" json:"enable_qtcs,omitempty"`
// contains filtered or unexported fields
}
func ContestToPB ¶ added in v0.6.0
func (*Contest) Descriptor
deprecated
added in
v0.6.0
func (*Contest) GetAllowMultiBand ¶ added in v0.6.0
func (*Contest) GetAllowMultiMode ¶ added in v0.6.0
func (*Contest) GetCabrilloQsoTemplate ¶ added in v0.6.1
func (*Contest) GetCallHistoryFieldNames ¶ added in v0.10.0
func (*Contest) GetCallHistoryFilename ¶ added in v0.9.0
func (*Contest) GetCountPerBand ¶ added in v0.6.0
func (*Contest) GetDefinitionYaml ¶ added in v0.10.0
func (*Contest) GetEnableQtcs ¶ added in v1.1.0
func (*Contest) GetEnterTheirNumber ¶ added in v0.6.0
func (*Contest) GetEnterTheirXchange ¶ added in v0.6.0
func (*Contest) GetExchangeValues ¶ added in v0.10.0
func (*Contest) GetGenerateReport ¶ added in v0.12.0
func (*Contest) GetGenerateSerialExchange ¶ added in v0.10.0
func (*Contest) GetMultisGoal ¶ added in v0.11.0
func (*Contest) GetOtherPoints ¶ added in v0.6.0
func (*Contest) GetPointsGoal ¶ added in v0.11.0
func (*Contest) GetQsosGoal ¶ added in v0.11.0
func (*Contest) GetRequireTheirXchange ¶ added in v0.6.0
func (*Contest) GetSameContinentPoints ¶ added in v0.6.0
func (*Contest) GetSameCountryPoints ¶ added in v0.6.0
func (*Contest) GetSpecificCountryPoints ¶ added in v0.6.0
func (*Contest) GetSpecificCountryPrefixes ¶ added in v0.6.0
func (*Contest) GetSprintOperation ¶ added in v0.12.0
func (*Contest) GetStartTime ¶ added in v0.12.0
func (x *Contest) GetStartTime() *timestamppb.Timestamp
func (*Contest) GetXchangeMultiPattern ¶ added in v0.6.0
func (*Contest) ProtoMessage ¶ added in v0.6.0
func (*Contest) ProtoMessage()
func (*Contest) ProtoReflect ¶ added in v0.22.1
func (x *Contest) ProtoReflect() protoreflect.Message
type Entry ¶ added in v0.6.0
type Entry struct {
// Types that are valid to be assigned to Entry:
//
// *Entry_Qso
// *Entry_Station
// *Entry_Contest
// *Entry_Keyer
// *Entry_Qtc
Entry isEntry_Entry `protobuf_oneof:"entry"`
// contains filtered or unexported fields
}
func (*Entry) Descriptor
deprecated
added in
v0.6.0
func (*Entry) GetContest ¶ added in v0.6.0
func (*Entry) GetStation ¶ added in v0.6.0
func (*Entry) ProtoMessage ¶ added in v0.6.0
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶ added in v0.22.1
func (x *Entry) ProtoReflect() protoreflect.Message
type Entry_Contest ¶ added in v0.6.0
type Entry_Contest struct {
Contest *Contest `protobuf:"bytes,3,opt,name=contest,proto3,oneof"`
}
type Entry_Keyer ¶ added in v0.6.0
type Entry_Keyer struct {
Keyer *Keyer `protobuf:"bytes,4,opt,name=keyer,proto3,oneof"`
}
type Entry_Qso ¶ added in v0.6.0
type Entry_Qso struct {
Qso *QSO `protobuf:"bytes,1,opt,name=qso,proto3,oneof"`
}
type Entry_Qtc ¶ added in v1.1.0
type Entry_Qtc struct {
Qtc *QTC `protobuf:"bytes,5,opt,name=qtc,proto3,oneof"`
}
type Entry_Station ¶ added in v0.6.0
type Entry_Station struct {
Station *Station `protobuf:"bytes,2,opt,name=station,proto3,oneof"`
}
type FileInfo ¶ added in v0.6.0
type FileInfo struct {
FormatVersion int32 `protobuf:"varint,1,opt,name=format_version,json=formatVersion,proto3" json:"format_version,omitempty"`
// contains filtered or unexported fields
}
func (*FileInfo) Descriptor
deprecated
added in
v0.6.0
func (*FileInfo) GetFormatVersion ¶ added in v0.6.0
func (*FileInfo) ProtoMessage ¶ added in v0.6.0
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶ added in v0.22.1
func (x *FileInfo) ProtoReflect() protoreflect.Message
type Keyer ¶ added in v0.6.0
type Keyer struct {
Wpm int32 `protobuf:"varint,1,opt,name=wpm,proto3" json:"wpm,omitempty"`
SpMacros []string `protobuf:"bytes,2,rep,name=sp_macros,json=spMacros,proto3" json:"sp_macros,omitempty"`
RunMacros []string `protobuf:"bytes,3,rep,name=run_macros,json=runMacros,proto3" json:"run_macros,omitempty"`
SpLabels []string `protobuf:"bytes,4,rep,name=sp_labels,json=spLabels,proto3" json:"sp_labels,omitempty"`
RunLabels []string `protobuf:"bytes,5,rep,name=run_labels,json=runLabels,proto3" json:"run_labels,omitempty"`
ParrotIntervalSeconds int32 `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
func KeyerSettingsToPB ¶ added in v0.15.0
func KeyerSettingsToPB(settings core.KeyerSettings) *Keyer
func (*Keyer) Descriptor
deprecated
added in
v0.6.0
func (*Keyer) GetParrotIntervalSeconds ¶ added in v0.22.4
func (*Keyer) GetRunLabels ¶ added in v0.20.0
func (*Keyer) GetRunMacros ¶ added in v0.6.0
func (*Keyer) GetSpLabels ¶ added in v0.20.0
func (*Keyer) GetSpMacros ¶ added in v0.6.0
func (*Keyer) ProtoMessage ¶ added in v0.6.0
func (*Keyer) ProtoMessage()
func (*Keyer) ProtoReflect ¶ added in v0.22.1
func (x *Keyer) ProtoReflect() protoreflect.Message
type Multis ¶ added in v0.6.0
type Multis struct {
Dxcc bool `protobuf:"varint,1,opt,name=dxcc,proto3" json:"dxcc,omitempty"` // deprecated
Wpx bool `protobuf:"varint,2,opt,name=wpx,proto3" json:"wpx,omitempty"` // deprecated
Xchange bool `protobuf:"varint,3,opt,name=xchange,proto3" json:"xchange,omitempty"` // deprecated
// contains filtered or unexported fields
}
func (*Multis) Descriptor
deprecated
added in
v0.6.0
func (*Multis) GetXchange ¶ added in v0.6.0
func (*Multis) ProtoMessage ¶ added in v0.6.0
func (*Multis) ProtoMessage()
func (*Multis) ProtoReflect ¶ added in v0.22.1
func (x *Multis) ProtoReflect() protoreflect.Message
type QSO ¶
type QSO struct {
Callsign string `protobuf:"bytes,1,opt,name=callsign,proto3" json:"callsign,omitempty"`
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Band string `protobuf:"bytes,3,opt,name=band,proto3" json:"band,omitempty"`
Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"`
MyReport string `protobuf:"bytes,5,opt,name=my_report,json=myReport,proto3" json:"my_report,omitempty"`
MyNumber int32 `protobuf:"varint,6,opt,name=my_number,json=myNumber,proto3" json:"my_number,omitempty"`
TheirReport string `protobuf:"bytes,7,opt,name=their_report,json=theirReport,proto3" json:"their_report,omitempty"`
TheirNumber int32 `protobuf:"varint,8,opt,name=their_number,json=theirNumber,proto3" json:"their_number,omitempty"`
LogTimestamp int64 `protobuf:"varint,9,opt,name=log_timestamp,json=logTimestamp,proto3" json:"log_timestamp,omitempty"`
MyXchange string `protobuf:"bytes,10,opt,name=my_xchange,json=myXchange,proto3" json:"my_xchange,omitempty"` // deprecated
TheirXchange string `protobuf:"bytes,11,opt,name=their_xchange,json=theirXchange,proto3" json:"their_xchange,omitempty"` // deprecated
Frequency float64 `protobuf:"fixed64,12,opt,name=frequency,proto3" json:"frequency,omitempty"`
MyExchange []string `protobuf:"bytes,14,rep,name=my_exchange,json=myExchange,proto3" json:"my_exchange,omitempty"`
TheirExchange []string `protobuf:"bytes,15,rep,name=their_exchange,json=theirExchange,proto3" json:"their_exchange,omitempty"`
Workmode Workmode `protobuf:"varint,16,opt,name=workmode,proto3,enum=pb.Workmode" json:"workmode,omitempty"`
// contains filtered or unexported fields
}
func (*QSO) Descriptor
deprecated
func (*QSO) GetCallsign ¶
func (*QSO) GetFrequency ¶ added in v0.4.0
func (*QSO) GetLogTimestamp ¶
func (*QSO) GetMyExchange ¶ added in v0.10.0
func (*QSO) GetMyNumber ¶
func (*QSO) GetMyReport ¶
func (*QSO) GetMyXchange ¶
func (*QSO) GetTheirExchange ¶ added in v0.10.0
func (*QSO) GetTheirNumber ¶
func (*QSO) GetTheirReport ¶
func (*QSO) GetTheirXchange ¶
func (*QSO) GetTimestamp ¶
func (*QSO) GetWorkmode ¶ added in v0.22.1
func (*QSO) ProtoMessage ¶
func (*QSO) ProtoMessage()
func (*QSO) ProtoReflect ¶ added in v0.22.1
func (x *QSO) ProtoReflect() protoreflect.Message
type QTC ¶ added in v1.1.0
type QTC struct {
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Frequency float64 `protobuf:"fixed64,2,opt,name=frequency,proto3" json:"frequency,omitempty"`
Band string `protobuf:"bytes,3,opt,name=band,proto3" json:"band,omitempty"`
Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"`
Kind int32 `protobuf:"varint,5,opt,name=kind,proto3" json:"kind,omitempty"`
QsoNumber int32 `protobuf:"varint,6,opt,name=qso_number,json=qsoNumber,proto3" json:"qso_number,omitempty"`
TheirCallsign string `protobuf:"bytes,7,opt,name=their_callsign,json=theirCallsign,proto3" json:"their_callsign,omitempty"`
Header string `protobuf:"bytes,8,opt,name=header,proto3" json:"header,omitempty"`
QtcTime string `protobuf:"bytes,9,opt,name=qtc_time,json=qtcTime,proto3" json:"qtc_time,omitempty"`
QtcCallsign string `protobuf:"bytes,10,opt,name=qtc_callsign,json=qtcCallsign,proto3" json:"qtc_callsign,omitempty"`
QtcNumber int32 `protobuf:"varint,11,opt,name=qtc_number,json=qtcNumber,proto3" json:"qtc_number,omitempty"`
// contains filtered or unexported fields
}
func (*QTC) Descriptor
deprecated
added in
v1.1.0
func (*QTC) GetFrequency ¶ added in v1.1.0
func (*QTC) GetQsoNumber ¶ added in v1.1.0
func (*QTC) GetQtcCallsign ¶ added in v1.1.0
func (*QTC) GetQtcNumber ¶ added in v1.1.0
func (*QTC) GetQtcTime ¶ added in v1.1.0
func (*QTC) GetTheirCallsign ¶ added in v1.1.0
func (*QTC) GetTimestamp ¶ added in v1.1.0
func (*QTC) ProtoMessage ¶ added in v1.1.0
func (*QTC) ProtoMessage()
func (*QTC) ProtoReflect ¶ added in v1.1.0
func (x *QTC) ProtoReflect() protoreflect.Message
type Station ¶ added in v0.6.0
type Station struct {
Callsign string `protobuf:"bytes,1,opt,name=callsign,proto3" json:"callsign,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
Locator string `protobuf:"bytes,3,opt,name=locator,proto3" json:"locator,omitempty"`
// contains filtered or unexported fields
}
func StationToPB ¶ added in v0.6.0
func (*Station) Descriptor
deprecated
added in
v0.6.0
func (*Station) GetCallsign ¶ added in v0.6.0
func (*Station) GetLocator ¶ added in v0.6.0
func (*Station) GetOperator ¶ added in v0.6.0
func (*Station) ProtoMessage ¶ added in v0.6.0
func (*Station) ProtoMessage()
func (*Station) ProtoReflect ¶ added in v0.22.1
func (x *Station) ProtoReflect() protoreflect.Message
type Workmode ¶ added in v0.22.1
type Workmode int32
func (Workmode) Descriptor ¶ added in v0.22.1
func (Workmode) Descriptor() protoreflect.EnumDescriptor
func (Workmode) EnumDescriptor
deprecated
added in
v0.22.1
func (Workmode) Number ¶ added in v0.22.1
func (x Workmode) Number() protoreflect.EnumNumber
func (Workmode) Type ¶ added in v0.22.1
func (Workmode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.