middleware

package
v0.0.0-...-514e0f0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const UserIDKey = "userid"
View Source
const UserLoggedIn = "loggedin"
View Source
const UserRankKey = "userrank"

Variables

This section is empty.

Functions

This section is empty.

Types

type JWTGRPCAuthenticator

type JWTGRPCAuthenticator struct {
	// contains filtered or unexported fields
}

func NewGRPCAuth

func NewGRPCAuth(config *config.Config) *JWTGRPCAuthenticator

func (*JWTGRPCAuthenticator) GRPCAuth

func (j *JWTGRPCAuthenticator) GRPCAuth(next echo.HandlerFunc) echo.HandlerFunc

Jump to

Keyboard shortcuts

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