Versions in this module Expand all Collapse all v0 v0.16.3 Nov 29, 2024 Changes in this version + const ADMIN + const DEBUGGING + const MONITORING + func CheckAccessActor(actor, role string) error + func CheckAccessHTTP(req *http.Request, role string) error + func RegisterPolicy(name string, policy Policy) + func SendError(w http.ResponseWriter, err error) + type Policy interface + CheckAccessActor func(actor, role string) error + CheckAccessHTTP func(req *http.Request, role string) error