mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-02 20:00:26 +08:00
16 lines
248 B
Go
16 lines
248 B
Go
package login
|
|
|
|
import (
|
|
"github.com/iwind/TeaGo"
|
|
)
|
|
|
|
func init() {
|
|
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
|
server.
|
|
Prefix("/login").
|
|
GetPost("/validate", new(ValidateAction)).
|
|
Get("/ticket", new(TicketAction)).
|
|
EndAll()
|
|
})
|
|
}
|