Documentation ¶
Overview ¶
Package permissions offers an interface and implementation for permission handling of chat commands
Index ¶
Constants ¶
Unauthorised is the level returned when a user has no special levels
Variables ¶
This section is empty.
Functions ¶
func AllPermissionMatch ¶
AllPermissionMatch returns true if and only if every entry in `required` is met by an entry in `available`
func AnyPermissionMatch ¶
AnyPermissionMatch returns true if any pair of required and available match
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package function implements a simple single-function based permission handler
|
Package function implements a simple single-function based permission handler |
Package mask provides a permissions.Handler implementation that works with traditional nick!user@host masks
|
Package mask provides a permissions.Handler implementation that works with traditional nick!user@host masks |
Click to show internal directories.
Click to hide internal directories.