cotproto

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_binarypayload_proto protoreflect.FileDescriptor
View Source
var File_contact_proto protoreflect.FileDescriptor
View Source
var File_cotevent_proto protoreflect.FileDescriptor
View Source
var File_detail_proto protoreflect.FileDescriptor
View Source
var File_group_proto protoreflect.FileDescriptor
View Source
var File_message_proto protoreflect.FileDescriptor
View Source
var File_missionannouncement_proto protoreflect.FileDescriptor
View Source
var File_precisionlocation_proto protoreflect.FileDescriptor
View Source
var File_simple_proto protoreflect.FileDescriptor
View Source
var File_status_proto protoreflect.FileDescriptor
View Source
var File_takcontrol_proto protoreflect.FileDescriptor
View Source
var File_takmessage_proto protoreflect.FileDescriptor
View Source
var File_track_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BinaryPayload added in v0.14.7

type BinaryPayload struct {
	Type      string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`            // type identifier for the BinaryPayload. Use this type to determine decoding strategy
	Version   string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`      // version identifier for the binary message
	Data      []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`            // binary message payload data
	Timestamp int64  `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // timestamp when ingested
	Uuid      string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"`            // unique id for this BinaryPayload
	// contains filtered or unexported fields
}

func (*BinaryPayload) Descriptor deprecated added in v0.14.7

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

Deprecated: Use BinaryPayload.ProtoReflect.Descriptor instead.

func (*BinaryPayload) GetData added in v0.14.7

func (x *BinaryPayload) GetData() []byte

func (*BinaryPayload) GetTimestamp added in v0.14.7

func (x *BinaryPayload) GetTimestamp() int64

func (*BinaryPayload) GetType added in v0.14.7

func (x *BinaryPayload) GetType() string

func (*BinaryPayload) GetUuid added in v0.14.7

func (x *BinaryPayload) GetUuid() string

func (*BinaryPayload) GetVersion added in v0.14.7

func (x *BinaryPayload) GetVersion() string

func (*BinaryPayload) ProtoMessage added in v0.14.7

func (*BinaryPayload) ProtoMessage()

func (*BinaryPayload) ProtoReflect added in v0.14.7

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

func (*BinaryPayload) Reset added in v0.14.7

func (x *BinaryPayload) Reset()

func (*BinaryPayload) String added in v0.14.7

func (x *BinaryPayload) String() string

type Contact

type Contact struct {

	// Endpoint is optional; if missing/empty do not populate.
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // endpoint=
	Callsign string `protobuf:"bytes,2,opt,name=callsign,proto3" json:"callsign,omitempty"` // callsign=
	// contains filtered or unexported fields
}

All items are required unless otherwise noted! "required" means if they are missing on send, the conversion to the message format will be rejected and fall back to opaque XML representation

func (*Contact) Descriptor deprecated

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetCallsign

func (x *Contact) GetCallsign() string

func (*Contact) GetEndpoint

func (x *Contact) GetEndpoint() string

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect

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

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) String

func (x *Contact) String() string

type CotEvent

