authorization

package
v0.0.0-...-1088ae0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizeClient

type AuthorizeClient struct {
	Logger         *log.Logger
	Db             database.Database
	Config         utils.Config
	SessionManager *scs.SessionManager
}

func (*AuthorizeClient) Authorizer

func (auth *AuthorizeClient) Authorizer(e *casbin.Enforcer) func(next http.Handler) http.Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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