package sandbox 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", "sandbox"). Prefix("/httpdns/sandbox"). Get("", new(IndexAction)). Post("/test", new(TestAction)). EndAll() }) }