auth

package
v0.0.0-...-451fb61 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

*

  • Created by GoLand.
  • User: xzghua@gmail.com
  • Date: 2019-05-09
  • Time: 21:34

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
}

func (*Auth) AuthLogin

func (c *Auth) AuthLogin(ctx *gin.Context)

func (*Auth) AuthRegister

func (c *Auth) AuthRegister(ctx *gin.Context)

func (*Auth) DelCache

func (c *Auth) DelCache(ctx *gin.Context)

func (*Auth) Login

func (c *Auth) Login(ctx *gin.Context)

func (*Auth) Logout

func (c *Auth) Logout(ctx *gin.Context)

func (*Auth) Register

func (c *Auth) Register(ctx *gin.Context)

type ConsoleAuth

type ConsoleAuth interface {
	Register(*gin.Context)
	AuthRegister(*gin.Context)
	Login(*gin.Context)
	AuthLogin(*gin.Context)
	Logout(*gin.Context)
	DelCache(*gin.Context)
}

func NewAuth

func NewAuth() ConsoleAuth

Jump to

Keyboard shortcuts

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