protobuf

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ClipboardData

type ClipboardData struct {
	IsImage  bool   `protobuf:"varint,1,opt,name=is_image,json=isImage,proto3" json:"is_image,omitempty"`
	DataSize uint32 `protobuf:"varint,2,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"`
	Time     int64  `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
	Data     []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ClipboardData) Descriptor deprecated

func (*ClipboardData) Descriptor() ([]byte, []int)

Deprecated: Use ClipboardData.ProtoReflect.Descriptor instead.

func (*ClipboardData) GetData

func (x *ClipboardData) GetData() []byte

func (*ClipboardData) GetDataSize

func (x *ClipboardData) GetDataSize() uint32

func (*ClipboardData) GetIsImage

func (x *ClipboardData) GetIsImage() bool

func (*ClipboardData) GetTime

func (x *ClipboardData) GetTime() int64

func (*ClipboardData) ProtoMessage

func (*ClipboardData) ProtoMessage()

func (*ClipboardData) ProtoReflect

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

func (*ClipboardData) Reset

func (x *ClipboardData) Reset()

func (*ClipboardData) String

func (x *ClipboardData) String() string

type DeviceData

type DeviceData struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Os        string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`
	PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceData) Descriptor deprecated

func (*DeviceData) Descriptor() ([]byte, []int)

Deprecated: Use DeviceData.ProtoReflect.Descriptor instead.

func (*DeviceData) GetName

func (x *DeviceData) GetName() string

func (*DeviceData) GetOs

func (x *DeviceData) GetOs() string

func (*DeviceData) GetPublicKey

func (x *DeviceData) GetPublicKey() []byte

func (*DeviceData) ProtoMessage

func (*DeviceData) ProtoMessage()

func (*DeviceData) ProtoReflect

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

func (*DeviceData) Reset

func (x *DeviceData) Reset()

func (*DeviceData) String

func (x *DeviceData) String() string

Jump to

Keyboard shortcuts

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