casbin_plugin

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CasbinFilter

type CasbinFilter struct {
	bean.Component
	*security.Casbin
}

func (*CasbinFilter) DoFilter

func (c *CasbinFilter) DoFilter(w http.ResponseWriter, r *http.Request, chain web.FilterChain) error

func (*CasbinFilter) Order

func (c *CasbinFilter) Order() int

func (*CasbinFilter) UrlPatterns

func (c *CasbinFilter) UrlPatterns() []string

Jump to

Keyboard shortcuts

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