mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 10:55:51 +02:00
refactor: cache index
This commit is contained in:
parent
5d8d96fd4f
commit
269397e114
20 changed files with 532 additions and 364 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue