Documentation
¶
Index ¶
- type VNC
- func (r *VNC) Cleanup()
- func (r *VNC) ConnectVNC(assetID int64) (*vnc_svc.Session, error)
- func (r *VNC) DisconnectVNC(sessionID string)
- func (r *VNC) EncodeVNCClipboardText(text string) ([]int, error)
- func (r *VNC) StartVNCStream(sessionID string) error
- func (r *VNC) Startup(ctx context.Context)
- func (r *VNC) WriteVNC(sessionID, dataB64 string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VNC ¶
type VNC struct {
// contains filtered or unexported fields
}
func (*VNC) DisconnectVNC ¶
func (*VNC) EncodeVNCClipboardText ¶
func (*VNC) StartVNCStream ¶
StartVNCStream 挂上 IPC 回调并启动读 pump。前端必须在 EventsOn 订阅 vnc:data/closed 之后再调,保证不丢 RFB 握手首包。
Click to show internal directories.
Click to hide internal directories.