阶段性提交

This commit is contained in:
GoEdgeLab
2020-08-21 21:09:42 +08:00
parent 8f22f2fda1
commit 2ba46b9162
161 changed files with 3520 additions and 219 deletions

View File

@@ -0,0 +1,18 @@
package tcp
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/servers/serverutils"
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
"github.com/iwind/TeaGo"
)
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Helper(helpers.NewUserMustAuth()).
Helper(serverutils.NewServerHelper()).
Prefix("/servers/server/settings/tcp").
Get("", new(IndexAction)).
EndAll()
})
}