Documentation ¶
Overview ¶
Package lazyvm provides a proxy for RDP connections, which is capable of starting / stopping on idle Windows instances through VirtualBox manager.
Actually it treats underlying connection as a blackbox, so it can be used with different protocols / OSes. It was just developed for use with rdesktop and Windows.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInterrupted = errors.New("interrupted")
ErrInterrupted TODO(rjeczalik)
View Source
var ErrNotExist = errors.New("lazyvm: vm does not exist")
ErrNotExist TODO(rjeczalik)
Functions ¶
Types ¶
type Proxy ¶
type Proxy struct { MachineName string // VirtualBox machine name Addr string // network address to listen on, default is ":5000" Port int // target port of the machine, default is 3389 // contains filtered or unexported fields }
Proxy TODO(rjeczalik)
type VirtualBox ¶
type VirtualBox struct {
// contains filtered or unexported fields
}
VirtualBox TODO(rjeczalik)
func NewVirtualBox ¶
func NewVirtualBox(name string) (*VirtualBox, error)
NewVirtualBox TODO(rjeczalik)
func (*VirtualBox) Running ¶
func (vbox *VirtualBox) Running() (bool, error)
Running TODO(rjeczalik)
Click to show internal directories.
Click to hide internal directories.