rdp

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package rdp implements the RDP binder.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LangProvider

type LangProvider interface {
	Lang() string
}

LangProvider is implemented by the system binder.

type RDP

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

func New

func New(lang LangProvider, pool *sshpool.Pool) *RDP

func (*RDP) Cleanup

func (r *RDP) Cleanup()

func (*RDP) CloseRDP

func (r *RDP) CloseRDP(sessionID string) error

func (*RDP) ConnectRDP

func (r *RDP) ConnectRDP(req rdp_svc.ConnectRequest) (string, error)

func (*RDP) ResizeRDP

func (r *RDP) ResizeRDP(sessionID string, width, height int) error

func (*RDP) SendRDPInput

func (r *RDP) SendRDPInput(event rdp_svc.InputEvent) error

func (*RDP) SetRDPClipboard

func (r *RDP) SetRDPClipboard(sessionID, text string) error

func (*RDP) SetRDPClipboardEnabled

func (r *RDP) SetRDPClipboardEnabled(sessionID string, enabled bool) error

func (*RDP) SetRDPClipboardFilesFromLocal

func (r *RDP) SetRDPClipboardFilesFromLocal(sessionID string) (int, error)

func (*RDP) Startup

func (r *RDP) Startup(ctx context.Context)

Jump to

Keyboard shortcuts

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