mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 04:10:27 +08:00
16 lines
316 B
Go
16 lines
316 B
Go
package recovers
|
|
|
|
import "github.com/iwind/TeaGo"
|
|
|
|
func init() {
|
|
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
|
server.
|
|
Helper(new(Helper)).
|
|
Prefix("/recover").
|
|
Get("", new(IndexAction)).
|
|
Post("/validateApi", new(ValidateApiAction)).
|
|
Post("/updateHosts", new(UpdateHostsAction)).
|
|
EndAll()
|
|
})
|
|
}
|