docs(remote): VncServerConfig 注明 37 项口径——标准安装落盘全集(经注册表+tvnserver.exe 字符串表双重核对), ViewOnlyPassword/ControlPassword 为条件值暂不覆盖及原因
This commit is contained in:
+5
-1
@@ -1,7 +1,11 @@
|
|||||||
// Package remote 提供 RDP/VNC 等远程控制的服务状态查询、配置读写与启停控制。
|
// Package remote 提供 RDP/VNC 等远程控制的服务状态查询、配置读写与启停控制。
|
||||||
package remote
|
package remote
|
||||||
|
|
||||||
// VncServerConfig TightVNC 服务端配置(对应注册表 SOFTWARE\TightVNC\Server 下的键值)
|
// VncServerConfig TightVNC 服务端配置(对应注册表 SOFTWARE\TightVNC\Server 下的键值)。
|
||||||
|
// 37 项 = 最新版 TightVNC(2.8.x) 标准安装落盘的全集(经本机注册表与 tvnserver.exe
|
||||||
|
// 字符串表双重核对)。另有 ViewOnlyPassword / ControlPassword 两个条件值(只读密码、
|
||||||
|
// 控制接口管理密码,开对应功能才会写入,本库暂不覆盖——WriteVncServerConfig 是
|
||||||
|
// 无条件全量写,加字段会向每台客户机落空值),待产品启用只读接入/控制认证时再扩展。
|
||||||
type VncServerConfig struct {
|
type VncServerConfig struct {
|
||||||
ExtraPorts string `json:"extraPorts"` // 额外端口
|
ExtraPorts string `json:"extraPorts"` // 额外端口
|
||||||
QueryTimeout uint32 `json:"queryTimeout"` // 查询超时
|
QueryTimeout uint32 `json:"queryTimeout"` // 查询超时
|
||||||
|
|||||||
Reference in New Issue
Block a user