handlers

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TokenKey is authenticated token key
	TokenKey = "authenticated-token"
)

Variables

This section is empty.

Functions

func Activate

func Activate(c *gin.Context)

Activate is enable account with update password

func Authenticate

func Authenticate(c *gin.Context)

Authenticate is execute user authenticate

func Deauthenticate

func Deauthenticate(c *gin.Context)

Deauthenticate is execute user deauthentication

func GetState

func GetState(c *gin.Context)

GetState is get application state

func GetUser

func GetUser(c *gin.Context)

GetUser is find user data from token

func Registration added in v1.3.2

func Registration(c *gin.Context)

Registration is execute account registration

Types

This section is empty.

Jump to

Keyboard shortcuts

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