Files
EdgeAdmin/internal/web/actions/default/index/init.go

16 lines
236 B
Go
Raw Normal View History

2020-07-22 09:59:40 +08:00
package index
import (
"github.com/iwind/TeaGo"
)
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Post("/checkOTP", new(CheckOTPAction)).
Prefix("/").
2020-07-22 09:59:40 +08:00
GetPost("", new(IndexAction)).
EndAll()
})
}