阶段性提交

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,17 @@
package components
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
"github.com/iwind/TeaGo"
)
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Helper(helpers.NewUserMustAuth()).
Helper(NewHelper()).
Prefix("/servers/components").
Get("", new(IndexAction)).
EndAll()
})
}