Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BookCreateCredential const for create a new book. BookCreateCredential string = "book:create" // BookCreateCredential const for update book. BookUpdateCredential string = "book:update" // BookCreateCredential const for delete book. BookDeleteCredential string = "book:delete" )
View Source
const ( // AdminRoleName const for admin role. AdminRoleName string = "admin" // ModeratorRoleName const for moderator role. ModeratorRoleName string = "moderator" // UserRoleName const for user role. UserRoleName string = "user" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.