mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 04:54:32 +08:00
16 lines
236 B
Go
16 lines
236 B
Go
package index
|
|
|
|
import (
|
|
"github.com/iwind/TeaGo"
|
|
)
|
|
|
|
func init() {
|
|
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
|
server.
|
|
Post("/checkOTP", new(CheckOTPAction)).
|
|
Prefix("/").
|
|
GetPost("", new(IndexAction)).
|
|
EndAll()
|
|
})
|
|
}
|