type CotEvent struct {
	Type   string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`     // <event type="x">
	Access string `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` // optional, but see below!
	// field was optional in early
	// cot implementations but now required
	// in MIL-STD-6090.
	// This message definition treats as
	// "optional" due to legacy definition/use,
	// but updated/new clients should be
	// populating on all outgoing message and
	// should treat any missing/empty value
	// as CoT value "Undefined".
	// A CoT/XML value of "Undefined" for this
	// field should be conveyed in this message
	// by omitting this value for compactness
	Qos           string `protobuf:"bytes,3,opt,name=qos,proto3" json:"qos,omitempty"`                      // optional
	Opex          string `protobuf:"bytes,4,opt,name=opex,proto3" json:"opex,omitempty"`                    // optional
	Caveat        string `protobuf:"bytes,16,opt,name=caveat,proto3" json:"caveat,omitempty"`               // optional
	ReleaseableTo string `protobuf:"bytes,17,opt,name=releaseableTo,proto3" json:"releaseableTo,omitempty"` // optional
	Uid           string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"`                      // <event uid="x">
	SendTime      uint64 `protobuf:"varint,6,opt,name=sendTime,proto3" json:"sendTime,omitempty"`           // <event time="x"> converted to timeMs
	StartTime     uint64 `protobuf:"varint,7,opt,name=startTime,proto3" json:"startTime,omitempty"`         // <event start="x"> converted to timeMs
	StaleTime     uint64 `protobuf:"varint,8,opt,name=staleTime,proto3" json:"staleTime,omitempty"`         // <event stale="x"> converted to timeMs
	How           string `protobuf:"bytes,9,opt,name=how,proto3" json:"how,omitempty"`                      // <event how="x">
	// <point>
	Lat float64 `protobuf:"fixed64,10,opt,name=lat,proto3" json:"lat,omitempty"` // <point lat="x">
	Lon float64 `protobuf:"fixed64,11,opt,name=lon,proto3" json:"lon,omitempty"` // <point lon="x">
	Hae float64 `protobuf:"fixed64,12,opt,name=hae,proto3" json:"hae,omitempty"` // <point hae="x"> use 999999 for unknown
	Ce  float64 `protobuf:"fixed64,13,opt,name=ce,proto3" json:"ce,omitempty"`   // <point ce="x"> use 999999 for unknown
	Le  float64 `protobuf:"fixed64,14,opt,name=le,proto3" json:"le,omitempty"`   // <point ce="x"> use 999999 for unknown
	// comprises children of <detail>
	// This is optional - if omitted, then the cot message
	// had no data under <detail>
	Detail *Detail `protobuf:"bytes,15,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

A note about timestamps: Uses "timeMs" units, which is number of milliseconds since 1970-01-01 00:00:00 UTC

All items are required unless otherwise noted! "required" means if they are missing in the XML during outbound conversion to protobuf, the message will be rejected

func (*CotEvent) Descriptor deprecated

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

Deprecated: Use CotEvent.ProtoReflect.Descriptor instead.

func (*CotEvent) GetAccess

func (x *CotEvent) GetAccess() string

func (*CotEvent) GetCaveat added in v0.14.7

func (x *CotEvent) GetCaveat() string

func (*CotEvent) GetCe

func (x *CotEvent) GetCe() float64

func (*CotEvent) GetDetail

func (x *CotEvent) GetDetail() *Detail

func (*CotEvent) GetHae

func (x *CotEvent) GetHae() float64

func (*CotEvent) GetHow

func (x *CotEvent) GetHow() string

func (*CotEvent) GetLat

func (x *CotEvent) GetLat() float64

func (*CotEvent) GetLe

func (x *CotEvent) GetLe() float64

func (*CotEvent) GetLon

func (x *CotEvent) GetLon() float64

func (*CotEvent) GetOpex

func (x *CotEvent) GetOpex() string

func (*CotEvent) GetQos

func (x *CotEvent) GetQos() string

func (*CotEvent) GetReleaseableTo added in v0.14.7

func (x *CotEvent) GetReleaseableTo() string

func (*CotEvent) GetSendTime

func (x *CotEvent) GetSendTime() uint64

func (*CotEvent) GetStaleTime

func (x *CotEvent) GetStaleTime() uint64

func (*CotEvent) GetStartTime

func (x *CotEvent) GetStartTime() uint64

func (*CotEvent) GetType

func (x *CotEvent) GetType() string

func (*CotEvent) GetUid

func (x *CotEvent) GetUid() string

func (*CotEvent) ProtoMessage

func (*CotEvent) ProtoMessage()

func (*CotEvent) ProtoReflect

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

func (*CotEvent) Reset

func (x *CotEvent) Reset()

func (*CotEvent) String

func (x *CotEvent) String() string

type Detail

type Detail struct {
	XmlDetail string `protobuf:"bytes,1,opt,name=xmlDetail,proto3" json:"xmlDetail,omitempty"`
	// <contact>
	Contact *Contact `protobuf:"bytes,2,opt,name=contact,proto3" json:"contact,omitempty"`
	// <__group>
	Group *Group `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	// <precisionlocation>
	PrecisionLocation *PrecisionLocation `protobuf:"bytes,4,opt,name=precisionLocation,proto3" json:"precisionLocation,omitempty"`
	// <status>
	Status *Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// <takv>
	Takv *Takv `protobuf:"bytes,6,opt,name=takv,proto3" json:"takv,omitempty"`
	// <track>
	Track *Track `protobuf:"bytes,7,opt,name=track,proto3" json:"track,omitempty"`
	// contains filtered or unexported fields
}

func (*Detail) Descriptor deprecated

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

