user

package
v0.0.0-...-f9952bb Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protobufs_userInput_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Instruction

type Instruction struct {
	Keystroke *Keystroke     `protobuf:"bytes,2,opt,name=keystroke,proto3,oneof" json:"keystroke,omitempty"`
	Resize    *ResizeMessage `protobuf:"bytes,3,opt,name=resize,proto3,oneof" json:"resize,omitempty"` // extensions 2 to max;
	// contains filtered or unexported fields
}

proto3 doesn't support extensions also consider the optional field

func (*Instruction) Descriptor deprecated

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

Deprecated: Use Instruction.ProtoReflect.Descriptor instead.

func (*Instruction) GetKeystroke

func (x *Instruction) GetKeystroke() *Keystroke

func (*Instruction) GetResize

func (x *Instruction) GetResize() *ResizeMessage

func (*Instruction) ProtoMessage

func (*Instruction) ProtoMessage()

func (*Instruction) ProtoReflect

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

func (*Instruction) Reset

func (x *Instruction) Reset()

func (*Instruction) String

func (x *Instruction) String() string

type Keystroke

type Keystroke struct {
	Keys []byte `protobuf:"bytes,4,opt,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*Keystroke) Descriptor deprecated

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

Deprecated: Use Keystroke.ProtoReflect.Descriptor instead.

func (*Keystroke) GetKeys

func (x *Keystroke) GetKeys() []byte

func (*Keystroke) ProtoMessage

func (*Keystroke) ProtoMessage()

func (*Keystroke) ProtoReflect

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

func (*Keystroke) Reset

func (x *Keystroke) Reset()

func (*Keystroke) String

func (x *Keystroke) String() string

type ResizeMessage

type ResizeMessage struct {
	Width  int32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
	Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*ResizeMessage) Descriptor deprecated

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

Deprecated: Use ResizeMessage.ProtoReflect.Descriptor instead.

func (*ResizeMessage) GetHeight

func (x *ResizeMessage) GetHeight() int32

func (*ResizeMessage) GetWidth

func (x *ResizeMessage) GetWidth() int32

func (*ResizeMessage) ProtoMessage

func (*ResizeMessage) ProtoMessage()

func (*ResizeMessage) ProtoReflect

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

func (*ResizeMessage) Reset

func (x *ResizeMessage) Reset()

func (*ResizeMessage) String

func (x *ResizeMessage) String() string

type UserMessage

type UserMessage struct {
	Instruction []*Instruction `protobuf:"bytes,1,rep,name=instruction,proto3" json:"instruction,omitempty"`
	// contains filtered or unexported fields
}

func (*UserMessage) Descriptor deprecated

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

Deprecated: Use UserMessage.ProtoReflect.Descriptor instead.

func (*UserMessage) GetInstruction

func (x *UserMessage) GetInstruction() []*Instruction

func (*UserMessage) ProtoMessage

func (*UserMessage) ProtoMessage()

func (*UserMessage) ProtoReflect

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

func (*UserMessage) Reset

func (x *UserMessage) Reset()

func (*UserMessage) String

func (x *UserMessage) String() string

Jump to

Keyboard shortcuts

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