Documentation ¶
Index ¶
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.