增加API方法调用耗时统计

This commit is contained in:
刘祥超
2022-01-19 16:53:38 +08:00
parent 79e52d1c6e
commit 65d19d92e9
6 changed files with 142 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ func init() {
Helper(settingutils.NewAdvancedHelper("apiNodes")).
Prefix("/api").
Get("", new(IndexAction)).
Get("/methodStats", new(MethodStatsAction)).
GetPost("/node/createPopup", new(node.CreatePopupAction)).
Post("/delete", new(DeleteAction)).
EndAll()