middleware

package
v0.0.0-...-3293854 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const UserIDKey = "userid"
View Source
const UserRank = "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