drop webgui

This commit is contained in:
源文雨
2022-06-11 17:00:22 +08:00
parent 987b505d32
commit 1f640b7644
2 changed files with 1 additions and 19 deletions

View File

@@ -25,8 +25,6 @@ import (
// vvvvvvvvvvvvvv //
// vvvv //
// webctrl "github.com/FloatTech/zbputils/control/web" // web 后端控制
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/chat" // 基础词库
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/sleep_manage" // 统计睡眠时间
@@ -165,8 +163,6 @@ import (
func init() {
sus := make([]int64, 0, 16)
// 解析命令行参数
// 输入 `-g 监听地址:端口` 指定 gui 访问地址,默认 127.0.0.1:3000
// g := flag.String("g", "127.0.0.1:3000", "Set web gui listening address.")
d := flag.Bool("d", false, "Enable debug level log and higher.")
w := flag.Bool("w", false, "Enable warning level log and higher.")
h := flag.Bool("h", false, "Display this help.")
@@ -208,9 +204,6 @@ func init() {
// sus = append(sus, 12345678)
// sus = append(sus, 87654321)
// 启用 gui
// webctrl.InitGui(*g)
if *runcfg != "" {
f, err := os.Open(*runcfg)
if err != nil {