xginxauth

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: BSD-3-Clause-Clear Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Regedit

func Regedit(r *gin.RouterGroup, c *xauth.Config)

注册函数,用于向xauth模块注入配置和注入auth路由信息 PS: 此处的接口均需要登陆才能访问【此处仅做了uid大于0的判定,所以前文需要先使用中间件进行判定写入uid】

r	gin路由组
c	xauth配置信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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