Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Permission ¶
type Permission int64
Permission is the permission level of a user.
const ( PermissionNone Permission = iota // PermissionNone is the default permission level. PermissionUser // PermissionUser is the permission level of a user. PermissionVip // PermissionVip is the permission level of a vip. PermissionAdmin // PermissionAdmin is the permission level of an admin. )
func (Permission) IsValid ¶
func (p Permission) IsValid() bool
func (Permission) String ¶
func (p Permission) String() string
Click to show internal directories.
Click to hide internal directories.