Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrInvalid = errors.New("redisacl: invalid permissions")
ErrInvalid wraps every permission string error.
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ACL struct {
// contains filtered or unexported fields
}
ACL is a parsed Redis permissions string such as "+@read +set ~Az*".
func ParsePermissions ¶
ParsePermissions parses a Redis ACL permissions string: +@category, -@category, +command, -command, +command|subcommand, allcommands, nocommands, ~pattern, allkeys, resetkeys, &pattern, allchannels, resetchannels.