node-karin 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/LICENSE +674 -674
  2. package/README.md +57 -57
  3. package/config/defSet/App.yaml +37 -37
  4. package/config/defSet/config.yaml +43 -43
  5. package/config/defSet/group.yaml +18 -18
  6. package/config/defSet/pm2.yaml +21 -21
  7. package/config/defSet/server.yaml +42 -42
  8. package/config/view/App.yaml +74 -74
  9. package/config/view/config.yaml +100 -100
  10. package/config/view/group.yaml +62 -62
  11. package/config/view/pm2.yaml +41 -41
  12. package/config/view/redis.yaml +25 -25
  13. package/config/view/server.yaml +93 -93
  14. package/lib/adapter/onebot/onebot11.d.ts +430 -430
  15. package/lib/adapter/onebot/onebot11.js +1265 -1302
  16. package/lib/core/init.js +4 -4
  17. package/lib/core/karin.d.ts +72 -72
  18. package/lib/core/karin.js +51 -51
  19. package/lib/core/listener.d.ts +121 -121
  20. package/lib/core/listener.js +178 -178
  21. package/lib/core/plugin.app.d.ts +15 -15
  22. package/lib/core/plugin.app.js +18 -18
  23. package/lib/core/plugin.d.ts +182 -182
  24. package/lib/core/plugin.js +132 -132
  25. package/lib/core/plugin.loader.d.ts +149 -149
  26. package/lib/core/plugin.loader.js +451 -451
  27. package/lib/core/server.d.ts +26 -26
  28. package/lib/core/server.js +209 -209
  29. package/lib/db/level.d.ts +20 -20
  30. package/lib/db/level.js +36 -36
  31. package/lib/db/redis.d.ts +41 -41
  32. package/lib/db/redis.js +131 -131
  33. package/lib/db/redis_level.d.ts +113 -113
  34. package/lib/db/redis_level.js +274 -274
  35. package/lib/event/event.d.ts +138 -138
  36. package/lib/event/event.handler.d.ts +29 -29
  37. package/lib/event/event.handler.js +138 -138
  38. package/lib/event/event.js +120 -120
  39. package/lib/event/message.d.ts +102 -102
  40. package/lib/event/message.handler.d.ts +25 -25
  41. package/lib/event/message.handler.js +237 -237
  42. package/lib/event/message.js +69 -69
  43. package/lib/event/notice.d.ts +49 -49
  44. package/lib/event/notice.js +14 -14
  45. package/lib/event/request.d.ts +49 -49
  46. package/lib/event/request.js +14 -14
  47. package/lib/event/review.handler.d.ts +54 -54
  48. package/lib/event/review.handler.js +374 -374
  49. package/lib/index.d.ts +23 -23
  50. package/lib/index.js +39 -40
  51. package/lib/renderer/app.d.ts +53 -53
  52. package/lib/renderer/app.js +88 -88
  53. package/lib/renderer/base.d.ts +30 -30
  54. package/lib/renderer/base.js +68 -68
  55. package/lib/renderer/client.d.ts +30 -30
  56. package/lib/renderer/client.js +155 -155
  57. package/lib/renderer/http.d.ts +19 -19
  58. package/lib/renderer/http.js +50 -50
  59. package/lib/renderer/server.d.ts +42 -42
  60. package/lib/renderer/server.js +110 -110
  61. package/lib/renderer/wormhole.d.ts +1 -1
  62. package/lib/renderer/wormhole.js +154 -154
  63. package/lib/types/adapter.d.ts +575 -575
  64. package/lib/types/adapter.js +1 -1
  65. package/lib/types/config.d.ts +327 -327
  66. package/lib/types/config.js +1 -1
  67. package/lib/types/element.d.ts +576 -576
  68. package/lib/types/element.js +1 -1
  69. package/lib/types/index.d.ts +8 -8
  70. package/lib/types/index.js +8 -8
  71. package/lib/types/logger.d.ts +109 -109
  72. package/lib/types/logger.js +1 -1
  73. package/lib/types/onebots11.d.ts +1371 -1371
  74. package/lib/types/onebots11.js +1 -1
  75. package/lib/types/plugin.d.ts +282 -282
  76. package/lib/types/plugin.js +1 -1
  77. package/lib/types/render.d.ts +111 -111
  78. package/lib/types/render.js +1 -1
  79. package/lib/types/reply.d.ts +40 -40
  80. package/lib/types/reply.js +1 -1
  81. package/lib/types/types.d.ts +898 -898
  82. package/lib/types/types.js +1 -1
  83. package/lib/utils/YamlEditor.d.ts +62 -62
  84. package/lib/utils/YamlEditor.js +197 -197
  85. package/lib/utils/button.d.ts +49 -49
  86. package/lib/utils/button.js +75 -75
  87. package/lib/utils/common.d.ts +123 -123
  88. package/lib/utils/common.js +396 -396
  89. package/lib/utils/config.d.ts +72 -72
  90. package/lib/utils/config.js +254 -254
  91. package/lib/utils/exec.d.ts +22 -22
  92. package/lib/utils/exec.js +36 -36
  93. package/lib/utils/ffmpeg.d.ts +12 -12
  94. package/lib/utils/ffmpeg.js +25 -25
  95. package/lib/utils/handler.d.ts +76 -76
  96. package/lib/utils/handler.js +98 -98
  97. package/lib/utils/logger.d.ts +3 -3
  98. package/lib/utils/logger.js +104 -104
  99. package/lib/utils/segment.d.ts +276 -276
  100. package/lib/utils/segment.js +420 -420
  101. package/lib/utils/update.d.ts +69 -69
  102. package/lib/utils/update.js +145 -145
  103. package/lib/utils/updateVersion.d.ts +33 -33
  104. package/lib/utils/updateVersion.js +140 -140
  105. package/package.json +92 -91
