gen

package
v0.0.0-...-ccaa6ab Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

Deprecated: Use Sensor.ProtoReflect.Descriptor instead.

func (*Sensor) GetData

func (x *Sensor) GetData() float64

func (*Sensor) ProtoMessage

func (*Sensor) ProtoMessage()

func (*Sensor) ProtoReflect

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

func (*Sensor) Reset

func (x *Sensor) Reset()

func (*Sensor) String

func (x *Sensor) String() string

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

Deprecated: Use Telemetry.ProtoReflect.Descriptor instead.

func (*Telemetry) GetSensors

func (x *Telemetry) GetSensors() map[string]float64

func (*Telemetry) GetTime

func (x *Telemetry) GetTime() *timestamppb.Timestamp

func (*Telemetry) ProtoMessage

func (*Telemetry) ProtoMessage()

func (*Telemetry) ProtoReflect

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

func (*Telemetry) Reset

func (x *Telemetry) Reset()

func (*Telemetry) String

func (x *Telemetry) String() string

Jump to

Keyboard shortcuts

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