阶段性提交

This commit is contained in:
刘祥超
2020-08-21 12:32:16 +08:00
parent d15ff6b246
commit 145f0580fb
181 changed files with 4897 additions and 218 deletions

View File

@@ -0,0 +1,17 @@
package common
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
"github.com/iwind/TeaGo"
)
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Helper(new(helpers.UserMustAuth)).
Prefix("/common").
Get("/changedClusters", new(ChangedClustersAction)).
Post("/syncClusters", new(SyncClustersAction)).
EndAll()
})
}