auth

package
v0.8.1-hotfix-3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthUser added in v0.8.1

type AuthUser struct {
	// contains filtered or unexported fields
}

func (*AuthUser) Scan added in v0.8.1

func (au *AuthUser) Scan(c *gin.Context) (isAbort bool)

func (*AuthUser) User added in v0.8.1

func (au *AuthUser) User() model.IUser

func (*AuthUser) UserId added in v0.8.1

func (au *AuthUser) UserId(c *gin.Context) (userId uint, isAbort bool)

type UserNotExistError added in v0.8.1

type UserNotExistError struct{}

func (UserNotExistError) Error added in v0.8.1

func (e UserNotExistError) Error() string

type UserNotLoginError added in v0.8.1

type UserNotLoginError struct{}

func (UserNotLoginError) Error added in v0.8.1

func (e UserNotLoginError) Error() string

Jump to

Keyboard shortcuts

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