mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 06:10:26 +08:00
13 lines
191 B
Go
13 lines
191 B
Go
|
|
package logout
|
||
|
|
|
||
|
|
import "github.com/iwind/TeaGo"
|
||
|
|
|
||
|
|
func init() {
|
||
|
|
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
||
|
|
server.
|
||
|
|
Prefix("/logout").
|
||
|
|
Get("", new(IndexAction)).
|
||
|
|
EndAll()
|
||
|
|
})
|
||
|
|
}
|