Documentation ¶
Index ¶
- Variables
- type Instruction
- func (*Instruction) Descriptor() ([]byte, []int)deprecated
- func (x *Instruction) GetKeystroke() *Keystroke
- func (x *Instruction) GetResize() *ResizeMessage
- func (*Instruction) ProtoMessage()
- func (x *Instruction) ProtoReflect() protoreflect.Message
- func (x *Instruction) Reset()
- func (x *Instruction) String() string
- type Keystroke
- type ResizeMessage
- func (*ResizeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ResizeMessage) GetHeight() int32
- func (x *ResizeMessage) GetWidth() int32
- func (*ResizeMessage) ProtoMessage()
- func (x *ResizeMessage) ProtoReflect() protoreflect.Message
- func (x *ResizeMessage) Reset()
- func (x *ResizeMessage) String() string
- type UserMessage
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) ProtoMessage ¶
func (*Keystroke) ProtoMessage()
func (*Keystroke) ProtoReflect ¶
func (x *Keystroke) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.