auth

package
v0.0.0-...-ddfd2c2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentication

func Authentication(next echo.HandlerFunc) echo.HandlerFunc

认证,每个受保护的请求都先经过此函数认证通过后才能调用,因此这是一个执行频率非常高的函数

func SetAcl

func SetAcl(cc *ctx.Context) error

查询用户访问控制角色,存储到 ctx.Context 中

Types

This section is empty.

Jump to

Keyboard shortcuts

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