auth

package
v0.0.0-...-ed6a5cb Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

*

  • @author:cb <fastopencn@gmail.com>
  • @date:2022/5/26 *

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware() gin.HandlerFunc

AuthMiddleware 登录中间件

func GetAuthUser

func GetAuthUser(c *gin.Context) *user.User

GetAuthUser 获取已经验证的用户

Types

This section is empty.

Jump to

Keyboard shortcuts

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