Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagUser = "user" TagUserPrefix = "usr" TagBan = "ban" TagBanPrefix = "ban" TagMod = "mod" TagModPrefix = "mod" TagAdmin = "admin" TagSystem = "system" )
Tags for user rank
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rank ¶
type Rank map[string]struct{}
Rank represents the set of all user auth tags
func FromStringGroup ¶
FromStringGroup creates a new Group Rank from a string
func FromStringUser ¶
FromStringUser creates a new User Rank from a string
Click to show internal directories.
Click to hide internal directories.