Documentation ¶
Index ¶
- Variables
- type KKRBACAddPermissionParam
- func (x *KKRBACAddPermissionParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACAddPermissionParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACAddPermissionParam) GetPermission() *PBPermission
- func (*KKRBACAddPermissionParam) ProtoMessage()
- func (x *KKRBACAddPermissionParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACAddPermissionParam) Reset()
- func (x *KKRBACAddPermissionParam) String() string
- type KKRBACAddPermissionResponse
- type KKRBACAddRoleParam
- func (x *KKRBACAddRoleParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACAddRoleParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACAddRoleParam) GetRole() *PBRole
- func (*KKRBACAddRoleParam) ProtoMessage()
- func (x *KKRBACAddRoleParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACAddRoleParam) Reset()
- func (x *KKRBACAddRoleParam) String() string
- type KKRBACAddRoleResponse
- type KKRBACAddUserParam
- func (x *KKRBACAddUserParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACAddUserParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACAddUserParam) GetUser() *PBUser
- func (*KKRBACAddUserParam) ProtoMessage()
- func (x *KKRBACAddUserParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACAddUserParam) Reset()
- func (x *KKRBACAddUserParam) String() string
- type KKRBACAddUserResponse
- type KKRBACCheckPermissionParam
- func (x *KKRBACCheckPermissionParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACCheckPermissionParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACCheckPermissionParam) GetApiId() string
- func (x *KKRBACCheckPermissionParam) GetUserId() uint64
- func (*KKRBACCheckPermissionParam) ProtoMessage()
- func (x *KKRBACCheckPermissionParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACCheckPermissionParam) Reset()
- func (x *KKRBACCheckPermissionParam) String() string
- type KKRBACCheckPermissionResponse
- func (*KKRBACCheckPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (*KKRBACCheckPermissionResponse) ProtoMessage()
- func (x *KKRBACCheckPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *KKRBACCheckPermissionResponse) Reset()
- func (x *KKRBACCheckPermissionResponse) String() string
- type KKRBACDeletePermissionParam
- func (x *KKRBACDeletePermissionParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACDeletePermissionParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACDeletePermissionParam) GetApiIds() []string
- func (*KKRBACDeletePermissionParam) ProtoMessage()
- func (x *KKRBACDeletePermissionParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACDeletePermissionParam) Reset()
- func (x *KKRBACDeletePermissionParam) String() string
- type KKRBACDeletePermissionResponse
- func (*KKRBACDeletePermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (*KKRBACDeletePermissionResponse) ProtoMessage()
- func (x *KKRBACDeletePermissionResponse) ProtoReflect() protoreflect.Message
- func (x *KKRBACDeletePermissionResponse) Reset()
- func (x *KKRBACDeletePermissionResponse) String() string
- type KKRBACDeleteRoleParam
- func (x *KKRBACDeleteRoleParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACDeleteRoleParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACDeleteRoleParam) GetRoleNames() []string
- func (*KKRBACDeleteRoleParam) ProtoMessage()
- func (x *KKRBACDeleteRoleParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACDeleteRoleParam) Reset()
- func (x *KKRBACDeleteRoleParam) String() string
- type KKRBACDeleteRoleResponse
- type KKRBACDeleteUserParam
- func (x *KKRBACDeleteUserParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACDeleteUserParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACDeleteUserParam) GetUserIds() []uint64
- func (*KKRBACDeleteUserParam) ProtoMessage()
- func (x *KKRBACDeleteUserParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACDeleteUserParam) Reset()
- func (x *KKRBACDeleteUserParam) String() string
- type KKRBACDeleteUserResponse
- type KKRBACPermissionListParam
- func (x *KKRBACPermissionListParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACPermissionListParam) Descriptor() ([]byte, []int)deprecated
- func (*KKRBACPermissionListParam) ProtoMessage()
- func (x *KKRBACPermissionListParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACPermissionListParam) Reset()
- func (x *KKRBACPermissionListParam) String() string
- type KKRBACPermissionListResponse
- func (*KKRBACPermissionListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACPermissionListResponse) GetList() *PBListPermission
- func (*KKRBACPermissionListResponse) ProtoMessage()
- func (x *KKRBACPermissionListResponse) ProtoReflect() protoreflect.Message
- func (x *KKRBACPermissionListResponse) Reset()
- func (x *KKRBACPermissionListResponse) String() string
- type KKRBACRoleListParam
- func (x *KKRBACRoleListParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACRoleListParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACRoleListParam) GetRoleNames() []string
- func (*KKRBACRoleListParam) ProtoMessage()
- func (x *KKRBACRoleListParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACRoleListParam) Reset()
- func (x *KKRBACRoleListParam) String() string
- type KKRBACRoleListResponse
- func (*KKRBACRoleListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACRoleListResponse) GetList() *PBListRole
- func (*KKRBACRoleListResponse) ProtoMessage()
- func (x *KKRBACRoleListResponse) ProtoReflect() protoreflect.Message
- func (x *KKRBACRoleListResponse) Reset()
- func (x *KKRBACRoleListResponse) String() string
- type KKRBACUpdatePermissionParam
- func (x *KKRBACUpdatePermissionParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACUpdatePermissionParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACUpdatePermissionParam) GetPermission() *PBPermission
- func (*KKRBACUpdatePermissionParam) ProtoMessage()
- func (x *KKRBACUpdatePermissionParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACUpdatePermissionParam) Reset()
- func (x *KKRBACUpdatePermissionParam) String() string
- type KKRBACUpdatePermissionResponse
- func (*KKRBACUpdatePermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (*KKRBACUpdatePermissionResponse) ProtoMessage()
- func (x *KKRBACUpdatePermissionResponse) ProtoReflect() protoreflect.Message
- func (x *KKRBACUpdatePermissionResponse) Reset()
- func (x *KKRBACUpdatePermissionResponse) String() string
- type KKRBACUpdateRoleParam
- func (x *KKRBACUpdateRoleParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACUpdateRoleParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACUpdateRoleParam) GetRole() *PBRole
- func (*KKRBACUpdateRoleParam) ProtoMessage()
- func (x *KKRBACUpdateRoleParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACUpdateRoleParam) Reset()
- func (x *KKRBACUpdateRoleParam) String() string
- type KKRBACUpdateRoleResponse
- type KKRBACUpdateUserParam
- func (x *KKRBACUpdateUserParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACUpdateUserParam) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACUpdateUserParam) GetUser() *PBUser
- func (*KKRBACUpdateUserParam) ProtoMessage()
- func (x *KKRBACUpdateUserParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACUpdateUserParam) Reset()
- func (x *KKRBACUpdateUserParam) String() string
- type KKRBACUpdateUserResponse
- type KKRBACUserListParam
- func (x *KKRBACUserListParam) BindCheck(stage *kk_stage.Stage) error
- func (*KKRBACUserListParam) Descriptor() ([]byte, []int)deprecated
- func (*KKRBACUserListParam) ProtoMessage()
- func (x *KKRBACUserListParam) ProtoReflect() protoreflect.Message
- func (x *KKRBACUserListParam) Reset()
- func (x *KKRBACUserListParam) String() string
- type KKRBACUserListResponse
- func (*KKRBACUserListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KKRBACUserListResponse) GetList() *PBListUser
- func (*KKRBACUserListResponse) ProtoMessage()
- func (x *KKRBACUserListResponse) ProtoReflect() protoreflect.Message
- func (x *KKRBACUserListResponse) Reset()
- func (x *KKRBACUserListResponse) String() string
- type PBListPermission
- type PBListRole
- type PBListUser
- type PBPermission
- func (*PBPermission) Descriptor() ([]byte, []int)deprecated
- func (x *PBPermission) GetApiId() string
- func (x *PBPermission) GetApiName() string
- func (x *PBPermission) GetApiTag() string
- func (x *PBPermission) GetCreatedAt() *timestamppb.Timestamp
- func (x *PBPermission) GetId() uint64
- func (x *PBPermission) GetRemark() string
- func (x *PBPermission) GetStatus() int32
- func (x *PBPermission) GetUpdatedAt() *timestamppb.Timestamp
- func (*PBPermission) ProtoMessage()
- func (x *PBPermission) ProtoReflect() protoreflect.Message
- func (x *PBPermission) Reset()
- func (x *PBPermission) String() string
- type PBRole
- func (*PBRole) Descriptor() ([]byte, []int)deprecated
- func (x *PBRole) GetApiIds() []string
- func (x *PBRole) GetCreatedAt() *timestamppb.Timestamp
- func (x *PBRole) GetId() uint64
- func (x *PBRole) GetName() string
- func (x *PBRole) GetRemark() string
- func (x *PBRole) GetStatus() PBRole_RoleStatusEnum
- func (x *PBRole) GetUpdatedAt() *timestamppb.Timestamp
- func (*PBRole) ProtoMessage()
- func (x *PBRole) ProtoReflect() protoreflect.Message
- func (x *PBRole) Reset()
- func (x *PBRole) String() string
- type PBRole_RoleStatusEnum
- func (PBRole_RoleStatusEnum) Descriptor() protoreflect.EnumDescriptor
- func (x PBRole_RoleStatusEnum) Enum() *PBRole_RoleStatusEnum
- func (PBRole_RoleStatusEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x PBRole_RoleStatusEnum) Number() protoreflect.EnumNumber
- func (x PBRole_RoleStatusEnum) String() string
- func (PBRole_RoleStatusEnum) Type() protoreflect.EnumType
- type PBUser
- func (*PBUser) Descriptor() ([]byte, []int)deprecated
- func (x *PBUser) GetCreatedAt() *timestamppb.Timestamp
- func (x *PBUser) GetId() uint64
- func (x *PBUser) GetRemark() string
- func (x *PBUser) GetRoleNames() []string
- func (x *PBUser) GetStatus() int32
- func (x *PBUser) GetUpdatedAt() *timestamppb.Timestamp
- func (x *PBUser) GetUserId() uint64
- func (*PBUser) ProtoMessage()
- func (x *PBUser) ProtoReflect() protoreflect.Message
- func (x *PBUser) Reset()
- func (x *PBUser) String() string
Constants ¶
This section is empty.
Variables ¶
var ( PBRole_RoleStatusEnum_name = map[int32]string{ 0: "Disable", 1: "Enable", } PBRole_RoleStatusEnum_value = map[string]int32{ "Disable": 0, "Enable": 1, } )
Enum value maps for PBRole_RoleStatusEnum.
var File_kk_rbac_api_permission_proto protoreflect.FileDescriptor
var File_kk_rbac_api_role_proto protoreflect.FileDescriptor
var File_kk_rbac_api_user_proto protoreflect.FileDescriptor
var File_kk_rbac_pb_permission_proto protoreflect.FileDescriptor
var File_kk_rbac_pb_role_proto protoreflect.FileDescriptor
var File_kk_rbac_pb_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type KKRBACAddPermissionParam ¶
type KKRBACAddPermissionParam struct { Permission *PBPermission `protobuf:"bytes,1,opt,name=Permission,proto3" json:"Permission,omitempty"` // contains filtered or unexported fields }
func (*KKRBACAddPermissionParam) BindCheck ¶
func (x *KKRBACAddPermissionParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACAddPermissionParam) Descriptor
deprecated
func (*KKRBACAddPermissionParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACAddPermissionParam.ProtoReflect.Descriptor instead.
func (*KKRBACAddPermissionParam) GetPermission ¶
func (x *KKRBACAddPermissionParam) GetPermission() *PBPermission
func (*KKRBACAddPermissionParam) ProtoMessage ¶
func (*KKRBACAddPermissionParam) ProtoMessage()
func (*KKRBACAddPermissionParam) ProtoReflect ¶
func (x *KKRBACAddPermissionParam) ProtoReflect() protoreflect.Message
func (*KKRBACAddPermissionParam) Reset ¶
func (x *KKRBACAddPermissionParam) Reset()
func (*KKRBACAddPermissionParam) String ¶
func (x *KKRBACAddPermissionParam) String() string
type KKRBACAddPermissionResponse ¶
type KKRBACAddPermissionResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACAddPermissionResponse) Descriptor
deprecated
func (*KKRBACAddPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACAddPermissionResponse.ProtoReflect.Descriptor instead.
func (*KKRBACAddPermissionResponse) ProtoMessage ¶
func (*KKRBACAddPermissionResponse) ProtoMessage()
func (*KKRBACAddPermissionResponse) ProtoReflect ¶
func (x *KKRBACAddPermissionResponse) ProtoReflect() protoreflect.Message
func (*KKRBACAddPermissionResponse) Reset ¶
func (x *KKRBACAddPermissionResponse) Reset()
func (*KKRBACAddPermissionResponse) String ¶
func (x *KKRBACAddPermissionResponse) String() string
type KKRBACAddRoleParam ¶
type KKRBACAddRoleParam struct { Role *PBRole `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"` // contains filtered or unexported fields }
func (*KKRBACAddRoleParam) BindCheck ¶
func (x *KKRBACAddRoleParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACAddRoleParam) Descriptor
deprecated
func (*KKRBACAddRoleParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACAddRoleParam.ProtoReflect.Descriptor instead.
func (*KKRBACAddRoleParam) GetRole ¶
func (x *KKRBACAddRoleParam) GetRole() *PBRole
func (*KKRBACAddRoleParam) ProtoMessage ¶
func (*KKRBACAddRoleParam) ProtoMessage()
func (*KKRBACAddRoleParam) ProtoReflect ¶
func (x *KKRBACAddRoleParam) ProtoReflect() protoreflect.Message
func (*KKRBACAddRoleParam) Reset ¶
func (x *KKRBACAddRoleParam) Reset()
func (*KKRBACAddRoleParam) String ¶
func (x *KKRBACAddRoleParam) String() string
type KKRBACAddRoleResponse ¶
type KKRBACAddRoleResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACAddRoleResponse) Descriptor
deprecated
func (*KKRBACAddRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACAddRoleResponse.ProtoReflect.Descriptor instead.
func (*KKRBACAddRoleResponse) ProtoMessage ¶
func (*KKRBACAddRoleResponse) ProtoMessage()
func (*KKRBACAddRoleResponse) ProtoReflect ¶
func (x *KKRBACAddRoleResponse) ProtoReflect() protoreflect.Message
func (*KKRBACAddRoleResponse) Reset ¶
func (x *KKRBACAddRoleResponse) Reset()
func (*KKRBACAddRoleResponse) String ¶
func (x *KKRBACAddRoleResponse) String() string
type KKRBACAddUserParam ¶
type KKRBACAddUserParam struct { User *PBUser `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` // contains filtered or unexported fields }
func (*KKRBACAddUserParam) BindCheck ¶
func (x *KKRBACAddUserParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACAddUserParam) Descriptor
deprecated
func (*KKRBACAddUserParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACAddUserParam.ProtoReflect.Descriptor instead.
func (*KKRBACAddUserParam) GetUser ¶
func (x *KKRBACAddUserParam) GetUser() *PBUser
func (*KKRBACAddUserParam) ProtoMessage ¶
func (*KKRBACAddUserParam) ProtoMessage()
func (*KKRBACAddUserParam) ProtoReflect ¶
func (x *KKRBACAddUserParam) ProtoReflect() protoreflect.Message
func (*KKRBACAddUserParam) Reset ¶
func (x *KKRBACAddUserParam) Reset()
func (*KKRBACAddUserParam) String ¶
func (x *KKRBACAddUserParam) String() string
type KKRBACAddUserResponse ¶
type KKRBACAddUserResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACAddUserResponse) Descriptor
deprecated
func (*KKRBACAddUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACAddUserResponse.ProtoReflect.Descriptor instead.
func (*KKRBACAddUserResponse) ProtoMessage ¶
func (*KKRBACAddUserResponse) ProtoMessage()
func (*KKRBACAddUserResponse) ProtoReflect ¶
func (x *KKRBACAddUserResponse) ProtoReflect() protoreflect.Message
func (*KKRBACAddUserResponse) Reset ¶
func (x *KKRBACAddUserResponse) Reset()
func (*KKRBACAddUserResponse) String ¶
func (x *KKRBACAddUserResponse) String() string
type KKRBACCheckPermissionParam ¶
type KKRBACCheckPermissionParam struct { UserId uint64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId,omitempty"` ApiId string `protobuf:"bytes,2,opt,name=ApiId,proto3" json:"ApiId,omitempty"` // contains filtered or unexported fields }
func (*KKRBACCheckPermissionParam) BindCheck ¶
func (x *KKRBACCheckPermissionParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACCheckPermissionParam) Descriptor
deprecated
func (*KKRBACCheckPermissionParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACCheckPermissionParam.ProtoReflect.Descriptor instead.
func (*KKRBACCheckPermissionParam) GetApiId ¶
func (x *KKRBACCheckPermissionParam) GetApiId() string
func (*KKRBACCheckPermissionParam) GetUserId ¶
func (x *KKRBACCheckPermissionParam) GetUserId() uint64
func (*KKRBACCheckPermissionParam) ProtoMessage ¶
func (*KKRBACCheckPermissionParam) ProtoMessage()
func (*KKRBACCheckPermissionParam) ProtoReflect ¶
func (x *KKRBACCheckPermissionParam) ProtoReflect() protoreflect.Message
func (*KKRBACCheckPermissionParam) Reset ¶
func (x *KKRBACCheckPermissionParam) Reset()
func (*KKRBACCheckPermissionParam) String ¶
func (x *KKRBACCheckPermissionParam) String() string
type KKRBACCheckPermissionResponse ¶
type KKRBACCheckPermissionResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACCheckPermissionResponse) Descriptor
deprecated
func (*KKRBACCheckPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACCheckPermissionResponse.ProtoReflect.Descriptor instead.
func (*KKRBACCheckPermissionResponse) ProtoMessage ¶
func (*KKRBACCheckPermissionResponse) ProtoMessage()
func (*KKRBACCheckPermissionResponse) ProtoReflect ¶
func (x *KKRBACCheckPermissionResponse) ProtoReflect() protoreflect.Message
func (*KKRBACCheckPermissionResponse) Reset ¶
func (x *KKRBACCheckPermissionResponse) Reset()
func (*KKRBACCheckPermissionResponse) String ¶
func (x *KKRBACCheckPermissionResponse) String() string
type KKRBACDeletePermissionParam ¶
type KKRBACDeletePermissionParam struct { ApiIds []string `protobuf:"bytes,1,rep,name=ApiIds,proto3" json:"ApiIds,omitempty"` // contains filtered or unexported fields }
func (*KKRBACDeletePermissionParam) BindCheck ¶
func (x *KKRBACDeletePermissionParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACDeletePermissionParam) Descriptor
deprecated
func (*KKRBACDeletePermissionParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACDeletePermissionParam.ProtoReflect.Descriptor instead.
func (*KKRBACDeletePermissionParam) GetApiIds ¶
func (x *KKRBACDeletePermissionParam) GetApiIds() []string
func (*KKRBACDeletePermissionParam) ProtoMessage ¶
func (*KKRBACDeletePermissionParam) ProtoMessage()
func (*KKRBACDeletePermissionParam) ProtoReflect ¶
func (x *KKRBACDeletePermissionParam) ProtoReflect() protoreflect.Message
func (*KKRBACDeletePermissionParam) Reset ¶
func (x *KKRBACDeletePermissionParam) Reset()
func (*KKRBACDeletePermissionParam) String ¶
func (x *KKRBACDeletePermissionParam) String() string
type KKRBACDeletePermissionResponse ¶
type KKRBACDeletePermissionResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACDeletePermissionResponse) Descriptor
deprecated
func (*KKRBACDeletePermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACDeletePermissionResponse.ProtoReflect.Descriptor instead.
func (*KKRBACDeletePermissionResponse) ProtoMessage ¶
func (*KKRBACDeletePermissionResponse) ProtoMessage()
func (*KKRBACDeletePermissionResponse) ProtoReflect ¶
func (x *KKRBACDeletePermissionResponse) ProtoReflect() protoreflect.Message
func (*KKRBACDeletePermissionResponse) Reset ¶
func (x *KKRBACDeletePermissionResponse) Reset()
func (*KKRBACDeletePermissionResponse) String ¶
func (x *KKRBACDeletePermissionResponse) String() string
type KKRBACDeleteRoleParam ¶
type KKRBACDeleteRoleParam struct { RoleNames []string `protobuf:"bytes,1,rep,name=RoleNames,proto3" json:"RoleNames,omitempty"` // contains filtered or unexported fields }
func (*KKRBACDeleteRoleParam) BindCheck ¶
func (x *KKRBACDeleteRoleParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACDeleteRoleParam) Descriptor
deprecated
func (*KKRBACDeleteRoleParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACDeleteRoleParam.ProtoReflect.Descriptor instead.
func (*KKRBACDeleteRoleParam) GetRoleNames ¶
func (x *KKRBACDeleteRoleParam) GetRoleNames() []string
func (*KKRBACDeleteRoleParam) ProtoMessage ¶
func (*KKRBACDeleteRoleParam) ProtoMessage()
func (*KKRBACDeleteRoleParam) ProtoReflect ¶
func (x *KKRBACDeleteRoleParam) ProtoReflect() protoreflect.Message
func (*KKRBACDeleteRoleParam) Reset ¶
func (x *KKRBACDeleteRoleParam) Reset()
func (*KKRBACDeleteRoleParam) String ¶
func (x *KKRBACDeleteRoleParam) String() string
type KKRBACDeleteRoleResponse ¶
type KKRBACDeleteRoleResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACDeleteRoleResponse) Descriptor
deprecated
func (*KKRBACDeleteRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACDeleteRoleResponse.ProtoReflect.Descriptor instead.
func (*KKRBACDeleteRoleResponse) ProtoMessage ¶
func (*KKRBACDeleteRoleResponse) ProtoMessage()
func (*KKRBACDeleteRoleResponse) ProtoReflect ¶
func (x *KKRBACDeleteRoleResponse) ProtoReflect() protoreflect.Message
func (*KKRBACDeleteRoleResponse) Reset ¶
func (x *KKRBACDeleteRoleResponse) Reset()
func (*KKRBACDeleteRoleResponse) String ¶
func (x *KKRBACDeleteRoleResponse) String() string
type KKRBACDeleteUserParam ¶
type KKRBACDeleteUserParam struct { UserIds []uint64 `protobuf:"varint,1,rep,packed,name=UserIds,proto3" json:"UserIds,omitempty"` // contains filtered or unexported fields }
func (*KKRBACDeleteUserParam) BindCheck ¶
func (x *KKRBACDeleteUserParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACDeleteUserParam) Descriptor
deprecated
func (*KKRBACDeleteUserParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACDeleteUserParam.ProtoReflect.Descriptor instead.
func (*KKRBACDeleteUserParam) GetUserIds ¶
func (x *KKRBACDeleteUserParam) GetUserIds() []uint64
func (*KKRBACDeleteUserParam) ProtoMessage ¶
func (*KKRBACDeleteUserParam) ProtoMessage()
func (*KKRBACDeleteUserParam) ProtoReflect ¶
func (x *KKRBACDeleteUserParam) ProtoReflect() protoreflect.Message
func (*KKRBACDeleteUserParam) Reset ¶
func (x *KKRBACDeleteUserParam) Reset()
func (*KKRBACDeleteUserParam) String ¶
func (x *KKRBACDeleteUserParam) String() string
type KKRBACDeleteUserResponse ¶
type KKRBACDeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACDeleteUserResponse) Descriptor
deprecated
func (*KKRBACDeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACDeleteUserResponse.ProtoReflect.Descriptor instead.
func (*KKRBACDeleteUserResponse) ProtoMessage ¶
func (*KKRBACDeleteUserResponse) ProtoMessage()
func (*KKRBACDeleteUserResponse) ProtoReflect ¶
func (x *KKRBACDeleteUserResponse) ProtoReflect() protoreflect.Message
func (*KKRBACDeleteUserResponse) Reset ¶
func (x *KKRBACDeleteUserResponse) Reset()
func (*KKRBACDeleteUserResponse) String ¶
func (x *KKRBACDeleteUserResponse) String() string
type KKRBACPermissionListParam ¶
type KKRBACPermissionListParam struct {
// contains filtered or unexported fields
}
func (*KKRBACPermissionListParam) BindCheck ¶
func (x *KKRBACPermissionListParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACPermissionListParam) Descriptor
deprecated
func (*KKRBACPermissionListParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACPermissionListParam.ProtoReflect.Descriptor instead.
func (*KKRBACPermissionListParam) ProtoMessage ¶
func (*KKRBACPermissionListParam) ProtoMessage()
func (*KKRBACPermissionListParam) ProtoReflect ¶
func (x *KKRBACPermissionListParam) ProtoReflect() protoreflect.Message
func (*KKRBACPermissionListParam) Reset ¶
func (x *KKRBACPermissionListParam) Reset()
func (*KKRBACPermissionListParam) String ¶
func (x *KKRBACPermissionListParam) String() string
type KKRBACPermissionListResponse ¶
type KKRBACPermissionListResponse struct { List *PBListPermission `protobuf:"bytes,1,opt,name=List,proto3" json:"List,omitempty"` // contains filtered or unexported fields }
func (*KKRBACPermissionListResponse) Descriptor
deprecated
func (*KKRBACPermissionListResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACPermissionListResponse.ProtoReflect.Descriptor instead.
func (*KKRBACPermissionListResponse) GetList ¶
func (x *KKRBACPermissionListResponse) GetList() *PBListPermission
func (*KKRBACPermissionListResponse) ProtoMessage ¶
func (*KKRBACPermissionListResponse) ProtoMessage()
func (*KKRBACPermissionListResponse) ProtoReflect ¶
func (x *KKRBACPermissionListResponse) ProtoReflect() protoreflect.Message
func (*KKRBACPermissionListResponse) Reset ¶
func (x *KKRBACPermissionListResponse) Reset()
func (*KKRBACPermissionListResponse) String ¶
func (x *KKRBACPermissionListResponse) String() string
type KKRBACRoleListParam ¶
type KKRBACRoleListParam struct { RoleNames []string `protobuf:"bytes,1,rep,name=RoleNames,proto3" json:"RoleNames,omitempty"` // contains filtered or unexported fields }
func (*KKRBACRoleListParam) BindCheck ¶
func (x *KKRBACRoleListParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACRoleListParam) Descriptor
deprecated
func (*KKRBACRoleListParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACRoleListParam.ProtoReflect.Descriptor instead.
func (*KKRBACRoleListParam) GetRoleNames ¶
func (x *KKRBACRoleListParam) GetRoleNames() []string
func (*KKRBACRoleListParam) ProtoMessage ¶
func (*KKRBACRoleListParam) ProtoMessage()
func (*KKRBACRoleListParam) ProtoReflect ¶
func (x *KKRBACRoleListParam) ProtoReflect() protoreflect.Message
func (*KKRBACRoleListParam) Reset ¶
func (x *KKRBACRoleListParam) Reset()
func (*KKRBACRoleListParam) String ¶
func (x *KKRBACRoleListParam) String() string
type KKRBACRoleListResponse ¶
type KKRBACRoleListResponse struct { List *PBListRole `protobuf:"bytes,1,opt,name=List,proto3" json:"List,omitempty"` // contains filtered or unexported fields }
func (*KKRBACRoleListResponse) Descriptor
deprecated
func (*KKRBACRoleListResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACRoleListResponse.ProtoReflect.Descriptor instead.
func (*KKRBACRoleListResponse) GetList ¶
func (x *KKRBACRoleListResponse) GetList() *PBListRole
func (*KKRBACRoleListResponse) ProtoMessage ¶
func (*KKRBACRoleListResponse) ProtoMessage()
func (*KKRBACRoleListResponse) ProtoReflect ¶
func (x *KKRBACRoleListResponse) ProtoReflect() protoreflect.Message
func (*KKRBACRoleListResponse) Reset ¶
func (x *KKRBACRoleListResponse) Reset()
func (*KKRBACRoleListResponse) String ¶
func (x *KKRBACRoleListResponse) String() string
type KKRBACUpdatePermissionParam ¶
type KKRBACUpdatePermissionParam struct { Permission *PBPermission `protobuf:"bytes,1,opt,name=Permission,proto3" json:"Permission,omitempty"` // contains filtered or unexported fields }
func (*KKRBACUpdatePermissionParam) BindCheck ¶
func (x *KKRBACUpdatePermissionParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACUpdatePermissionParam) Descriptor
deprecated
func (*KKRBACUpdatePermissionParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACUpdatePermissionParam.ProtoReflect.Descriptor instead.
func (*KKRBACUpdatePermissionParam) GetPermission ¶
func (x *KKRBACUpdatePermissionParam) GetPermission() *PBPermission
func (*KKRBACUpdatePermissionParam) ProtoMessage ¶
func (*KKRBACUpdatePermissionParam) ProtoMessage()
func (*KKRBACUpdatePermissionParam) ProtoReflect ¶
func (x *KKRBACUpdatePermissionParam) ProtoReflect() protoreflect.Message
func (*KKRBACUpdatePermissionParam) Reset ¶
func (x *KKRBACUpdatePermissionParam) Reset()
func (*KKRBACUpdatePermissionParam) String ¶
func (x *KKRBACUpdatePermissionParam) String() string
type KKRBACUpdatePermissionResponse ¶
type KKRBACUpdatePermissionResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACUpdatePermissionResponse) Descriptor
deprecated
func (*KKRBACUpdatePermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACUpdatePermissionResponse.ProtoReflect.Descriptor instead.
func (*KKRBACUpdatePermissionResponse) ProtoMessage ¶
func (*KKRBACUpdatePermissionResponse) ProtoMessage()
func (*KKRBACUpdatePermissionResponse) ProtoReflect ¶
func (x *KKRBACUpdatePermissionResponse) ProtoReflect() protoreflect.Message
func (*KKRBACUpdatePermissionResponse) Reset ¶
func (x *KKRBACUpdatePermissionResponse) Reset()
func (*KKRBACUpdatePermissionResponse) String ¶
func (x *KKRBACUpdatePermissionResponse) String() string
type KKRBACUpdateRoleParam ¶
type KKRBACUpdateRoleParam struct { Role *PBRole `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"` // contains filtered or unexported fields }
func (*KKRBACUpdateRoleParam) BindCheck ¶
func (x *KKRBACUpdateRoleParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACUpdateRoleParam) Descriptor
deprecated
func (*KKRBACUpdateRoleParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACUpdateRoleParam.ProtoReflect.Descriptor instead.
func (*KKRBACUpdateRoleParam) GetRole ¶
func (x *KKRBACUpdateRoleParam) GetRole() *PBRole
func (*KKRBACUpdateRoleParam) ProtoMessage ¶
func (*KKRBACUpdateRoleParam) ProtoMessage()
func (*KKRBACUpdateRoleParam) ProtoReflect ¶
func (x *KKRBACUpdateRoleParam) ProtoReflect() protoreflect.Message
func (*KKRBACUpdateRoleParam) Reset ¶
func (x *KKRBACUpdateRoleParam) Reset()
func (*KKRBACUpdateRoleParam) String ¶
func (x *KKRBACUpdateRoleParam) String() string
type KKRBACUpdateRoleResponse ¶
type KKRBACUpdateRoleResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACUpdateRoleResponse) Descriptor
deprecated
func (*KKRBACUpdateRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACUpdateRoleResponse.ProtoReflect.Descriptor instead.
func (*KKRBACUpdateRoleResponse) ProtoMessage ¶
func (*KKRBACUpdateRoleResponse) ProtoMessage()
func (*KKRBACUpdateRoleResponse) ProtoReflect ¶
func (x *KKRBACUpdateRoleResponse) ProtoReflect() protoreflect.Message
func (*KKRBACUpdateRoleResponse) Reset ¶
func (x *KKRBACUpdateRoleResponse) Reset()
func (*KKRBACUpdateRoleResponse) String ¶
func (x *KKRBACUpdateRoleResponse) String() string
type KKRBACUpdateUserParam ¶
type KKRBACUpdateUserParam struct { User *PBUser `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` // contains filtered or unexported fields }
func (*KKRBACUpdateUserParam) BindCheck ¶
func (x *KKRBACUpdateUserParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACUpdateUserParam) Descriptor
deprecated
func (*KKRBACUpdateUserParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACUpdateUserParam.ProtoReflect.Descriptor instead.
func (*KKRBACUpdateUserParam) GetUser ¶
func (x *KKRBACUpdateUserParam) GetUser() *PBUser
func (*KKRBACUpdateUserParam) ProtoMessage ¶
func (*KKRBACUpdateUserParam) ProtoMessage()
func (*KKRBACUpdateUserParam) ProtoReflect ¶
func (x *KKRBACUpdateUserParam) ProtoReflect() protoreflect.Message
func (*KKRBACUpdateUserParam) Reset ¶
func (x *KKRBACUpdateUserParam) Reset()
func (*KKRBACUpdateUserParam) String ¶
func (x *KKRBACUpdateUserParam) String() string
type KKRBACUpdateUserResponse ¶
type KKRBACUpdateUserResponse struct {
// contains filtered or unexported fields
}
func (*KKRBACUpdateUserResponse) Descriptor
deprecated
func (*KKRBACUpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACUpdateUserResponse.ProtoReflect.Descriptor instead.
func (*KKRBACUpdateUserResponse) ProtoMessage ¶
func (*KKRBACUpdateUserResponse) ProtoMessage()
func (*KKRBACUpdateUserResponse) ProtoReflect ¶
func (x *KKRBACUpdateUserResponse) ProtoReflect() protoreflect.Message
func (*KKRBACUpdateUserResponse) Reset ¶
func (x *KKRBACUpdateUserResponse) Reset()
func (*KKRBACUpdateUserResponse) String ¶
func (x *KKRBACUpdateUserResponse) String() string
type KKRBACUserListParam ¶
type KKRBACUserListParam struct {
// contains filtered or unexported fields
}
func (*KKRBACUserListParam) BindCheck ¶
func (x *KKRBACUserListParam) BindCheck(stage *kk_stage.Stage) error
func (*KKRBACUserListParam) Descriptor
deprecated
func (*KKRBACUserListParam) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACUserListParam.ProtoReflect.Descriptor instead.
func (*KKRBACUserListParam) ProtoMessage ¶
func (*KKRBACUserListParam) ProtoMessage()
func (*KKRBACUserListParam) ProtoReflect ¶
func (x *KKRBACUserListParam) ProtoReflect() protoreflect.Message
func (*KKRBACUserListParam) Reset ¶
func (x *KKRBACUserListParam) Reset()
func (*KKRBACUserListParam) String ¶
func (x *KKRBACUserListParam) String() string
type KKRBACUserListResponse ¶
type KKRBACUserListResponse struct { List *PBListUser `protobuf:"bytes,1,opt,name=List,proto3" json:"List,omitempty"` // contains filtered or unexported fields }
func (*KKRBACUserListResponse) Descriptor
deprecated
func (*KKRBACUserListResponse) Descriptor() ([]byte, []int)
Deprecated: Use KKRBACUserListResponse.ProtoReflect.Descriptor instead.
func (*KKRBACUserListResponse) GetList ¶
func (x *KKRBACUserListResponse) GetList() *PBListUser
func (*KKRBACUserListResponse) ProtoMessage ¶
func (*KKRBACUserListResponse) ProtoMessage()
func (*KKRBACUserListResponse) ProtoReflect ¶
func (x *KKRBACUserListResponse) ProtoReflect() protoreflect.Message
func (*KKRBACUserListResponse) Reset ¶
func (x *KKRBACUserListResponse) Reset()
func (*KKRBACUserListResponse) String ¶
func (x *KKRBACUserListResponse) String() string
type PBListPermission ¶
type PBListPermission struct { List []*PBPermission `protobuf:"bytes,1,rep,name=List,proto3" json:"List,omitempty"` // contains filtered or unexported fields }
func (*PBListPermission) Descriptor
deprecated
func (*PBListPermission) Descriptor() ([]byte, []int)
Deprecated: Use PBListPermission.ProtoReflect.Descriptor instead.
func (*PBListPermission) GetList ¶
func (x *PBListPermission) GetList() []*PBPermission
func (*PBListPermission) ProtoMessage ¶
func (*PBListPermission) ProtoMessage()
func (*PBListPermission) ProtoReflect ¶
func (x *PBListPermission) ProtoReflect() protoreflect.Message
func (*PBListPermission) Reset ¶
func (x *PBListPermission) Reset()
func (*PBListPermission) String ¶
func (x *PBListPermission) String() string
type PBListRole ¶
type PBListRole struct { List []*PBRole `protobuf:"bytes,1,rep,name=List,proto3" json:"List,omitempty"` // contains filtered or unexported fields }
func (*PBListRole) Descriptor
deprecated
func (*PBListRole) Descriptor() ([]byte, []int)
Deprecated: Use PBListRole.ProtoReflect.Descriptor instead.
func (*PBListRole) GetList ¶
func (x *PBListRole) GetList() []*PBRole
func (*PBListRole) ProtoMessage ¶
func (*PBListRole) ProtoMessage()
func (*PBListRole) ProtoReflect ¶
func (x *PBListRole) ProtoReflect() protoreflect.Message
func (*PBListRole) Reset ¶
func (x *PBListRole) Reset()
func (*PBListRole) String ¶
func (x *PBListRole) String() string
type PBListUser ¶
type PBListUser struct { List []*PBUser `protobuf:"bytes,1,rep,name=List,proto3" json:"List,omitempty"` // contains filtered or unexported fields }
func (*PBListUser) Descriptor
deprecated
func (*PBListUser) Descriptor() ([]byte, []int)
Deprecated: Use PBListUser.ProtoReflect.Descriptor instead.
func (*PBListUser) GetList ¶
func (x *PBListUser) GetList() []*PBUser
func (*PBListUser) ProtoMessage ¶
func (*PBListUser) ProtoMessage()
func (*PBListUser) ProtoReflect ¶
func (x *PBListUser) ProtoReflect() protoreflect.Message
func (*PBListUser) Reset ¶
func (x *PBListUser) Reset()
func (*PBListUser) String ¶
func (x *PBListUser) String() string
type PBPermission ¶
type PBPermission struct { Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` Status int32 `protobuf:"varint,4,opt,name=Status,proto3" json:"Status,omitempty"` Remark string `protobuf:"bytes,5,opt,name=Remark,proto3" json:"Remark,omitempty"` ApiTag string `protobuf:"bytes,6,opt,name=ApiTag,proto3" json:"ApiTag,omitempty"` ApiId string `protobuf:"bytes,7,opt,name=ApiId,proto3" json:"ApiId,omitempty"` ApiName string `protobuf:"bytes,8,opt,name=ApiName,proto3" json:"ApiName,omitempty"` // contains filtered or unexported fields }
func (*PBPermission) Descriptor
deprecated
func (*PBPermission) Descriptor() ([]byte, []int)
Deprecated: Use PBPermission.ProtoReflect.Descriptor instead.
func (*PBPermission) GetApiId ¶
func (x *PBPermission) GetApiId() string
func (*PBPermission) GetApiName ¶
func (x *PBPermission) GetApiName() string
func (*PBPermission) GetApiTag ¶
func (x *PBPermission) GetApiTag() string
func (*PBPermission) GetCreatedAt ¶
func (x *PBPermission) GetCreatedAt() *timestamppb.Timestamp
func (*PBPermission) GetId ¶
func (x *PBPermission) GetId() uint64
func (*PBPermission) GetRemark ¶
func (x *PBPermission) GetRemark() string
func (*PBPermission) GetStatus ¶
func (x *PBPermission) GetStatus() int32
func (*PBPermission) GetUpdatedAt ¶
func (x *PBPermission) GetUpdatedAt() *timestamppb.Timestamp
func (*PBPermission) ProtoMessage ¶
func (*PBPermission) ProtoMessage()
func (*PBPermission) ProtoReflect ¶
func (x *PBPermission) ProtoReflect() protoreflect.Message
func (*PBPermission) Reset ¶
func (x *PBPermission) Reset()
func (*PBPermission) String ¶
func (x *PBPermission) String() string
type PBRole ¶
type PBRole struct { Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` Status PBRole_RoleStatusEnum `protobuf:"varint,4,opt,name=Status,proto3,enum=kk_rbac_api_def.PBRole_RoleStatusEnum" json:"Status,omitempty"` Remark string `protobuf:"bytes,5,opt,name=Remark,proto3" json:"Remark,omitempty"` Name string `protobuf:"bytes,6,opt,name=Name,proto3" json:"Name,omitempty"` ApiIds []string `protobuf:"bytes,7,rep,name=ApiIds,proto3" json:"ApiIds,omitempty"` // contains filtered or unexported fields }
func (*PBRole) Descriptor
deprecated
func (*PBRole) GetCreatedAt ¶
func (x *PBRole) GetCreatedAt() *timestamppb.Timestamp
func (*PBRole) GetStatus ¶
func (x *PBRole) GetStatus() PBRole_RoleStatusEnum
func (*PBRole) GetUpdatedAt ¶
func (x *PBRole) GetUpdatedAt() *timestamppb.Timestamp
func (*PBRole) ProtoMessage ¶
func (*PBRole) ProtoMessage()
func (*PBRole) ProtoReflect ¶
func (x *PBRole) ProtoReflect() protoreflect.Message
type PBRole_RoleStatusEnum ¶
type PBRole_RoleStatusEnum int32
const ( PBRole_Disable PBRole_RoleStatusEnum = 0 PBRole_Enable PBRole_RoleStatusEnum = 1 )
func (PBRole_RoleStatusEnum) Descriptor ¶
func (PBRole_RoleStatusEnum) Descriptor() protoreflect.EnumDescriptor
func (PBRole_RoleStatusEnum) Enum ¶
func (x PBRole_RoleStatusEnum) Enum() *PBRole_RoleStatusEnum
func (PBRole_RoleStatusEnum) EnumDescriptor
deprecated
func (PBRole_RoleStatusEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use PBRole_RoleStatusEnum.Descriptor instead.
func (PBRole_RoleStatusEnum) Number ¶
func (x PBRole_RoleStatusEnum) Number() protoreflect.EnumNumber
func (PBRole_RoleStatusEnum) String ¶
func (x PBRole_RoleStatusEnum) String() string
func (PBRole_RoleStatusEnum) Type ¶
func (PBRole_RoleStatusEnum) Type() protoreflect.EnumType
type PBUser ¶
type PBUser struct { Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` Status int32 `protobuf:"varint,4,opt,name=Status,proto3" json:"Status,omitempty"` Remark string `protobuf:"bytes,5,opt,name=Remark,proto3" json:"Remark,omitempty"` UserId uint64 `protobuf:"varint,6,opt,name=UserId,proto3" json:"UserId,omitempty"` RoleNames []string `protobuf:"bytes,7,rep,name=RoleNames,proto3" json:"RoleNames,omitempty"` // contains filtered or unexported fields }
func (*PBUser) Descriptor
deprecated
func (*PBUser) GetCreatedAt ¶
func (x *PBUser) GetCreatedAt() *timestamppb.Timestamp
func (*PBUser) GetRoleNames ¶
func (*PBUser) GetUpdatedAt ¶
func (x *PBUser) GetUpdatedAt() *timestamppb.Timestamp
func (*PBUser) ProtoMessage ¶
func (*PBUser) ProtoMessage()
func (*PBUser) ProtoReflect ¶
func (x *PBUser) ProtoReflect() protoreflect.Message