forked from goffee/cup
start simple session manager
This commit is contained in:
parent
384f25d220
commit
23fd877a98
4 changed files with 219 additions and 0 deletions
|
|
@ -41,4 +41,7 @@ func registerRoutes() {
|
|||
|
||||
controller.Get("/applogin", controllers.AppLogin, hooks.CheckSessionCookie)
|
||||
controller.Post("/applogin", controllers.AppLogin, hooks.CheckSessionCookie)
|
||||
|
||||
controller.Get("/appsession", controllers.AppSession)
|
||||
controller.Post("/appsession", controllers.AppSession)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue