Documentation
¶
Index ¶
- func ToContest(pbContest Contest) (core.Contest, error)
- func ToKeyer(pbKeyer Keyer) (core.Keyer, error)
- func ToQSO(pbQSO QSO) (core.QSO, error)
- func ToStation(pbStation Station) (core.Station, error)
- type Contest
- func (*Contest) Descriptor() ([]byte, []int)
- func (m *Contest) GetAllowMultiBand() bool
- func (m *Contest) GetAllowMultiMode() bool
- func (m *Contest) GetCabrilloQsoTemplate() string
- func (m *Contest) GetCountPerBand() bool
- func (m *Contest) GetEnterTheirNumber() bool
- func (m *Contest) GetEnterTheirXchange() bool
- func (m *Contest) GetMultis() *Multis
- func (m *Contest) GetName() string
- func (m *Contest) GetOtherPoints() int32
- func (m *Contest) GetRequireTheirXchange() bool
- func (m *Contest) GetSameContinentPoints() int32
- func (m *Contest) GetSameCountryPoints() int32
- func (m *Contest) GetSpecificCountryPoints() int32
- func (m *Contest) GetSpecificCountryPrefixes() []string
- func (m *Contest) GetXchangeMultiPattern() string
- func (*Contest) ProtoMessage()
- func (m *Contest) Reset()
- func (m *Contest) String() string
- func (m *Contest) XXX_DiscardUnknown()
- func (m *Contest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Contest) XXX_Merge(src proto.Message)
- func (m *Contest) XXX_Size() int
- func (m *Contest) XXX_Unmarshal(b []byte) error
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) GetContest() *Contest
- func (m *Entry) GetEntry() isEntry_Entry
- func (m *Entry) GetKeyer() *Keyer
- func (m *Entry) GetQso() *QSO
- func (m *Entry) GetStation() *Station
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) String() string
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Entry) XXX_Merge(src proto.Message)
- func (*Entry) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
- type Entry_Contest
- type Entry_Keyer
- type Entry_Qso
- type Entry_Station
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)
- func (m *FileInfo) GetFormatVersion() int32
- func (*FileInfo) ProtoMessage()
- func (m *FileInfo) Reset()
- func (m *FileInfo) String() string
- func (m *FileInfo) XXX_DiscardUnknown()
- func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FileInfo) XXX_Merge(src proto.Message)
- func (m *FileInfo) XXX_Size() int
- func (m *FileInfo) XXX_Unmarshal(b []byte) error
- type Keyer
- func (*Keyer) Descriptor() ([]byte, []int)
- func (m *Keyer) GetRunMacros() []string
- func (m *Keyer) GetSpMacros() []string
- func (m *Keyer) GetWpm() int32
- func (*Keyer) ProtoMessage()
- func (m *Keyer) Reset()
- func (m *Keyer) String() string
- func (m *Keyer) XXX_DiscardUnknown()
- func (m *Keyer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Keyer) XXX_Merge(src proto.Message)
- func (m *Keyer) XXX_Size() int
- func (m *Keyer) XXX_Unmarshal(b []byte) error
- type Multis
- func (*Multis) Descriptor() ([]byte, []int)
- func (m *Multis) GetDxcc() bool
- func (m *Multis) GetWpx() bool
- func (m *Multis) GetXchange() bool
- func (*Multis) ProtoMessage()
- func (m *Multis) Reset()
- func (m *Multis) String() string
- func (m *Multis) XXX_DiscardUnknown()
- func (m *Multis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Multis) XXX_Merge(src proto.Message)
- func (m *Multis) XXX_Size() int
- func (m *Multis) XXX_Unmarshal(b []byte) error
- type QSO
- func (*QSO) Descriptor() ([]byte, []int)
- func (m *QSO) GetBand() string
- func (m *QSO) GetCallsign() string
- func (m *QSO) GetFrequency() float64
- func (m *QSO) GetLogTimestamp() int64
- func (m *QSO) GetMode() string
- func (m *QSO) GetMyNumber() int32
- func (m *QSO) GetMyReport() string
- func (m *QSO) GetMyXchange() string
- func (m *QSO) GetTheirNumber() int32
- func (m *QSO) GetTheirReport() string
- func (m *QSO) GetTheirXchange() string
- func (m *QSO) GetTimestamp() int64
- func (*QSO) ProtoMessage()
- func (m *QSO) Reset()
- func (m *QSO) String() string
- func (m *QSO) XXX_DiscardUnknown()
- func (m *QSO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *QSO) XXX_Merge(src proto.Message)
- func (m *QSO) XXX_Size() int
- func (m *QSO) XXX_Unmarshal(b []byte) error
- type Station
- func (*Station) Descriptor() ([]byte, []int)
- func (m *Station) GetCallsign() string
- func (m *Station) GetLocator() string
- func (m *Station) GetOperator() string
- func (*Station) ProtoMessage()
- func (m *Station) Reset()
- func (m *Station) String() string
- func (m *Station) XXX_DiscardUnknown()
- func (m *Station) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Station) XXX_Merge(src proto.Message)
- func (m *Station) XXX_Size() int
- func (m *Station) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Contest ¶ added in v0.6.0
type Contest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
EnterTheirNumber bool `protobuf:"varint,2,opt,name=enter_their_number,json=enterTheirNumber" json:"enter_their_number,omitempty"`
EnterTheirXchange bool `protobuf:"varint,3,opt,name=enter_their_xchange,json=enterTheirXchange" json:"enter_their_xchange,omitempty"`
RequireTheirXchange bool `protobuf:"varint,4,opt,name=require_their_xchange,json=requireTheirXchange" json:"require_their_xchange,omitempty"`
AllowMultiBand bool `protobuf:"varint,5,opt,name=allow_multi_band,json=allowMultiBand" json:"allow_multi_band,omitempty"`
AllowMultiMode bool `protobuf:"varint,6,opt,name=allow_multi_mode,json=allowMultiMode" json:"allow_multi_mode,omitempty"`
SameCountryPoints int32 `protobuf:"varint,7,opt,name=same_country_points,json=sameCountryPoints" json:"same_country_points,omitempty"`
SameContinentPoints int32 `protobuf:"varint,8,opt,name=same_continent_points,json=sameContinentPoints" json:"same_continent_points,omitempty"`
SpecificCountryPoints int32 `protobuf:"varint,9,opt,name=specific_country_points,json=specificCountryPoints" json:"specific_country_points,omitempty"`
SpecificCountryPrefixes []string `` /* 126-byte string literal not displayed */
OtherPoints int32 `protobuf:"varint,11,opt,name=other_points,json=otherPoints" json:"other_points,omitempty"`
Multis *Multis `protobuf:"bytes,12,opt,name=multis" json:"multis,omitempty"`
XchangeMultiPattern string `protobuf:"bytes,13,opt,name=xchange_multi_pattern,json=xchangeMultiPattern" json:"xchange_multi_pattern,omitempty"`
CountPerBand bool `protobuf:"varint,14,opt,name=count_per_band,json=countPerBand" json:"count_per_band,omitempty"`
CabrilloQsoTemplate string `protobuf:"bytes,15,opt,name=cabrillo_qso_template,json=cabrilloQsoTemplate" json:"cabrillo_qso_template,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ContestToPB ¶ added in v0.6.0
func (*Contest) Descriptor ¶ 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) GetCountPerBand ¶ added in v0.6.0
func (*Contest) GetEnterTheirNumber ¶ added in v0.6.0
func (*Contest) GetEnterTheirXchange ¶ added in v0.6.0
func (*Contest) GetOtherPoints ¶ added in v0.6.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) GetXchangeMultiPattern ¶ added in v0.6.0
func (*Contest) ProtoMessage ¶ added in v0.6.0
func (*Contest) ProtoMessage()
func (*Contest) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Contest) XXX_DiscardUnknown()
func (*Contest) XXX_Marshal ¶ added in v0.6.0
func (*Contest) XXX_Unmarshal ¶ added in v0.6.0
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 isEntry_Entry `protobuf_oneof:"entry"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Entry) Descriptor ¶ 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) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶ added in v0.6.0
func (*Entry) XXX_OneofFuncs ¶ added in v0.6.0
func (*Entry) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Entry) XXX_Unmarshal ¶ added in v0.6.0
type Entry_Contest ¶ added in v0.6.0
type Entry_Contest struct {
Contest *Contest `protobuf:"bytes,3,opt,name=contest,oneof"`
}
type Entry_Keyer ¶ added in v0.6.0
type Entry_Keyer struct {
Keyer *Keyer `protobuf:"bytes,4,opt,name=keyer,oneof"`
}
type Entry_Qso ¶ added in v0.6.0
type Entry_Qso struct {
Qso *QSO `protobuf:"bytes,1,opt,name=qso,oneof"`
}
type Entry_Station ¶ added in v0.6.0
type Entry_Station struct {
Station *Station `protobuf:"bytes,2,opt,name=station,oneof"`
}
type FileInfo ¶ added in v0.6.0
type FileInfo struct {
FormatVersion int32 `protobuf:"varint,1,opt,name=format_version,json=formatVersion" json:"format_version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*FileInfo) Descriptor ¶ 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) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *FileInfo) XXX_DiscardUnknown()
func (*FileInfo) XXX_Marshal ¶ added in v0.6.0
func (*FileInfo) XXX_Unmarshal ¶ added in v0.6.0
type Keyer ¶ added in v0.6.0
type Keyer struct {
Wpm int32 `protobuf:"varint,1,opt,name=wpm" json:"wpm,omitempty"`
SpMacros []string `protobuf:"bytes,2,rep,name=sp_macros,json=spMacros" json:"sp_macros,omitempty"`
RunMacros []string `protobuf:"bytes,3,rep,name=run_macros,json=runMacros" json:"run_macros,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Keyer) Descriptor ¶ added in v0.6.0
func (*Keyer) GetRunMacros ¶ added in v0.6.0
func (*Keyer) GetSpMacros ¶ added in v0.6.0
func (*Keyer) ProtoMessage ¶ added in v0.6.0
func (*Keyer) ProtoMessage()
func (*Keyer) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Keyer) XXX_DiscardUnknown()
func (*Keyer) XXX_Marshal ¶ added in v0.6.0
func (*Keyer) XXX_Unmarshal ¶ added in v0.6.0
type Multis ¶ added in v0.6.0
type Multis struct {
Dxcc bool `protobuf:"varint,1,opt,name=dxcc" json:"dxcc,omitempty"`
Wpx bool `protobuf:"varint,2,opt,name=wpx" json:"wpx,omitempty"`
Xchange bool `protobuf:"varint,3,opt,name=xchange" json:"xchange,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Multis) Descriptor ¶ 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) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Multis) XXX_DiscardUnknown()
func (*Multis) XXX_Marshal ¶ added in v0.6.0
func (*Multis) XXX_Unmarshal ¶ added in v0.6.0
type QSO ¶
type QSO struct {
Callsign string `protobuf:"bytes,1,opt,name=callsign" json:"callsign,omitempty"`
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
Band string `protobuf:"bytes,3,opt,name=band" json:"band,omitempty"`
Mode string `protobuf:"bytes,4,opt,name=mode" json:"mode,omitempty"`
MyReport string `protobuf:"bytes,5,opt,name=my_report,json=myReport" json:"my_report,omitempty"`
MyNumber int32 `protobuf:"varint,6,opt,name=my_number,json=myNumber" json:"my_number,omitempty"`
TheirReport string `protobuf:"bytes,7,opt,name=their_report,json=theirReport" json:"their_report,omitempty"`
TheirNumber int32 `protobuf:"varint,8,opt,name=their_number,json=theirNumber" json:"their_number,omitempty"`
LogTimestamp int64 `protobuf:"varint,9,opt,name=log_timestamp,json=logTimestamp" json:"log_timestamp,omitempty"`
MyXchange string `protobuf:"bytes,10,opt,name=my_xchange,json=myXchange" json:"my_xchange,omitempty"`
TheirXchange string `protobuf:"bytes,11,opt,name=their_xchange,json=theirXchange" json:"their_xchange,omitempty"`
Frequency float64 `protobuf:"fixed64,12,opt,name=frequency" json:"frequency,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*QSO) Descriptor ¶
func (*QSO) GetCallsign ¶
func (*QSO) GetFrequency ¶ added in v0.4.0
func (*QSO) GetLogTimestamp ¶
func (*QSO) GetMyNumber ¶
func (*QSO) GetMyReport ¶
func (*QSO) GetMyXchange ¶
func (*QSO) GetTheirNumber ¶
func (*QSO) GetTheirReport ¶
func (*QSO) GetTheirXchange ¶
func (*QSO) GetTimestamp ¶
func (*QSO) ProtoMessage ¶
func (*QSO) ProtoMessage()
func (*QSO) XXX_DiscardUnknown ¶
func (m *QSO) XXX_DiscardUnknown()
func (*QSO) XXX_Unmarshal ¶
type Station ¶ added in v0.6.0
type Station struct {
Callsign string `protobuf:"bytes,1,opt,name=callsign" json:"callsign,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
Locator string `protobuf:"bytes,3,opt,name=locator" json:"locator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func StationToPB ¶ added in v0.6.0
func (*Station) Descriptor ¶ 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) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Station) XXX_DiscardUnknown()
func (*Station) XXX_Marshal ¶ added in v0.6.0
func (*Station) XXX_Unmarshal ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.