Documentation ¶
Overview ¶
client.go
rfb.go
Index ¶
- Constants
- func Bpp(bp uint16) (pixel int)
- type Bitmap
- type Client
- func (c *Client) KeyDown(sc int, name string)
- func (c *Client) KeyUp(sc int, name string)
- func (c *Client) Login() error
- func (c *Client) MouseDown(button, x, y int)
- func (c *Client) MouseMove(x, y int)
- func (c *Client) MouseUp(button, x, y int)
- func (c *Client) MouseWheel(scroll, x, y int)
- func (c *Client) OnBitmap(f func([]Bitmap))
- func (c *Client) OnClose(f func())
- func (c *Client) OnError(f func(e error))
- func (c *Client) OnReady(f func())
- func (c *Client) OnSuccess(f func())
- type Control
- type RdpClient
- func (c *RdpClient) Close()
- func (c *RdpClient) KeyDown(sc int, name string)
- func (c *RdpClient) KeyUp(sc int, name string)
- func (c *RdpClient) Login(host, user, pwd string, width, height int) error
- func (c *RdpClient) MouseDown(button int, x, y int)
- func (c *RdpClient) MouseMove(x, y int)
- func (c *RdpClient) MouseUp(button int, x, y int)
- func (c *RdpClient) MouseWheel(scroll, x, y int)
- func (c *RdpClient) On(event string, f interface{})
- type Setting
- type VncClient
- func (c *VncClient) Close()
- func (c *VncClient) KeyDown(sc int, name string)
- func (c *VncClient) KeyUp(sc int, name string)
- func (c *VncClient) Login(host, user, pwd string, width, height int) error
- func (c *VncClient) MouseDown(button int, x, y int)
- func (c *VncClient) MouseMove(x, y int)
- func (c *VncClient) MouseUp(button int, x, y int)
- func (c *VncClient) MouseWheel(scroll, x, y int)
- func (c *VncClient) On(event string, f interface{})
Constants ¶
View Source
const ( CLIP_OFF = 0 CLIP_IN = 0x1 CLIP_OUT = 0x2 )
View Source
const ( TC_RDP = 0 TC_VNC = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bitmap ¶
type Bitmap struct { DestLeft int `json:"destLeft"` DestTop int `json:"destTop"` DestRight int `json:"destRight"` DestBottom int `json:"destBottom"` Width int `json:"width"` Height int `json:"height"` BitsPerPixel int `json:"bitsPerPixel"` IsCompress bool `json:"isCompress"` Data []byte `json:"data"` }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) MouseWheel ¶
type RdpClient ¶
type RdpClient struct {
// contains filtered or unexported fields
}
func (*RdpClient) MouseWheel ¶
type Setting ¶
func NewSetting ¶
func NewSetting() *Setting
func (*Setting) SetClipboard ¶
func (*Setting) SetLogLevel ¶
func (s *Setting) SetLogLevel()
func (*Setting) SetRequestedProtocol ¶
Click to show internal directories.
Click to hide internal directories.