package
Version:
v0.0.0-...-86a089b
Opens a new window with list of versions in this module.
Published: Dec 15, 2019
License: BSD-2-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package pol provides a simple role based access control system.
type Policy interface {
Police(user, action string) error
}
Policy allows users to execute an action or returns an error.
Rules implements a role base policy.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.