1.4.5.2
This commit is contained in:
16
EdgeUser/internal/web/actions/default/ns/accessLogs/init.go
Normal file
16
EdgeUser/internal/web/actions/default/ns/accessLogs/init.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package logs
|
||||
|
||||
import (
|
||||
"github.com/iwind/TeaGo"
|
||||
)
|
||||
|
||||
func init() {
|
||||
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
||||
server.
|
||||
Data("teaMenu", "ns").
|
||||
Data("teaSubMenu", "accessLog").
|
||||
Prefix("/ns/clusters/accessLogs").
|
||||
Get("", new(IndexAction)).
|
||||
EndAll()
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user