mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-09-08 10:14:35 +08:00
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:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,3 +22,6 @@ import (
|
||||
|
||||
func SetupEERouter(engine *gin.Engine) {
|
||||
}
|
||||
|
||||
func RegisterEERouter(protected *gin.RouterGroup, r *Router) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user