tmp connect

This commit is contained in:
jerry
2021-03-22 07:44:11 +08:00
parent b6d1f724e9
commit 0ff4e52ed3
26 changed files with 812 additions and 212 deletions

View File

@@ -113,21 +113,18 @@ $config['server_event_handler_class'] = [
];
/** 服务器启用的外部第三方和内部插件 */
$config['modules'] = [
'onebot' => [ // 机器人解析模块,关闭后无法使用如@CQCommand等注解
'status' => true,
'single_bot_mode' => false
],
'http_proxy_server' => [ // 一个内置的简单HTTP代理服务器目前还没有认证功能预计2.4.0版本完成
'status' => false,
'host' => '0.0.0.0',
'port' => 8083,
'swoole_set_override' => [
'backlog' => 128,
'buffer_output_size' => 1024 * 1024 * 128,
'socket_buffer_size' => 1024 * 1024 * 1
]
],
$config['modules']['onebot'] = [
// 机器人解析模块,关闭后无法使用如@CQCommand等注解
'status' => true,
'single_bot_mode' => false
];
$config['modules']['remote_terminal'] = [
// 一个远程简易终端使用nc直接连接即可但是不建议开放host为0.0.0.0(远程连接)
'status' => false,
'host' => '127.0.0.1',
'port' => 20002,
'token' => ''
];
return $config;