Documentation ¶
Index ¶
- func CreateUser(c middleware.AuthedContext) error
- func DestroyUser(c middleware.AuthedContext) error
- func GetSession(c middleware.AuthedContext) error
- func GetUser(c middleware.AuthedContext) error
- func ListUsers(c middleware.AuthedContext) error
- func Login(c web.ApiContext) error
- func Logout(c middleware.AuthedContext) error
- func UpdateUser(c middleware.AuthedContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestroyUser ¶
func DestroyUser(c middleware.AuthedContext) error
DestroyUser admin delete user by id
func GetSession ¶
func GetSession(c middleware.AuthedContext) error
GetSession admin session data endpoint
func Login ¶
func Login(c web.ApiContext) error
Login admin login route handler, expects email and password
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.