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