handlers

package
v0.0.0-...-7dc802a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForgotPassword

func ForgotPassword(c web.ApiContext) error

ForgotPassword forgot password handler

func GetSession

func GetSession(c middleware.AuthedContext) error

GetSession session data endpoint

func GetUser

func GetUser(c web.ApiContext) error

GetUser retrieve email associated with confirmation token

func GetUserProfile

func GetUserProfile(c middleware.AuthedContext) error

GetUserProfile ...

func Login

func Login(c web.ApiContext) error

Login login route handler, expects email and password

func Logout

func Logout(c middleware.AuthedContext) error

Logout logout endpoint

func Register

func Register(c web.ApiContext) error

Register register handler

func RegisterUser

func RegisterUser(c web.ApiContext) error

RegisterUser register user

func ResetPassword

func ResetPassword(c web.ApiContext) error

ResetPassword reset password handler

func UpdateUserProfile

func UpdateUserProfile(c middleware.AuthedContext) error

UpdateUserProfile ...

func Version

func Version(c web.ApiContext) error

Version api version handler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL