vnc

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 19 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, svrSession *session.ServerSession) *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() error

Start 启动

func (*Player) Wait added in v1.1.0

func (that *Player) Wait() <-chan struct{}

type Proxy

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

func NewVncProxy

func NewVncProxy(remoteSession *session.ClientSession, serverSession *session.ServerSession) *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) (err error)

Handle 建立远程链接

func (*Proxy) Start

func (that *Proxy) Start() error

Start 启动

func (*Proxy) Wait added in v1.1.0

func (that *Proxy) Wait() <-chan struct{}

type Recorder

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

func NewRecorder

func NewRecorder(recorderSess *session.RecorderSession, cliSession *session.ClientSession) *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

func (*Recorder) Wait added in v1.1.0

func (that *Recorder) Wait() <-chan struct{}

type Screenshot

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

func NewScreenshot

func NewScreenshot(targetCfg rfb.TargetConfig) *Screenshot

func (*Screenshot) GetImage added in v1.1.0

func (that *Screenshot) GetImage() (io.ReadWriteCloser, error)

type Video

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

func NewVideo

func NewVideo(cliCfg *rfb.Options, 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