1
0
镜像自地址 https://github.com/astaxie/beego.git 已同步 2025-09-18 17:52:09 +00:00

Rewrite admin service by using multiple server feature

这个提交包含在:
Ming Deng
2020-09-10 22:17:15 +08:00
父节点 d455805a0a
当前提交 2473e69417
共有 6 个文件被更改,包括 421 次插入378 次删除

查看文件

@@ -17,6 +17,7 @@ package adapter
import (
"time"
_ "github.com/astaxie/beego/pkg/infrastructure/governor"
"github.com/astaxie/beego/pkg/server/web"
)
@@ -38,11 +39,7 @@ import (
// beego.FilterMonitorFunc = MyFilterMonitor.
var FilterMonitorFunc func(string, string, time.Duration, string, int) bool
func init() {
FilterMonitorFunc = web.FilterMonitorFunc
}
// PrintTree prints all registered routers.
func PrintTree() M {
return (M)(web.PrintTree())
return (M)(web.BeeApp.PrintTree())
}