pb

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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.

Functions

func ToContest added in v0.6.0

func ToContest(pbContest *Contest) (core.Contest, error)

func ToKeyerSettings added in v0.15.0

func ToKeyerSettings(pbSettings *Keyer) (core.KeyerSettings, error)

func ToQSO added in v0.6.0

func ToQSO(pbQSO *QSO) (core.QSO, error)

func ToQTC added in v1.1.0

func ToQTC(pbQTC *QTC) (core.QTC, error)

func ToStation added in v0.6.0

func ToStation(pbStation *Station) (core.Station, 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 ContestToPB(contest core.Contest) *Contest

func (*Contest) Descriptor deprecated added in v0.6.0

func (*Contest) Descriptor() ([]byte, []int)

Deprecated: Use Contest.ProtoReflect.Descriptor instead.

func (*Contest) GetAllowMultiBand added in v0.6.0

func (x *Contest) GetAllowMultiBand() bool

func (*Contest) GetAllowMultiMode added in v0.6.0

func (x *Contest) GetAllowMultiMode() bool

func (*Contest) GetCabrilloQsoTemplate added in v0.6.1

func (x *Contest) GetCabrilloQsoTemplate() string

func (*Contest) GetCallHistoryFieldNames added in v0.10.0

func (x *Contest) GetCallHistoryFieldNames() []string

func (*Contest) GetCallHistoryFilename added in v0.9.0

func (x *Contest) GetCallHistoryFilename() string

func (*Contest) GetCountPerBand added in v0.6.0

func (x *Contest) GetCountPerBand() bool

func (*Contest) GetDefinitionYaml added in v0.10.0

func (x *Contest) GetDefinitionYaml() string

func (*Contest) GetEnableQtcs added in v1.1.0

func (x *Contest) GetEnableQtcs() bool

func (*Contest) GetEnterTheirNumber added in v0.6.0

func (x *Contest) GetEnterTheirNumber() bool

func (*Contest) GetEnterTheirXchange added in v0.6.0

func (x *Contest) GetEnterTheirXchange() bool

func (*Contest) GetExchangeValues added in v0.10.0

func (x *Contest) GetExchangeValues() []string

func (*Contest) GetGenerateReport added in v0.12.0

func (x *Contest) GetGenerateReport() bool

func (*Contest) GetGenerateSerialExchange added in v0.10.0

func (x *Contest) GetGenerateSerialExchange() bool

func (*Contest) GetMultis added in v0.6.0

func (x *Contest) GetMultis() *Multis

func (*Contest) GetMultisGoal added in v0.11.0

func (x *Contest) GetMultisGoal() int32

func (*Contest) GetName added in v0.6.0

func (x *Contest) GetName() string

func (*Contest) GetOtherPoints added in v0.6.0

func (x *Contest) GetOtherPoints() int32

func (*Contest) GetPointsGoal added in v0.11.0

func (x *Contest) GetPointsGoal() int32

func (*Contest) GetQsosGoal added in v0.11.0

func (x *Contest) GetQsosGoal() int32

func (*Contest) GetRequireTheirXchange added in v0.6.0

func (x *Contest) GetRequireTheirXchange() bool

func (*Contest) GetSameContinentPoints added in v0.6.0

func (x *Contest) GetSameContinentPoints() int32

func (*Contest) GetSameCountryPoints added in v0.6.0

func (x *Contest) GetSameCountryPoints() int32

func (*Contest) GetSpecificCountryPoints added in v0.6.0

func (x *Contest) GetSpecificCountryPoints() int32

func (*Contest) GetSpecificCountryPrefixes added in v0.6.0

func (x *Contest) GetSpecificCountryPrefixes() []string

func (*Contest) GetSprintOperation added in v0.12.0

func (x *Contest) GetSprintOperation() bool

func (*Contest) GetStartTime added in v0.12.0

func (x *Contest) GetStartTime() *timestamppb.Timestamp

func (*Contest) GetXchangeMultiPattern added in v0.6.0

func (x *Contest) GetXchangeMultiPattern() string

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

func (*Contest) Reset added in v0.6.0

func (x *Contest) Reset()

func (*Contest) String added in v0.6.0

func (x *Contest) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetContest added in v0.6.0

func (x *Entry) GetContest() *Contest

func (*Entry) GetEntry added in v0.6.0

func (x *Entry) GetEntry() isEntry_Entry

func (*Entry) GetKeyer added in v0.6.0

func (x *Entry) GetKeyer() *Keyer

func (*Entry) GetQso added in v0.6.0

func (x *Entry) GetQso() *QSO

func (*Entry) GetQtc added in v1.1.0

func (x *Entry) GetQtc() *QTC

func (*Entry) GetStation added in v0.6.0

func (x *Entry) GetStation() *Station

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

func (*Entry) Reset added in v0.6.0

func (x *Entry) Reset()

func (*Entry) String added in v0.6.0

func (x *Entry) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.

func (*FileInfo) GetFormatVersion added in v0.6.0

func (x *FileInfo) GetFormatVersion() int32

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

func (*FileInfo) Reset added in v0.6.0

func (x *FileInfo) Reset()

func (*FileInfo) String added in v0.6.0

func (x *FileInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Keyer.ProtoReflect.Descriptor instead.

func (*Keyer) GetParrotIntervalSeconds added in v0.22.4

func (x *Keyer) GetParrotIntervalSeconds() int32

func (*Keyer) GetRunLabels added in v0.20.0

func (x *Keyer) GetRunLabels() []string

func (*Keyer) GetRunMacros added in v0.6.0

func (x *Keyer) GetRunMacros() []string

func (*Keyer) GetSpLabels added in v0.20.0

func (x *Keyer) GetSpLabels() []string

func (*Keyer) GetSpMacros added in v0.6.0

func (x *Keyer) GetSpMacros() []string

func (*Keyer) GetWpm added in v0.6.0

func (x *Keyer) GetWpm() int32

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

func (*Keyer) Reset added in v0.6.0

func (x *Keyer) Reset()

func (*Keyer) String added in v0.6.0

func (x *Keyer) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Multis.ProtoReflect.Descriptor instead.

func (*Multis) GetDxcc added in v0.6.0

func (x *Multis) GetDxcc() bool

func (*Multis) GetWpx added in v0.6.0

func (x *Multis) GetWpx() bool

func (*Multis) GetXchange added in v0.6.0

func (x *Multis) GetXchange() bool

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

func (*Multis) Reset added in v0.6.0

func (x *Multis) Reset()

func (*Multis) String added in v0.6.0

func (x *Multis) String() string

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 QSOToPB added in v0.6.0

func QSOToPB(qso core.QSO) *QSO

func (*QSO) Descriptor deprecated

func (*QSO) Descriptor() ([]byte, []int)

Deprecated: Use QSO.ProtoReflect.Descriptor instead.

func (*QSO) GetBand

func (x *QSO) GetBand() string

func (*QSO) GetCallsign

func (x *QSO) GetCallsign() string

func (*QSO) GetFrequency added in v0.4.0

func (x *QSO) GetFrequency() float64

func (*QSO) GetLogTimestamp

func (x *QSO) GetLogTimestamp() int64

func (*QSO) GetMode

func (x *QSO) GetMode() string

func (*QSO) GetMyExchange added in v0.10.0

func (x *QSO) GetMyExchange() []string

func (*QSO) GetMyNumber

func (x *QSO) GetMyNumber() int32

func (*QSO) GetMyReport

func (x *QSO) GetMyReport() string

func (*QSO) GetMyXchange

func (x *QSO) GetMyXchange() string

func (*QSO) GetTheirExchange added in v0.10.0

func (x *QSO) GetTheirExchange() []string

func (*QSO) GetTheirNumber

func (x *QSO) GetTheirNumber() int32

func (*QSO) GetTheirReport

func (x *QSO) GetTheirReport() string

func (*QSO) GetTheirXchange

func (x *QSO) GetTheirXchange() string

func (*QSO) GetTimestamp

func (x *QSO) GetTimestamp() int64

func (*QSO) GetWorkmode added in v0.22.1

func (x *QSO) GetWorkmode() Workmode

func (*QSO) ProtoMessage

func (*QSO) ProtoMessage()

func (*QSO) ProtoReflect added in v0.22.1

func (x *QSO) ProtoReflect() protoreflect.Message

func (*QSO) Reset

func (x *QSO) Reset()

func (*QSO) String

func (x *QSO) String() string

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 QTCToPB added in v1.1.0

func QTCToPB(qtc core.QTC) *QTC

func (*QTC) Descriptor deprecated added in v1.1.0

func (*QTC) Descriptor() ([]byte, []int)

Deprecated: Use QTC.ProtoReflect.Descriptor instead.

func (*QTC) GetBand added in v1.1.0

func (x *QTC) GetBand() string

func (*QTC) GetFrequency added in v1.1.0

func (x *QTC) GetFrequency() float64

func (*QTC) GetHeader added in v1.1.0

func (x *QTC) GetHeader() string

func (*QTC) GetKind added in v1.1.0

func (x *QTC) GetKind() int32

func (*QTC) GetMode added in v1.1.0

func (x *QTC) GetMode() string

func (*QTC) GetQsoNumber added in v1.1.0

func (x *QTC) GetQsoNumber() int32

func (*QTC) GetQtcCallsign added in v1.1.0

func (x *QTC) GetQtcCallsign() string

func (*QTC) GetQtcNumber added in v1.1.0

func (x *QTC) GetQtcNumber() int32

func (*QTC) GetQtcTime added in v1.1.0

func (x *QTC) GetQtcTime() string

func (*QTC) GetTheirCallsign added in v1.1.0

func (x *QTC) GetTheirCallsign() string

func (*QTC) GetTimestamp added in v1.1.0

func (x *QTC) GetTimestamp() int64

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

func (*QTC) Reset added in v1.1.0

func (x *QTC) Reset()

func (*QTC) String added in v1.1.0

func (x *QTC) String() string

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 StationToPB(station core.Station) *Station

func (*Station) Descriptor deprecated added in v0.6.0

func (*Station) Descriptor() ([]byte, []int)

Deprecated: Use Station.ProtoReflect.Descriptor instead.

func (*Station) GetCallsign added in v0.6.0

func (x *Station) GetCallsign() string

func (*Station) GetLocator added in v0.6.0

func (x *Station) GetLocator() string

func (*Station) GetOperator added in v0.6.0

func (x *Station) GetOperator() string

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

func (*Station) Reset added in v0.6.0

func (x *Station) Reset()

func (*Station) String added in v0.6.0

func (x *Station) String() string

type Workmode added in v0.22.1

type Workmode int32
const (
	Workmode_WORKMODE_UNKNOWN       Workmode = 0
	Workmode_WORKMODE_SEARCH_POUNCE Workmode = 1
	Workmode_WORKMODE_RUN           Workmode = 2
)

func (Workmode) Descriptor added in v0.22.1

func (Workmode) Descriptor() protoreflect.EnumDescriptor

func (Workmode) Enum added in v0.22.1

func (x Workmode) Enum() *Workmode

func (Workmode) EnumDescriptor deprecated added in v0.22.1

func (Workmode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Workmode.Descriptor instead.

func (Workmode) Number added in v0.22.1

func (x Workmode) Number() protoreflect.EnumNumber

func (Workmode) String added in v0.22.1

func (x Workmode) String() string

func (Workmode) Type added in v0.22.1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL