device

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetBoutiqueId

func (x *Device) GetBoutiqueId() string

func (*Device) GetChainId

func (x *Device) GetChainId() string

func (*Device) GetDeviceId

func (x *Device) GetDeviceId() string

func (*Device) GetHardwareInfo

func (x *Device) GetHardwareInfo() *HardwareInfo

func (*Device) GetPassword

func (x *Device) GetPassword() string

func (*Device) GetStatus

func (x *Device) GetStatus() bool

func (*Device) GetTimestamp

func (x *Device) GetTimestamp() *timestamppb.Timestamp

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

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

Deprecated: Use Devices.ProtoReflect.Descriptor instead.

func (*Devices) GetDevices

func (x *Devices) GetDevices() []*Device

func (*Devices) ProtoMessage

func (*Devices) ProtoMessage()

func (*Devices) ProtoReflect

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

func (*Devices) Reset

func (x *Devices) Reset()

func (*Devices) String

func (x *Devices) String() string

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

Jump to

Keyboard shortcuts

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