Versions in this module Expand all Collapse all v1 v1.0.0 Jun 22, 2023 Changes in this version + type Gate struct + func NewGate(ctx context.Context) *Gate + func (r *Gate) After(...) + func (r *Gate) Allows(ability string, arguments map[string]any) bool + func (r *Gate) Any(abilities []string, arguments map[string]any) bool + func (r *Gate) Before(...) + func (r *Gate) Define(ability string, ...) + func (r *Gate) Denies(ability string, arguments map[string]any) bool + func (r *Gate) Inspect(ability string, arguments map[string]any) access.Response + func (r *Gate) None(abilities []string, arguments map[string]any) bool + func (r *Gate) WithContext(ctx context.Context) access.Gate