refactor: cache index

This commit is contained in:
Jacky 2025-04-04 02:00:18 +00:00
parent 5d8d96fd4f
commit 269397e114
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
20 changed files with 532 additions and 364 deletions

View file

@ -2,8 +2,8 @@ package nginx_log
import "github.com/gin-gonic/gin"
// InitRouter registers all the nginx log related routes
func InitRouter(r *gin.RouterGroup) {
r.GET("nginx_log", Log)
r.GET("nginx_logs", GetLogList)
r.GET("nginx_logs/index_status", GetNginxLogsLive)
}