Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role interface { IntersectRoles(userid string, roles rank.Rank) (rank.Rank, error) InsertRoles(userid string, roles rank.Rank) error DeleteRoles(userid string, roles rank.Rank) error DeleteAllRoles(userid string) error GetRoles(userid string, amount, offset int) (rank.Rank, error) GetByRole(roleName string, amount, offset int) ([]string, error) GetRoleSummary(userid string) (rank.Rank, error) }
Role manages user roles