Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Permission ¶
type Permission string
Permission is a string containing write or read permissions on a Resource.
type Resource ¶
type Resource string
Resource represents a resource that can be accessed.
const ( Account Resource = "account" Blocks Resource = "blocks" Channels Resource = "channels" Drive Resource = "drive" Favorites Resource = "favorites" Following Resource = "following" Gallery Resource = "gallery" GalleryLikes Resource = "gallery-likes" Messaging Resource = "messaging" Mutes Resource = "mutes" Notes Resource = "notes" Notifications Resource = "notifications" PageLikes Resource = "page-likes" Pages Resource = "pages" Reactions Resource = "reactions" UserGroups Resource = "user-groups" Votes Resource = "votes" )
Resource constants to make it easier to define permissions.
Click to show internal directories.
Click to hide internal directories.