rdp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package rdp implements the RDP remote-desktop plugin. grdp speaks the RDP protocol in pure Go and authenticates server-side, so the password never reaches the browser; its decoded framebuffer is bridged to a synthetic RFB session that the browser renders with noVNC.

Index

Constants

View Source
const CredentialRDPPassword plugin.CredentialKind = "rdp_password"

CredentialRDPPassword is the plugin-owned reusable credential kind: an RDP username (identity) plus password (secret).

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin exposes a Windows RDP console rendered by noVNC.

func New

func New() *Plugin

func (*Plugin) Connect

func (p *Plugin) Connect(_ context.Context, cfg plugin.ConnectConfig) (plugin.Session, error)

func (*Plugin) Manifest

func (p *Plugin) Manifest() plugin.Manifest

func (*Plugin) Routes

func (p *Plugin) Routes() []plugin.Route

type Session

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

Session holds the per-connection RDP dial parameters. grdp opens its own TCP connection, so RDP supports direct transport only.

func (*Session) Close

func (s *Session) Close() error

func (*Session) HealthCheck

func (s *Session) HealthCheck(ctx context.Context) error

func (*Session) OpenChannel

Jump to

Keyboard shortcuts

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