@@ -1,100 +1,100 @@
1
- name: 通用配置
2
- view:
3
- -
4
- key: 日志等级
5
- comment: 日志等级:trace,debug,info,warn,fatal,mark,error,off
6
- path: 'log_level'
7
- type: 'select'
8
- multiple: false
9
- item:
10
- -
11
- name: Trace
12
- value: trace
13
- -
14
- name: Debug
15
- value: ebug
16
- -
17
- name: Info
18
- value: info
19
- -
20
- name: Warn
21
- value: warn
22
- -
23
- name: Fatal
24
- value: fatal
25
- -
26
- name: Mark
27
- value: mark
28
- -
29
- name: Error
30
- value: error
31
- -
32
- name: Off
33
- value: off
34
- -
35
- key: 日志保留天数
36
- path: 'log_days_Keep'
37
- type: 'number'
38
- -
39
- key: ffmpeg路径
40
- comment: ffmpeg配置 用于音视频处理
41
- path: 'ffmpeg_path'
42
- type: 'text'
43
- -
44
- key: ffprobe路径
45
- comment: ffmpeg配置 用于音视频处理
46
- path: 'ffprobe_path'
47
- type: 'text'
48
- -
49
- key: 主人列表
50
- comment: 主人列表 主权限
51
- path: 'master'
52
- type: 'array'
53
- arrayType: 'number'
54
- -
55
- key: 管理员列表
56
- comment: 管理员列表 子权限
57
- path: 'admin'
58
- type: 'array'
59
- arrayType: 'number'
60
- -
61
- key: 黑名单
62
- comment: 黑名单相关
63
- path: 'BlackList'
64
- type: 'group'
65
- part:
66
- -
67
- key: 黑名单用户
68
- path: 'BlackList.users'
69
- type: 'array'
70
- arrayType: 'number'
71
- -
72
- key: 黑名单群聊
73
- path: 'BlackList.groups'
74
- type: 'array'
75
- arrayType: 'number'
76
- -
77
- key: 消息日志黑名单群聊
78
- comment: 设置后不会打印该群的消息日志
79
- path: 'BlackList.GroupMsgLog'
80
- type: 'array'
81
- arrayType: 'number'
82
- -
83
- key: 白名单
84
- comment: 白名单相关
85
- path: 'WhiteList'
86
- type: 'group'
87
- part:
88
- -
89
- key: 白名单用户
90
- path: 'WhiteList.users'
91
- type: 'boolean'
92
- -
93
- key: 白名单群聊
94
- path: 'WhiteList.groups'
95
- type: 'boolean'
96
- -
97
- key: 消息日志白名单群聊
98
- comment: 消息日志白名单群聊 设置后只会打印该群的消息日志
99
- path: 'WhiteList.GroupMsgLog'
100
- type: 'boolean'
1
+ name: 通用配置
2
+ view:
3
+ -
4
+ key: 日志等级
5
+ comment: 日志等级:trace,debug,info,warn,fatal,mark,error,off
6
+ path: 'log_level'
7
+ type: 'select'
8
+ multiple: false
9
+ item:
10
+ -
11
+ name: Trace
12
+ value: trace
13
+ -
14
+ name: Debug
15
+ value: ebug
16
+ -
17
+ name: Info
18
+ value: info
19
+ -
20
+ name: Warn
21
+ value: warn
22
+ -
23
+ name: Fatal
24
+ value: fatal
25
+ -
26
+ name: Mark
27
+ value: mark
28
+ -
29
+ name: Error
30
+ value: error
31
+ -
32
+ name: Off
33
+ value: off
34
+ -
35
+ key: 日志保留天数
36
+ path: 'log_days_Keep'
37
+ type: 'number'
38
+ -
39
+ key: ffmpeg路径
40
+ comment: ffmpeg配置 用于音视频处理
41
+ path: 'ffmpeg_path'
42
+ type: 'text'
43
+ -
44
+ key: ffprobe路径
45
+ comment: ffmpeg配置 用于音视频处理
46
+ path: 'ffprobe_path'
47
+ type: 'text'
48
+ -
49
+ key: 主人列表
50
+ comment: 主人列表 主权限
51
+ path: 'master'
52
+ type: 'array'
53
+ arrayType: 'number'
54
+ -
55
+ key: 管理员列表
56
+ comment: 管理员列表 子权限
57
+ path: 'admin'
58
+ type: 'array'
59
+ arrayType: 'number'
60
+ -
61
+ key: 黑名单
62
+ comment: 黑名单相关
63
+ path: 'BlackList'
64
+ type: 'group'
65
+ part:
66
+ -
67
+ key: 黑名单用户
68
+ path: 'BlackList.users'
69
+ type: 'array'
70
+ arrayType: 'number'
71
+ -
72
+ key: 黑名单群聊
73
+ path: 'BlackList.groups'
74
+ type: 'array'
75
+ arrayType: 'number'
76
+ -
77
+ key: 消息日志黑名单群聊
78
+ comment: 设置后不会打印该群的消息日志
79
+ path: 'BlackList.GroupMsgLog'
80
+ type: 'array'
81
+ arrayType: 'number'
82
+ -
83
+ key: 白名单
84
+ comment: 白名单相关
85
+ path: 'WhiteList'
86
+ type: 'group'
87
+ part:
88
+ -
89
+ key: 白名单用户
90
+ path: 'WhiteList.users'
91
+ type: 'boolean'
92
+ -
93
+ key: 白名单群聊
94
+ path: 'WhiteList.groups'
95
+ type: 'boolean'
96
+ -
97
+ key: 消息日志白名单群聊
98
+ comment: 消息日志白名单群聊 设置后只会打印该群的消息日志
99
+ path: 'WhiteList.GroupMsgLog'
100
+ type: 'boolean'
@@ -1,62 +1,62 @@
1
- name: 群聊配置
2
- view:
3
- -
4
- key: 默认配置
5
- path: 'default'
6
- type: 'group'
7
- part:
8
- -
9
- key: 消息冷却时间
10
- comment: 群聊中所有消息冷却时间,0则无限制
11
- path: 'default.global_cd'
12
- type: 'number'
13
- suffix: 秒
14
- -
15
- key: 个人消息冷却时间
16
- comment: 群聊中 每个人的消息冷却时间,0则无限制。注意,开启后所有消息,无论是否触发插件。
17
- path: 'default.personal_cd'
18
- type: 'number'
19
- suffix: 秒
20
- -
21
- key: 机器人响应模式
22
- comment: 机器人响应模式,0-所有 1-仅@机器人 2-仅回应主人 3-仅回应前缀 4-前缀或@机器人 5-主人无前缀,群员前缀或@机器人
23
- path: 'default.mode'
24
- type: 'select'
25
- multiple: false
26
- item:
27
- -
28
- name: 所有
29
- value: 0
30
- -
31
- name: 仅@机器人
32
- value: 1
33
- -
34
- name: 仅回应主人
35
- value: 2
36
- -
37
- name: 仅回应前缀
38
- value: 3
39
- -
40
- name: 前缀或@机器人
41
- value: 4
42
- -
43
- name: 主人无前缀,群员前缀或@机器人
44
- value: 5
45
- -
46
- key: 机器人前缀
47
- comment: 机器人前缀 设置后前缀+指令触发机器人
48
- path: 'default.ailas'
49
- type: 'array'
50
- arrayType: 'text'
51
- -
52
- key: 白名单插件
53
- comment: 白名单插件、功能,只有在白名单中的插件、功能才会响应
54
- path: 'default.enable'
55
- type: 'array'
56
- arrayType: 'text'
57
- -
58
- key: 黑名单插件
59
- comment: 黑名单插件、功能,黑名单中的插件、功能不会响应
60
- path: 'default.disable'
61
- type: 'array'
62
- arrayType: 'text'
1
+ name: 群聊配置
2
+ view:
3
+ -
4
+ key: 默认配置
5
+ path: 'default'
6
+ type: 'group'
7
+ part:
8
+ -
9
+ key: 消息冷却时间
10
+ comment: 群聊中所有消息冷却时间,0则无限制
11
+ path: 'default.global_cd'
12
+ type: 'number'
13
+ suffix: 秒
14
+ -
15
+ key: 个人消息冷却时间
16
+ comment: 群聊中 每个人的消息冷却时间,0则无限制。注意,开启后所有消息,无论是否触发插件。
17
+ path: 'default.personal_cd'
18
+ type: 'number'
19
+ suffix: 秒
20
+ -
21
+ key: 机器人响应模式
22
+ comment: 机器人响应模式,0-所有 1-仅@机器人 2-仅回应主人 3-仅回应前缀 4-前缀或@机器人 5-主人无前缀,群员前缀或@机器人
23
+ path: 'default.mode'
24
+ type: 'select'
25
+ multiple: false
26
+ item:
27
+ -
28
+ name: 所有
29
+ value: 0
30
+ -
31
+ name: 仅@机器人
32
+ value: 1
33
+ -
34
+ name: 仅回应主人
35
+ value: 2
36
+ -
37
+ name: 仅回应前缀
38
+ value: 3
39
+ -
40
+ name: 前缀或@机器人
41
+ value: 4
42
+ -
43
+ name: 主人无前缀,群员前缀或@机器人
44
+ value: 5
45
+ -
46
+ key: 机器人前缀
47
+ comment: 机器人前缀 设置后前缀+指令触发机器人
48
+ path: 'default.ailas'
49
+ type: 'array'
50
+ arrayType: 'text'
51
+ -
52
+ key: 白名单插件
53
+ comment: 白名单插件、功能,只有在白名单中的插件、功能才会响应
54
+ path: 'default.enable'
55
+ type: 'array'
56
+ arrayType: 'text'
57
+ -
58
+ key: 黑名单插件
59
+ comment: 黑名单插件、功能,黑名单中的插件、功能不会响应
60
+ path: 'default.disable'
61
+ type: 'array'
62
+ arrayType: 'text'
@@ -1,41 +1,41 @@
1
- name: pm2配置
2
- view:
3
- -
4
- key: 应用
5
- path: 'apps'
6
- type: 'group'
7
- part:
8
- -
9
- key: 启动名称
10
- path: 'apps.name'
11
- type: 'text'
12
- -
13
- key: 进程守护
14
- path: 'apps.autorestart'
15
- type: 'boolean'
16
- -
17
- key: 每分钟最大重启数量
18
- path: 'apps.max_restarts'
19
- type: 'number'
20
- -
21
- key: 内存溢出重启
22
- comment: 内存溢出重启,可以是“10M”、“100K”、“2G”等
23
- path: 'apps.max_memory_restart'
24
- type: 'text'
25
- -
26
- key: 重启延迟
27
- path: 'apps.restart_delay'
28
- type: 'number'
29
- suffix: 毫秒
30
- -
31
- key: 避免使用进程 id 后缀日志文件
32
- path: 'apps.merge_logs'
33
- type: 'boolean'
34
- -
35
- key: 错误日志路径
36
- path: 'apps.error_file'
37
- type: 'text'
38
- -
39
- key: 输出日志路径
40
- path: 'apps.out_file'
41
- type: 'text'
1
+ name: pm2配置
2
+ view:
3
+ -
4
+ key: 应用
5
+ path: 'apps'
6
+ type: 'group'
7
+ part:
8
+ -
9
+ key: 启动名称
10
+ path: 'apps.name'
11
+ type: 'text'
12
+ -
13
+ key: 进程守护
14
+ path: 'apps.autorestart'
15
+ type: 'boolean'
16
+ -
17
+ key: 每分钟最大重启数量
18
+ path: 'apps.max_restarts'
19
+ type: 'number'
20
+ -
21
+ key: 内存溢出重启
22
+ comment: 内存溢出重启,可以是“10M”、“100K”、“2G”等
23
+ path: 'apps.max_memory_restart'
24
+ type: 'text'
25
+ -
26
+ key: 重启延迟
27
+ path: 'apps.restart_delay'
28
+ type: 'number'
29
+ suffix: 毫秒
30
+ -
31
+ key: 避免使用进程 id 后缀日志文件
32
+ path: 'apps.merge_logs'
33
+ type: 'boolean'
34
+ -
35
+ key: 错误日志路径
36
+ path: 'apps.error_file'
37
+ type: 'text'
38
+ -
39
+ key: 输出日志路径
40
+ path: 'apps.out_file'
41
+ type: 'text'
@@ -1,25 +1,25 @@
1
- name: 数据库配置
2
- view:
3
- -
4
- key: redis地址
5
- path: 'host'
6
- type: 'text'
7
- -
8
- key: redis端口
9
- path: 'port'
10
- type: 'number'
11
- -
12
- key: redis用户名
13
- comment: redis用户名,可以为空
14
- path: 'username'
15
- type: 'text'
16
- -
17
- key: redis密码
18
- comment: redis密码,没有密码可以为空
19
- path: 'password'
20
- type: 'password'
21
- -
22
- key: 数据库
23
- comment: 运行中第几个redis数据库
24
- path: 'db'
25
- type: 'number'
1
+ name: 数据库配置
2
+ view:
3
+ -
4
+ key: redis地址
5
+ path: 'host'
6
+ type: 'text'
7
+ -
8
+ key: redis端口
9
+ path: 'port'
10
+ type: 'number'
11
+ -
12
+ key: redis用户名
13
+ comment: redis用户名,可以为空
14
+ path: 'username'
15
+ type: 'text'
16
+ -
17
+ key: redis密码
18
+ comment: redis密码,没有密码可以为空
19
+ path: 'password'
20
+ type: 'password'
21
+ -
22
+ key: 数据库
23
+ comment: 运行中第几个redis数据库
24
+ path: 'db'
25
+ type: 'number'
@@ -1,93 +1,93 @@
1
- name: 服务配置
2
- view:
3
- -
4
- key: 热更新是否重启服务
5
- comment: 当前文件热更新是否重启http、grpc服务
6
- path: 'HotUpdate'
7
- type: 'boolean'
8
- -
9
- key: http 服务器配置
10
- path: 'http'
11
- type: 'group'
12
- part:
13
- -
14
- key: 监听地址
15
- path: 'http.host'
16
- type: 'text'
17
- -
18
- key: 端口
19
- path: 'http.port'
20
- type: 'number'
21
- -
22
- key: grpc 服务器配置
23
- path: 'grpc'
24
- type: 'group'
25
- part:
26
- -
27
- key: 监听地址
28
- path: 'grpc.host'
29
- type: 'text'
30
- -
31
- key: Api请求超时时间
32
- path: 'grpc.timeout'
33
- type: 'number'
34
- suffix: 秒
35
- -
36
- key: websocket 服务器配置
37
- path: 'websocket'
38
- type: 'group'
39
- part:
40
- -
41
- key: API请求超时时间
42
- path: 'websocket.timeout'
43
- type: 'number'
44
- suffix: 秒
45
- -
46
- key: websocket 渲染器地址
47
- comment: ws://127.0.0.1:7005/ws/render
48
- path: 'websocket.render'
49
- type: 'array'
50
- arrayType: 'text'
51
- -
52
- key: onebot11 正向WebSocket地址
53
- path: 'websocket.OneBot11Host'
54
- type: 'array'
55
- arrayType: 'text'
56
- -
57
- key: onebot12 正向WebSocket地址
58
- path: 'websocket.OneBot12Host'
59
- type: 'array'
60
- arrayType: 'text'
61
- -
62
- key: HTTP渲染器配置
63
- path: 'HttpRender'
64
- type: 'group'
65
- part:
66
- -
67
- key: 是否开启http渲染
68
- path: 'HttpRender.enable'
69
- type: 'boolean'
70
- -
71
- key: karin端Api地址
72
- comment: 公网 > 局域网 > 127
73
- path: 'HttpRender.host'
74
- type: 'url'
75
- -
76
- key: karin-puppeteer渲染器 post请求地址
77
- path: 'HttpRender.post'
78
- type: 'url'
79
- -
80
- key: karin-puppeteer渲染器 post请求token
81
- path: 'HttpRender.token'
82
- type: 'text'
83
- -
84
- key: 请求的非html或非有效路径的返回内容
85
- comment: 可以填http地址 例如:https://ys.mihoyo.com
86
- path: 'HttpRender.not_found'
87
- type: 'text'
88
- -
89
- key: Wormhole代理地址
90
- comment: 无公网IP环境的情况下使用
91
- path: 'HttpRender.WormholeClient'
92
- type: 'text'
93
-
1
+ name: 服务配置
2
+ view:
3
+ -
4
+ key: 热更新是否重启服务
5
+ comment: 当前文件热更新是否重启http、grpc服务
6
+ path: 'HotUpdate'
7
+ type: 'boolean'
8
+ -
9
+ key: http 服务器配置
10
+ path: 'http'
11
+ type: 'group'
12
+ part:
13
+ -
14
+ key: 监听地址
15
+ path: 'http.host'
16
+ type: 'text'
17
+ -
18
+ key: 端口
19
+ path: 'http.port'
20
+ type: 'number'
21
+ -
22
+ key: grpc 服务器配置
23
+ path: 'grpc'
24
+ type: 'group'
25
+ part:
26
+ -
27
+ key: 监听地址
28
+ path: 'grpc.host'
29
+ type: 'text'
30
+ -
31
+ key: Api请求超时时间
32
+ path: 'grpc.timeout'
33
+ type: 'number'
34
+ suffix: 秒
35
+ -
36
+ key: websocket 服务器配置
37
+ path: 'websocket'
38
+ type: 'group'
39
+ part:
40
+ -
41
+ key: API请求超时时间
42
+ path: 'websocket.timeout'
43
+ type: 'number'
44
+ suffix: 秒
45
+ -
46
+ key: websocket 渲染器地址
47
+ comment: ws://127.0.0.1:7005/ws/render
48
+ path: 'websocket.render'
49
+ type: 'array'
50
+ arrayType: 'text'
51
+ -
52
+ key: onebot11 正向WebSocket地址
53
+ path: 'websocket.OneBot11Host'
54
+ type: 'array'
55
+ arrayType: 'text'
56
+ -
57
+ key: onebot12 正向WebSocket地址
58
+ path: 'websocket.OneBot12Host'
59
+ type: 'array'
60
+ arrayType: 'text'
61
+ -
62
+ key: HTTP渲染器配置
63
+ path: 'HttpRender'
64
+ type: 'group'
65
+ part:
66
+ -
67
+ key: 是否开启http渲染
68
+ path: 'HttpRender.enable'
69
+ type: 'boolean'
70
+ -
71
+ key: karin端Api地址
72
+ comment: 公网 > 局域网 > 127
73
+ path: 'HttpRender.host'
74
+ type: 'url'
75
+ -
76
+ key: karin-puppeteer渲染器 post请求地址
77
+ path: 'HttpRender.post'
78
+ type: 'url'
79
+ -
80
+ key: karin-puppeteer渲染器 post请求token
81
+ path: 'HttpRender.token'
82
+ type: 'text'
83
+ -
84
+ key: 请求的非html或非有效路径的返回内容
85
+ comment: 可以填http地址 例如:https://ys.mihoyo.com
86
+ path: 'HttpRender.not_found'
87
+ type: 'text'
88
+ -
89
+ key: Wormhole代理地址
90
+ comment: 无公网IP环境的情况下使用
91
+ path: 'HttpRender.WormholeClient'
92
+ type: 'text'
93
+