Go: refactor system stats (#17089)

### Summary

Move stats to a specific service from system

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-20 14:13:05 +08:00
committed by GitHub
parent 2e396629e3
commit 1fdf167f79
6 changed files with 38 additions and 6 deletions
+2
View File
@@ -244,6 +244,8 @@ func (r *Router) Setup(engine *gin.Engine) {
protected.POST("/license", r.handler.SetLicense)
protected.POST("/license/config", r.handler.UpdateLicenseConfig)
protected.GET("/license", r.handler.ShowLicense)
RegisterEERouter(protected, r)
}
}
+3
View File
@@ -22,3 +22,6 @@ import (
func SetupEERouter(engine *gin.Engine) {
}
func RegisterEERouter(protected *gin.RouterGroup, r *Router) {
}