17 lines
272 B
Go
17 lines
272 B
Go
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()
|
|
})
|
|
}
|