实现总览页面

This commit is contained in:
lwch
2021-10-13 18:09:26 +08:00
parent f421f28b05
commit d4626ce3ec
34 changed files with 9826 additions and 23 deletions

View File

@@ -108,7 +108,7 @@ func (a *app) run() {
}
if a.cfg.DashboardEnabled {
db := dashboard.New(_VERSION)
db := dashboard.New(a.cfg, pl, mgr, _VERSION)
runtime.Assert(db.ListenAndServe(a.cfg.DashboardListen, a.cfg.DashboardPort))
} else {
select {}