controller

package
v0.0.0-...-2220243 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountViewHandler

func AccountViewHandler(c *gin.Context)

func GenerateImageQrcodeHandler

func GenerateImageQrcodeHandler(c *gin.Context)

func IdentityHandler

func IdentityHandler(c *gin.Context)

func LoginHandler

func LoginHandler(c *gin.Context)

LoginHandler manages login request to show page, form action and api

func LogoutPageHandler

func LogoutPageHandler(c *gin.Context)

func ProfileHandler

func ProfileHandler(c *gin.Context)

func RefreshTokenHandler

func RefreshTokenHandler(c *gin.Context)

func RegisterByEmailHandler

func RegisterByEmailHandler(c *gin.Context)

RegisterByEmailHandler for user registration using email address

func RegisterByMobileHandler

func RegisterByMobileHandler(c *gin.Context)

func RegisterHandler

func RegisterHandler(c *gin.Context)

func StartSocketHandler

func StartSocketHandler(c *gin.Context)

func VerifyQrcodeHandler

func VerifyQrcodeHandler(c *gin.Context)

Types

type Account

type Account struct{}

func (*Account) ChangePinHandler

func (ctrl *Account) ChangePinHandler(c *gin.Context)

func (*Account) CreateHandler

func (ctrl *Account) CreateHandler(c *gin.Context)

func (*Account) DetailHandler

func (ctrl *Account) DetailHandler(c *gin.Context)

type Auth

type Auth struct{}

func (*Auth) LoginHandler

func (ctrl *Auth) LoginHandler(c *gin.Context)

type Index

type Index struct{}

func (*Index) IndexHandler

func (ctrl *Index) IndexHandler(c *gin.Context)

type TokenController

type TokenController struct{}

func (*TokenController) InfoHandler

func (ctrl *TokenController) InfoHandler(c *gin.Context)

func (*TokenController) VerifyHandler

func (ctrl *TokenController) VerifyHandler(c *gin.Context)

Jump to

Keyboard shortcuts

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