镜像自地址
https://github.com/astaxie/beego.git
已同步 2025-09-18 17:52:09 +00:00
Rewrite admin service by using multiple server feature
这个提交包含在:
@@ -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())
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户