Deprecated: Use Detail.ProtoReflect.Descriptor instead.

func (*Detail) GetContact

func (x *Detail) GetContact() *Contact

func (*Detail) GetGroup

func (x *Detail) GetGroup() *Group

func (*Detail) GetPrecisionLocation

func (x *Detail) GetPrecisionLocation() *PrecisionLocation

func (*Detail) GetStatus

func (x *Detail) GetStatus() *Status

func (*Detail) GetTakv

func (x *Detail) GetTakv() *Takv

func (*Detail) GetTrack

func (x *Detail) GetTrack() *Track

func (*Detail) GetXmlDetail

func (x *Detail) GetXmlDetail() string

func (*Detail) ProtoMessage

func (*Detail) ProtoMessage()

func (*Detail) ProtoReflect

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

func (*Detail) Reset

func (x *Detail) Reset()

func (*Detail) String

func (x *Detail) String() string

type Group

type Group struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // name=
	Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // role=
	// contains filtered or unexported fields
}

All items are required unless otherwise noted! "required" means if they are missing on send, the conversion to the message format will be rejected and fall back to opaque XML representation

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetRole

func (x *Group) GetRole() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type Message

type Message struct {
	Payload        *TakMessage `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Source         string      `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	ClientId       string      `protobuf:"bytes,3,opt,name=clientId,proto3" json:"clientId,omitempty"`
	Groups         []string    `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"`
	DestClientUids []string    `protobuf:"bytes,5,rep,name=destClientUids,proto3" json:"destClientUids,omitempty"`
	DestCallsigns  []string    `protobuf:"bytes,6,rep,name=destCallsigns,proto3" json:"destCallsigns,omitempty"`
	Provenance     []string    `protobuf:"bytes,7,rep,name=provenance,proto3" json:"provenance,omitempty"`
	Archive        bool        `protobuf:"varint,8,opt,name=archive,proto3" json:"archive,omitempty"`
	FeedUuid       string      `protobuf:"bytes,9,opt,name=feedUuid,proto3" json:"feedUuid,omitempty"`
	ConnectionId   string      `protobuf:"bytes,10,opt,name=connectionId,proto3" json:"connectionId,omitempty"`
	// optional sequence of binary payloads
	Bloads []*BinaryPayload `protobuf:"bytes,11,rep,name=bloads,proto3" json:"bloads,omitempty"`
	// contains filtered or unexported fields
}

Container for TakMessage and metadata, such as groups

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetArchive

func (x *Message) GetArchive() bool

func (*Message) GetBloads added in v0.14.7

func (x *Message) GetBloads() []*BinaryPayload

func (*Message) GetClientId

func (x *Message) GetClientId() string

func (*Message) GetConnectionId

func (x *Message) GetConnectionId() string

func (*Message) GetDestCallsigns

func (x *Message) GetDestCallsigns() []string

func (*Message) GetDestClientUids

func (x *Message) GetDestClientUids() []string

func (*Message) GetFeedUuid

func (x *Message) GetFeedUuid() string

func (*Message) GetGroups

func (x *Message) GetGroups() []string

func (*Message) GetPayload

func (x *Message) GetPayload() *TakMessage

func (*Message) GetProvenance

func (x *Message) GetProvenance() []string

func (*Message) GetSource

func (x *Message) GetSource() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MissionAnnouncement added in v0.14.7

