Documentation
¶
Index ¶
- Variables
- func RegisterDiscoveryServer(s *grpc.Server, srv DiscoveryServer)
- func RegisterRouterServer(s *grpc.Server, srv RouterServer)
- type Announcement
- func (*Announcement) Descriptor() ([]byte, []int)
- func (this *Announcement) Equal(that interface{}) bool
- func (m *Announcement) GetCertificate() string
- func (m *Announcement) GetID() string
- func (m *Announcement) GetNetAddress() string
- func (m *Announcement) GetPublicKey() string
- func (m *Announcement) GetServiceName() string
- func (m *Announcement) GetServiceVersion() string
- func (a *Announcement) GetTLSConfig() (*tls.Config, error)
- func (m *Announcement) Marshal() (dAtA []byte, err error)
- func (m *Announcement) MarshalTo(dAtA []byte) (int, error)
- func (*Announcement) ProtoMessage()
- func (m *Announcement) Reset()
- func (m *Announcement) Size() (n int)
- func (this *Announcement) String() string
- func (m *Announcement) Unmarshal(dAtA []byte) error
- func (m *Announcement) XXX_DiscardUnknown()
- func (m *Announcement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Announcement) XXX_Merge(src proto.Message)
- func (m *Announcement) XXX_Size() int
- func (m *Announcement) XXX_Unmarshal(b []byte) error
- type DiscoveryClient
- type DiscoveryServer
- type DownlinkMessage
- func (*DownlinkMessage) Descriptor() ([]byte, []int)
- func (this *DownlinkMessage) Equal(that interface{}) bool
- func (m *DownlinkMessage) GetGatewayConfiguration() GatewayTxConfiguration
- func (m *DownlinkMessage) GetPayload() []byte
- func (m *DownlinkMessage) GetProtocolConfiguration() ProtocolTxConfiguration
- func (m *DownlinkMessage) GetTrace() *Trace
- func (m *DownlinkMessage) Marshal() (dAtA []byte, err error)
- func (m *DownlinkMessage) MarshalTo(dAtA []byte) (int, error)
- func (*DownlinkMessage) ProtoMessage()
- func (m *DownlinkMessage) Reset()
- func (m *DownlinkMessage) Size() (n int)
- func (this *DownlinkMessage) String() string
- func (m *DownlinkMessage) Unmarshal(dAtA []byte) error
- func (m *DownlinkMessage) XXX_DiscardUnknown()
- func (m *DownlinkMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DownlinkMessage) XXX_Merge(src proto.Message)
- func (m *DownlinkMessage) XXX_Size() int
- func (m *DownlinkMessage) XXX_Unmarshal(b []byte) error
- type GatewayRxMetadata
- func (*GatewayRxMetadata) Descriptor() ([]byte, []int)
- func (this *GatewayRxMetadata) Equal(that interface{}) bool
- func (m *GatewayRxMetadata) GetAntennas() []*GatewayRxMetadata_Antenna
- func (m *GatewayRxMetadata) GetChannel() uint32
- func (m *GatewayRxMetadata) GetEncryptedTime() []byte
- func (m *GatewayRxMetadata) GetFrequency() uint64
- func (m *GatewayRxMetadata) GetGatewayID() string
- func (m *GatewayRxMetadata) GetGatewayTrusted() bool
- func (m *GatewayRxMetadata) GetLocation() *LocationMetadata
- func (m *GatewayRxMetadata) GetRSSI() float32
- func (m *GatewayRxMetadata) GetRfChain() uint32
- func (m *GatewayRxMetadata) GetSNR() float32
- func (m *GatewayRxMetadata) GetTime() int64
- func (m *GatewayRxMetadata) GetTimestamp() uint32
- func (m *GatewayRxMetadata) Marshal() (dAtA []byte, err error)
- func (m *GatewayRxMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*GatewayRxMetadata) ProtoMessage()
- func (m *GatewayRxMetadata) Reset()
- func (m *GatewayRxMetadata) Size() (n int)
- func (this *GatewayRxMetadata) String() string
- func (m *GatewayRxMetadata) Unmarshal(dAtA []byte) error
- func (m *GatewayRxMetadata) XXX_DiscardUnknown()
- func (m *GatewayRxMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GatewayRxMetadata) XXX_Merge(src proto.Message)
- func (m *GatewayRxMetadata) XXX_Size() int
- func (m *GatewayRxMetadata) XXX_Unmarshal(b []byte) error
- type GatewayRxMetadata_Antenna
- func (*GatewayRxMetadata_Antenna) Descriptor() ([]byte, []int)
- func (this *GatewayRxMetadata_Antenna) Equal(that interface{}) bool
- func (m *GatewayRxMetadata_Antenna) GetAntenna() uint32
- func (m *GatewayRxMetadata_Antenna) GetChannel() uint32
- func (m *GatewayRxMetadata_Antenna) GetChannelRSSI() float32
- func (m *GatewayRxMetadata_Antenna) GetEncryptedTime() []byte
- func (m *GatewayRxMetadata_Antenna) GetFineTime() int64
- func (m *GatewayRxMetadata_Antenna) GetFrequencyOffset() int64
- func (m *GatewayRxMetadata_Antenna) GetRSSI() float32
- func (m *GatewayRxMetadata_Antenna) GetRSSIStandardDeviation() float32
- func (m *GatewayRxMetadata_Antenna) GetSNR() float32
- func (m *GatewayRxMetadata_Antenna) Marshal() (dAtA []byte, err error)
- func (m *GatewayRxMetadata_Antenna) MarshalTo(dAtA []byte) (int, error)
- func (*GatewayRxMetadata_Antenna) ProtoMessage()
- func (m *GatewayRxMetadata_Antenna) Reset()
- func (m *GatewayRxMetadata_Antenna) Size() (n int)
- func (this *GatewayRxMetadata_Antenna) String() string
- func (m *GatewayRxMetadata_Antenna) Unmarshal(dAtA []byte) error
- func (m *GatewayRxMetadata_Antenna) XXX_DiscardUnknown()
- func (m *GatewayRxMetadata_Antenna) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GatewayRxMetadata_Antenna) XXX_Merge(src proto.Message)
- func (m *GatewayRxMetadata_Antenna) XXX_Size() int
- func (m *GatewayRxMetadata_Antenna) XXX_Unmarshal(b []byte) error
- type GatewayTxConfiguration
- func (*GatewayTxConfiguration) Descriptor() ([]byte, []int)
- func (this *GatewayTxConfiguration) Equal(that interface{}) bool
- func (m *GatewayTxConfiguration) GetFrequency() uint64
- func (m *GatewayTxConfiguration) GetFrequencyDeviation() uint32
- func (m *GatewayTxConfiguration) GetPolarizationInversion() bool
- func (m *GatewayTxConfiguration) GetPower() int32
- func (m *GatewayTxConfiguration) GetRfChain() uint32
- func (m *GatewayTxConfiguration) GetTimestamp() uint32
- func (m *GatewayTxConfiguration) Marshal() (dAtA []byte, err error)
- func (m *GatewayTxConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (*GatewayTxConfiguration) ProtoMessage()
- func (m *GatewayTxConfiguration) Reset()
- func (m *GatewayTxConfiguration) Size() (n int)
- func (this *GatewayTxConfiguration) String() string
- func (m *GatewayTxConfiguration) Unmarshal(dAtA []byte) error
- func (m *GatewayTxConfiguration) XXX_DiscardUnknown()
- func (m *GatewayTxConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GatewayTxConfiguration) XXX_Merge(src proto.Message)
- func (m *GatewayTxConfiguration) XXX_Size() int
- func (m *GatewayTxConfiguration) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (this *GetRequest) Equal(that interface{}) bool
- func (m *GetRequest) GetID() string
- func (m *GetRequest) GetServiceName() string
- func (m *GetRequest) Marshal() (dAtA []byte, err error)
- func (m *GetRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) Size() (n int)
- func (this *GetRequest) String() string
- func (m *GetRequest) Unmarshal(dAtA []byte) error
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type LoRaWANMetadata
- func (*LoRaWANMetadata) Descriptor() ([]byte, []int)
- func (this *LoRaWANMetadata) Equal(that interface{}) bool
- func (m *LoRaWANMetadata) GetBitRate() uint32
- func (m *LoRaWANMetadata) GetCodingRate() string
- func (m *LoRaWANMetadata) GetDataRate() string
- func (m *LoRaWANMetadata) GetFCnt() uint32
- func (m *LoRaWANMetadata) GetFrequencyPlan() uint32
- func (m *LoRaWANMetadata) GetModulation() Modulation
- func (m *LoRaWANMetadata) Marshal() (dAtA []byte, err error)
- func (m *LoRaWANMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*LoRaWANMetadata) ProtoMessage()
- func (m *LoRaWANMetadata) Reset()
- func (m *LoRaWANMetadata) Size() (n int)
- func (this *LoRaWANMetadata) String() string
- func (m *LoRaWANMetadata) Unmarshal(dAtA []byte) error
- func (m *LoRaWANMetadata) XXX_DiscardUnknown()
- func (m *LoRaWANMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LoRaWANMetadata) XXX_Merge(src proto.Message)
- func (m *LoRaWANMetadata) XXX_Size() int
- func (m *LoRaWANMetadata) XXX_Unmarshal(b []byte) error
- type LoRaWANTxConfiguration
- func (*LoRaWANTxConfiguration) Descriptor() ([]byte, []int)
- func (this *LoRaWANTxConfiguration) Equal(that interface{}) bool
- func (m *LoRaWANTxConfiguration) GetBitRate() uint32
- func (m *LoRaWANTxConfiguration) GetCodingRate() string
- func (m *LoRaWANTxConfiguration) GetDataRate() string
- func (m *LoRaWANTxConfiguration) GetFCnt() uint32
- func (m *LoRaWANTxConfiguration) GetModulation() Modulation
- func (m *LoRaWANTxConfiguration) Marshal() (dAtA []byte, err error)
- func (m *LoRaWANTxConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (*LoRaWANTxConfiguration) ProtoMessage()
- func (m *LoRaWANTxConfiguration) Reset()
- func (m *LoRaWANTxConfiguration) Size() (n int)
- func (this *LoRaWANTxConfiguration) String() string
- func (m *LoRaWANTxConfiguration) Unmarshal(dAtA []byte) error
- func (m *LoRaWANTxConfiguration) XXX_DiscardUnknown()
- func (m *LoRaWANTxConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LoRaWANTxConfiguration) XXX_Merge(src proto.Message)
- func (m *LoRaWANTxConfiguration) XXX_Size() int
- func (m *LoRaWANTxConfiguration) XXX_Unmarshal(b []byte) error
- type LocationMetadata
- func (*LocationMetadata) Descriptor() ([]byte, []int)
- func (this *LocationMetadata) Equal(that interface{}) bool
- func (m *LocationMetadata) GetAccuracy() int32
- func (m *LocationMetadata) GetAltitude() int32
- func (m *LocationMetadata) GetLatitude() float32
- func (m *LocationMetadata) GetLongitude() float32
- func (m *LocationMetadata) GetSource() LocationMetadata_LocationSource
- func (m *LocationMetadata) GetTime() int64
- func (m *LocationMetadata) Marshal() (dAtA []byte, err error)
- func (m *LocationMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*LocationMetadata) ProtoMessage()
- func (m *LocationMetadata) Reset()
- func (m *LocationMetadata) Size() (n int)
- func (this *LocationMetadata) String() string
- func (m *LocationMetadata) Unmarshal(dAtA []byte) error
- func (m *LocationMetadata) Validate() bool
- func (m *LocationMetadata) XXX_DiscardUnknown()
- func (m *LocationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LocationMetadata) XXX_Merge(src proto.Message)
- func (m *LocationMetadata) XXX_Size() int
- func (m *LocationMetadata) XXX_Unmarshal(b []byte) error
- type LocationMetadata_LocationSource
- type Modulation
- type ProtocolRxMetadata
- func (*ProtocolRxMetadata) Descriptor() ([]byte, []int)
- func (this *ProtocolRxMetadata) Equal(that interface{}) bool
- func (m *ProtocolRxMetadata) GetLoRaWAN() *LoRaWANMetadata
- func (m *ProtocolRxMetadata) Marshal() (dAtA []byte, err error)
- func (m *ProtocolRxMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*ProtocolRxMetadata) ProtoMessage()
- func (m *ProtocolRxMetadata) Reset()
- func (m *ProtocolRxMetadata) Size() (n int)
- func (this *ProtocolRxMetadata) String() string
- func (m *ProtocolRxMetadata) Unmarshal(dAtA []byte) error
- func (m *ProtocolRxMetadata) XXX_DiscardUnknown()
- func (m *ProtocolRxMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProtocolRxMetadata) XXX_Merge(src proto.Message)
- func (m *ProtocolRxMetadata) XXX_Size() int
- func (m *ProtocolRxMetadata) XXX_Unmarshal(b []byte) error
- type ProtocolTxConfiguration
- func (*ProtocolTxConfiguration) Descriptor() ([]byte, []int)
- func (this *ProtocolTxConfiguration) Equal(that interface{}) bool
- func (m *ProtocolTxConfiguration) GetLoRaWAN() *LoRaWANTxConfiguration
- func (m *ProtocolTxConfiguration) Marshal() (dAtA []byte, err error)
- func (m *ProtocolTxConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (*ProtocolTxConfiguration) ProtoMessage()
- func (m *ProtocolTxConfiguration) Reset()
- func (m *ProtocolTxConfiguration) Size() (n int)
- func (this *ProtocolTxConfiguration) String() string
- func (m *ProtocolTxConfiguration) Unmarshal(dAtA []byte) error
- func (m *ProtocolTxConfiguration) XXX_DiscardUnknown()
- func (m *ProtocolTxConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProtocolTxConfiguration) XXX_Merge(src proto.Message)
- func (m *ProtocolTxConfiguration) XXX_Size() int
- func (m *ProtocolTxConfiguration) XXX_Unmarshal(b []byte) error
- type RouterClient
- type RouterServer
- type Router_GatewayStatusClient
- type Router_GatewayStatusServer
- type Router_SubscribeClient
- type Router_SubscribeServer
- type Router_UplinkClient
- type Router_UplinkServer
- type StatusMessage
- func (*StatusMessage) Descriptor() ([]byte, []int)
- func (this *StatusMessage) Equal(that interface{}) bool
- func (m *StatusMessage) GetBootTime() int64
- func (m *StatusMessage) GetBridge() string
- func (m *StatusMessage) GetContactEmail() string
- func (m *StatusMessage) GetDSP() uint32
- func (m *StatusMessage) GetDescription() string
- func (m *StatusMessage) GetFPGA() uint32
- func (m *StatusMessage) GetFrequencyPlan() string
- func (m *StatusMessage) GetGatewayTrusted() bool
- func (m *StatusMessage) GetHAL() string
- func (m *StatusMessage) GetIP() []string
- func (m *StatusMessage) GetLPPS() uint32
- func (m *StatusMessage) GetLmNw() uint32
- func (m *StatusMessage) GetLmOk() uint32
- func (m *StatusMessage) GetLmSt() uint32
- func (m *StatusMessage) GetLocation() *LocationMetadata
- func (m *StatusMessage) GetMessages() []string
- func (m *StatusMessage) GetOS() *StatusMessage_OSMetrics
- func (m *StatusMessage) GetPlatform() string
- func (m *StatusMessage) GetRTT() uint32
- func (m *StatusMessage) GetRouter() string
- func (m *StatusMessage) GetRxIn() uint32
- func (m *StatusMessage) GetRxOk() uint32
- func (m *StatusMessage) GetTime() int64
- func (m *StatusMessage) GetTimestamp() uint32
- func (m *StatusMessage) GetTxIn() uint32
- func (m *StatusMessage) GetTxOk() uint32
- func (m *StatusMessage) Marshal() (dAtA []byte, err error)
- func (m *StatusMessage) MarshalTo(dAtA []byte) (int, error)
- func (*StatusMessage) ProtoMessage()
- func (m *StatusMessage) Reset()
- func (m *StatusMessage) Size() (n int)
- func (this *StatusMessage) String() string
- func (m *StatusMessage) Unmarshal(dAtA []byte) error
- func (m *StatusMessage) XXX_DiscardUnknown()
- func (m *StatusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StatusMessage) XXX_Merge(src proto.Message)
- func (m *StatusMessage) XXX_Size() int
- func (m *StatusMessage) XXX_Unmarshal(b []byte) error
- type StatusMessage_OSMetrics
- func (*StatusMessage_OSMetrics) Descriptor() ([]byte, []int)
- func (this *StatusMessage_OSMetrics) Equal(that interface{}) bool
- func (m *StatusMessage_OSMetrics) GetCPUPercentage() float32
- func (m *StatusMessage_OSMetrics) GetLoad_1() float32
- func (m *StatusMessage_OSMetrics) GetLoad_5() float32
- func (m *StatusMessage_OSMetrics) GetLoad_15() float32
- func (m *StatusMessage_OSMetrics) GetMemoryPercentage() float32
- func (m *StatusMessage_OSMetrics) GetTemperature() float32
- func (m *StatusMessage_OSMetrics) Marshal() (dAtA []byte, err error)
- func (m *StatusMessage_OSMetrics) MarshalTo(dAtA []byte) (int, error)
- func (*StatusMessage_OSMetrics) ProtoMessage()
- func (m *StatusMessage_OSMetrics) Reset()
- func (m *StatusMessage_OSMetrics) Size() (n int)
- func (this *StatusMessage_OSMetrics) String() string
- func (m *StatusMessage_OSMetrics) Unmarshal(dAtA []byte) error
- func (m *StatusMessage_OSMetrics) XXX_DiscardUnknown()
- func (m *StatusMessage_OSMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StatusMessage_OSMetrics) XXX_Merge(src proto.Message)
- func (m *StatusMessage_OSMetrics) XXX_Size() int
- func (m *StatusMessage_OSMetrics) XXX_Unmarshal(b []byte) error
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)
- func (this *Trace) Equal(that interface{}) bool
- func (m *Trace) GetEvent() string
- func (m *Trace) GetID() string
- func (m *Trace) GetMetadata() map[string]string
- func (m *Trace) GetParents() []*Trace
- func (m *Trace) GetServiceID() string
- func (m *Trace) GetServiceName() string
- func (m *Trace) GetTime() int64
- func (m *Trace) Marshal() (dAtA []byte, err error)
- func (m *Trace) MarshalTo(dAtA []byte) (int, error)
- func (*Trace) ProtoMessage()
- func (m *Trace) Reset()
- func (m *Trace) Size() (n int)
- func (this *Trace) String() string
- func (m *Trace) Unmarshal(dAtA []byte) error
- func (m *Trace) XXX_DiscardUnknown()
- func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Trace) XXX_Merge(src proto.Message)
- func (m *Trace) XXX_Size() int
- func (m *Trace) XXX_Unmarshal(b []byte) error
- type UplinkMessage
- func (*UplinkMessage) Descriptor() ([]byte, []int)
- func (this *UplinkMessage) Equal(that interface{}) bool
- func (m *UplinkMessage) GetGatewayMetadata() GatewayRxMetadata
- func (m *UplinkMessage) GetPayload() []byte
- func (m *UplinkMessage) GetProtocolMetadata() ProtocolRxMetadata
- func (m *UplinkMessage) GetTrace() *Trace
- func (m *UplinkMessage) Marshal() (dAtA []byte, err error)
- func (m *UplinkMessage) MarshalTo(dAtA []byte) (int, error)
- func (*UplinkMessage) ProtoMessage()
- func (m *UplinkMessage) Reset()
- func (m *UplinkMessage) Size() (n int)
- func (this *UplinkMessage) String() string
- func (m *UplinkMessage) Unmarshal(dAtA []byte) error
- func (m *UplinkMessage) XXX_DiscardUnknown()
- func (m *UplinkMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UplinkMessage) XXX_Merge(src proto.Message)
- func (m *UplinkMessage) XXX_Size() int
- func (m *UplinkMessage) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthDiscovery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDiscovery = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthRouter = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRouter = fmt.Errorf("proto: integer overflow") )
View Source
var LocationMetadata_LocationSource_name = map[int32]string{
0: "UNKNOWN",
1: "GPS",
2: "CONFIG",
3: "REGISTRY",
4: "IP_GEOLOCATION",
}
View Source
var LocationMetadata_LocationSource_value = map[string]int32{
"UNKNOWN": 0,
"GPS": 1,
"CONFIG": 2,
"REGISTRY": 3,
"IP_GEOLOCATION": 4,
}
View Source
var Modulation_name = map[int32]string{
0: "LORA",
1: "FSK",
}
View Source
var Modulation_value = map[string]int32{
"LORA": 0,
"FSK": 1,
}
Functions ¶
func RegisterDiscoveryServer ¶
func RegisterDiscoveryServer(s *grpc.Server, srv DiscoveryServer)
func RegisterRouterServer ¶
func RegisterRouterServer(s *grpc.Server, srv RouterServer)
Types ¶
type Announcement ¶
type Announcement struct {
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
ServiceVersion string `protobuf:"bytes,3,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"`
NetAddress string `protobuf:"bytes,11,opt,name=net_address,json=netAddress,proto3" json:"net_address,omitempty"`
PublicKey string `protobuf:"bytes,12,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Certificate string `protobuf:"bytes,13,opt,name=certificate,proto3" json:"certificate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedAnnouncement ¶
func NewPopulatedAnnouncement(r randyDiscovery, easy bool) *Announcement
func (*Announcement) Descriptor ¶
func (*Announcement) Descriptor() ([]byte, []int)
func (*Announcement) Equal ¶
func (this *Announcement) Equal(that interface{}) bool
func (*Announcement) GetCertificate ¶
func (m *Announcement) GetCertificate() string
func (*Announcement) GetID ¶
func (m *Announcement) GetID() string
func (*Announcement) GetNetAddress ¶
func (m *Announcement) GetNetAddress() string
func (*Announcement) GetPublicKey ¶
func (m *Announcement) GetPublicKey() string
func (*Announcement) GetServiceName ¶
func (m *Announcement) GetServiceName() string
func (*Announcement) GetServiceVersion ¶
func (m *Announcement) GetServiceVersion() string
func (*Announcement) GetTLSConfig ¶
func (a *Announcement) GetTLSConfig() (*tls.Config, error)
GetTLSConfig returns the TLS config for the announcement.
func (*Announcement) Marshal ¶
func (m *Announcement) Marshal() (dAtA []byte, err error)
func (*Announcement) ProtoMessage ¶
func (*Announcement) ProtoMessage()
func (*Announcement) Reset ¶
func (m *Announcement) Reset()
func (*Announcement) Size ¶
func (m *Announcement) Size() (n int)
func (*Announcement) String ¶
func (this *Announcement) String() string
func (*Announcement) Unmarshal ¶
func (m *Announcement) Unmarshal(dAtA []byte) error
func (*Announcement) XXX_DiscardUnknown ¶
func (m *Announcement) XXX_DiscardUnknown()
func (*Announcement) XXX_Marshal ¶
func (m *Announcement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Announcement) XXX_Merge ¶
func (dst *Announcement) XXX_Merge(src proto.Message)
func (*Announcement) XXX_Size ¶
func (m *Announcement) XXX_Size() int
func (*Announcement) XXX_Unmarshal ¶
func (m *Announcement) XXX_Unmarshal(b []byte) error
type DiscoveryClient ¶
type DiscoveryClient interface {
Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*Announcement, error)
}
DiscoveryClient is the client API for Discovery service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDiscoveryClient ¶
func NewDiscoveryClient(cc *grpc.ClientConn) DiscoveryClient
type DiscoveryServer ¶
type DiscoveryServer interface {
Get(context.Context, *GetRequest) (*Announcement, error)
}
DiscoveryServer is the server API for Discovery service.
type DownlinkMessage ¶
type DownlinkMessage struct {
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
// ProtocolMessage message = 2;
ProtocolConfiguration ProtocolTxConfiguration `protobuf:"bytes,11,opt,name=protocol_configuration,json=protocolConfiguration,proto3" json:"protocol_configuration"`
GatewayConfiguration GatewayTxConfiguration `protobuf:"bytes,12,opt,name=gateway_configuration,json=gatewayConfiguration,proto3" json:"gateway_configuration"`
Trace *Trace `protobuf:"bytes,21,opt,name=trace,proto3" json:"trace,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedDownlinkMessage ¶
func NewPopulatedDownlinkMessage(r randyRouter, easy bool) *DownlinkMessage
func (*DownlinkMessage) Descriptor ¶
func (*DownlinkMessage) Descriptor() ([]byte, []int)
func (*DownlinkMessage) Equal ¶
func (this *DownlinkMessage) Equal(that interface{}) bool
func (*DownlinkMessage) GetGatewayConfiguration ¶
func (m *DownlinkMessage) GetGatewayConfiguration() GatewayTxConfiguration
func (*DownlinkMessage) GetPayload ¶
func (m *DownlinkMessage) GetPayload() []byte
func (*DownlinkMessage) GetProtocolConfiguration ¶
func (m *DownlinkMessage) GetProtocolConfiguration() ProtocolTxConfiguration
func (*DownlinkMessage) GetTrace ¶
func (m *DownlinkMessage) GetTrace() *Trace
func (*DownlinkMessage) Marshal ¶
func (m *DownlinkMessage) Marshal() (dAtA []byte, err error)
func (*DownlinkMessage) ProtoMessage ¶
func (*DownlinkMessage) ProtoMessage()
func (*DownlinkMessage) Reset ¶
func (m *DownlinkMessage) Reset()
func (*DownlinkMessage) Size ¶
func (m *DownlinkMessage) Size() (n int)
func (*DownlinkMessage) String ¶
func (this *DownlinkMessage) String() string
func (*DownlinkMessage) Unmarshal ¶
func (m *DownlinkMessage) Unmarshal(dAtA []byte) error
func (*DownlinkMessage) XXX_DiscardUnknown ¶
func (m *DownlinkMessage) XXX_DiscardUnknown()
func (*DownlinkMessage) XXX_Marshal ¶
func (m *DownlinkMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DownlinkMessage) XXX_Merge ¶
func (dst *DownlinkMessage) XXX_Merge(src proto.Message)
func (*DownlinkMessage) XXX_Size ¶
func (m *DownlinkMessage) XXX_Size() int
func (*DownlinkMessage) XXX_Unmarshal ¶
func (m *DownlinkMessage) XXX_Unmarshal(b []byte) error
type GatewayRxMetadata ¶
type GatewayRxMetadata struct {
GatewayID string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
GatewayTrusted bool `protobuf:"varint,2,opt,name=gateway_trusted,json=gatewayTrusted,proto3" json:"gateway_trusted,omitempty"`
Timestamp uint32 `protobuf:"varint,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Time int64 `protobuf:"varint,12,opt,name=time,proto3" json:"time,omitempty"`
EncryptedTime []byte `protobuf:"bytes,13,opt,name=encrypted_time,json=encryptedTime,proto3" json:"encrypted_time,omitempty"`
RfChain uint32 `protobuf:"varint,21,opt,name=rf_chain,json=rfChain,proto3" json:"rf_chain,omitempty"`
Channel uint32 `protobuf:"varint,22,opt,name=channel,proto3" json:"channel,omitempty"`
Antennas []*GatewayRxMetadata_Antenna `protobuf:"bytes,30,rep,name=antennas,proto3" json:"antennas,omitempty"`
Frequency uint64 `protobuf:"varint,31,opt,name=frequency,proto3" json:"frequency,omitempty"`
RSSI float32 `protobuf:"fixed32,32,opt,name=rssi,proto3" json:"rssi,omitempty"`
SNR float32 `protobuf:"fixed32,33,opt,name=snr,proto3" json:"snr,omitempty"`
Location *LocationMetadata `protobuf:"bytes,41,opt,name=location,proto3" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedGatewayRxMetadata ¶
func NewPopulatedGatewayRxMetadata(r randyRouter, easy bool) *GatewayRxMetadata
func (*GatewayRxMetadata) Descriptor ¶
func (*GatewayRxMetadata) Descriptor() ([]byte, []int)
func (*GatewayRxMetadata) Equal ¶
func (this *GatewayRxMetadata) Equal(that interface{}) bool
func (*GatewayRxMetadata) GetAntennas ¶
func (m *GatewayRxMetadata) GetAntennas() []*GatewayRxMetadata_Antenna
func (*GatewayRxMetadata) GetChannel ¶
func (m *GatewayRxMetadata) GetChannel() uint32
func (*GatewayRxMetadata) GetEncryptedTime ¶
func (m *GatewayRxMetadata) GetEncryptedTime() []byte
func (*GatewayRxMetadata) GetFrequency ¶
func (m *GatewayRxMetadata) GetFrequency() uint64
func (*GatewayRxMetadata) GetGatewayID ¶
func (m *GatewayRxMetadata) GetGatewayID() string
func (*GatewayRxMetadata) GetGatewayTrusted ¶
func (m *GatewayRxMetadata) GetGatewayTrusted() bool
func (*GatewayRxMetadata) GetLocation ¶
func (m *GatewayRxMetadata) GetLocation() *LocationMetadata
func (*GatewayRxMetadata) GetRSSI ¶
func (m *GatewayRxMetadata) GetRSSI() float32
func (*GatewayRxMetadata) GetRfChain ¶
func (m *GatewayRxMetadata) GetRfChain() uint32
func (*GatewayRxMetadata) GetSNR ¶
func (m *GatewayRxMetadata) GetSNR() float32
func (*GatewayRxMetadata) GetTime ¶
func (m *GatewayRxMetadata) GetTime() int64
func (*GatewayRxMetadata) GetTimestamp ¶
func (m *GatewayRxMetadata) GetTimestamp() uint32
func (*GatewayRxMetadata) Marshal ¶
func (m *GatewayRxMetadata) Marshal() (dAtA []byte, err error)
func (*GatewayRxMetadata) MarshalTo ¶
func (m *GatewayRxMetadata) MarshalTo(dAtA []byte) (int, error)
func (*GatewayRxMetadata) ProtoMessage ¶
func (*GatewayRxMetadata) ProtoMessage()
func (*GatewayRxMetadata) Reset ¶
func (m *GatewayRxMetadata) Reset()
func (*GatewayRxMetadata) Size ¶
func (m *GatewayRxMetadata) Size() (n int)
func (*GatewayRxMetadata) String ¶
func (this *GatewayRxMetadata) String() string
func (*GatewayRxMetadata) Unmarshal ¶
func (m *GatewayRxMetadata) Unmarshal(dAtA []byte) error
func (*GatewayRxMetadata) XXX_DiscardUnknown ¶
func (m *GatewayRxMetadata) XXX_DiscardUnknown()
func (*GatewayRxMetadata) XXX_Marshal ¶
func (m *GatewayRxMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GatewayRxMetadata) XXX_Merge ¶
func (dst *GatewayRxMetadata) XXX_Merge(src proto.Message)
func (*GatewayRxMetadata) XXX_Size ¶
func (m *GatewayRxMetadata) XXX_Size() int
func (*GatewayRxMetadata) XXX_Unmarshal ¶
func (m *GatewayRxMetadata) XXX_Unmarshal(b []byte) error
type GatewayRxMetadata_Antenna ¶
type GatewayRxMetadata_Antenna struct {
Antenna uint32 `protobuf:"varint,1,opt,name=antenna,proto3" json:"antenna,omitempty"`
Channel uint32 `protobuf:"varint,2,opt,name=channel,proto3" json:"channel,omitempty"`
RSSI float32 `protobuf:"fixed32,3,opt,name=rssi,proto3" json:"rssi,omitempty"`
ChannelRSSI float32 `protobuf:"fixed32,5,opt,name=channel_rssi,json=channelRssi,proto3" json:"channel_rssi,omitempty"`
RSSIStandardDeviation float32 `` /* 128-byte string literal not displayed */
FrequencyOffset int64 `protobuf:"varint,7,opt,name=frequency_offset,json=frequencyOffset,proto3" json:"frequency_offset,omitempty"`
SNR float32 `protobuf:"fixed32,4,opt,name=snr,proto3" json:"snr,omitempty"`
EncryptedTime []byte `protobuf:"bytes,10,opt,name=encrypted_time,json=encryptedTime,proto3" json:"encrypted_time,omitempty"`
FineTime int64 `protobuf:"varint,11,opt,name=fine_time,json=fineTime,proto3" json:"fine_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedGatewayRxMetadata_Antenna ¶
func NewPopulatedGatewayRxMetadata_Antenna(r randyRouter, easy bool) *GatewayRxMetadata_Antenna
func (*GatewayRxMetadata_Antenna) Descriptor ¶
func (*GatewayRxMetadata_Antenna) Descriptor() ([]byte, []int)
func (*GatewayRxMetadata_Antenna) Equal ¶
func (this *GatewayRxMetadata_Antenna) Equal(that interface{}) bool
func (*GatewayRxMetadata_Antenna) GetAntenna ¶
func (m *GatewayRxMetadata_Antenna) GetAntenna() uint32
func (*GatewayRxMetadata_Antenna) GetChannel ¶
func (m *GatewayRxMetadata_Antenna) GetChannel() uint32
func (*GatewayRxMetadata_Antenna) GetChannelRSSI ¶
func (m *GatewayRxMetadata_Antenna) GetChannelRSSI() float32
func (*GatewayRxMetadata_Antenna) GetEncryptedTime ¶
func (m *GatewayRxMetadata_Antenna) GetEncryptedTime() []byte
func (*GatewayRxMetadata_Antenna) GetFineTime ¶
func (m *GatewayRxMetadata_Antenna) GetFineTime() int64
func (*GatewayRxMetadata_Antenna) GetFrequencyOffset ¶
func (m *GatewayRxMetadata_Antenna) GetFrequencyOffset() int64
func (*GatewayRxMetadata_Antenna) GetRSSI ¶
func (m *GatewayRxMetadata_Antenna) GetRSSI() float32
func (*GatewayRxMetadata_Antenna) GetRSSIStandardDeviation ¶
func (m *GatewayRxMetadata_Antenna) GetRSSIStandardDeviation() float32
func (*GatewayRxMetadata_Antenna) GetSNR ¶
func (m *GatewayRxMetadata_Antenna) GetSNR() float32
func (*GatewayRxMetadata_Antenna) Marshal ¶
func (m *GatewayRxMetadata_Antenna) Marshal() (dAtA []byte, err error)
func (*GatewayRxMetadata_Antenna) MarshalTo ¶
func (m *GatewayRxMetadata_Antenna) MarshalTo(dAtA []byte) (int, error)
func (*GatewayRxMetadata_Antenna) ProtoMessage ¶
func (*GatewayRxMetadata_Antenna) ProtoMessage()
func (*GatewayRxMetadata_Antenna) Reset ¶
func (m *GatewayRxMetadata_Antenna) Reset()
func (*GatewayRxMetadata_Antenna) Size ¶
func (m *GatewayRxMetadata_Antenna) Size() (n int)
func (*GatewayRxMetadata_Antenna) String ¶
func (this *GatewayRxMetadata_Antenna) String() string
func (*GatewayRxMetadata_Antenna) Unmarshal ¶
func (m *GatewayRxMetadata_Antenna) Unmarshal(dAtA []byte) error
func (*GatewayRxMetadata_Antenna) XXX_DiscardUnknown ¶
func (m *GatewayRxMetadata_Antenna) XXX_DiscardUnknown()
func (*GatewayRxMetadata_Antenna) XXX_Marshal ¶
func (m *GatewayRxMetadata_Antenna) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GatewayRxMetadata_Antenna) XXX_Merge ¶
func (dst *GatewayRxMetadata_Antenna) XXX_Merge(src proto.Message)
func (*GatewayRxMetadata_Antenna) XXX_Size ¶
func (m *GatewayRxMetadata_Antenna) XXX_Size() int
func (*GatewayRxMetadata_Antenna) XXX_Unmarshal ¶
func (m *GatewayRxMetadata_Antenna) XXX_Unmarshal(b []byte) error
type GatewayTxConfiguration ¶
type GatewayTxConfiguration struct {
Timestamp uint32 `protobuf:"varint,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
RfChain uint32 `protobuf:"varint,21,opt,name=rf_chain,json=rfChain,proto3" json:"rf_chain,omitempty"`
Frequency uint64 `protobuf:"varint,22,opt,name=frequency,proto3" json:"frequency,omitempty"`
Power int32 `protobuf:"varint,23,opt,name=power,proto3" json:"power,omitempty"`
PolarizationInversion bool `` /* 126-byte string literal not displayed */
FrequencyDeviation uint32 `protobuf:"varint,32,opt,name=frequency_deviation,json=frequencyDeviation,proto3" json:"frequency_deviation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedGatewayTxConfiguration ¶
func NewPopulatedGatewayTxConfiguration(r randyRouter, easy bool) *GatewayTxConfiguration
func (*GatewayTxConfiguration) Descriptor ¶
func (*GatewayTxConfiguration) Descriptor() ([]byte, []int)
func (*GatewayTxConfiguration) Equal ¶
func (this *GatewayTxConfiguration) Equal(that interface{}) bool
func (*GatewayTxConfiguration) GetFrequency ¶
func (m *GatewayTxConfiguration) GetFrequency() uint64
func (*GatewayTxConfiguration) GetFrequencyDeviation ¶
func (m *GatewayTxConfiguration) GetFrequencyDeviation() uint32
func (*GatewayTxConfiguration) GetPolarizationInversion ¶
func (m *GatewayTxConfiguration) GetPolarizationInversion() bool
func (*GatewayTxConfiguration) GetPower ¶
func (m *GatewayTxConfiguration) GetPower() int32
func (*GatewayTxConfiguration) GetRfChain ¶
func (m *GatewayTxConfiguration) GetRfChain() uint32
func (*GatewayTxConfiguration) GetTimestamp ¶
func (m *GatewayTxConfiguration) GetTimestamp() uint32
func (*GatewayTxConfiguration) Marshal ¶
func (m *GatewayTxConfiguration) Marshal() (dAtA []byte, err error)
func (*GatewayTxConfiguration) MarshalTo ¶
func (m *GatewayTxConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*GatewayTxConfiguration) ProtoMessage ¶
func (*GatewayTxConfiguration) ProtoMessage()
func (*GatewayTxConfiguration) Reset ¶
func (m *GatewayTxConfiguration) Reset()
func (*GatewayTxConfiguration) Size ¶
func (m *GatewayTxConfiguration) Size() (n int)
func (*GatewayTxConfiguration) String ¶
func (this *GatewayTxConfiguration) String() string
func (*GatewayTxConfiguration) Unmarshal ¶
func (m *GatewayTxConfiguration) Unmarshal(dAtA []byte) error
func (*GatewayTxConfiguration) XXX_DiscardUnknown ¶
func (m *GatewayTxConfiguration) XXX_DiscardUnknown()
func (*GatewayTxConfiguration) XXX_Marshal ¶
func (m *GatewayTxConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GatewayTxConfiguration) XXX_Merge ¶
func (dst *GatewayTxConfiguration) XXX_Merge(src proto.Message)
func (*GatewayTxConfiguration) XXX_Size ¶
func (m *GatewayTxConfiguration) XXX_Size() int
func (*GatewayTxConfiguration) XXX_Unmarshal ¶
func (m *GatewayTxConfiguration) XXX_Unmarshal(b []byte) error
type GetRequest ¶
type GetRequest struct {
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedGetRequest ¶
func NewPopulatedGetRequest(r randyDiscovery, easy bool) *GetRequest
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) Equal ¶
func (this *GetRequest) Equal(that interface{}) bool
func (*GetRequest) GetID ¶
func (m *GetRequest) GetID() string
func (*GetRequest) GetServiceName ¶
func (m *GetRequest) GetServiceName() string
func (*GetRequest) Marshal ¶
func (m *GetRequest) Marshal() (dAtA []byte, err error)
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) Size ¶
func (m *GetRequest) Size() (n int)
func (*GetRequest) String ¶
func (this *GetRequest) String() string
func (*GetRequest) Unmarshal ¶
func (m *GetRequest) Unmarshal(dAtA []byte) error
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (dst *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type LoRaWANMetadata ¶
type LoRaWANMetadata struct {
Modulation Modulation `protobuf:"varint,11,opt,name=modulation,proto3,enum=router.Modulation" json:"modulation,omitempty"`
DataRate string `protobuf:"bytes,12,opt,name=data_rate,json=dataRate,proto3" json:"data_rate,omitempty"`
BitRate uint32 `protobuf:"varint,13,opt,name=bit_rate,json=bitRate,proto3" json:"bit_rate,omitempty"`
CodingRate string `protobuf:"bytes,14,opt,name=coding_rate,json=codingRate,proto3" json:"coding_rate,omitempty"`
FCnt uint32 `protobuf:"varint,15,opt,name=f_cnt,json=fCnt,proto3" json:"f_cnt,omitempty"`
FrequencyPlan uint32 `protobuf:"varint,16,opt,name=frequency_plan,json=frequencyPlan,proto3" json:"frequency_plan,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedLoRaWANMetadata ¶
func NewPopulatedLoRaWANMetadata(r randyRouter, easy bool) *LoRaWANMetadata
func (*LoRaWANMetadata) Descriptor ¶
func (*LoRaWANMetadata) Descriptor() ([]byte, []int)
func (*LoRaWANMetadata) Equal ¶
func (this *LoRaWANMetadata) Equal(that interface{}) bool
func (*LoRaWANMetadata) GetBitRate ¶
func (m *LoRaWANMetadata) GetBitRate() uint32
func (*LoRaWANMetadata) GetCodingRate ¶
func (m *LoRaWANMetadata) GetCodingRate() string
func (*LoRaWANMetadata) GetDataRate ¶
func (m *LoRaWANMetadata) GetDataRate() string
func (*LoRaWANMetadata) GetFCnt ¶
func (m *LoRaWANMetadata) GetFCnt() uint32
func (*LoRaWANMetadata) GetFrequencyPlan ¶
func (m *LoRaWANMetadata) GetFrequencyPlan() uint32
func (*LoRaWANMetadata) GetModulation ¶
func (m *LoRaWANMetadata) GetModulation() Modulation
func (*LoRaWANMetadata) Marshal ¶
func (m *LoRaWANMetadata) Marshal() (dAtA []byte, err error)
func (*LoRaWANMetadata) ProtoMessage ¶
func (*LoRaWANMetadata) ProtoMessage()
func (*LoRaWANMetadata) Reset ¶
func (m *LoRaWANMetadata) Reset()
func (*LoRaWANMetadata) Size ¶
func (m *LoRaWANMetadata) Size() (n int)
func (*LoRaWANMetadata) String ¶
func (this *LoRaWANMetadata) String() string
func (*LoRaWANMetadata) Unmarshal ¶
func (m *LoRaWANMetadata) Unmarshal(dAtA []byte) error
func (*LoRaWANMetadata) XXX_DiscardUnknown ¶
func (m *LoRaWANMetadata) XXX_DiscardUnknown()
func (*LoRaWANMetadata) XXX_Marshal ¶
func (m *LoRaWANMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoRaWANMetadata) XXX_Merge ¶
func (dst *LoRaWANMetadata) XXX_Merge(src proto.Message)
func (*LoRaWANMetadata) XXX_Size ¶
func (m *LoRaWANMetadata) XXX_Size() int
func (*LoRaWANMetadata) XXX_Unmarshal ¶
func (m *LoRaWANMetadata) XXX_Unmarshal(b []byte) error
type LoRaWANTxConfiguration ¶
type LoRaWANTxConfiguration struct {
Modulation Modulation `protobuf:"varint,11,opt,name=modulation,proto3,enum=router.Modulation" json:"modulation,omitempty"`
DataRate string `protobuf:"bytes,12,opt,name=data_rate,json=dataRate,proto3" json:"data_rate,omitempty"`
BitRate uint32 `protobuf:"varint,13,opt,name=bit_rate,json=bitRate,proto3" json:"bit_rate,omitempty"`
CodingRate string `protobuf:"bytes,14,opt,name=coding_rate,json=codingRate,proto3" json:"coding_rate,omitempty"`
FCnt uint32 `protobuf:"varint,15,opt,name=f_cnt,json=fCnt,proto3" json:"f_cnt,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedLoRaWANTxConfiguration ¶
func NewPopulatedLoRaWANTxConfiguration(r randyRouter, easy bool) *LoRaWANTxConfiguration
func (*LoRaWANTxConfiguration) Descriptor ¶
func (*LoRaWANTxConfiguration) Descriptor() ([]byte, []int)
func (*LoRaWANTxConfiguration) Equal ¶
func (this *LoRaWANTxConfiguration) Equal(that interface{}) bool
func (*LoRaWANTxConfiguration) GetBitRate ¶
func (m *LoRaWANTxConfiguration) GetBitRate() uint32
func (*LoRaWANTxConfiguration) GetCodingRate ¶
func (m *LoRaWANTxConfiguration) GetCodingRate() string
func (*LoRaWANTxConfiguration) GetDataRate ¶
func (m *LoRaWANTxConfiguration) GetDataRate() string
func (*LoRaWANTxConfiguration) GetFCnt ¶
func (m *LoRaWANTxConfiguration) GetFCnt() uint32
func (*LoRaWANTxConfiguration) GetModulation ¶
func (m *LoRaWANTxConfiguration) GetModulation() Modulation
func (*LoRaWANTxConfiguration) Marshal ¶
func (m *LoRaWANTxConfiguration) Marshal() (dAtA []byte, err error)
func (*LoRaWANTxConfiguration) MarshalTo ¶
func (m *LoRaWANTxConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*LoRaWANTxConfiguration) ProtoMessage ¶
func (*LoRaWANTxConfiguration) ProtoMessage()
func (*LoRaWANTxConfiguration) Reset ¶
func (m *LoRaWANTxConfiguration) Reset()
func (*LoRaWANTxConfiguration) Size ¶
func (m *LoRaWANTxConfiguration) Size() (n int)
func (*LoRaWANTxConfiguration) String ¶
func (this *LoRaWANTxConfiguration) String() string
func (*LoRaWANTxConfiguration) Unmarshal ¶
func (m *LoRaWANTxConfiguration) Unmarshal(dAtA []byte) error
func (*LoRaWANTxConfiguration) XXX_DiscardUnknown ¶
func (m *LoRaWANTxConfiguration) XXX_DiscardUnknown()
func (*LoRaWANTxConfiguration) XXX_Marshal ¶
func (m *LoRaWANTxConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoRaWANTxConfiguration) XXX_Merge ¶
func (dst *LoRaWANTxConfiguration) XXX_Merge(src proto.Message)
func (*LoRaWANTxConfiguration) XXX_Size ¶
func (m *LoRaWANTxConfiguration) XXX_Size() int
func (*LoRaWANTxConfiguration) XXX_Unmarshal ¶
func (m *LoRaWANTxConfiguration) XXX_Unmarshal(b []byte) error
type LocationMetadata ¶
type LocationMetadata struct {
Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
Latitude float32 `protobuf:"fixed32,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
Longitude float32 `protobuf:"fixed32,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
Altitude int32 `protobuf:"varint,4,opt,name=altitude,proto3" json:"altitude,omitempty"`
Accuracy int32 `protobuf:"varint,5,opt,name=accuracy,proto3" json:"accuracy,omitempty"`
Source LocationMetadata_LocationSource `protobuf:"varint,6,opt,name=source,proto3,enum=router.LocationMetadata_LocationSource" json:"source,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedLocationMetadata ¶
func NewPopulatedLocationMetadata(r randyRouter, easy bool) *LocationMetadata
func (*LocationMetadata) Descriptor ¶
func (*LocationMetadata) Descriptor() ([]byte, []int)
func (*LocationMetadata) Equal ¶
func (this *LocationMetadata) Equal(that interface{}) bool
func (*LocationMetadata) GetAccuracy ¶
func (m *LocationMetadata) GetAccuracy() int32
func (*LocationMetadata) GetAltitude ¶
func (m *LocationMetadata) GetAltitude() int32
func (*LocationMetadata) GetLatitude ¶
func (m *LocationMetadata) GetLatitude() float32
func (*LocationMetadata) GetLongitude ¶
func (m *LocationMetadata) GetLongitude() float32
func (*LocationMetadata) GetSource ¶
func (m *LocationMetadata) GetSource() LocationMetadata_LocationSource
func (*LocationMetadata) GetTime ¶
func (m *LocationMetadata) GetTime() int64
func (*LocationMetadata) Marshal ¶
func (m *LocationMetadata) Marshal() (dAtA []byte, err error)
func (*LocationMetadata) ProtoMessage ¶
func (*LocationMetadata) ProtoMessage()
func (*LocationMetadata) Reset ¶
func (m *LocationMetadata) Reset()
func (*LocationMetadata) Size ¶
func (m *LocationMetadata) Size() (n int)
func (*LocationMetadata) String ¶
func (this *LocationMetadata) String() string
func (*LocationMetadata) Unmarshal ¶
func (m *LocationMetadata) Unmarshal(dAtA []byte) error
func (*LocationMetadata) Validate ¶
func (m *LocationMetadata) Validate() bool
Validate validates the location.
func (*LocationMetadata) XXX_DiscardUnknown ¶
func (m *LocationMetadata) XXX_DiscardUnknown()
func (*LocationMetadata) XXX_Marshal ¶
func (m *LocationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocationMetadata) XXX_Merge ¶
func (dst *LocationMetadata) XXX_Merge(src proto.Message)
func (*LocationMetadata) XXX_Size ¶
func (m *LocationMetadata) XXX_Size() int
func (*LocationMetadata) XXX_Unmarshal ¶
func (m *LocationMetadata) XXX_Unmarshal(b []byte) error
type LocationMetadata_LocationSource ¶
type LocationMetadata_LocationSource int32
const ( LocationMetadata_UNKNOWN LocationMetadata_LocationSource = 0 LocationMetadata_GPS LocationMetadata_LocationSource = 1 LocationMetadata_CONFIG LocationMetadata_LocationSource = 2 LocationMetadata_REGISTRY LocationMetadata_LocationSource = 3 LocationMetadata_IP_GEOLOCATION LocationMetadata_LocationSource = 4 )
func (LocationMetadata_LocationSource) EnumDescriptor ¶
func (LocationMetadata_LocationSource) EnumDescriptor() ([]byte, []int)
func (LocationMetadata_LocationSource) String ¶
func (x LocationMetadata_LocationSource) String() string
type Modulation ¶
type Modulation int32
const ( Modulation_LORA Modulation = 0 Modulation_FSK Modulation = 1 )
func (Modulation) EnumDescriptor ¶
func (Modulation) EnumDescriptor() ([]byte, []int)
func (Modulation) String ¶
func (x Modulation) String() string
type ProtocolRxMetadata ¶
type ProtocolRxMetadata struct {
LoRaWAN *LoRaWANMetadata `protobuf:"bytes,1,opt,name=lorawan,proto3" json:"lorawan,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedProtocolRxMetadata ¶
func NewPopulatedProtocolRxMetadata(r randyRouter, easy bool) *ProtocolRxMetadata
func (*ProtocolRxMetadata) Descriptor ¶
func (*ProtocolRxMetadata) Descriptor() ([]byte, []int)
func (*ProtocolRxMetadata) Equal ¶
func (this *ProtocolRxMetadata) Equal(that interface{}) bool
func (*ProtocolRxMetadata) GetLoRaWAN ¶
func (m *ProtocolRxMetadata) GetLoRaWAN() *LoRaWANMetadata
func (*ProtocolRxMetadata) Marshal ¶
func (m *ProtocolRxMetadata) Marshal() (dAtA []byte, err error)
func (*ProtocolRxMetadata) MarshalTo ¶
func (m *ProtocolRxMetadata) MarshalTo(dAtA []byte) (int, error)
func (*ProtocolRxMetadata) ProtoMessage ¶
func (*ProtocolRxMetadata) ProtoMessage()
func (*ProtocolRxMetadata) Reset ¶
func (m *ProtocolRxMetadata) Reset()
func (*ProtocolRxMetadata) Size ¶
func (m *ProtocolRxMetadata) Size() (n int)
func (*ProtocolRxMetadata) String ¶
func (this *ProtocolRxMetadata) String() string
func (*ProtocolRxMetadata) Unmarshal ¶
func (m *ProtocolRxMetadata) Unmarshal(dAtA []byte) error
func (*ProtocolRxMetadata) XXX_DiscardUnknown ¶
func (m *ProtocolRxMetadata) XXX_DiscardUnknown()
func (*ProtocolRxMetadata) XXX_Marshal ¶
func (m *ProtocolRxMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtocolRxMetadata) XXX_Merge ¶
func (dst *ProtocolRxMetadata) XXX_Merge(src proto.Message)
func (*ProtocolRxMetadata) XXX_Size ¶
func (m *ProtocolRxMetadata) XXX_Size() int
func (*ProtocolRxMetadata) XXX_Unmarshal ¶
func (m *ProtocolRxMetadata) XXX_Unmarshal(b []byte) error
type ProtocolTxConfiguration ¶
type ProtocolTxConfiguration struct {
LoRaWAN *LoRaWANTxConfiguration `protobuf:"bytes,1,opt,name=lorawan,proto3" json:"lorawan,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedProtocolTxConfiguration ¶
func NewPopulatedProtocolTxConfiguration(r randyRouter, easy bool) *ProtocolTxConfiguration
func (*ProtocolTxConfiguration) Descriptor ¶
func (*ProtocolTxConfiguration) Descriptor() ([]byte, []int)
func (*ProtocolTxConfiguration) Equal ¶
func (this *ProtocolTxConfiguration) Equal(that interface{}) bool
func (*ProtocolTxConfiguration) GetLoRaWAN ¶
func (m *ProtocolTxConfiguration) GetLoRaWAN() *LoRaWANTxConfiguration
func (*ProtocolTxConfiguration) Marshal ¶
func (m *ProtocolTxConfiguration) Marshal() (dAtA []byte, err error)
func (*ProtocolTxConfiguration) MarshalTo ¶
func (m *ProtocolTxConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*ProtocolTxConfiguration) ProtoMessage ¶
func (*ProtocolTxConfiguration) ProtoMessage()
func (*ProtocolTxConfiguration) Reset ¶
func (m *ProtocolTxConfiguration) Reset()
func (*ProtocolTxConfiguration) Size ¶
func (m *ProtocolTxConfiguration) Size() (n int)
func (*ProtocolTxConfiguration) String ¶
func (this *ProtocolTxConfiguration) String() string
func (*ProtocolTxConfiguration) Unmarshal ¶
func (m *ProtocolTxConfiguration) Unmarshal(dAtA []byte) error
func (*ProtocolTxConfiguration) XXX_DiscardUnknown ¶
func (m *ProtocolTxConfiguration) XXX_DiscardUnknown()
func (*ProtocolTxConfiguration) XXX_Marshal ¶
func (m *ProtocolTxConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtocolTxConfiguration) XXX_Merge ¶
func (dst *ProtocolTxConfiguration) XXX_Merge(src proto.Message)
func (*ProtocolTxConfiguration) XXX_Size ¶
func (m *ProtocolTxConfiguration) XXX_Size() int
func (*ProtocolTxConfiguration) XXX_Unmarshal ¶
func (m *ProtocolTxConfiguration) XXX_Unmarshal(b []byte) error
type RouterClient ¶
type RouterClient interface {
GatewayStatus(ctx context.Context, opts ...grpc.CallOption) (Router_GatewayStatusClient, error)
Uplink(ctx context.Context, opts ...grpc.CallOption) (Router_UplinkClient, error)
Subscribe(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (Router_SubscribeClient, error)
}
RouterClient is the client API for Router service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRouterClient ¶
func NewRouterClient(cc *grpc.ClientConn) RouterClient
type RouterServer ¶
type RouterServer interface {
GatewayStatus(Router_GatewayStatusServer) error
Uplink(Router_UplinkServer) error
Subscribe(*types.Empty, Router_SubscribeServer) error
}
RouterServer is the server API for Router service.
type Router_GatewayStatusClient ¶
type Router_GatewayStatusClient interface {
Send(*StatusMessage) error
CloseAndRecv() (*types.Empty, error)
grpc.ClientStream
}
type Router_GatewayStatusServer ¶
type Router_GatewayStatusServer interface {
SendAndClose(*types.Empty) error
Recv() (*StatusMessage, error)
grpc.ServerStream
}
type Router_SubscribeClient ¶
type Router_SubscribeClient interface {
Recv() (*DownlinkMessage, error)
grpc.ClientStream
}
type Router_SubscribeServer ¶
type Router_SubscribeServer interface {
Send(*DownlinkMessage) error
grpc.ServerStream
}
type Router_UplinkClient ¶
type Router_UplinkClient interface {
Send(*UplinkMessage) error
CloseAndRecv() (*types.Empty, error)
grpc.ClientStream
}
type Router_UplinkServer ¶
type Router_UplinkServer interface {
SendAndClose(*types.Empty) error
Recv() (*UplinkMessage, error)
grpc.ServerStream
}
type StatusMessage ¶
type StatusMessage struct {
Timestamp uint32 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Time int64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
GatewayTrusted bool `protobuf:"varint,3,opt,name=gateway_trusted,json=gatewayTrusted,proto3" json:"gateway_trusted,omitempty"`
BootTime int64 `protobuf:"varint,4,opt,name=boot_time,json=bootTime,proto3" json:"boot_time,omitempty"`
IP []string `protobuf:"bytes,11,rep,name=ip,proto3" json:"ip,omitempty"`
Platform string `protobuf:"bytes,12,opt,name=platform,proto3" json:"platform,omitempty"`
ContactEmail string `protobuf:"bytes,13,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
Description string `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"`
FrequencyPlan string `protobuf:"bytes,15,opt,name=frequency_plan,json=frequencyPlan,proto3" json:"frequency_plan,omitempty"`
Bridge string `protobuf:"bytes,16,opt,name=bridge,proto3" json:"bridge,omitempty"`
Router string `protobuf:"bytes,17,opt,name=router,proto3" json:"router,omitempty"`
FPGA uint32 `protobuf:"varint,18,opt,name=fpga,proto3" json:"fpga,omitempty"`
DSP uint32 `protobuf:"varint,19,opt,name=dsp,proto3" json:"dsp,omitempty"`
HAL string `protobuf:"bytes,20,opt,name=hal,proto3" json:"hal,omitempty"`
Location *LocationMetadata `protobuf:"bytes,21,opt,name=location,proto3" json:"location,omitempty"`
RTT uint32 `protobuf:"varint,31,opt,name=rtt,proto3" json:"rtt,omitempty"`
RxIn uint32 `protobuf:"varint,41,opt,name=rx_in,json=rxIn,proto3" json:"rx_in,omitempty"`
RxOk uint32 `protobuf:"varint,42,opt,name=rx_ok,json=rxOk,proto3" json:"rx_ok,omitempty"`
TxIn uint32 `protobuf:"varint,43,opt,name=tx_in,json=txIn,proto3" json:"tx_in,omitempty"`
TxOk uint32 `protobuf:"varint,44,opt,name=tx_ok,json=txOk,proto3" json:"tx_ok,omitempty"`
LmOk uint32 `protobuf:"varint,45,opt,name=lm_ok,json=lmOk,proto3" json:"lm_ok,omitempty"`
LmSt uint32 `protobuf:"varint,46,opt,name=lm_st,json=lmSt,proto3" json:"lm_st,omitempty"`
LmNw uint32 `protobuf:"varint,47,opt,name=lm_nw,json=lmNw,proto3" json:"lm_nw,omitempty"`
LPPS uint32 `protobuf:"varint,48,opt,name=l_pps,json=lPps,proto3" json:"l_pps,omitempty"`
OS *StatusMessage_OSMetrics `protobuf:"bytes,51,opt,name=os,proto3" json:"os,omitempty"`
Messages []string `protobuf:"bytes,52,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedStatusMessage ¶
func NewPopulatedStatusMessage(r randyRouter, easy bool) *StatusMessage
func (*StatusMessage) Descriptor ¶
func (*StatusMessage) Descriptor() ([]byte, []int)
func (*StatusMessage) Equal ¶
func (this *StatusMessage) Equal(that interface{}) bool
func (*StatusMessage) GetBootTime ¶
func (m *StatusMessage) GetBootTime() int64
func (*StatusMessage) GetBridge ¶
func (m *StatusMessage) GetBridge() string
func (*StatusMessage) GetContactEmail ¶
func (m *StatusMessage) GetContactEmail() string
func (*StatusMessage) GetDSP ¶
func (m *StatusMessage) GetDSP() uint32
func (*StatusMessage) GetDescription ¶
func (m *StatusMessage) GetDescription() string
func (*StatusMessage) GetFPGA ¶
func (m *StatusMessage) GetFPGA() uint32
func (*StatusMessage) GetFrequencyPlan ¶
func (m *StatusMessage) GetFrequencyPlan() string
func (*StatusMessage) GetGatewayTrusted ¶
func (m *StatusMessage) GetGatewayTrusted() bool
func (*StatusMessage) GetHAL ¶
func (m *StatusMessage) GetHAL() string
func (*StatusMessage) GetIP ¶
func (m *StatusMessage) GetIP() []string
func (*StatusMessage) GetLPPS ¶
func (m *StatusMessage) GetLPPS() uint32
func (*StatusMessage) GetLmNw ¶
func (m *StatusMessage) GetLmNw() uint32
func (*StatusMessage) GetLmOk ¶
func (m *StatusMessage) GetLmOk() uint32
func (*StatusMessage) GetLmSt ¶
func (m *StatusMessage) GetLmSt() uint32
func (*StatusMessage) GetLocation ¶
func (m *StatusMessage) GetLocation() *LocationMetadata
func (*StatusMessage) GetMessages ¶
func (m *StatusMessage) GetMessages() []string
func (*StatusMessage) GetOS ¶
func (m *StatusMessage) GetOS() *StatusMessage_OSMetrics
func (*StatusMessage) GetPlatform ¶
func (m *StatusMessage) GetPlatform() string
func (*StatusMessage) GetRTT ¶
func (m *StatusMessage) GetRTT() uint32
func (*StatusMessage) GetRouter ¶
func (m *StatusMessage) GetRouter() string
func (*StatusMessage) GetRxIn ¶
func (m *StatusMessage) GetRxIn() uint32
func (*StatusMessage) GetRxOk ¶
func (m *StatusMessage) GetRxOk() uint32
func (*StatusMessage) GetTime ¶
func (m *StatusMessage) GetTime() int64
func (*StatusMessage) GetTimestamp ¶
func (m *StatusMessage) GetTimestamp() uint32
func (*StatusMessage) GetTxIn ¶
func (m *StatusMessage) GetTxIn() uint32
func (*StatusMessage) GetTxOk ¶
func (m *StatusMessage) GetTxOk() uint32
func (*StatusMessage) Marshal ¶
func (m *StatusMessage) Marshal() (dAtA []byte, err error)
func (*StatusMessage) ProtoMessage ¶
func (*StatusMessage) ProtoMessage()
func (*StatusMessage) Reset ¶
func (m *StatusMessage) Reset()
func (*StatusMessage) Size ¶
func (m *StatusMessage) Size() (n int)
func (*StatusMessage) String ¶
func (this *StatusMessage) String() string
func (*StatusMessage) Unmarshal ¶
func (m *StatusMessage) Unmarshal(dAtA []byte) error
func (*StatusMessage) XXX_DiscardUnknown ¶
func (m *StatusMessage) XXX_DiscardUnknown()
func (*StatusMessage) XXX_Marshal ¶
func (m *StatusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusMessage) XXX_Merge ¶
func (dst *StatusMessage) XXX_Merge(src proto.Message)
func (*StatusMessage) XXX_Size ¶
func (m *StatusMessage) XXX_Size() int
func (*StatusMessage) XXX_Unmarshal ¶
func (m *StatusMessage) XXX_Unmarshal(b []byte) error
type StatusMessage_OSMetrics ¶
type StatusMessage_OSMetrics struct {
Load_1 float32 `protobuf:"fixed32,1,opt,name=load_1,json=load1,proto3" json:"load_1,omitempty"`
Load_5 float32 `protobuf:"fixed32,2,opt,name=load_5,json=load5,proto3" json:"load_5,omitempty"`
Load_15 float32 `protobuf:"fixed32,3,opt,name=load_15,json=load15,proto3" json:"load_15,omitempty"`
CPUPercentage float32 `protobuf:"fixed32,11,opt,name=cpu_percentage,json=cpuPercentage,proto3" json:"cpu_percentage,omitempty"`
MemoryPercentage float32 `protobuf:"fixed32,21,opt,name=memory_percentage,json=memoryPercentage,proto3" json:"memory_percentage,omitempty"`
Temperature float32 `protobuf:"fixed32,31,opt,name=temperature,proto3" json:"temperature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedStatusMessage_OSMetrics ¶
func NewPopulatedStatusMessage_OSMetrics(r randyRouter, easy bool) *StatusMessage_OSMetrics
func (*StatusMessage_OSMetrics) Descriptor ¶
func (*StatusMessage_OSMetrics) Descriptor() ([]byte, []int)
func (*StatusMessage_OSMetrics) Equal ¶
func (this *StatusMessage_OSMetrics) Equal(that interface{}) bool
func (*StatusMessage_OSMetrics) GetCPUPercentage ¶
func (m *StatusMessage_OSMetrics) GetCPUPercentage() float32
func (*StatusMessage_OSMetrics) GetLoad_1 ¶
func (m *StatusMessage_OSMetrics) GetLoad_1() float32
func (*StatusMessage_OSMetrics) GetLoad_5 ¶
func (m *StatusMessage_OSMetrics) GetLoad_5() float32
func (*StatusMessage_OSMetrics) GetLoad_15 ¶
func (m *StatusMessage_OSMetrics) GetLoad_15() float32
func (*StatusMessage_OSMetrics) GetMemoryPercentage ¶
func (m *StatusMessage_OSMetrics) GetMemoryPercentage() float32
func (*StatusMessage_OSMetrics) GetTemperature ¶
func (m *StatusMessage_OSMetrics) GetTemperature() float32
func (*StatusMessage_OSMetrics) Marshal ¶
func (m *StatusMessage_OSMetrics) Marshal() (dAtA []byte, err error)
func (*StatusMessage_OSMetrics) MarshalTo ¶
func (m *StatusMessage_OSMetrics) MarshalTo(dAtA []byte) (int, error)
func (*StatusMessage_OSMetrics) ProtoMessage ¶
func (*StatusMessage_OSMetrics) ProtoMessage()
func (*StatusMessage_OSMetrics) Reset ¶
func (m *StatusMessage_OSMetrics) Reset()
func (*StatusMessage_OSMetrics) Size ¶
func (m *StatusMessage_OSMetrics) Size() (n int)
func (*StatusMessage_OSMetrics) String ¶
func (this *StatusMessage_OSMetrics) String() string
func (*StatusMessage_OSMetrics) Unmarshal ¶
func (m *StatusMessage_OSMetrics) Unmarshal(dAtA []byte) error
func (*StatusMessage_OSMetrics) XXX_DiscardUnknown ¶
func (m *StatusMessage_OSMetrics) XXX_DiscardUnknown()
func (*StatusMessage_OSMetrics) XXX_Marshal ¶
func (m *StatusMessage_OSMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusMessage_OSMetrics) XXX_Merge ¶
func (dst *StatusMessage_OSMetrics) XXX_Merge(src proto.Message)
func (*StatusMessage_OSMetrics) XXX_Size ¶
func (m *StatusMessage_OSMetrics) XXX_Size() int
func (*StatusMessage_OSMetrics) XXX_Unmarshal ¶
func (m *StatusMessage_OSMetrics) XXX_Unmarshal(b []byte) error
type Trace ¶
type Trace struct {
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Time int64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
ServiceID string `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
ServiceName string `protobuf:"bytes,4,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
Event string `protobuf:"bytes,5,opt,name=event,proto3" json:"event,omitempty"`
Metadata map[string]string `` /* 157-byte string literal not displayed */
Parents []*Trace `protobuf:"bytes,11,rep,name=parents,proto3" json:"parents,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedTrace ¶
func (*Trace) Descriptor ¶
func (*Trace) GetMetadata ¶
func (*Trace) GetParents ¶
func (*Trace) GetServiceID ¶
func (*Trace) GetServiceName ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) XXX_DiscardUnknown ¶
func (m *Trace) XXX_DiscardUnknown()
func (*Trace) XXX_Marshal ¶
func (*Trace) XXX_Unmarshal ¶
type UplinkMessage ¶
type UplinkMessage struct {
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
// ProtocolMessage message = 2;
ProtocolMetadata ProtocolRxMetadata `protobuf:"bytes,11,opt,name=protocol_metadata,json=protocolMetadata,proto3" json:"protocol_metadata"`
GatewayMetadata GatewayRxMetadata `protobuf:"bytes,12,opt,name=gateway_metadata,json=gatewayMetadata,proto3" json:"gateway_metadata"`
Trace *Trace `protobuf:"bytes,21,opt,name=trace,proto3" json:"trace,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedUplinkMessage ¶
func NewPopulatedUplinkMessage(r randyRouter, easy bool) *UplinkMessage
func (*UplinkMessage) Descriptor ¶
func (*UplinkMessage) Descriptor() ([]byte, []int)
func (*UplinkMessage) Equal ¶
func (this *UplinkMessage) Equal(that interface{}) bool
func (*UplinkMessage) GetGatewayMetadata ¶
func (m *UplinkMessage) GetGatewayMetadata() GatewayRxMetadata
func (*UplinkMessage) GetPayload ¶
func (m *UplinkMessage) GetPayload() []byte
func (*UplinkMessage) GetProtocolMetadata ¶
func (m *UplinkMessage) GetProtocolMetadata() ProtocolRxMetadata
func (*UplinkMessage) GetTrace ¶
func (m *UplinkMessage) GetTrace() *Trace
func (*UplinkMessage) Marshal ¶
func (m *UplinkMessage) Marshal() (dAtA []byte, err error)
func (*UplinkMessage) ProtoMessage ¶
func (*UplinkMessage) ProtoMessage()
func (*UplinkMessage) Reset ¶
func (m *UplinkMessage) Reset()
func (*UplinkMessage) Size ¶
func (m *UplinkMessage) Size() (n int)
func (*UplinkMessage) String ¶
func (this *UplinkMessage) String() string
func (*UplinkMessage) Unmarshal ¶
func (m *UplinkMessage) Unmarshal(dAtA []byte) error
func (*UplinkMessage) XXX_DiscardUnknown ¶
func (m *UplinkMessage) XXX_DiscardUnknown()
func (*UplinkMessage) XXX_Marshal ¶
func (m *UplinkMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UplinkMessage) XXX_Merge ¶
func (dst *UplinkMessage) XXX_Merge(src proto.Message)
func (*UplinkMessage) XXX_Size ¶
func (m *UplinkMessage) XXX_Size() int
func (*UplinkMessage) XXX_Unmarshal ¶
func (m *UplinkMessage) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.