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

16 lines
235 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.
2023-02-04 16:44:33 +08:00
Prefix("").
GetPost("/", new(IndexAction)).
GetPost("/index/otp", new(OtpAction)).
2020-07-22 09:59:40 +08:00
EndAll()
})
}