Versions in this module Expand all Collapse all v0 v0.1.2 Nov 16, 2023 v0.1.1 Jun 26, 2023 Changes in this version + const AuthorizationService_CheckAuthorization_FullMethodName + const AuthorizationService_CreateApi_FullMethodName + const AuthorizationService_CreateMenu_FullMethodName + const AuthorizationService_CreateRole_FullMethodName + const AuthorizationService_DeleteApi_FullMethodName + const AuthorizationService_DeleteMenu_FullMethodName + const AuthorizationService_DeleteRoleForUser_FullMethodName + const AuthorizationService_DeleteRole_FullMethodName + const AuthorizationService_DeleteRolesForUser_FullMethodName + const AuthorizationService_GetApiListAll_FullMethodName + const AuthorizationService_GetApiList_FullMethodName + const AuthorizationService_GetMenuAll_FullMethodName + const AuthorizationService_GetMenuTree_FullMethodName + const AuthorizationService_GetPolicies_FullMethodName + const AuthorizationService_GetRoleAll_FullMethodName + const AuthorizationService_GetRoleMenuBtn_FullMethodName + const AuthorizationService_GetRoleMenuTree_FullMethodName + const AuthorizationService_GetRoleMenu_FullMethodName + const AuthorizationService_GetRolesForUser_FullMethodName + const AuthorizationService_GetUsersForRole_FullMethodName + const AuthorizationService_SaveRoleMenuBtn_FullMethodName + const AuthorizationService_SaveRoleMenu_FullMethodName + const AuthorizationService_SetRolesForUser_FullMethodName + const AuthorizationService_UpdateApi_FullMethodName + const AuthorizationService_UpdateMenu_FullMethodName + const AuthorizationService_UpdatePolicies_FullMethodName + const AuthorizationService_UpdateRole_FullMethodName + const OperationAuthorizationServiceCheckAuthorization + const OperationAuthorizationServiceCreateApi + const OperationAuthorizationServiceCreateMenu + const OperationAuthorizationServiceCreateRole + const OperationAuthorizationServiceDeleteApi + const OperationAuthorizationServiceDeleteMenu + const OperationAuthorizationServiceDeleteRole + const OperationAuthorizationServiceDeleteRoleForUser + const OperationAuthorizationServiceDeleteRolesForUser + const OperationAuthorizationServiceGetApiList + const OperationAuthorizationServiceGetApiListAll + const OperationAuthorizationServiceGetMenuAll + const OperationAuthorizationServiceGetMenuTree + const OperationAuthorizationServiceGetPolicies + const OperationAuthorizationServiceGetRoleAll + const OperationAuthorizationServiceGetRoleMenu + const OperationAuthorizationServiceGetRoleMenuBtn + const OperationAuthorizationServiceGetRoleMenuTree + const OperationAuthorizationServiceGetRolesForUser + const OperationAuthorizationServiceGetUsersForRole + const OperationAuthorizationServiceSaveRoleMenu + const OperationAuthorizationServiceSaveRoleMenuBtn + const OperationAuthorizationServiceSetRolesForUser + const OperationAuthorizationServiceUpdateApi + const OperationAuthorizationServiceUpdateMenu + const OperationAuthorizationServiceUpdatePolicies + const OperationAuthorizationServiceUpdateRole + var AuthorizationService_ServiceDesc = grpc.ServiceDesc + var ErrorReason_name = map[int32]string + var ErrorReason_value = map[string]int32 + var File_authorization_v1_authorization_proto protoreflect.FileDescriptor + var File_authorization_v1_error_reason_proto protoreflect.FileDescriptor + func ErrorBadRequest(format string, args ...interface{}) *errors.Error + func ErrorRecordAlreadyExists(format string, args ...interface{}) *errors.Error + func ErrorRecordNotFound(format string, args ...interface{}) *errors.Error + func ErrorSystemError(format string, args ...interface{}) *errors.Error + func IsBadRequest(err error) bool + func IsRecordAlreadyExists(err error) bool + func IsRecordNotFound(err error) bool + func IsSystemError(err error) bool + func RegisterAuthorizationServiceHTTPServer(s *http.Server, srv AuthorizationServiceHTTPServer) + func RegisterAuthorizationServiceServer(s grpc.ServiceRegistrar, srv AuthorizationServiceServer) + type Api struct + CreatedAt string + Domain string + Group string + Id int64 + Method string + Name string + Path string + UpdatedAt string + func (*Api) Descriptor() ([]byte, []int) + func (*Api) ProtoMessage() + func (m *Api) Validate() error + func (m *Api) ValidateAll() error + func (x *Api) GetCreatedAt() string + func (x *Api) GetDomain() string + func (x *Api) GetGroup() string + func (x *Api) GetId() int64 + func (x *Api) GetMethod() string + func (x *Api) GetName() string + func (x *Api) GetPath() string + func (x *Api) GetUpdatedAt() string + func (x *Api) ProtoReflect() protoreflect.Message + func (x *Api) Reset() + func (x *Api) String() string + type ApiMultiError []error + func (m ApiMultiError) AllErrors() []error + func (m ApiMultiError) Error() string + type ApiValidationError struct + func (e ApiValidationError) Cause() error + func (e ApiValidationError) Error() string + func (e ApiValidationError) ErrorName() string + func (e ApiValidationError) Field() string + func (e ApiValidationError) Key() bool + func (e ApiValidationError) Reason() string + type AuthorizationServiceClient interface + CheckAuthorization func(ctx context.Context, in *CheckAuthorizationReq, opts ...grpc.CallOption) (*CheckResponse, error) + CreateApi func(ctx context.Context, in *CreateApiReq, opts ...grpc.CallOption) (*Api, error) + CreateMenu func(ctx context.Context, in *CreateMenuReq, opts ...grpc.CallOption) (*Menu, error) + CreateRole func(ctx context.Context, in *CreateRoleReq, opts ...grpc.CallOption) (*Role, error) + DeleteApi func(ctx context.Context, in *DeleteApiReq, opts ...grpc.CallOption) (*CheckResponse, error) + DeleteMenu func(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*CheckResponse, error) + DeleteRole func(ctx context.Context, in *DeleteRoleReq, opts ...grpc.CallOption) (*CheckResponse, error) + DeleteRoleForUser func(ctx context.Context, in *DeleteRoleForUserReq, opts ...grpc.CallOption) (*CheckResponse, error) + DeleteRolesForUser func(ctx context.Context, in *DeleteRolesForUserReq, opts ...grpc.CallOption) (*CheckResponse, error) + GetApiList func(ctx context.Context, in *GetApiListReq, opts ...grpc.CallOption) (*GetApiListPageRes, error) + GetApiListAll func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetApiListAllRes, error) + GetMenuAll func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetMenuTreeRes, error) + GetMenuTree func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetMenuTreeRes, error) + GetPolicies func(ctx context.Context, in *RoleNameReq, opts ...grpc.CallOption) (*GetPoliciesRes, error) + GetRoleAll func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetRoleAllRes, error) + GetRoleMenu func(ctx context.Context, in *RoleNameReq, opts ...grpc.CallOption) (*GetMenuTreeRes, error) + GetRoleMenuBtn func(ctx context.Context, in *GetRoleMenuBtnReq, opts ...grpc.CallOption) (*GetRoleMenuBtnRes, error) + GetRoleMenuTree func(ctx context.Context, in *RoleNameReq, opts ...grpc.CallOption) (*GetMenuTreeRes, error) + GetRolesForUser func(ctx context.Context, in *GetRolesForUserReq, opts ...grpc.CallOption) (*GetRolesForUserRes, error) + GetUsersForRole func(ctx context.Context, in *RoleNameReq, opts ...grpc.CallOption) (*GetUsersForRoleRes, error) + SaveRoleMenu func(ctx context.Context, in *SaveRoleMenuReq, opts ...grpc.CallOption) (*CheckResponse, error) + SaveRoleMenuBtn func(ctx context.Context, in *SaveRoleMenuBtnReq, opts ...grpc.CallOption) (*CheckResponse, error) + SetRolesForUser func(ctx context.Context, in *SetRolesForUserReq, opts ...grpc.CallOption) (*CheckResponse, error) + UpdateApi func(ctx context.Context, in *UpdateApiReq, opts ...grpc.CallOption) (*CheckResponse, error) + UpdateMenu func(ctx context.Context, in *UpdateMenuReq, opts ...grpc.CallOption) (*CheckResponse, error) + UpdatePolicies func(ctx context.Context, in *UpdatePoliciesReq, opts ...grpc.CallOption) (*CheckResponse, error) + UpdateRole func(ctx context.Context, in *UpdateRoleReq, opts ...grpc.CallOption) (*CheckResponse, error) + func NewAuthorizationServiceClient(cc grpc.ClientConnInterface) AuthorizationServiceClient + type AuthorizationServiceHTTPClient interface + CheckAuthorization func(ctx context.Context, req *CheckAuthorizationReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + CreateApi func(ctx context.Context, req *CreateApiReq, opts ...http.CallOption) (rsp *Api, err error) + CreateMenu func(ctx context.Context, req *CreateMenuReq, opts ...http.CallOption) (rsp *Menu, err error) + CreateRole func(ctx context.Context, req *CreateRoleReq, opts ...http.CallOption) (rsp *Role, err error) + DeleteApi func(ctx context.Context, req *DeleteApiReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + DeleteMenu func(ctx context.Context, req *IdReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + DeleteRole func(ctx context.Context, req *DeleteRoleReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + DeleteRoleForUser func(ctx context.Context, req *DeleteRoleForUserReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + DeleteRolesForUser func(ctx context.Context, req *DeleteRolesForUserReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + GetApiList func(ctx context.Context, req *GetApiListReq, opts ...http.CallOption) (rsp *GetApiListPageRes, err error) + GetApiListAll func(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetApiListAllRes, err error) + GetMenuAll func(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetMenuTreeRes, err error) + GetMenuTree func(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetMenuTreeRes, err error) + GetPolicies func(ctx context.Context, req *RoleNameReq, opts ...http.CallOption) (rsp *GetPoliciesRes, err error) + GetRoleAll func(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetRoleAllRes, err error) + GetRoleMenu func(ctx context.Context, req *RoleNameReq, opts ...http.CallOption) (rsp *GetMenuTreeRes, err error) + GetRoleMenuBtn func(ctx context.Context, req *GetRoleMenuBtnReq, opts ...http.CallOption) (rsp *GetRoleMenuBtnRes, err error) + GetRoleMenuTree func(ctx context.Context, req *RoleNameReq, opts ...http.CallOption) (rsp *GetMenuTreeRes, err error) + GetRolesForUser func(ctx context.Context, req *GetRolesForUserReq, opts ...http.CallOption) (rsp *GetRolesForUserRes, err error) + GetUsersForRole func(ctx context.Context, req *RoleNameReq, opts ...http.CallOption) (rsp *GetUsersForRoleRes, err error) + SaveRoleMenu func(ctx context.Context, req *SaveRoleMenuReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + SaveRoleMenuBtn func(ctx context.Context, req *SaveRoleMenuBtnReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + SetRolesForUser func(ctx context.Context, req *SetRolesForUserReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + UpdateApi func(ctx context.Context, req *UpdateApiReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + UpdateMenu func(ctx context.Context, req *UpdateMenuReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + UpdatePolicies func(ctx context.Context, req *UpdatePoliciesReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + UpdateRole func(ctx context.Context, req *UpdateRoleReq, opts ...http.CallOption) (rsp *CheckResponse, err error) + func NewAuthorizationServiceHTTPClient(client *http.Client) AuthorizationServiceHTTPClient + type AuthorizationServiceHTTPClientImpl struct + func (c *AuthorizationServiceHTTPClientImpl) CheckAuthorization(ctx context.Context, in *CheckAuthorizationReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) CreateApi(ctx context.Context, in *CreateApiReq, opts ...http.CallOption) (*Api, error) + func (c *AuthorizationServiceHTTPClientImpl) CreateMenu(ctx context.Context, in *CreateMenuReq, opts ...http.CallOption) (*Menu, error) + func (c *AuthorizationServiceHTTPClientImpl) CreateRole(ctx context.Context, in *CreateRoleReq, opts ...http.CallOption) (*Role, error) + func (c *AuthorizationServiceHTTPClientImpl) DeleteApi(ctx context.Context, in *DeleteApiReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) DeleteMenu(ctx context.Context, in *IdReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) DeleteRole(ctx context.Context, in *DeleteRoleReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) DeleteRoleForUser(ctx context.Context, in *DeleteRoleForUserReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) DeleteRolesForUser(ctx context.Context, in *DeleteRolesForUserReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) GetApiList(ctx context.Context, in *GetApiListReq, opts ...http.CallOption) (*GetApiListPageRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetApiListAll(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetApiListAllRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetMenuAll(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetMenuTreeRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetMenuTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetMenuTreeRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetPolicies(ctx context.Context, in *RoleNameReq, opts ...http.CallOption) (*GetPoliciesRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetRoleAll(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetRoleAllRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetRoleMenu(ctx context.Context, in *RoleNameReq, opts ...http.CallOption) (*GetMenuTreeRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetRoleMenuBtn(ctx context.Context, in *GetRoleMenuBtnReq, opts ...http.CallOption) (*GetRoleMenuBtnRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetRoleMenuTree(ctx context.Context, in *RoleNameReq, opts ...http.CallOption) (*GetMenuTreeRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetRolesForUser(ctx context.Context, in *GetRolesForUserReq, opts ...http.CallOption) (*GetRolesForUserRes, error) + func (c *AuthorizationServiceHTTPClientImpl) GetUsersForRole(ctx context.Context, in *RoleNameReq, opts ...http.CallOption) (*GetUsersForRoleRes, error) + func (c *AuthorizationServiceHTTPClientImpl) SaveRoleMenu(ctx context.Context, in *SaveRoleMenuReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) SaveRoleMenuBtn(ctx context.Context, in *SaveRoleMenuBtnReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) SetRolesForUser(ctx context.Context, in *SetRolesForUserReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) UpdateApi(ctx context.Context, in *UpdateApiReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) UpdateMenu(ctx context.Context, in *UpdateMenuReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) UpdatePolicies(ctx context.Context, in *UpdatePoliciesReq, opts ...http.CallOption) (*CheckResponse, error) + func (c *AuthorizationServiceHTTPClientImpl) UpdateRole(ctx context.Context, in *UpdateRoleReq, opts ...http.CallOption) (*CheckResponse, error) + type AuthorizationServiceHTTPServer interface + CheckAuthorization func(context.Context, *CheckAuthorizationReq) (*CheckResponse, error) + CreateApi func(context.Context, *CreateApiReq) (*Api, error) + CreateMenu func(context.Context, *CreateMenuReq) (*Menu, error) + CreateRole func(context.Context, *CreateRoleReq) (*Role, error) + DeleteApi func(context.Context, *DeleteApiReq) (*CheckResponse, error) + DeleteMenu func(context.Context, *IdReq) (*CheckResponse, error) + DeleteRole func(context.Context, *DeleteRoleReq) (*CheckResponse, error) + DeleteRoleForUser func(context.Context, *DeleteRoleForUserReq) (*CheckResponse, error) + DeleteRolesForUser func(context.Context, *DeleteRolesForUserReq) (*CheckResponse, error) + GetApiList func(context.Context, *GetApiListReq) (*GetApiListPageRes, error) + GetApiListAll func(context.Context, *emptypb.Empty) (*GetApiListAllRes, error) + GetMenuAll func(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + GetMenuTree func(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + GetPolicies func(context.Context, *RoleNameReq) (*GetPoliciesRes, error) + GetRoleAll func(context.Context, *emptypb.Empty) (*GetRoleAllRes, error) + GetRoleMenu func(context.Context, *RoleNameReq) (*GetMenuTreeRes, error) + GetRoleMenuBtn func(context.Context, *GetRoleMenuBtnReq) (*GetRoleMenuBtnRes, error) + GetRoleMenuTree func(context.Context, *RoleNameReq) (*GetMenuTreeRes, error) + GetRolesForUser func(context.Context, *GetRolesForUserReq) (*GetRolesForUserRes, error) + GetUsersForRole func(context.Context, *RoleNameReq) (*GetUsersForRoleRes, error) + SaveRoleMenu func(context.Context, *SaveRoleMenuReq) (*CheckResponse, error) + SaveRoleMenuBtn func(context.Context, *SaveRoleMenuBtnReq) (*CheckResponse, error) + SetRolesForUser func(context.Context, *SetRolesForUserReq) (*CheckResponse, error) + UpdateApi func(context.Context, *UpdateApiReq) (*CheckResponse, error) + UpdateMenu func(context.Context, *UpdateMenuReq) (*CheckResponse, error) + UpdatePolicies func(context.Context, *UpdatePoliciesReq) (*CheckResponse, error) + UpdateRole func(context.Context, *UpdateRoleReq) (*CheckResponse, error) + type AuthorizationServiceServer interface + CheckAuthorization func(context.Context, *CheckAuthorizationReq) (*CheckResponse, error) + CreateApi func(context.Context, *CreateApiReq) (*Api, error) + CreateMenu func(context.Context, *CreateMenuReq) (*Menu, error) + CreateRole func(context.Context, *CreateRoleReq) (*Role, error) + DeleteApi func(context.Context, *DeleteApiReq) (*CheckResponse, error) + DeleteMenu func(context.Context, *IdReq) (*CheckResponse, error) + DeleteRole func(context.Context, *DeleteRoleReq) (*CheckResponse, error) + DeleteRoleForUser func(context.Context, *DeleteRoleForUserReq) (*CheckResponse, error) + DeleteRolesForUser func(context.Context, *DeleteRolesForUserReq) (*CheckResponse, error) + GetApiList func(context.Context, *GetApiListReq) (*GetApiListPageRes, error) + GetApiListAll func(context.Context, *emptypb.Empty) (*GetApiListAllRes, error) + GetMenuAll func(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + GetMenuTree func(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + GetPolicies func(context.Context, *RoleNameReq) (*GetPoliciesRes, error) + GetRoleAll func(context.Context, *emptypb.Empty) (*GetRoleAllRes, error) + GetRoleMenu func(context.Context, *RoleNameReq) (*GetMenuTreeRes, error) + GetRoleMenuBtn func(context.Context, *GetRoleMenuBtnReq) (*GetRoleMenuBtnRes, error) + GetRoleMenuTree func(context.Context, *RoleNameReq) (*GetMenuTreeRes, error) + GetRolesForUser func(context.Context, *GetRolesForUserReq) (*GetRolesForUserRes, error) + GetUsersForRole func(context.Context, *RoleNameReq) (*GetUsersForRoleRes, error) + SaveRoleMenu func(context.Context, *SaveRoleMenuReq) (*CheckResponse, error) + SaveRoleMenuBtn func(context.Context, *SaveRoleMenuBtnReq) (*CheckResponse, error) + SetRolesForUser func(context.Context, *SetRolesForUserReq) (*CheckResponse, error) + UpdateApi func(context.Context, *UpdateApiReq) (*CheckResponse, error) + UpdateMenu func(context.Context, *UpdateMenuReq) (*CheckResponse, error) + UpdatePolicies func(context.Context, *UpdatePoliciesReq) (*CheckResponse, error) + UpdateRole func(context.Context, *UpdateRoleReq) (*CheckResponse, error) + type CheckAuthorizationReq struct + Act string + Obj string + Sub string + func (*CheckAuthorizationReq) Descriptor() ([]byte, []int) + func (*CheckAuthorizationReq) ProtoMessage() + func (m *CheckAuthorizationReq) Validate() error + func (m *CheckAuthorizationReq) ValidateAll() error + func (x *CheckAuthorizationReq) GetAct() string + func (x *CheckAuthorizationReq) GetObj() string + func (x *CheckAuthorizationReq) GetSub() string + func (x *CheckAuthorizationReq) ProtoReflect() protoreflect.Message + func (x *CheckAuthorizationReq) Reset() + func (x *CheckAuthorizationReq) String() string + type CheckAuthorizationReqMultiError []error + func (m CheckAuthorizationReqMultiError) AllErrors() []error + func (m CheckAuthorizationReqMultiError) Error() string + type CheckAuthorizationReqValidationError struct + func (e CheckAuthorizationReqValidationError) Cause() error + func (e CheckAuthorizationReqValidationError) Error() string + func (e CheckAuthorizationReqValidationError) ErrorName() string + func (e CheckAuthorizationReqValidationError) Field() string + func (e CheckAuthorizationReqValidationError) Key() bool + func (e CheckAuthorizationReqValidationError) Reason() string + type CheckResponse struct + Success bool + func (*CheckResponse) Descriptor() ([]byte, []int) + func (*CheckResponse) ProtoMessage() + func (m *CheckResponse) Validate() error + func (m *CheckResponse) ValidateAll() error + func (x *CheckResponse) GetSuccess() bool + func (x *CheckResponse) ProtoReflect() protoreflect.Message + func (x *CheckResponse) Reset() + func (x *CheckResponse) String() string + type CheckResponseMultiError []error + func (m CheckResponseMultiError) AllErrors() []error + func (m CheckResponseMultiError) Error() string + type CheckResponseValidationError struct + func (e CheckResponseValidationError) Cause() error + func (e CheckResponseValidationError) Error() string + func (e CheckResponseValidationError) ErrorName() string + func (e CheckResponseValidationError) Field() string + func (e CheckResponseValidationError) Key() bool + func (e CheckResponseValidationError) Reason() string + type CreateApiReq struct + Group string + Method string + Name string + Path string + func (*CreateApiReq) Descriptor() ([]byte, []int) + func (*CreateApiReq) ProtoMessage() + func (m *CreateApiReq) Validate() error + func (m *CreateApiReq) ValidateAll() error + func (x *CreateApiReq) GetGroup() string + func (x *CreateApiReq) GetMethod() string + func (x *CreateApiReq) GetName() string + func (x *CreateApiReq) GetPath() string + func (x *CreateApiReq) ProtoReflect() protoreflect.Message + func (x *CreateApiReq) Reset() + func (x *CreateApiReq) String() string + type CreateApiReqMultiError []error + func (m CreateApiReqMultiError) AllErrors() []error + func (m CreateApiReqMultiError) Error() string + type CreateApiReqValidationError struct + func (e CreateApiReqValidationError) Cause() error + func (e CreateApiReqValidationError) Error() string + func (e CreateApiReqValidationError) ErrorName() string + func (e CreateApiReqValidationError) Field() string + func (e CreateApiReqValidationError) Key() bool + func (e CreateApiReqValidationError) Reason() string + type CreateMenuReq struct + Component string + Hidden bool + Icon string + MenuBtns []*MenuBtn + Name string + ParentId int64 + ParentIds string + Path string + Sort int64 + Title string + func (*CreateMenuReq) Descriptor() ([]byte, []int) + func (*CreateMenuReq) ProtoMessage() + func (m *CreateMenuReq) Validate() error + func (m *CreateMenuReq) ValidateAll() error + func (x *CreateMenuReq) GetComponent() string + func (x *CreateMenuReq) GetHidden() bool + func (x *CreateMenuReq) GetIcon() string + func (x *CreateMenuReq) GetMenuBtns() []*MenuBtn + func (x *CreateMenuReq) GetName() string + func (x *CreateMenuReq) GetParentId() int64 + func (x *CreateMenuReq) GetParentIds() string + func (x *CreateMenuReq) GetPath() string + func (x *CreateMenuReq) GetSort() int64 + func (x *CreateMenuReq) GetTitle() string + func (x *CreateMenuReq) ProtoReflect() protoreflect.Message + func (x *CreateMenuReq) Reset() + func (x *CreateMenuReq) String() string + type CreateMenuReqMultiError []error + func (m CreateMenuReqMultiError) AllErrors() []error + func (m CreateMenuReqMultiError) Error() string + type CreateMenuReqValidationError struct + func (e CreateMenuReqValidationError) Cause() error + func (e CreateMenuReqValidationError) Error() string + func (e CreateMenuReqValidationError) ErrorName() string + func (e CreateMenuReqValidationError) Field() string + func (e CreateMenuReqValidationError) Key() bool + func (e CreateMenuReqValidationError) Reason() string + type CreateRoleReq struct + Name string + func (*CreateRoleReq) Descriptor() ([]byte, []int) + func (*CreateRoleReq) ProtoMessage() + func (m *CreateRoleReq) Validate() error + func (m *CreateRoleReq) ValidateAll() error + func (x *CreateRoleReq) GetName() string + func (x *CreateRoleReq) ProtoReflect() protoreflect.Message + func (x *CreateRoleReq) Reset() + func (x *CreateRoleReq) String() string + type CreateRoleReqMultiError []error + func (m CreateRoleReqMultiError) AllErrors() []error + func (m CreateRoleReqMultiError) Error() string + type CreateRoleReqValidationError struct + func (e CreateRoleReqValidationError) Cause() error + func (e CreateRoleReqValidationError) Error() string + func (e CreateRoleReqValidationError) ErrorName() string + func (e CreateRoleReqValidationError) Field() string + func (e CreateRoleReqValidationError) Key() bool + func (e CreateRoleReqValidationError) Reason() string + type DeleteApiReq struct + Id int64 + func (*DeleteApiReq) Descriptor() ([]byte, []int) + func (*DeleteApiReq) ProtoMessage() + func (m *DeleteApiReq) Validate() error + func (m *DeleteApiReq) ValidateAll() error + func (x *DeleteApiReq) GetId() int64 + func (x *DeleteApiReq) ProtoReflect() protoreflect.Message + func (x *DeleteApiReq) Reset() + func (x *DeleteApiReq) String() string + type DeleteApiReqMultiError []error + func (m DeleteApiReqMultiError) AllErrors() []error + func (m DeleteApiReqMultiError) Error() string + type DeleteApiReqValidationError struct + func (e DeleteApiReqValidationError) Cause() error + func (e DeleteApiReqValidationError) Error() string + func (e DeleteApiReqValidationError) ErrorName() string + func (e DeleteApiReqValidationError) Field() string + func (e DeleteApiReqValidationError) Key() bool + func (e DeleteApiReqValidationError) Reason() string + type DeleteRoleForUserReq struct + Role string + Username string + func (*DeleteRoleForUserReq) Descriptor() ([]byte, []int) + func (*DeleteRoleForUserReq) ProtoMessage() + func (m *DeleteRoleForUserReq) Validate() error + func (m *DeleteRoleForUserReq) ValidateAll() error + func (x *DeleteRoleForUserReq) GetRole() string + func (x *DeleteRoleForUserReq) GetUsername() string + func (x *DeleteRoleForUserReq) ProtoReflect() protoreflect.Message + func (x *DeleteRoleForUserReq) Reset() + func (x *DeleteRoleForUserReq) String() string + type DeleteRoleForUserReqMultiError []error + func (m DeleteRoleForUserReqMultiError) AllErrors() []error + func (m DeleteRoleForUserReqMultiError) Error() string + type DeleteRoleForUserReqValidationError struct + func (e DeleteRoleForUserReqValidationError) Cause() error + func (e DeleteRoleForUserReqValidationError) Error() string + func (e DeleteRoleForUserReqValidationError) ErrorName() string + func (e DeleteRoleForUserReqValidationError) Field() string + func (e DeleteRoleForUserReqValidationError) Key() bool + func (e DeleteRoleForUserReqValidationError) Reason() string + type DeleteRoleReq struct + Id int64 + func (*DeleteRoleReq) Descriptor() ([]byte, []int) + func (*DeleteRoleReq) ProtoMessage() + func (m *DeleteRoleReq) Validate() error + func (m *DeleteRoleReq) ValidateAll() error + func (x *DeleteRoleReq) GetId() int64 + func (x *DeleteRoleReq) ProtoReflect() protoreflect.Message + func (x *DeleteRoleReq) Reset() + func (x *DeleteRoleReq) String() string + type DeleteRoleReqMultiError []error + func (m DeleteRoleReqMultiError) AllErrors() []error + func (m DeleteRoleReqMultiError) Error() string + type DeleteRoleReqValidationError struct + func (e DeleteRoleReqValidationError) Cause() error + func (e DeleteRoleReqValidationError) Error() string + func (e DeleteRoleReqValidationError) ErrorName() string + func (e DeleteRoleReqValidationError) Field() string + func (e DeleteRoleReqValidationError) Key() bool + func (e DeleteRoleReqValidationError) Reason() string + type DeleteRolesForUserReq struct + Username string + func (*DeleteRolesForUserReq) Descriptor() ([]byte, []int) + func (*DeleteRolesForUserReq) ProtoMessage() + func (m *DeleteRolesForUserReq) Validate() error + func (m *DeleteRolesForUserReq) ValidateAll() error + func (x *DeleteRolesForUserReq) GetUsername() string + func (x *DeleteRolesForUserReq) ProtoReflect() protoreflect.Message + func (x *DeleteRolesForUserReq) Reset() + func (x *DeleteRolesForUserReq) String() string + type DeleteRolesForUserReqMultiError []error + func (m DeleteRolesForUserReqMultiError) AllErrors() []error + func (m DeleteRolesForUserReqMultiError) Error() string + type DeleteRolesForUserReqValidationError struct + func (e DeleteRolesForUserReqValidationError) Cause() error + func (e DeleteRolesForUserReqValidationError) Error() string + func (e DeleteRolesForUserReqValidationError) ErrorName() string + func (e DeleteRolesForUserReqValidationError) Field() string + func (e DeleteRolesForUserReqValidationError) Key() bool + func (e DeleteRolesForUserReqValidationError) Reason() string + type ErrorReason int32 + const ErrorReason_BAD_REQUEST + const ErrorReason_RECORD_ALREADY_EXISTS + const ErrorReason_RECORD_NOT_FOUND + const ErrorReason_SYSTEM_ERROR + func (ErrorReason) Descriptor() protoreflect.EnumDescriptor + func (ErrorReason) EnumDescriptor() ([]byte, []int) + func (ErrorReason) Type() protoreflect.EnumType + func (x ErrorReason) Enum() *ErrorReason + func (x ErrorReason) Number() protoreflect.EnumNumber + func (x ErrorReason) String() string + type GetApiListAllRes struct + List []*Api + func (*GetApiListAllRes) Descriptor() ([]byte, []int) + func (*GetApiListAllRes) ProtoMessage() + func (m *GetApiListAllRes) Validate() error + func (m *GetApiListAllRes) ValidateAll() error + func (x *GetApiListAllRes) GetList() []*Api + func (x *GetApiListAllRes) ProtoReflect() protoreflect.Message + func (x *GetApiListAllRes) Reset() + func (x *GetApiListAllRes) String() string + type GetApiListAllResMultiError []error + func (m GetApiListAllResMultiError) AllErrors() []error + func (m GetApiListAllResMultiError) Error() string + type GetApiListAllResValidationError struct + func (e GetApiListAllResValidationError) Cause() error + func (e GetApiListAllResValidationError) Error() string + func (e GetApiListAllResValidationError) ErrorName() string + func (e GetApiListAllResValidationError) Field() string + func (e GetApiListAllResValidationError) Key() bool + func (e GetApiListAllResValidationError) Reason() string + type GetApiListPageRes struct + List []*Api + Total int64 + func (*GetApiListPageRes) Descriptor() ([]byte, []int) + func (*GetApiListPageRes) ProtoMessage() + func (m *GetApiListPageRes) Validate() error + func (m *GetApiListPageRes) ValidateAll() error + func (x *GetApiListPageRes) GetList() []*Api + func (x *GetApiListPageRes) GetTotal() int64 + func (x *GetApiListPageRes) ProtoReflect() protoreflect.Message + func (x *GetApiListPageRes) Reset() + func (x *GetApiListPageRes) String() string + type GetApiListPageResMultiError []error + func (m GetApiListPageResMultiError) AllErrors() []error + func (m GetApiListPageResMultiError) Error() string + type GetApiListPageResValidationError struct + func (e GetApiListPageResValidationError) Cause() error + func (e GetApiListPageResValidationError) Error() string + func (e GetApiListPageResValidationError) ErrorName() string + func (e GetApiListPageResValidationError) Field() string + func (e GetApiListPageResValidationError) Key() bool + func (e GetApiListPageResValidationError) Reason() string + type GetApiListReq struct + Group string + Method string + Name string + Page int64 + PageSize int64 + Path string + func (*GetApiListReq) Descriptor() ([]byte, []int) + func (*GetApiListReq) ProtoMessage() + func (m *GetApiListReq) Validate() error + func (m *GetApiListReq) ValidateAll() error + func (x *GetApiListReq) GetGroup() string + func (x *GetApiListReq) GetMethod() string + func (x *GetApiListReq) GetName() string + func (x *GetApiListReq) GetPage() int64 + func (x *GetApiListReq) GetPageSize() int64 + func (x *GetApiListReq) GetPath() string + func (x *GetApiListReq) ProtoReflect() protoreflect.Message + func (x *GetApiListReq) Reset() + func (x *GetApiListReq) String() string + type GetApiListReqMultiError []error + func (m GetApiListReqMultiError) AllErrors() []error + func (m GetApiListReqMultiError) Error() string + type GetApiListReqValidationError struct + func (e GetApiListReqValidationError) Cause() error + func (e GetApiListReqValidationError) Error() string + func (e GetApiListReqValidationError) ErrorName() string + func (e GetApiListReqValidationError) Field() string + func (e GetApiListReqValidationError) Key() bool + func (e GetApiListReqValidationError) Reason() string + type GetMenuTreeRes struct + List []*Menu + func (*GetMenuTreeRes) Descriptor() ([]byte, []int) + func (*GetMenuTreeRes) ProtoMessage() + func (m *GetMenuTreeRes) Validate() error + func (m *GetMenuTreeRes) ValidateAll() error + func (x *GetMenuTreeRes) GetList() []*Menu + func (x *GetMenuTreeRes) ProtoReflect() protoreflect.Message + func (x *GetMenuTreeRes) Reset() + func (x *GetMenuTreeRes) String() string + type GetMenuTreeResMultiError []error + func (m GetMenuTreeResMultiError) AllErrors() []error + func (m GetMenuTreeResMultiError) Error() string + type GetMenuTreeResValidationError struct + func (e GetMenuTreeResValidationError) Cause() error + func (e GetMenuTreeResValidationError) Error() string + func (e GetMenuTreeResValidationError) ErrorName() string + func (e GetMenuTreeResValidationError) Field() string + func (e GetMenuTreeResValidationError) Key() bool + func (e GetMenuTreeResValidationError) Reason() string + type GetPoliciesRes struct + PolicyRules []*PolicyRules + func (*GetPoliciesRes) Descriptor() ([]byte, []int) + func (*GetPoliciesRes) ProtoMessage() + func (m *GetPoliciesRes) Validate() error + func (m *GetPoliciesRes) ValidateAll() error + func (x *GetPoliciesRes) GetPolicyRules() []*PolicyRules + func (x *GetPoliciesRes) ProtoReflect() protoreflect.Message + func (x *GetPoliciesRes) Reset() + func (x *GetPoliciesRes) String() string + type GetPoliciesResMultiError []error + func (m GetPoliciesResMultiError) AllErrors() []error + func (m GetPoliciesResMultiError) Error() string + type GetPoliciesResValidationError struct + func (e GetPoliciesResValidationError) Cause() error + func (e GetPoliciesResValidationError) Error() string + func (e GetPoliciesResValidationError) ErrorName() string + func (e GetPoliciesResValidationError) Field() string + func (e GetPoliciesResValidationError) Key() bool + func (e GetPoliciesResValidationError) Reason() string + type GetRoleAllRes struct + List []*Role + func (*GetRoleAllRes) Descriptor() ([]byte, []int) + func (*GetRoleAllRes) ProtoMessage() + func (m *GetRoleAllRes) Validate() error + func (m *GetRoleAllRes) ValidateAll() error + func (x *GetRoleAllRes) GetList() []*Role + func (x *GetRoleAllRes) ProtoReflect() protoreflect.Message + func (x *GetRoleAllRes) Reset() + func (x *GetRoleAllRes) String() string + type GetRoleAllResMultiError []error + func (m GetRoleAllResMultiError) AllErrors() []error + func (m GetRoleAllResMultiError) Error() string + type GetRoleAllResValidationError struct + func (e GetRoleAllResValidationError) Cause() error + func (e GetRoleAllResValidationError) Error() string + func (e GetRoleAllResValidationError) ErrorName() string + func (e GetRoleAllResValidationError) Field() string + func (e GetRoleAllResValidationError) Key() bool + func (e GetRoleAllResValidationError) Reason() string + type GetRoleListPageRes struct + List []*Role + Total int64 + func (*GetRoleListPageRes) Descriptor() ([]byte, []int) + func (*GetRoleListPageRes) ProtoMessage() + func (m *GetRoleListPageRes) Validate() error + func (m *GetRoleListPageRes) ValidateAll() error + func (x *GetRoleListPageRes) GetList() []*Role + func (x *GetRoleListPageRes) GetTotal() int64 + func (x *GetRoleListPageRes) ProtoReflect() protoreflect.Message + func (x *GetRoleListPageRes) Reset() + func (x *GetRoleListPageRes) String() string + type GetRoleListPageResMultiError []error + func (m GetRoleListPageResMultiError) AllErrors() []error + func (m GetRoleListPageResMultiError) Error() string + type GetRoleListPageResValidationError struct + func (e GetRoleListPageResValidationError) Cause() error + func (e GetRoleListPageResValidationError) Error() string + func (e GetRoleListPageResValidationError) ErrorName() string + func (e GetRoleListPageResValidationError) Field() string + func (e GetRoleListPageResValidationError) Key() bool + func (e GetRoleListPageResValidationError) Reason() string + type GetRoleListReq struct + Name string + Page int64 + PageSize int64 + func (*GetRoleListReq) Descriptor() ([]byte, []int) + func (*GetRoleListReq) ProtoMessage() + func (m *GetRoleListReq) Validate() error + func (m *GetRoleListReq) ValidateAll() error + func (x *GetRoleListReq) GetName() string + func (x *GetRoleListReq) GetPage() int64 + func (x *GetRoleListReq) GetPageSize() int64 + func (x *GetRoleListReq) ProtoReflect() protoreflect.Message + func (x *GetRoleListReq) Reset() + func (x *GetRoleListReq) String() string + type GetRoleListReqMultiError []error + func (m GetRoleListReqMultiError) AllErrors() []error + func (m GetRoleListReqMultiError) Error() string + type GetRoleListReqValidationError struct + func (e GetRoleListReqValidationError) Cause() error + func (e GetRoleListReqValidationError) Error() string + func (e GetRoleListReqValidationError) ErrorName() string + func (e GetRoleListReqValidationError) Field() string + func (e GetRoleListReqValidationError) Key() bool + func (e GetRoleListReqValidationError) Reason() string + type GetRoleMenuBtnReq struct + MenuId int64 + RoleId int64 + RoleName string + func (*GetRoleMenuBtnReq) Descriptor() ([]byte, []int) + func (*GetRoleMenuBtnReq) ProtoMessage() + func (m *GetRoleMenuBtnReq) Validate() error + func (m *GetRoleMenuBtnReq) ValidateAll() error + func (x *GetRoleMenuBtnReq) GetMenuId() int64 + func (x *GetRoleMenuBtnReq) GetRoleId() int64 + func (x *GetRoleMenuBtnReq) GetRoleName() string + func (x *GetRoleMenuBtnReq) ProtoReflect() protoreflect.Message + func (x *GetRoleMenuBtnReq) Reset() + func (x *GetRoleMenuBtnReq) String() string + type GetRoleMenuBtnReqMultiError []error + func (m GetRoleMenuBtnReqMultiError) AllErrors() []error + func (m GetRoleMenuBtnReqMultiError) Error() string + type GetRoleMenuBtnReqValidationError struct + func (e GetRoleMenuBtnReqValidationError) Cause() error + func (e GetRoleMenuBtnReqValidationError) Error() string + func (e GetRoleMenuBtnReqValidationError) ErrorName() string + func (e GetRoleMenuBtnReqValidationError) Field() string + func (e GetRoleMenuBtnReqValidationError) Key() bool + func (e GetRoleMenuBtnReqValidationError) Reason() string + type GetRoleMenuBtnRes struct + List []*MenuBtn + func (*GetRoleMenuBtnRes) Descriptor() ([]byte, []int) + func (*GetRoleMenuBtnRes) ProtoMessage() + func (m *GetRoleMenuBtnRes) Validate() error + func (m *GetRoleMenuBtnRes) ValidateAll() error + func (x *GetRoleMenuBtnRes) GetList() []*MenuBtn + func (x *GetRoleMenuBtnRes) ProtoReflect() protoreflect.Message + func (x *GetRoleMenuBtnRes) Reset() + func (x *GetRoleMenuBtnRes) String() string + type GetRoleMenuBtnResMultiError []error + func (m GetRoleMenuBtnResMultiError) AllErrors() []error + func (m GetRoleMenuBtnResMultiError) Error() string + type GetRoleMenuBtnResValidationError struct + func (e GetRoleMenuBtnResValidationError) Cause() error + func (e GetRoleMenuBtnResValidationError) Error() string + func (e GetRoleMenuBtnResValidationError) ErrorName() string + func (e GetRoleMenuBtnResValidationError) Field() string + func (e GetRoleMenuBtnResValidationError) Key() bool + func (e GetRoleMenuBtnResValidationError) Reason() string + type GetRolesForUserReq struct + Username string + func (*GetRolesForUserReq) Descriptor() ([]byte, []int) + func (*GetRolesForUserReq) ProtoMessage() + func (m *GetRolesForUserReq) Validate() error + func (m *GetRolesForUserReq) ValidateAll() error + func (x *GetRolesForUserReq) GetUsername() string + func (x *GetRolesForUserReq) ProtoReflect() protoreflect.Message + func (x *GetRolesForUserReq) Reset() + func (x *GetRolesForUserReq) String() string + type GetRolesForUserReqMultiError []error + func (m GetRolesForUserReqMultiError) AllErrors() []error + func (m GetRolesForUserReqMultiError) Error() string + type GetRolesForUserReqValidationError struct + func (e GetRolesForUserReqValidationError) Cause() error + func (e GetRolesForUserReqValidationError) Error() string + func (e GetRolesForUserReqValidationError) ErrorName() string + func (e GetRolesForUserReqValidationError) Field() string + func (e GetRolesForUserReqValidationError) Key() bool + func (e GetRolesForUserReqValidationError) Reason() string + type GetRolesForUserRes struct + Roles []string + func (*GetRolesForUserRes) Descriptor() ([]byte, []int) + func (*GetRolesForUserRes) ProtoMessage() + func (m *GetRolesForUserRes) Validate() error + func (m *GetRolesForUserRes) ValidateAll() error + func (x *GetRolesForUserRes) GetRoles() []string + func (x *GetRolesForUserRes) ProtoReflect() protoreflect.Message + func (x *GetRolesForUserRes) Reset() + func (x *GetRolesForUserRes) String() string + type GetRolesForUserResMultiError []error + func (m GetRolesForUserResMultiError) AllErrors() []error + func (m GetRolesForUserResMultiError) Error() string + type GetRolesForUserResValidationError struct + func (e GetRolesForUserResValidationError) Cause() error + func (e GetRolesForUserResValidationError) Error() string + func (e GetRolesForUserResValidationError) ErrorName() string + func (e GetRolesForUserResValidationError) Field() string + func (e GetRolesForUserResValidationError) Key() bool + func (e GetRolesForUserResValidationError) Reason() string + type GetUsersForRoleRes struct + Users []string + func (*GetUsersForRoleRes) Descriptor() ([]byte, []int) + func (*GetUsersForRoleRes) ProtoMessage() + func (m *GetUsersForRoleRes) Validate() error + func (m *GetUsersForRoleRes) ValidateAll() error + func (x *GetUsersForRoleRes) GetUsers() []string + func (x *GetUsersForRoleRes) ProtoReflect() protoreflect.Message + func (x *GetUsersForRoleRes) Reset() + func (x *GetUsersForRoleRes) String() string + type GetUsersForRoleResMultiError []error + func (m GetUsersForRoleResMultiError) AllErrors() []error + func (m GetUsersForRoleResMultiError) Error() string + type GetUsersForRoleResValidationError struct + func (e GetUsersForRoleResValidationError) Cause() error + func (e GetUsersForRoleResValidationError) Error() string + func (e GetUsersForRoleResValidationError) ErrorName() string + func (e GetUsersForRoleResValidationError) Field() string + func (e GetUsersForRoleResValidationError) Key() bool + func (e GetUsersForRoleResValidationError) Reason() string + type IdReq struct + Id int64 + func (*IdReq) Descriptor() ([]byte, []int) + func (*IdReq) ProtoMessage() + func (m *IdReq) Validate() error + func (m *IdReq) ValidateAll() error + func (x *IdReq) GetId() int64 + func (x *IdReq) ProtoReflect() protoreflect.Message + func (x *IdReq) Reset() + func (x *IdReq) String() string + type IdReqMultiError []error + func (m IdReqMultiError) AllErrors() []error + func (m IdReqMultiError) Error() string + type IdReqValidationError struct + func (e IdReqValidationError) Cause() error + func (e IdReqValidationError) Error() string + func (e IdReqValidationError) ErrorName() string + func (e IdReqValidationError) Field() string + func (e IdReqValidationError) Key() bool + func (e IdReqValidationError) Reason() string + type Menu struct + Children []*Menu + Component string + CreatedAt string + Hidden bool + Icon string + Id int64 + MenuBtns []*MenuBtn + Name string + ParentId int64 + ParentIds string + Path string + Sort int64 + Title string + UpdatedAt string + func (*Menu) Descriptor() ([]byte, []int) + func (*Menu) ProtoMessage() + func (m *Menu) Validate() error + func (m *Menu) ValidateAll() error + func (x *Menu) GetChildren() []*Menu + func (x *Menu) GetComponent() string + func (x *Menu) GetCreatedAt() string + func (x *Menu) GetHidden() bool + func (x *Menu) GetIcon() string + func (x *Menu) GetId() int64 + func (x *Menu) GetMenuBtns() []*MenuBtn + func (x *Menu) GetName() string + func (x *Menu) GetParentId() int64 + func (x *Menu) GetParentIds() string + func (x *Menu) GetPath() string + func (x *Menu) GetSort() int64 + func (x *Menu) GetTitle() string + func (x *Menu) GetUpdatedAt() string + func (x *Menu) ProtoReflect() protoreflect.Message + func (x *Menu) Reset() + func (x *Menu) String() string + type MenuBtn struct + CreatedAt string + Description string + Id int64 + Identifier string + MenuId int64 + Name string + UpdatedAt string + func (*MenuBtn) Descriptor() ([]byte, []int) + func (*MenuBtn) ProtoMessage() + func (m *MenuBtn) Validate() error + func (m *MenuBtn) ValidateAll() error + func (x *MenuBtn) GetCreatedAt() string + func (x *MenuBtn) GetDescription() string + func (x *MenuBtn) GetId() int64 + func (x *MenuBtn) GetIdentifier() string + func (x *MenuBtn) GetMenuId() int64 + func (x *MenuBtn) GetName() string + func (x *MenuBtn) GetUpdatedAt() string + func (x *MenuBtn) ProtoReflect() protoreflect.Message + func (x *MenuBtn) Reset() + func (x *MenuBtn) String() string + type MenuBtnMultiError []error + func (m MenuBtnMultiError) AllErrors() []error + func (m MenuBtnMultiError) Error() string + type MenuBtnValidationError struct + func (e MenuBtnValidationError) Cause() error + func (e MenuBtnValidationError) Error() string + func (e MenuBtnValidationError) ErrorName() string + func (e MenuBtnValidationError) Field() string + func (e MenuBtnValidationError) Key() bool + func (e MenuBtnValidationError) Reason() string + type MenuMultiError []error + func (m MenuMultiError) AllErrors() []error + func (m MenuMultiError) Error() string + type MenuValidationError struct + func (e MenuValidationError) Cause() error + func (e MenuValidationError) Error() string + func (e MenuValidationError) ErrorName() string + func (e MenuValidationError) Field() string + func (e MenuValidationError) Key() bool + func (e MenuValidationError) Reason() string + type PolicyRules struct + Method string + Path string + func (*PolicyRules) Descriptor() ([]byte, []int) + func (*PolicyRules) ProtoMessage() + func (m *PolicyRules) Validate() error + func (m *PolicyRules) ValidateAll() error + func (x *PolicyRules) GetMethod() string + func (x *PolicyRules) GetPath() string + func (x *PolicyRules) ProtoReflect() protoreflect.Message + func (x *PolicyRules) Reset() + func (x *PolicyRules) String() string + type PolicyRulesMultiError []error + func (m PolicyRulesMultiError) AllErrors() []error + func (m PolicyRulesMultiError) Error() string + type PolicyRulesValidationError struct + func (e PolicyRulesValidationError) Cause() error + func (e PolicyRulesValidationError) Error() string + func (e PolicyRulesValidationError) ErrorName() string + func (e PolicyRulesValidationError) Field() string + func (e PolicyRulesValidationError) Key() bool + func (e PolicyRulesValidationError) Reason() string + type Role struct + CreatedAt string + Id int64 + Name string + UpdatedAt string + func (*Role) Descriptor() ([]byte, []int) + func (*Role) ProtoMessage() + func (m *Role) Validate() error + func (m *Role) ValidateAll() error + func (x *Role) GetCreatedAt() string + func (x *Role) GetId() int64 + func (x *Role) GetName() string + func (x *Role) GetUpdatedAt() string + func (x *Role) ProtoReflect() protoreflect.Message + func (x *Role) Reset() + func (x *Role) String() string + type RoleMultiError []error + func (m RoleMultiError) AllErrors() []error + func (m RoleMultiError) Error() string + type RoleNameReq struct + Role string + func (*RoleNameReq) Descriptor() ([]byte, []int) + func (*RoleNameReq) ProtoMessage() + func (m *RoleNameReq) Validate() error + func (m *RoleNameReq) ValidateAll() error + func (x *RoleNameReq) GetRole() string + func (x *RoleNameReq) ProtoReflect() protoreflect.Message + func (x *RoleNameReq) Reset() + func (x *RoleNameReq) String() string + type RoleNameReqMultiError []error + func (m RoleNameReqMultiError) AllErrors() []error + func (m RoleNameReqMultiError) Error() string + type RoleNameReqValidationError struct + func (e RoleNameReqValidationError) Cause() error + func (e RoleNameReqValidationError) Error() string + func (e RoleNameReqValidationError) ErrorName() string + func (e RoleNameReqValidationError) Field() string + func (e RoleNameReqValidationError) Key() bool + func (e RoleNameReqValidationError) Reason() string + type RoleValidationError struct + func (e RoleValidationError) Cause() error + func (e RoleValidationError) Error() string + func (e RoleValidationError) ErrorName() string + func (e RoleValidationError) Field() string + func (e RoleValidationError) Key() bool + func (e RoleValidationError) Reason() string + type SaveRoleMenuBtnReq struct + MenuBtnIds []int64 + MenuId int64 + RoleId int64 + func (*SaveRoleMenuBtnReq) Descriptor() ([]byte, []int) + func (*SaveRoleMenuBtnReq) ProtoMessage() + func (m *SaveRoleMenuBtnReq) Validate() error + func (m *SaveRoleMenuBtnReq) ValidateAll() error + func (x *SaveRoleMenuBtnReq) GetMenuBtnIds() []int64 + func (x *SaveRoleMenuBtnReq) GetMenuId() int64 + func (x *SaveRoleMenuBtnReq) GetRoleId() int64 + func (x *SaveRoleMenuBtnReq) ProtoReflect() protoreflect.Message + func (x *SaveRoleMenuBtnReq) Reset() + func (x *SaveRoleMenuBtnReq) String() string + type SaveRoleMenuBtnReqMultiError []error + func (m SaveRoleMenuBtnReqMultiError) AllErrors() []error + func (m SaveRoleMenuBtnReqMultiError) Error() string + type SaveRoleMenuBtnReqValidationError struct + func (e SaveRoleMenuBtnReqValidationError) Cause() error + func (e SaveRoleMenuBtnReqValidationError) Error() string + func (e SaveRoleMenuBtnReqValidationError) ErrorName() string + func (e SaveRoleMenuBtnReqValidationError) Field() string + func (e SaveRoleMenuBtnReqValidationError) Key() bool + func (e SaveRoleMenuBtnReqValidationError) Reason() string + type SaveRoleMenuReq struct + MenuIds []int64 + RoleId int64 + func (*SaveRoleMenuReq) Descriptor() ([]byte, []int) + func (*SaveRoleMenuReq) ProtoMessage() + func (m *SaveRoleMenuReq) Validate() error + func (m *SaveRoleMenuReq) ValidateAll() error + func (x *SaveRoleMenuReq) GetMenuIds() []int64 + func (x *SaveRoleMenuReq) GetRoleId() int64 + func (x *SaveRoleMenuReq) ProtoReflect() protoreflect.Message + func (x *SaveRoleMenuReq) Reset() + func (x *SaveRoleMenuReq) String() string + type SaveRoleMenuReqMultiError []error + func (m SaveRoleMenuReqMultiError) AllErrors() []error + func (m SaveRoleMenuReqMultiError) Error() string + type SaveRoleMenuReqValidationError struct + func (e SaveRoleMenuReqValidationError) Cause() error + func (e SaveRoleMenuReqValidationError) Error() string + func (e SaveRoleMenuReqValidationError) ErrorName() string + func (e SaveRoleMenuReqValidationError) Field() string + func (e SaveRoleMenuReqValidationError) Key() bool + func (e SaveRoleMenuReqValidationError) Reason() string + type SetRolesForUserReq struct + Roles []string + Username string + func (*SetRolesForUserReq) Descriptor() ([]byte, []int) + func (*SetRolesForUserReq) ProtoMessage() + func (m *SetRolesForUserReq) Validate() error + func (m *SetRolesForUserReq) ValidateAll() error + func (x *SetRolesForUserReq) GetRoles() []string + func (x *SetRolesForUserReq) GetUsername() string + func (x *SetRolesForUserReq) ProtoReflect() protoreflect.Message + func (x *SetRolesForUserReq) Reset() + func (x *SetRolesForUserReq) String() string + type SetRolesForUserReqMultiError []error + func (m SetRolesForUserReqMultiError) AllErrors() []error + func (m SetRolesForUserReqMultiError) Error() string + type SetRolesForUserReqValidationError struct + func (e SetRolesForUserReqValidationError) Cause() error + func (e SetRolesForUserReqValidationError) Error() string + func (e SetRolesForUserReqValidationError) ErrorName() string + func (e SetRolesForUserReqValidationError) Field() string + func (e SetRolesForUserReqValidationError) Key() bool + func (e SetRolesForUserReqValidationError) Reason() string + type UnimplementedAuthorizationServiceServer struct + func (UnimplementedAuthorizationServiceServer) CheckAuthorization(context.Context, *CheckAuthorizationReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) CreateApi(context.Context, *CreateApiReq) (*Api, error) + func (UnimplementedAuthorizationServiceServer) CreateMenu(context.Context, *CreateMenuReq) (*Menu, error) + func (UnimplementedAuthorizationServiceServer) CreateRole(context.Context, *CreateRoleReq) (*Role, error) + func (UnimplementedAuthorizationServiceServer) DeleteApi(context.Context, *DeleteApiReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) DeleteMenu(context.Context, *IdReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) DeleteRole(context.Context, *DeleteRoleReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) DeleteRoleForUser(context.Context, *DeleteRoleForUserReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) DeleteRolesForUser(context.Context, *DeleteRolesForUserReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) GetApiList(context.Context, *GetApiListReq) (*GetApiListPageRes, error) + func (UnimplementedAuthorizationServiceServer) GetApiListAll(context.Context, *emptypb.Empty) (*GetApiListAllRes, error) + func (UnimplementedAuthorizationServiceServer) GetMenuAll(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + func (UnimplementedAuthorizationServiceServer) GetMenuTree(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + func (UnimplementedAuthorizationServiceServer) GetPolicies(context.Context, *RoleNameReq) (*GetPoliciesRes, error) + func (UnimplementedAuthorizationServiceServer) GetRoleAll(context.Context, *emptypb.Empty) (*GetRoleAllRes, error) + func (UnimplementedAuthorizationServiceServer) GetRoleMenu(context.Context, *RoleNameReq) (*GetMenuTreeRes, error) + func (UnimplementedAuthorizationServiceServer) GetRoleMenuBtn(context.Context, *GetRoleMenuBtnReq) (*GetRoleMenuBtnRes, error) + func (UnimplementedAuthorizationServiceServer) GetRoleMenuTree(context.Context, *RoleNameReq) (*GetMenuTreeRes, error) + func (UnimplementedAuthorizationServiceServer) GetRolesForUser(context.Context, *GetRolesForUserReq) (*GetRolesForUserRes, error) + func (UnimplementedAuthorizationServiceServer) GetUsersForRole(context.Context, *RoleNameReq) (*GetUsersForRoleRes, error) + func (UnimplementedAuthorizationServiceServer) SaveRoleMenu(context.Context, *SaveRoleMenuReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) SaveRoleMenuBtn(context.Context, *SaveRoleMenuBtnReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) SetRolesForUser(context.Context, *SetRolesForUserReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) UpdateApi(context.Context, *UpdateApiReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) UpdateMenu(context.Context, *UpdateMenuReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) UpdatePolicies(context.Context, *UpdatePoliciesReq) (*CheckResponse, error) + func (UnimplementedAuthorizationServiceServer) UpdateRole(context.Context, *UpdateRoleReq) (*CheckResponse, error) + type UnsafeAuthorizationServiceServer interface + type UpdateApiReq struct + Group string + Id int64 + Method string + Name string + Path string + func (*UpdateApiReq) Descriptor() ([]byte, []int) + func (*UpdateApiReq) ProtoMessage() + func (m *UpdateApiReq) Validate() error + func (m *UpdateApiReq) ValidateAll() error + func (x *UpdateApiReq) GetGroup() string + func (x *UpdateApiReq) GetId() int64 + func (x *UpdateApiReq) GetMethod() string + func (x *UpdateApiReq) GetName() string + func (x *UpdateApiReq) GetPath() string + func (x *UpdateApiReq) ProtoReflect() protoreflect.Message + func (x *UpdateApiReq) Reset() + func (x *UpdateApiReq) String() string + type UpdateApiReqMultiError []error + func (m UpdateApiReqMultiError) AllErrors() []error + func (m UpdateApiReqMultiError) Error() string + type UpdateApiReqValidationError struct + func (e UpdateApiReqValidationError) Cause() error + func (e UpdateApiReqValidationError) Error() string + func (e UpdateApiReqValidationError) ErrorName() string + func (e UpdateApiReqValidationError) Field() string + func (e UpdateApiReqValidationError) Key() bool + func (e UpdateApiReqValidationError) Reason() string + type UpdateMenuReq struct + Component string + Hidden bool + Icon string + Id int64 + MenuBtns []*MenuBtn + Name string + ParentId int64 + ParentIds string + Path string + Sort int64 + Title string + func (*UpdateMenuReq) Descriptor() ([]byte, []int) + func (*UpdateMenuReq) ProtoMessage() + func (m *UpdateMenuReq) Validate() error + func (m *UpdateMenuReq) ValidateAll() error + func (x *UpdateMenuReq) GetComponent() string + func (x *UpdateMenuReq) GetHidden() bool + func (x *UpdateMenuReq) GetIcon() string + func (x *UpdateMenuReq) GetId() int64 + func (x *UpdateMenuReq) GetMenuBtns() []*MenuBtn + func (x *UpdateMenuReq) GetName() string + func (x *UpdateMenuReq) GetParentId() int64 + func (x *UpdateMenuReq) GetParentIds() string + func (x *UpdateMenuReq) GetPath() string + func (x *UpdateMenuReq) GetSort() int64 + func (x *UpdateMenuReq) GetTitle() string + func (x *UpdateMenuReq) ProtoReflect() protoreflect.Message + func (x *UpdateMenuReq) Reset() + func (x *UpdateMenuReq) String() string + type UpdateMenuReqMultiError []error + func (m UpdateMenuReqMultiError) AllErrors() []error + func (m UpdateMenuReqMultiError) Error() string + type UpdateMenuReqValidationError struct + func (e UpdateMenuReqValidationError) Cause() error + func (e UpdateMenuReqValidationError) Error() string + func (e UpdateMenuReqValidationError) ErrorName() string + func (e UpdateMenuReqValidationError) Field() string + func (e UpdateMenuReqValidationError) Key() bool + func (e UpdateMenuReqValidationError) Reason() string + type UpdatePoliciesReq struct + PolicyRules []*PolicyRules + Role string + func (*UpdatePoliciesReq) Descriptor() ([]byte, []int) + func (*UpdatePoliciesReq) ProtoMessage() + func (m *UpdatePoliciesReq) Validate() error + func (m *UpdatePoliciesReq) ValidateAll() error + func (x *UpdatePoliciesReq) GetPolicyRules() []*PolicyRules + func (x *UpdatePoliciesReq) GetRole() string + func (x *UpdatePoliciesReq) ProtoReflect() protoreflect.Message + func (x *UpdatePoliciesReq) Reset() + func (x *UpdatePoliciesReq) String() string + type UpdatePoliciesReqMultiError []error + func (m UpdatePoliciesReqMultiError) AllErrors() []error + func (m UpdatePoliciesReqMultiError) Error() string + type UpdatePoliciesReqValidationError struct + func (e UpdatePoliciesReqValidationError) Cause() error + func (e UpdatePoliciesReqValidationError) Error() string + func (e UpdatePoliciesReqValidationError) ErrorName() string + func (e UpdatePoliciesReqValidationError) Field() string + func (e UpdatePoliciesReqValidationError) Key() bool + func (e UpdatePoliciesReqValidationError) Reason() string + type UpdateRoleReq struct + Id int64 + Name string + func (*UpdateRoleReq) Descriptor() ([]byte, []int) + func (*UpdateRoleReq) ProtoMessage() + func (m *UpdateRoleReq) Validate() error + func (m *UpdateRoleReq) ValidateAll() error + func (x *UpdateRoleReq) GetId() int64 + func (x *UpdateRoleReq) GetName() string + func (x *UpdateRoleReq) ProtoReflect() protoreflect.Message + func (x *UpdateRoleReq) Reset() + func (x *UpdateRoleReq) String() string + type UpdateRoleReqMultiError []error + func (m UpdateRoleReqMultiError) AllErrors() []error + func (m UpdateRoleReqMultiError) Error() string + type UpdateRoleReqValidationError struct + func (e UpdateRoleReqValidationError) Cause() error + func (e UpdateRoleReqValidationError) Error() string + func (e UpdateRoleReqValidationError) ErrorName() string + func (e UpdateRoleReqValidationError) Field() string + func (e UpdateRoleReqValidationError) Key() bool + func (e UpdateRoleReqValidationError) Reason() string