Documentation ¶
Index ¶
- Variables
- type Sensor
- type Telemetry
- func (*Telemetry) Descriptor() ([]byte, []int)deprecated
- func (x *Telemetry) GetSensors() map[string]float64
- func (x *Telemetry) GetTime() *timestamppb.Timestamp
- func (*Telemetry) ProtoMessage()
- func (x *Telemetry) ProtoReflect() protoreflect.Message
- func (x *Telemetry) Reset()
- func (x *Telemetry) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_device_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Sensor ¶
type Sensor struct { Data float64 `protobuf:"fixed64,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Sensor) Descriptor
deprecated
func (*Sensor) ProtoMessage ¶
func (*Sensor) ProtoMessage()
func (*Sensor) ProtoReflect ¶
func (x *Sensor) ProtoReflect() protoreflect.Message
type Telemetry ¶
type Telemetry struct { Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Sensors map[string]float64 `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Telemetry) Descriptor
deprecated
func (*Telemetry) GetSensors ¶
func (*Telemetry) GetTime ¶
func (x *Telemetry) GetTime() *timestamppb.Timestamp
func (*Telemetry) ProtoMessage ¶
func (*Telemetry) ProtoMessage()
func (*Telemetry) ProtoReflect ¶
func (x *Telemetry) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.