type MissionAnnouncement struct {
	Payload                 *TakMessage `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	MissionName             string      `protobuf:"bytes,2,opt,name=missionName,proto3" json:"missionName,omitempty"`
	MissionAnnouncementType string      `protobuf:"bytes,3,opt,name=missionAnnouncementType,proto3" json:"missionAnnouncementType,omitempty"`
	CreatorUid              string      `protobuf:"bytes,4,opt,name=creatorUid,proto3" json:"creatorUid,omitempty"`
	GroupVector             string      `protobuf:"bytes,5,opt,name=groupVector,proto3" json:"groupVector,omitempty"`
	ClientUid               string      `protobuf:"bytes,6,opt,name=clientUid,proto3" json:"clientUid,omitempty"`
	Uids                    []string    `protobuf:"bytes,7,rep,name=uids,proto3" json:"uids,omitempty"`
	// contains filtered or unexported fields
}

Container for MissionAnnouncement and metadata

func (*MissionAnnouncement) Descriptor deprecated added in v0.14.7

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

Deprecated: Use MissionAnnouncement.ProtoReflect.Descriptor instead.

func (*MissionAnnouncement) GetClientUid added in v0.14.7

func (x *MissionAnnouncement) GetClientUid() string

func (*MissionAnnouncement) GetCreatorUid added in v0.14.7

func (x *MissionAnnouncement) GetCreatorUid() string

func (*MissionAnnouncement) GetGroupVector added in v0.14.7

func (x *MissionAnnouncement) GetGroupVector() string

func (*MissionAnnouncement) GetMissionAnnouncementType added in v0.14.7

func (x *MissionAnnouncement) GetMissionAnnouncementType() string

func (*MissionAnnouncement) GetMissionName added in v0.14.7

func (x *MissionAnnouncement) GetMissionName() string

func (*MissionAnnouncement) GetPayload added in v0.14.7

func (x *MissionAnnouncement) GetPayload() *TakMessage

func (*MissionAnnouncement) GetUids added in v0.14.7

func (x *MissionAnnouncement) GetUids() []string

func (*MissionAnnouncement) ProtoMessage added in v0.14.7

func (*MissionAnnouncement) ProtoMessage()

func (*MissionAnnouncement) ProtoReflect added in v0.14.7

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

func (*MissionAnnouncement) Reset added in v0.14.7

func (x *MissionAnnouncement) Reset()

func (*MissionAnnouncement) String added in v0.14.7

func (x *MissionAnnouncement) String() string

type PrecisionLocation

type PrecisionLocation struct {
	Geopointsrc string `protobuf:"bytes,1,opt,name=geopointsrc,proto3" json:"geopointsrc,omitempty"` // geopointsrc=
	Altsrc      string `protobuf:"bytes,2,opt,name=altsrc,proto3" json:"altsrc,omitempty"`           // altsrc=
	// contains filtered or unexported fields
}

All items are required unless otherwise noted! "required" means if they are missing on send, the conversion to the message format will be rejected and fall back to opaque XML representation

func (*PrecisionLocation) Descriptor deprecated

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

Deprecated: Use PrecisionLocation.ProtoReflect.Descriptor instead.

func (*PrecisionLocation) GetAltsrc

func (x *PrecisionLocation) GetAltsrc() string

func (*PrecisionLocation) GetGeopointsrc

func (x *PrecisionLocation) GetGeopointsrc() string

func (*PrecisionLocation) ProtoMessage

func (*PrecisionLocation) ProtoMessage()

func (*PrecisionLocation) ProtoReflect

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

func (*PrecisionLocation) Reset

func (x *PrecisionLocation) Reset()

func (*PrecisionLocation) String

func (x *PrecisionLocation) String() string

type Simple

type Simple struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // endpoint=
	Callsign string `protobuf:"bytes,2,opt,name=callsign,proto3" json:"callsign,omitempty"` // callsign=
	// contains filtered or unexported fields
}

All items are required unless otherwise noted! "required" means if they are missing on send, the conversion to the message format will be rejected and fall back to opaque XML representation

func (*Simple) Descriptor deprecated

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

Deprecated: Use Simple.ProtoReflect.Descriptor instead.

func (*Simple) GetCallsign

func (x *Simple) GetCallsign() string

func (*Simple) GetEndpoint

func (x *Simple) GetEndpoint() string

func (*Simple) ProtoMessage

func (*Simple) ProtoMessage()

func (*Simple) ProtoReflect

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

func (*Simple) Reset

func (x *Simple) Reset()

func (*Simple) String

func (x *Simple) String() string

type Status

type Status struct {
	Battery uint32 `protobuf:"varint,1,opt,name=battery,proto3" json:"battery,omitempty"` // battery=
	// contains filtered or unexported fields
}

All items are required unless otherwise noted! "required" means if they are missing on send, the conversion to the message format will be rejected and fall back to opaque XML representation

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetBattery

func (x *Status) GetBattery() uint32

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type TakControl

type TakControl struct {

	// Lowest TAK protocol version supported
	// If not filled in (reads as 0), version 1 is assumed
	MinProtoVersion uint32 `protobuf:"varint,1,opt,name=minProtoVersion,proto3" json:"minProtoVersion,omitempty"`
	// Highest TAK protocol version supported
	// If not filled in (reads as 0), version 1 is assumed
	MaxProtoVersion uint32 `protobuf:"varint,2,opt,name=maxProtoVersion,proto3" json:"maxProtoVersion,omitempty"`
	// contains filtered or unexported fields
}

TAK Protocol control message This specifies to a recipient what versions of protocol elements this sender supports during decoding.

func (*TakControl) Descriptor deprecated

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

Deprecated: Use TakControl.ProtoReflect.Descriptor instead.

func (*TakControl) GetMaxProtoVersion

func (x *TakControl) GetMaxProtoVersion() uint32

func (*TakControl) GetMinProtoVersion

func (x *TakControl) GetMinProtoVersion() uint32

func (*TakControl) ProtoMessage

func (*TakControl) ProtoMessage()

func (*TakControl) ProtoReflect

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

func (*TakControl) Reset

func (x *TakControl) Reset()

func (*TakControl) String

func (x *TakControl) String() string

type TakMessage

type TakMessage struct {

	// Optional - if omitted, continue using last reported control
	// information
	TakControl *TakControl `protobuf:"bytes,1,opt,name=takControl,proto3" json:"takControl,omitempty"`
	// Optional - if omitted, no event data in this message
	CotEvent       *CotEvent `protobuf:"bytes,2,opt,name=cotEvent,proto3" json:"cotEvent,omitempty"`
	SubmissionTime uint64    `protobuf:"varint,3,opt,name=submissionTime,proto3" json:"submissionTime,omitempty"`
	CreationTime   uint64    `protobuf:"varint,4,opt,name=creationTime,proto3" json:"creationTime,omitempty"`
	// contains filtered or unexported fields
}

Top level message sent for TAK Messaging Protocol Version 1.

func (*TakMessage) Descriptor deprecated

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

Deprecated: Use TakMessage.ProtoReflect.Descriptor instead.

func (*TakMessage) GetCotEvent

func (x *TakMessage) GetCotEvent() *CotEvent

func (*TakMessage) GetCreationTime added in v0.14.7

func (x *TakMessage) GetCreationTime() uint64

func (*TakMessage) GetSubmissionTime added in v0.14.7

func (x *TakMessage) GetSubmissionTime() uint64

func (*TakMessage) GetTakControl

func (x *TakMessage) GetTakControl() *TakControl

func (*TakMessage) ProtoMessage

func (*TakMessage) ProtoMessage()

func (*TakMessage) ProtoReflect

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

func (*TakMessage) Reset

func (x *TakMessage) Reset()

func (*TakMessage) String

func (x *TakMessage) String() string

type Takv

type Takv struct {
	Device   string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`     // device=
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` // platform=
	Os       string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`             // os=
	Version  string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`   // version=
	// contains filtered or unexported fields
}

All items are required unless otherwise noted! "required" means if they are missing on send, the conversion to the message format will be rejected and fall back to opaque XML representation

func (*Takv) Descriptor deprecated

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

Deprecated: Use Takv.ProtoReflect.Descriptor instead.

func (*Takv) GetDevice

func (x *Takv) GetDevice() string

func (*Takv) GetOs

func (x *Takv) GetOs() string

func (*Takv) GetPlatform

func (x *Takv) GetPlatform() string

func (*Takv) GetVersion

func (x *Takv) GetVersion() string

func (*Takv) ProtoMessage

func (*Takv) ProtoMessage()

func (*Takv) ProtoReflect

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

func (*Takv) Reset

func (x *Takv) Reset()

func (*Takv) String

func (x *Takv) String() string

type Track

type Track struct {
	Speed  float64 `protobuf:"fixed64,1,opt,name=speed,proto3" json:"speed,omitempty"`   // speed=
	Course float64 `protobuf:"fixed64,2,opt,name=course,proto3" json:"course,omitempty"` // course=
	// contains filtered or unexported fields
}

All items are required unless otherwise noted! "required" means if they are missing on send, the conversion to the message format will be rejected and fall back to opaque XML representation

func (*Track) Descriptor deprecated

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

Deprecated: Use Track.ProtoReflect.Descriptor instead.

func (*Track) GetCourse

func (x *Track) GetCourse() float64

func (*Track) GetSpeed

func (x *Track) GetSpeed() float64

func (*Track) ProtoMessage

func (*Track) ProtoMessage()

func (*Track) ProtoReflect

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

func (*Track) Reset

func (x *Track) Reset()

func (*Track) String

func (x *Track) String() string

Jump to

Keyboard shortcuts

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