xpra

package
Version: v0.0.0-...-eb71c1c Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotXPRA not found on system xpra
	ErrNotXPRA = errors.New("Failed not found executable xpra")

	//ErrClosingTCP error xpra
	ErrClosingTCP = errors.New("closing tcp socket")
)

Functions

This section is empty.

Types

type Xpra

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

func (*Xpra) Attach

func (c *Xpra) Attach(addr string) error

Attach to xpra

func (*Xpra) Bind

func (c *Xpra) Bind(addr string) error

Bind a xpra for listen connections

func (*Xpra) SetPassword

func (c *Xpra) SetPassword(pass string)

func (*Xpra) Terminate

func (c *Xpra) Terminate()

Terminate running xpra

func (*Xpra) Version

func (c *Xpra) Version() string

Version of system xpra

type Xpraer

type Xpraer interface {
	SetPassword(password string)
	Attach(addr string) error
	Bind(addr string) error
	Version() string
	Terminate()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL