vnc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

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

func NewPlayer

func NewPlayer(filePath string, svrCfg *rfb.ServerConfig) *Player

func (*Player) Close

func (that *Player) Close()

func (*Player) Error

func (that *Player) Error() <-chan error

func (*Player) Handle

func (that *Player) Handle(sess rfb.ISession) error

Handle 建立远程链接

func (*Player) Start

func (that *Player) Start(conn io.ReadWriteCloser) error

Start 启动

type Proxy

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

func NewVncProxy

func NewVncProxy(svrCfg *rfb.ServerConfig, cliCfg *rfb.ClientConfig, targetCfg rfb.TargetConfig) *Proxy

NewVncProxy 生成vnc proxy服务对象

func (*Proxy) Close

func (that *Proxy) Close()

func (*Proxy) Error

func (that *Proxy) Error() <-chan error

func (*Proxy) Handle

func (that *Proxy) Handle(sess rfb.ISession) error

Handle 建立远程链接

func (*Proxy) Start

func (that *Proxy) Start(conn io.ReadWriteCloser)

Start 启动

type Recorder

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

func NewRecorder

func NewRecorder(saveFilePath string, cliCfg *rfb.ClientConfig, targetCfg rfb.TargetConfig) *Recorder

func (*Recorder) Close

func (that *Recorder) Close()

func (*Recorder) Error

func (that *Recorder) Error() <-chan error

func (*Recorder) Start

func (that *Recorder) Start() error

type Screenshot

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

func NewScreenshot

func NewScreenshot(targetCfg rfb.TargetConfig) *Screenshot

func (*Screenshot) Start

func (that *Screenshot) Start() (draw.Image, error)

type Video

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

func NewVideo

func NewVideo(cliCfg *rfb.ClientConfig, targetCfg rfb.TargetConfig) *Video

func (*Video) Close

func (that *Video) Close()

func (*Video) Error

func (that *Video) Error() <-chan error

func (*Video) Start

func (that *Video) Start() error

Jump to

Keyboard shortcuts

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