instance

package
v0.0.0-...-867eee7 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Holder

type Holder struct {
	SlaveName    string
	HostName     string
	HostPassword string
	WsAddr       string
	// contains filtered or unexported fields
}

func (*Holder) CheckUser

func (h *Holder) CheckUser()

func (*Holder) HandleEvent

func (h *Holder) HandleEvent(evt string, data interface{})

处理 slave 发来的消息

func (*Holder) Init

func (h *Holder) Init(rt *realtime.RealTime, ctx context.Context)

func (*Holder) Order

func (h *Holder) Order() int64

func (*Holder) VncProxy

func (h *Holder) VncProxy(rw io.ReadWriteCloser, proxyCb func(err error))

func (*Holder) WsProxy

func (h *Holder) WsProxy(userConn *websocket.Conn)

Jump to

Keyboard shortcuts

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