package
Version:
v0.0.0
Opens a new window with list of versions in this module.
Published: Jul 11, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
firewall ![GoDoc](https://godoc.org/github.com/vardius/go-api-boilerplate/pkg/http/middleware/firewall?status.svg)
Package firewall allow to guard http handlers
Download:
go get -u github.com/vardius/go-api-boilerplate/pkg/http/middleware/firewall
Package firewall allow to guard http handlers
Documentation
¶
Package firewall allow to guard handlers
IsGranted returns false if Identity is not set within request's context
or user does not have required role, true otherwise
Source Files
¶
Click to show internal directories.
Click to hide internal directories.