Files
waf-platform/EdgeUser/internal/web/actions/default/httpdns/init.go
2026-02-28 18:55:33 +08:00

19 lines
352 B
Go

package httpdns
import (
"github.com/TeaOSLab/EdgeUser/internal/web/helpers"
"github.com/iwind/TeaGo"
)
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Helper(helpers.NewUserMustAuth("")).
Data("teaMenu", "httpdns").
Data("teaSubMenu", "app").
Prefix("/httpdns").
Get("", new(IndexAction)).
EndAll()
})
}