Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Role_name = map[int32]string{ 0: "ROLE_NONE", 1: "ROLE_OWNER", 2: "ROLE_ADMIN", 3: "ROLE_MEMBER", 4: "ROLE_GUEST", } Role_value = map[string]int32{ "ROLE_NONE": 0, "ROLE_OWNER": 1, "ROLE_ADMIN": 2, "ROLE_MEMBER": 3, "ROLE_GUEST": 4, } )
Enum value maps for Role.
View Source
var ( // optional permissions.Role role = 50000; E_Role = &file_example_permissions_permissions_proto_extTypes[0] // optional string scope = 50001; E_Scope = &file_example_permissions_permissions_proto_extTypes[1] // optional int32 test = 50002; E_Test = &file_example_permissions_permissions_proto_extTypes[2] )
Extension fields to descriptorpb.MethodOptions.
View Source
var File_example_permissions_permissions_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role int32
func (Role) Descriptor ¶
func (Role) Descriptor() protoreflect.EnumDescriptor
func (Role) EnumDescriptor
deprecated
func (Role) Number ¶
func (x Role) Number() protoreflect.EnumNumber
func (Role) Type ¶
func (Role) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.