client

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartClient

func StartClient()

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) SetExitKey

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

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 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