mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
refactor: cache index
This commit is contained in:
parent
5d8d96fd4f
commit
269397e114
20 changed files with 532 additions and 364 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
"github.com/0xJacky/Nginx-UI/api/cluster"
|
||||
"github.com/0xJacky/Nginx-UI/api/config"
|
||||
"github.com/0xJacky/Nginx-UI/api/crypto"
|
||||
"github.com/0xJacky/Nginx-UI/api/index"
|
||||
"github.com/0xJacky/Nginx-UI/api/nginx"
|
||||
nginxLog "github.com/0xJacky/Nginx-UI/api/nginx_log"
|
||||
"github.com/0xJacky/Nginx-UI/api/notification"
|
||||
|
@ -82,6 +83,7 @@ func InitRouter() {
|
|||
{
|
||||
terminal.InitRouter(o)
|
||||
}
|
||||
index.InitRouter(w)
|
||||
nginxLog.InitRouter(w)
|
||||
upstream.InitRouter(w)
|
||||
system.InitWebSocketRouter(w)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue