Documentation ¶
Index ¶
- Variables
- type ClipboardData
- func (*ClipboardData) Descriptor() ([]byte, []int)deprecated
- func (x *ClipboardData) GetData() string
- func (m *ClipboardData) GetPayload() isClipboardData_Payload
- func (x *ClipboardData) GetSet() bool
- func (x *ClipboardData) GetXType() ClipboardDataType
- func (*ClipboardData) ProtoMessage()
- func (x *ClipboardData) ProtoReflect() protoreflect.Message
- func (x *ClipboardData) Reset()
- func (x *ClipboardData) String() string
- type ClipboardDataType
- func (ClipboardDataType) Descriptor() protoreflect.EnumDescriptor
- func (x ClipboardDataType) Enum() *ClipboardDataType
- func (ClipboardDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClipboardDataType) Number() protoreflect.EnumNumber
- func (x ClipboardDataType) String() string
- func (ClipboardDataType) Type() protoreflect.EnumType
- type ClipboardData_Data
- type ImageData
- func (*ImageData) Descriptor() ([]byte, []int)deprecated
- func (x *ImageData) GetBits() uint32
- func (x *ImageData) GetData() []byte
- func (x *ImageData) GetHeight() uint32
- func (x *ImageData) GetMsg() string
- func (x *ImageData) GetOk() bool
- func (x *ImageData) GetWidth() uint32
- func (*ImageData) ProtoMessage()
- func (x *ImageData) ProtoReflect() protoreflect.Message
- func (x *ImageData) Reset()
- func (x *ImageData) String() string
- type KeyboardData
- func (*KeyboardData) Descriptor() ([]byte, []int)deprecated
- func (x *KeyboardData) GetKey() string
- func (x *KeyboardData) GetType() Status
- func (*KeyboardData) ProtoMessage()
- func (x *KeyboardData) ProtoReflect() protoreflect.Message
- func (x *KeyboardData) Reset()
- func (x *KeyboardData) String() string
- type MouseData
- func (*MouseData) Descriptor() ([]byte, []int)deprecated
- func (x *MouseData) GetBtn() MouseDataButton
- func (x *MouseData) GetType() Status
- func (x *MouseData) GetX() uint32
- func (x *MouseData) GetY() uint32
- func (*MouseData) ProtoMessage()
- func (x *MouseData) ProtoReflect() protoreflect.Message
- func (x *MouseData) Reset()
- func (x *MouseData) String() string
- type MouseDataButton
- func (MouseDataButton) Descriptor() protoreflect.EnumDescriptor
- func (x MouseDataButton) Enum() *MouseDataButton
- func (MouseDataButton) EnumDescriptor() ([]byte, []int)deprecated
- func (x MouseDataButton) Number() protoreflect.EnumNumber
- func (x MouseDataButton) String() string
- func (MouseDataButton) Type() protoreflect.EnumType
- type ScrollData
- type Status
- type VncMsg
- func (*VncMsg) Descriptor() ([]byte, []int)deprecated
- func (x *VncMsg) GetClipboard() *ClipboardData
- func (x *VncMsg) GetData() *ImageData
- func (x *VncMsg) GetKeyboard() *KeyboardData
- func (x *VncMsg) GetMouse() *MouseData
- func (m *VncMsg) GetPayload() isVncMsg_Payload
- func (x *VncMsg) GetScroll() *ScrollData
- func (x *VncMsg) GetShowCursor() bool
- func (x *VncMsg) GetXType() VncMsgType
- func (*VncMsg) ProtoMessage()
- func (x *VncMsg) ProtoReflect() protoreflect.Message
- func (x *VncMsg) Reset()
- func (x *VncMsg) String() string
- type VncMsgType
- type VncMsg_Clipboard
- type VncMsg_Data
- type VncMsg_Keyboard
- type VncMsg_Mouse
- type VncMsg_Scroll
- type VncMsg_ShowCursor
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Status_name = map[int32]string{ 0: "unset_st", 1: "down", 2: "up", } Status_value = map[string]int32{ "unset_st": 0, "down": 1, "up": 2, } )
Enum value maps for Status.
View Source
var ( MouseDataButton_name = map[int32]string{ 0: "unset_btn", 1: "left", 2: "middle", 3: "right", } MouseDataButton_value = map[string]int32{ "unset_btn": 0, "left": 1, "middle": 2, "right": 3, } )
Enum value maps for MouseDataButton.
View Source
var ( ClipboardDataType_name = map[int32]string{ 0: "unset_type", 1: "text", 2: "image", 3: "file", } ClipboardDataType_value = map[string]int32{ "unset_type": 0, "text": 1, "image": 2, "file": 3, } )
Enum value maps for ClipboardDataType.
View Source
var ( VncMsgType_name = map[int32]string{ 0: "capture_req", 1: "capture_data", 2: "mouse_event", 3: "keyboard_event", 4: "set_cursor", 5: "scroll_event", 6: "clipboard_event", } VncMsgType_value = map[string]int32{ "capture_req": 0, "capture_data": 1, "mouse_event": 2, "keyboard_event": 3, "set_cursor": 4, "scroll_event": 5, "clipboard_event": 6, } )
Enum value maps for VncMsgType.
View Source
var File_vncmsg_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClipboardData ¶
type ClipboardData struct { Set bool `protobuf:"varint,1,opt,name=set,proto3" json:"set,omitempty"` XType ClipboardDataType `protobuf:"varint,2,opt,name=_type,json=Type,proto3,enum=vncnetwork.ClipboardDataType" json:"_type,omitempty"` // Types that are assignable to Payload: // *ClipboardData_Data Payload isClipboardData_Payload `protobuf_oneof:"payload"` // 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() string
func (*ClipboardData) GetPayload ¶
func (m *ClipboardData) GetPayload() isClipboardData_Payload
func (*ClipboardData) GetSet ¶
func (x *ClipboardData) GetSet() bool
func (*ClipboardData) GetXType ¶
func (x *ClipboardData) GetXType() ClipboardDataType
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 ClipboardDataType ¶
type ClipboardDataType int32
const ( ClipboardData_unset_type ClipboardDataType = 0 ClipboardData_text ClipboardDataType = 1 ClipboardData_image ClipboardDataType = 2 ClipboardData_file ClipboardDataType = 3 )
func (ClipboardDataType) Descriptor ¶
func (ClipboardDataType) Descriptor() protoreflect.EnumDescriptor
func (ClipboardDataType) Enum ¶
func (x ClipboardDataType) Enum() *ClipboardDataType
func (ClipboardDataType) EnumDescriptor
deprecated
func (ClipboardDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClipboardDataType.Descriptor instead.
func (ClipboardDataType) Number ¶
func (x ClipboardDataType) Number() protoreflect.EnumNumber
func (ClipboardDataType) String ¶
func (x ClipboardDataType) String() string
func (ClipboardDataType) Type ¶
func (ClipboardDataType) Type() protoreflect.EnumType
type ClipboardData_Data ¶
type ClipboardData_Data struct {
Data string `protobuf:"bytes,10,opt,name=data,proto3,oneof"` // text data
}
type ImageData ¶
type ImageData struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Bits uint32 `protobuf:"varint,3,opt,name=bits,proto3" json:"bits,omitempty"` Width uint32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` Height uint32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ImageData) Descriptor
deprecated
func (*ImageData) ProtoMessage ¶
func (*ImageData) ProtoMessage()
func (*ImageData) ProtoReflect ¶
func (x *ImageData) ProtoReflect() protoreflect.Message
type KeyboardData ¶
type KeyboardData struct { Type Status `protobuf:"varint,1,opt,name=type,proto3,enum=vncnetwork.Status" json:"type,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*KeyboardData) Descriptor
deprecated
func (*KeyboardData) Descriptor() ([]byte, []int)
Deprecated: Use KeyboardData.ProtoReflect.Descriptor instead.
func (*KeyboardData) GetKey ¶
func (x *KeyboardData) GetKey() string
func (*KeyboardData) GetType ¶
func (x *KeyboardData) GetType() Status
func (*KeyboardData) ProtoMessage ¶
func (*KeyboardData) ProtoMessage()
func (*KeyboardData) ProtoReflect ¶
func (x *KeyboardData) ProtoReflect() protoreflect.Message
func (*KeyboardData) Reset ¶
func (x *KeyboardData) Reset()
func (*KeyboardData) String ¶
func (x *KeyboardData) String() string
type MouseData ¶
type MouseData struct { Type Status `protobuf:"varint,1,opt,name=type,proto3,enum=vncnetwork.Status" json:"type,omitempty"` Btn MouseDataButton `protobuf:"varint,2,opt,name=btn,proto3,enum=vncnetwork.MouseDataButton" json:"btn,omitempty"` X uint32 `protobuf:"varint,3,opt,name=x,proto3" json:"x,omitempty"` Y uint32 `protobuf:"varint,4,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*MouseData) Descriptor
deprecated
func (*MouseData) GetBtn ¶
func (x *MouseData) GetBtn() MouseDataButton
func (*MouseData) ProtoMessage ¶
func (*MouseData) ProtoMessage()
func (*MouseData) ProtoReflect ¶
func (x *MouseData) ProtoReflect() protoreflect.Message
type MouseDataButton ¶
type MouseDataButton int32
const ( MouseData_unset_btn MouseDataButton = 0 MouseData_left MouseDataButton = 1 MouseData_middle MouseDataButton = 2 MouseData_right MouseDataButton = 3 )
func (MouseDataButton) Descriptor ¶
func (MouseDataButton) Descriptor() protoreflect.EnumDescriptor
func (MouseDataButton) Enum ¶
func (x MouseDataButton) Enum() *MouseDataButton
func (MouseDataButton) EnumDescriptor
deprecated
func (MouseDataButton) EnumDescriptor() ([]byte, []int)
Deprecated: Use MouseDataButton.Descriptor instead.
func (MouseDataButton) Number ¶
func (x MouseDataButton) Number() protoreflect.EnumNumber
func (MouseDataButton) String ¶
func (x MouseDataButton) String() string
func (MouseDataButton) Type ¶
func (MouseDataButton) Type() protoreflect.EnumType
type ScrollData ¶
type ScrollData struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*ScrollData) Descriptor
deprecated
func (*ScrollData) Descriptor() ([]byte, []int)
Deprecated: Use ScrollData.ProtoReflect.Descriptor instead.
func (*ScrollData) GetX ¶
func (x *ScrollData) GetX() int32
func (*ScrollData) GetY ¶
func (x *ScrollData) GetY() int32
func (*ScrollData) ProtoMessage ¶
func (*ScrollData) ProtoMessage()
func (*ScrollData) ProtoReflect ¶
func (x *ScrollData) ProtoReflect() protoreflect.Message
func (*ScrollData) Reset ¶
func (x *ScrollData) Reset()
func (*ScrollData) String ¶
func (x *ScrollData) String() string
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type VncMsg ¶
type VncMsg struct { XType VncMsgType `protobuf:"varint,1,opt,name=_type,json=Type,proto3,enum=vncnetwork.VncMsgType" json:"_type,omitempty"` // Types that are assignable to Payload: // *VncMsg_Data // *VncMsg_Mouse // *VncMsg_Keyboard // *VncMsg_ShowCursor // *VncMsg_Scroll // *VncMsg_Clipboard Payload isVncMsg_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*VncMsg) Descriptor
deprecated
func (*VncMsg) GetClipboard ¶
func (x *VncMsg) GetClipboard() *ClipboardData
func (*VncMsg) GetKeyboard ¶
func (x *VncMsg) GetKeyboard() *KeyboardData
func (*VncMsg) GetPayload ¶
func (m *VncMsg) GetPayload() isVncMsg_Payload
func (*VncMsg) GetScroll ¶
func (x *VncMsg) GetScroll() *ScrollData
func (*VncMsg) GetShowCursor ¶
func (*VncMsg) GetXType ¶
func (x *VncMsg) GetXType() VncMsgType
func (*VncMsg) ProtoMessage ¶
func (*VncMsg) ProtoMessage()
func (*VncMsg) ProtoReflect ¶
func (x *VncMsg) ProtoReflect() protoreflect.Message
type VncMsgType ¶
type VncMsgType int32
const ( VncMsg_capture_req VncMsgType = 0 VncMsg_capture_data VncMsgType = 1 VncMsg_mouse_event VncMsgType = 2 VncMsg_keyboard_event VncMsgType = 3 VncMsg_set_cursor VncMsgType = 4 VncMsg_scroll_event VncMsgType = 5 VncMsg_clipboard_event VncMsgType = 6 )
func (VncMsgType) Descriptor ¶
func (VncMsgType) Descriptor() protoreflect.EnumDescriptor
func (VncMsgType) Enum ¶
func (x VncMsgType) Enum() *VncMsgType
func (VncMsgType) EnumDescriptor
deprecated
func (VncMsgType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VncMsgType.Descriptor instead.
func (VncMsgType) Number ¶
func (x VncMsgType) Number() protoreflect.EnumNumber
func (VncMsgType) String ¶
func (x VncMsgType) String() string
func (VncMsgType) Type ¶
func (VncMsgType) Type() protoreflect.EnumType
type VncMsg_Clipboard ¶
type VncMsg_Clipboard struct {
Clipboard *ClipboardData `protobuf:"bytes,7,opt,name=clipboard,proto3,oneof"`
}
type VncMsg_Data ¶
type VncMsg_Data struct {
Data *ImageData `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type VncMsg_Keyboard ¶
type VncMsg_Keyboard struct {
Keyboard *KeyboardData `protobuf:"bytes,4,opt,name=keyboard,proto3,oneof"`
}
type VncMsg_Mouse ¶
type VncMsg_Mouse struct {
Mouse *MouseData `protobuf:"bytes,3,opt,name=mouse,proto3,oneof"`
}
type VncMsg_Scroll ¶
type VncMsg_Scroll struct {
Scroll *ScrollData `protobuf:"bytes,6,opt,name=scroll,proto3,oneof"`
}
type VncMsg_ShowCursor ¶
type VncMsg_ShowCursor struct {
ShowCursor bool `protobuf:"varint,5,opt,name=show_cursor,json=showCursor,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.