Documentation ¶
Index ¶
- Variables
- type Contact
- type CotEvent
- func (*CotEvent) Descriptor() ([]byte, []int)deprecated
- func (x *CotEvent) GetAccess() string
- func (x *CotEvent) GetCe() float64
- func (x *CotEvent) GetCreationTime() uint64
- func (x *CotEvent) GetDetail() *Detail
- func (x *CotEvent) GetHae() float64
- func (x *CotEvent) GetHow() string
- func (x *CotEvent) GetLat() float64
- func (x *CotEvent) GetLe() float64
- func (x *CotEvent) GetLon() float64
- func (x *CotEvent) GetOpex() string
- func (x *CotEvent) GetQos() string
- func (x *CotEvent) GetSendTime() uint64
- func (x *CotEvent) GetStaleTime() uint64
- func (x *CotEvent) GetStartTime() uint64
- func (x *CotEvent) GetSubmissionTime() uint64
- func (x *CotEvent) GetType() string
- func (x *CotEvent) GetUid() string
- func (*CotEvent) ProtoMessage()
- func (x *CotEvent) ProtoReflect() protoreflect.Message
- func (x *CotEvent) Reset()
- func (x *CotEvent) String() string
- type Detail
- func (*Detail) Descriptor() ([]byte, []int)deprecated
- func (x *Detail) GetContact() *Contact
- func (x *Detail) GetGroup() *Group
- func (x *Detail) GetPrecisionLocation() *PrecisionLocation
- func (x *Detail) GetStatus() *Status
- func (x *Detail) GetTakv() *Takv
- func (x *Detail) GetTrack() *Track
- func (x *Detail) GetXmlDetail() string
- func (*Detail) ProtoMessage()
- func (x *Detail) ProtoReflect() protoreflect.Message
- func (x *Detail) Reset()
- func (x *Detail) String() string
- type Group
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetArchive() bool
- func (x *Message) GetClientId() string
- func (x *Message) GetConnectionId() string
- func (x *Message) GetDestCallsigns() []string
- func (x *Message) GetDestClientUids() []string
- func (x *Message) GetFeedUuid() string
- func (x *Message) GetGroups() []string
- func (x *Message) GetPayload() *TakMessage
- func (x *Message) GetProvenance() []string
- func (x *Message) GetSource() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type PrecisionLocation
- func (*PrecisionLocation) Descriptor() ([]byte, []int)deprecated
- func (x *PrecisionLocation) GetAltsrc() string
- func (x *PrecisionLocation) GetGeopointsrc() string
- func (*PrecisionLocation) ProtoMessage()
- func (x *PrecisionLocation) ProtoReflect() protoreflect.Message
- func (x *PrecisionLocation) Reset()
- func (x *PrecisionLocation) String() string
- type Simple
- type Status
- type TakControl
- func (*TakControl) Descriptor() ([]byte, []int)deprecated
- func (x *TakControl) GetMaxProtoVersion() uint32
- func (x *TakControl) GetMinProtoVersion() uint32
- func (*TakControl) ProtoMessage()
- func (x *TakControl) ProtoReflect() protoreflect.Message
- func (x *TakControl) Reset()
- func (x *TakControl) String() string
- type TakMessage
- func (*TakMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TakMessage) GetCotEvent() *CotEvent
- func (x *TakMessage) GetTakControl() *TakControl
- func (*TakMessage) ProtoMessage()
- func (x *TakMessage) ProtoReflect() protoreflect.Message
- func (x *TakMessage) Reset()
- func (x *TakMessage) String() string
- type Takv
- func (*Takv) Descriptor() ([]byte, []int)deprecated
- func (x *Takv) GetDevice() string
- func (x *Takv) GetOs() string
- func (x *Takv) GetPlatform() string
- func (x *Takv) GetVersion() string
- func (*Takv) ProtoMessage()
- func (x *Takv) ProtoReflect() protoreflect.Message
- func (x *Takv) Reset()
- func (x *Takv) String() string
- type Track
Constants ¶
This section is empty.
Variables ¶
var File_contact_proto protoreflect.FileDescriptor
var File_cotevent_proto protoreflect.FileDescriptor
var File_detail_proto protoreflect.FileDescriptor
var File_group_proto protoreflect.FileDescriptor
var File_message_proto protoreflect.FileDescriptor
var File_precisionlocation_proto protoreflect.FileDescriptor
var File_simple_proto protoreflect.FileDescriptor
var File_status_proto protoreflect.FileDescriptor
var File_takcontrol_proto protoreflect.FileDescriptor
var File_takmessage_proto protoreflect.FileDescriptor
var File_takv_proto protoreflect.FileDescriptor
var File_track_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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) GetCallsign ¶
func (*Contact) GetEndpoint ¶
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
func (*Contact) ProtoReflect ¶
func (x *Contact) ProtoReflect() protoreflect.Message
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 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 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"` SubmissionTime uint64 `protobuf:"varint,16,opt,name=submissionTime,proto3" json:"submissionTime,omitempty"` CreationTime uint64 `protobuf:"varint,17,opt,name=creationTime,proto3" json:"creationTime,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) GetCreationTime ¶
func (*CotEvent) GetSendTime ¶
func (*CotEvent) GetStaleTime ¶
func (*CotEvent) GetStartTime ¶
func (*CotEvent) GetSubmissionTime ¶
func (*CotEvent) ProtoMessage ¶
func (*CotEvent) ProtoMessage()
func (*CotEvent) ProtoReflect ¶
func (x *CotEvent) ProtoReflect() protoreflect.Message
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) GetContact ¶
func (*Detail) GetPrecisionLocation ¶
func (x *Detail) GetPrecisionLocation() *PrecisionLocation
func (*Detail) GetXmlDetail ¶
func (*Detail) ProtoMessage ¶
func (*Detail) ProtoMessage()
func (*Detail) ProtoReflect ¶
func (x *Detail) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
Container for TakMessage and metadata, such as groups
func (*Message) Descriptor
deprecated
func (*Message) GetArchive ¶
func (*Message) GetClientId ¶
func (*Message) GetConnectionId ¶
func (*Message) GetDestCallsigns ¶
func (*Message) GetDestClientUids ¶
func (*Message) GetFeedUuid ¶
func (*Message) GetPayload ¶
func (x *Message) GetPayload() *TakMessage
func (*Message) GetProvenance ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
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) GetCallsign ¶
func (*Simple) GetEndpoint ¶
func (*Simple) ProtoMessage ¶
func (*Simple) ProtoMessage()
func (*Simple) ProtoReflect ¶
func (x *Simple) ProtoReflect() protoreflect.Message
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) GetBattery ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
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"` // 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) 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) GetPlatform ¶
func (*Takv) GetVersion ¶
func (*Takv) ProtoMessage ¶
func (*Takv) ProtoMessage()
func (*Takv) ProtoReflect ¶
func (x *Takv) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Track) ProtoMessage()
func (*Track) ProtoReflect ¶
func (x *Track) ProtoReflect() protoreflect.Message