ac

package
v0.0.0-...-b76d47b Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Read perm = 1 << iota
	Create
	Remove
	Update
)

Variables

View Source
var (
	ErrPerm = er.New("insufficient privileges")
)

Functions

func ClaimsAuthorization

func ClaimsAuthorization(resource string, p perm) func(http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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