Documentation ¶
Index ¶
- Variables
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetHostname() string
- func (x *Device) GetIpaddr() string
- func (x *Device) GetModel() string
- func (x *Device) GetTags() []string
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type Devices
Constants ¶
This section is empty.
Variables ¶
View Source
var File_datalogger_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Ipaddr string `protobuf:"bytes,2,opt,name=ipaddr,proto3" json:"ipaddr,omitempty"` Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Device) Descriptor
deprecated
func (*Device) GetHostname ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type Devices ¶
type Devices struct { Devices map[string]*Device `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
A structure containing all the devices listed in the network repo.
func (*Devices) Descriptor
deprecated
func (*Devices) GetDevices ¶
func (*Devices) ProtoMessage ¶
func (*Devices) ProtoMessage()
func (*Devices) ProtoReflect ¶
func (x *Devices) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.