gordp

package module
v0.0.0-...-c66e226 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RdpBitmap

type RdpBitmap struct {
	DestTop      int
	DestLeft     int
	DestBottom   int
	DestRight    int
	Width        int
	Height       int
	BitsPerPixel int
	IsCompress   bool
	Data         []byte
}

type RdpConnectionBase

type RdpConnectionBase struct {
	// contains filtered or unexported fields
}

func NewRdpConnection

func NewRdpConnection(params *RdpConnectionParams) *RdpConnectionBase

func (*RdpConnectionBase) Close

func (con *RdpConnectionBase) Close() error

func (*RdpConnectionBase) Connect

func (con *RdpConnectionBase) Connect(params *RdpConnectionParams) error

func (*RdpConnectionBase) OnBitmap

func (con *RdpConnectionBase) OnBitmap(bitmap *RdpBitmap)

func (*RdpConnectionBase) OnClose

func (con *RdpConnectionBase) OnClose()

func (*RdpConnectionBase) OnConnect

func (con *RdpConnectionBase) OnConnect() (bool, error)

func (*RdpConnectionBase) OnError

func (con *RdpConnectionBase) OnError(err error)

func (*RdpConnectionBase) SendKeyEventScancode

func (con *RdpConnectionBase) SendKeyEventScancode(code int, isPressed bool) error

func (*RdpConnectionBase) SendKeyEventUnicode

func (con *RdpConnectionBase) SendKeyEventUnicode(code int, isPressed bool) error

func (*RdpConnectionBase) SendPointerEvent

func (con *RdpConnectionBase) SendPointerEvent(x int, y int, button int, pressed bool) error

func (*RdpConnectionBase) SendWheelEvent

func (con *RdpConnectionBase) SendWheelEvent(x int, y int, step int, isNegative bool, isHorizontal bool) error

type RdpConnectionParams

type RdpConnectionParams struct {
	Connection string
	User       string
	Password   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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