auth

package
v0.0.0-...-b3d6e89 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(g *gin.Context)

* * check if user have access to login in system

func Recover

func Recover(g *gin.Context)

* * recover password take request token * select user that have this token * if user token valid and user not block * then user can recover his password

func Register

func Register(g *gin.Context)

* * Register new user on system

func Reset

func Reset(g *gin.Context)

* * reset password * with email you can send reset link * to user email

func Routes

func Routes(r *gin.RouterGroup) *gin.RouterGroup

* * all admin modules route will store here

Types

This section is empty.

Jump to

Keyboard shortcuts

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