controller

package
v0.0.0-...-dc61350 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorize

func Authorize(ctx *gin.Context)

Authorize authorize post

func AuthorizePage

func AuthorizePage(ctx *gin.Context)

AuthorizePage 授权页面

func GetErrorMessage

func GetErrorMessage(ctx *gin.Context) string

GetErrorMessage return the first error message

func Login

func Login(ctx *gin.Context)

Login login post

func LoginPage

func LoginPage(ctx *gin.Context)

LoginPage 登录页面

func SetErrorMessage

func SetErrorMessage(ctx *gin.Context, msg string) error

SetErrorMessage set a error message

Types

This section is empty.

Jump to

Keyboard shortcuts

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