Documentation
¶
Index ¶
- Variables
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetBoutiqueId() string
- func (x *Device) GetChainId() string
- func (x *Device) GetDeviceId() string
- func (x *Device) GetHardwareInfo() *HardwareInfo
- func (x *Device) GetPassword() string
- func (x *Device) GetStatus() bool
- func (x *Device) GetTimestamp() *timestamppb.Timestamp
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type Devices
- type HardwareInfo
- func (*HardwareInfo) Descriptor() ([]byte, []int)deprecated
- func (x *HardwareInfo) GetBaseOS() string
- func (x *HardwareInfo) GetBrand() string
- func (x *HardwareInfo) GetName() string
- func (x *HardwareInfo) GetSerialNumber() string
- func (*HardwareInfo) ProtoMessage()
- func (x *HardwareInfo) ProtoReflect() protoreflect.Message
- func (x *HardwareInfo) Reset()
- func (x *HardwareInfo) String() string
Constants ¶
This section is empty.
Variables ¶
var File_device_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// / deviceId is set by the server
DeviceId string `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
ChainId string `protobuf:"bytes,2,opt,name=chainId,proto3" json:"chainId,omitempty"`
BoutiqueId string `protobuf:"bytes,3,opt,name=boutiqueId,proto3" json:"boutiqueId,omitempty"`
Status bool `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
HardwareInfo *HardwareInfo `protobuf:"bytes,7,opt,name=hardwareInfo,proto3" json:"hardwareInfo,omitempty"`
// contains filtered or unexported fields
}
/ a device == cash register, assigned to a boutique, / by default once enrolled there is a cashier access that can always log in
func (*Device) Descriptor
deprecated
func (*Device) GetBoutiqueId ¶
func (*Device) GetChainId ¶
func (*Device) GetDeviceId ¶
func (*Device) GetHardwareInfo ¶
func (x *Device) GetHardwareInfo() *HardwareInfo
func (*Device) GetPassword ¶
func (*Device) GetTimestamp ¶
func (x *Device) GetTimestamp() *timestamppb.Timestamp
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type Devices ¶
type Devices struct {
Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
// contains filtered or unexported fields
}
func (*Devices) Descriptor
deprecated
func (*Devices) GetDevices ¶
func (*Devices) ProtoMessage ¶
func (*Devices) ProtoMessage()
func (*Devices) ProtoReflect ¶
func (x *Devices) ProtoReflect() protoreflect.Message
type HardwareInfo ¶
type HardwareInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
SerialNumber string `protobuf:"bytes,2,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`
BaseOS string `protobuf:"bytes,3,opt,name=baseOS,proto3" json:"baseOS,omitempty"`
Brand string `protobuf:"bytes,4,opt,name=brand,proto3" json:"brand,omitempty"`
// contains filtered or unexported fields
}
/ come from weebi_app, not set by web
func (*HardwareInfo) Descriptor
deprecated
func (*HardwareInfo) Descriptor() ([]byte, []int)
Deprecated: Use HardwareInfo.ProtoReflect.Descriptor instead.
func (*HardwareInfo) GetBaseOS ¶
func (x *HardwareInfo) GetBaseOS() string
func (*HardwareInfo) GetBrand ¶
func (x *HardwareInfo) GetBrand() string
func (*HardwareInfo) GetName ¶
func (x *HardwareInfo) GetName() string
func (*HardwareInfo) GetSerialNumber ¶
func (x *HardwareInfo) GetSerialNumber() string
func (*HardwareInfo) ProtoMessage ¶
func (*HardwareInfo) ProtoMessage()
func (*HardwareInfo) ProtoReflect ¶
func (x *HardwareInfo) ProtoReflect() protoreflect.Message
func (*HardwareInfo) Reset ¶
func (x *HardwareInfo) Reset()
func (*HardwareInfo) String ¶
func (x *HardwareInfo) String() string