client

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(r *remote_send.Handler) *Handler

func (Handler) Close

func (h Handler) Close()

func (*Handler) Debugf

func (h *Handler) Debugf(format string, v ...interface{})

func (*Handler) Debugln

func (h *Handler) Debugln(v ...interface{})

func (*Handler) Output

func (h *Handler) Output(level int, v ...interface{})

func (*Handler) SetLogger

func (h *Handler) SetLogger(l logger)

func (*Handler) SetToggleKey

func (h *Handler) SetToggleKey(k string) error

func (*Handler) SetToggleType

func (h *Handler) SetToggleType(t ToggleType)

func (Handler) StartClient

func (h Handler) StartClient(rdClientHwnd win.HWND) (win.HWND, error)

Create window on remote desktop client rdClientHwnd must be remote desktop client hwnd, and toggleKey is a keyname for toggle wrapper mode

type InputType

type InputType int
const (
	KeyDown InputType = iota
	KeyUp
)

type KeyInput

type KeyInput struct {
	Key   keymap.WindowsKey
	State InputType
}

func (KeyInput) Transrate

func (k KeyInput) Transrate() string

type POINT

type POINT struct {
	win.POINT
}

func (POINT) GetAxis

func (wp POINT) GetAxis() (x, y int)

type SystemMetrics

type SystemMetrics struct {
	FrameWidthX int32
	FrameWidthY int32
	TitleHeight int32
}

type ToggleType

type ToggleType int
const (
	ToggleTypeOnce ToggleType = iota + 1
	ToggleTypeAlive
)

Jump to

Keyboard shortcuts

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