初步实现安装界面

This commit is contained in:
GoEdgeLab
2020-10-13 20:05:29 +08:00
parent fe432e9a8f
commit 2c9fffa4db
37 changed files with 1207 additions and 56 deletions

View File

@@ -0,0 +1,17 @@
package setup
import "github.com/iwind/TeaGo"
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Helper(new(Helper)).
Prefix("/setup").
Get("", new(IndexAction)).
Post("/validateApi", new(ValidateApiAction)).
Post("/validateDb", new(ValidateDbAction)).
Post("/validateAdmin", new(ValidateAdminAction)).
Post("/install", new(InstallAction)).
EndAll()
})
}