redis_basic_auth

package
v0.0.0-...-62a34bc Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GIN_META_UID = "bauth:uid"
View Source
const RED_KEY_PREF = "bauth:"

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisBasicAuth

type RedisBasicAuth struct {
	*redis_auth.RedisAuth
	// contains filtered or unexported fields
}

func New

func New(red *redis.Client, namespace, realm string) *RedisBasicAuth

func (*RedisBasicAuth) Middleware

func (a *RedisBasicAuth) Middleware() gin.HandlerFunc

Jump to

Keyboard shortcuts

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