middleware

package
v0.0.0-...-ded745d Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderKey = "passport"
)

Variables

This section is empty.

Functions

func AddLogID

func AddLogID(ctx *gin.Context)

func CORS

func CORS() gin.HandlerFunc

func ValidateBasicAuth

func ValidateBasicAuth() gin.HandlerFunc

ValidateBasicAuth 多数 webdav client 仅支持基础身份验证

func ValidateLogin

func ValidateLogin() gin.HandlerFunc

ValidateLogin 获取登录用户

Types

This section is empty.

Jump to

Keyboard shortcuts

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