authorization

package
v0.0.0-...-5f60b6e Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorizer

func Authorizer(e *casbin.Enforcer, sessionManager *scs.SessionManager, users model.Users) func(next http.Handler) http.Handler

Authorizer is a middleware for authorization

Types

This section is empty.

Jump to

Keyboard shortcuts

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