mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-30 06:50:55 +02:00
add sessions to API.
This commit is contained in:
parent
848556adbd
commit
8660c1a256
3 changed files with 33 additions and 0 deletions
|
@ -45,6 +45,7 @@ func (api *ApiManagerCtx) Route(r types.Router) {
|
|||
|
||||
r.Post("/logout", api.Logout)
|
||||
r.Get("/whoami", api.Whoami)
|
||||
r.Get("/sessions", api.Sessions)
|
||||
|
||||
membersHandler := members.New(api.members)
|
||||
r.Route("/members", membersHandler.Route)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue