Versions in this module Expand all Collapse all v0 v0.0.56 Jan 18, 2025 Changes in this version + const Admin_ApproveAdministrator_FullMethodName + const Admin_CreateAdministrator_FullMethodName + const Admin_CreateApi_FullMethodName + const Admin_CreateMenu_FullMethodName + const Admin_CreateRole_FullMethodName + const Admin_DeleteAdministrator_FullMethodName + const Admin_DeleteApi_FullMethodName + const Admin_DeleteMenu_FullMethodName + const Admin_DeleteRoleForUser_FullMethodName + const Admin_DeleteRole_FullMethodName + const Admin_DeleteRolesForUser_FullMethodName + const Admin_ForbidAdministrator_FullMethodName + const Admin_GetAdministratorInfo_FullMethodName + const Admin_GetAdministratorList_FullMethodName + const Admin_GetAdministrator_FullMethodName + const Admin_GetApiAll_FullMethodName + const Admin_GetApiList_FullMethodName + const Admin_GetApiLogList_FullMethodName + const Admin_GetMenuAll_FullMethodName + const Admin_GetMenuTree_FullMethodName + const Admin_GetOssStsToken_FullMethodName + const Admin_GetPolicies_FullMethodName + const Admin_GetRoleAll_FullMethodName + const Admin_GetRoleMenuBtn_FullMethodName + const Admin_GetRoleMenuTree_FullMethodName + const Admin_GetRoleMenu_FullMethodName + const Admin_GetRolesForUser_FullMethodName + const Admin_GetUsersForRole_FullMethodName + const Admin_LoginOut_FullMethodName + const Admin_Login_FullMethodName + const Admin_RecoverAdministrator_FullMethodName + const Admin_SetRoleMenuBtn_FullMethodName + const Admin_SetRoleMenu_FullMethodName + const Admin_SetRolesForUser_FullMethodName + const Admin_UpdateAdministrator_FullMethodName + const Admin_UpdateApi_FullMethodName + const Admin_UpdateMenu_FullMethodName + const Admin_UpdatePolicies_FullMethodName + const Admin_UpdateRole_FullMethodName + const OperationAdminCreateAdministrator + const OperationAdminCreateApi + const OperationAdminCreateMenu + const OperationAdminCreateRole + const OperationAdminDeleteAdministrator + const OperationAdminDeleteApi + const OperationAdminDeleteMenu + const OperationAdminDeleteRole + const OperationAdminDeleteRoleForUser + const OperationAdminDeleteRolesForUser + const OperationAdminGetAdministrator + const OperationAdminGetAdministratorInfo + const OperationAdminGetAdministratorList + const OperationAdminGetApiAll + const OperationAdminGetApiList + const OperationAdminGetApiLogList + const OperationAdminGetMenuAll + const OperationAdminGetMenuTree + const OperationAdminGetOssStsToken + const OperationAdminGetPolicies + const OperationAdminGetRoleAll + const OperationAdminGetRoleMenu + const OperationAdminGetRoleMenuBtn + const OperationAdminGetRoleMenuTree + const OperationAdminGetRolesForUser + const OperationAdminGetUsersForRole + const OperationAdminLogin + const OperationAdminLoginOut + const OperationAdminRecoverAdministrator + const OperationAdminSetRoleMenu + const OperationAdminSetRoleMenuBtn + const OperationAdminSetRolesForUser + const OperationAdminUpdateAdministrator + const OperationAdminUpdateApi + const OperationAdminUpdateMenu + const OperationAdminUpdatePolicies + const OperationAdminUpdateRole + const OperationAdminapproveAdministrator + const OperationAdminforbidAdministrator + var Admin_ServiceDesc = grpc.ServiceDesc + var BffErrorReason_name = map[int32]string + var BffErrorReason_value = map[string]int32 + var File_bff_admin_v1_admin_proto protoreflect.FileDescriptor + var File_bff_admin_v1_bff_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 RegisterAdminHTTPServer(s *http.Server, srv AdminHTTPServer) + func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer) + type AdminClient interface + ApproveAdministrator func(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + CreateAdministrator func(ctx context.Context, in *CreateBffAdminReq, opts ...grpc.CallOption) (*BffAdmin, 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) + DeleteAdministrator func(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteApi func(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteMenu func(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteRole func(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteRoleForUser func(ctx context.Context, in *DeleteRoleForUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteRolesForUser func(ctx context.Context, in *DeleteRolesForUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + ForbidAdministrator func(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + GetAdministrator func(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*BffAdmin, error) + GetAdministratorInfo func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BffAdmin, error) + GetAdministratorList func(ctx context.Context, in *GetBffAdminListReq, opts ...grpc.CallOption) (*GetBffAdminListPageRes, error) + GetApiAll func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetApiAllRes, error) + GetApiList func(ctx context.Context, in *GetApiListReq, opts ...grpc.CallOption) (*GetApiListRes, error) + GetApiLogList func(ctx context.Context, in *GetApiLogListReq, opts ...grpc.CallOption) (*GetApiLogListRes, 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) + GetOssStsToken func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*OssStsTokenResponse, 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) + Login func(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginRes, error) + LoginOut func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) + RecoverAdministrator func(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + SetRoleMenu func(ctx context.Context, in *SetRoleMenuReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + SetRoleMenuBtn func(ctx context.Context, in *SetRoleMenuBtnReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + SetRolesForUser func(ctx context.Context, in *SetRolesForUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + UpdateAdministrator func(ctx context.Context, in *UpdateBffAdminReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + UpdateApi func(ctx context.Context, in *UpdateApiReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + UpdateMenu func(ctx context.Context, in *UpdateMenuReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + UpdatePolicies func(ctx context.Context, in *UpdatePoliciesReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + UpdateRole func(ctx context.Context, in *UpdateRoleReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewAdminClient(cc grpc.ClientConnInterface) AdminClient + type AdminHTTPClient interface + ApproveAdministrator func(ctx context.Context, req *IdReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + CreateAdministrator func(ctx context.Context, req *CreateBffAdminReq, opts ...http.CallOption) (rsp *BffAdmin, 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) + DeleteAdministrator func(ctx context.Context, req *IdReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + DeleteApi func(ctx context.Context, req *IdReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + DeleteMenu func(ctx context.Context, req *IdReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + DeleteRole func(ctx context.Context, req *IdReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + DeleteRoleForUser func(ctx context.Context, req *DeleteRoleForUserReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + DeleteRolesForUser func(ctx context.Context, req *DeleteRolesForUserReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + ForbidAdministrator func(ctx context.Context, req *IdReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + GetAdministrator func(ctx context.Context, req *IdReq, opts ...http.CallOption) (rsp *BffAdmin, err error) + GetAdministratorInfo func(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *BffAdmin, err error) + GetAdministratorList func(ctx context.Context, req *GetBffAdminListReq, opts ...http.CallOption) (rsp *GetBffAdminListPageRes, err error) + GetApiAll func(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetApiAllRes, err error) + GetApiList func(ctx context.Context, req *GetApiListReq, opts ...http.CallOption) (rsp *GetApiListRes, err error) + GetApiLogList func(ctx context.Context, req *GetApiLogListReq, opts ...http.CallOption) (rsp *GetApiLogListRes, 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) + GetOssStsToken func(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *OssStsTokenResponse, 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) + Login func(ctx context.Context, req *LoginReq, opts ...http.CallOption) (rsp *LoginRes, err error) + LoginOut func(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + RecoverAdministrator func(ctx context.Context, req *IdReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + SetRoleMenu func(ctx context.Context, req *SetRoleMenuReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + SetRoleMenuBtn func(ctx context.Context, req *SetRoleMenuBtnReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + SetRolesForUser func(ctx context.Context, req *SetRolesForUserReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + UpdateAdministrator func(ctx context.Context, req *UpdateBffAdminReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + UpdateApi func(ctx context.Context, req *UpdateApiReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + UpdateMenu func(ctx context.Context, req *UpdateMenuReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + UpdatePolicies func(ctx context.Context, req *UpdatePoliciesReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + UpdateRole func(ctx context.Context, req *UpdateRoleReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + func NewAdminHTTPClient(client *http.Client) AdminHTTPClient + type AdminHTTPClientImpl struct + func (c *AdminHTTPClientImpl) ApproveAdministrator(ctx context.Context, in *IdReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) CreateAdministrator(ctx context.Context, in *CreateBffAdminReq, opts ...http.CallOption) (*BffAdmin, error) + func (c *AdminHTTPClientImpl) CreateApi(ctx context.Context, in *CreateApiReq, opts ...http.CallOption) (*Api, error) + func (c *AdminHTTPClientImpl) CreateMenu(ctx context.Context, in *CreateMenuReq, opts ...http.CallOption) (*Menu, error) + func (c *AdminHTTPClientImpl) CreateRole(ctx context.Context, in *CreateRoleReq, opts ...http.CallOption) (*Role, error) + func (c *AdminHTTPClientImpl) DeleteAdministrator(ctx context.Context, in *IdReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) DeleteApi(ctx context.Context, in *IdReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) DeleteMenu(ctx context.Context, in *IdReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) DeleteRole(ctx context.Context, in *IdReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) DeleteRoleForUser(ctx context.Context, in *DeleteRoleForUserReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) DeleteRolesForUser(ctx context.Context, in *DeleteRolesForUserReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) ForbidAdministrator(ctx context.Context, in *IdReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) GetAdministrator(ctx context.Context, in *IdReq, opts ...http.CallOption) (*BffAdmin, error) + func (c *AdminHTTPClientImpl) GetAdministratorInfo(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*BffAdmin, error) + func (c *AdminHTTPClientImpl) GetAdministratorList(ctx context.Context, in *GetBffAdminListReq, opts ...http.CallOption) (*GetBffAdminListPageRes, error) + func (c *AdminHTTPClientImpl) GetApiAll(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetApiAllRes, error) + func (c *AdminHTTPClientImpl) GetApiList(ctx context.Context, in *GetApiListReq, opts ...http.CallOption) (*GetApiListRes, error) + func (c *AdminHTTPClientImpl) GetApiLogList(ctx context.Context, in *GetApiLogListReq, opts ...http.CallOption) (*GetApiLogListRes, error) + func (c *AdminHTTPClientImpl) GetMenuAll(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetMenuTreeRes, error) + func (c *AdminHTTPClientImpl) GetMenuTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetMenuTreeRes, error) + func (c *AdminHTTPClientImpl) GetOssStsToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*OssStsTokenResponse, error) + func (c *AdminHTTPClientImpl) GetPolicies(ctx context.Context, in *RoleNameReq, opts ...http.CallOption) (*GetPoliciesRes, error) + func (c *AdminHTTPClientImpl) GetRoleAll(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetRoleAllRes, error) + func (c *AdminHTTPClientImpl) GetRoleMenu(ctx context.Context, in *RoleNameReq, opts ...http.CallOption) (*GetMenuTreeRes, error) + func (c *AdminHTTPClientImpl) GetRoleMenuBtn(ctx context.Context, in *GetRoleMenuBtnReq, opts ...http.CallOption) (*GetRoleMenuBtnRes, error) + func (c *AdminHTTPClientImpl) GetRoleMenuTree(ctx context.Context, in *RoleNameReq, opts ...http.CallOption) (*GetMenuTreeRes, error) + func (c *AdminHTTPClientImpl) GetRolesForUser(ctx context.Context, in *GetRolesForUserReq, opts ...http.CallOption) (*GetRolesForUserRes, error) + func (c *AdminHTTPClientImpl) GetUsersForRole(ctx context.Context, in *RoleNameReq, opts ...http.CallOption) (*GetUsersForRoleRes, error) + func (c *AdminHTTPClientImpl) Login(ctx context.Context, in *LoginReq, opts ...http.CallOption) (*LoginRes, error) + func (c *AdminHTTPClientImpl) LoginOut(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) RecoverAdministrator(ctx context.Context, in *IdReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) SetRoleMenu(ctx context.Context, in *SetRoleMenuReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) SetRoleMenuBtn(ctx context.Context, in *SetRoleMenuBtnReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) SetRolesForUser(ctx context.Context, in *SetRolesForUserReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) UpdateAdministrator(ctx context.Context, in *UpdateBffAdminReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) UpdateApi(ctx context.Context, in *UpdateApiReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) UpdateMenu(ctx context.Context, in *UpdateMenuReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) UpdatePolicies(ctx context.Context, in *UpdatePoliciesReq, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *AdminHTTPClientImpl) UpdateRole(ctx context.Context, in *UpdateRoleReq, opts ...http.CallOption) (*emptypb.Empty, error) + type AdminHTTPServer interface + ApproveAdministrator func(context.Context, *IdReq) (*emptypb.Empty, error) + CreateAdministrator func(context.Context, *CreateBffAdminReq) (*BffAdmin, error) + CreateApi func(context.Context, *CreateApiReq) (*Api, error) + CreateMenu func(context.Context, *CreateMenuReq) (*Menu, error) + CreateRole func(context.Context, *CreateRoleReq) (*Role, error) + DeleteAdministrator func(context.Context, *IdReq) (*emptypb.Empty, error) + DeleteApi func(context.Context, *IdReq) (*emptypb.Empty, error) + DeleteMenu func(context.Context, *IdReq) (*emptypb.Empty, error) + DeleteRole func(context.Context, *IdReq) (*emptypb.Empty, error) + DeleteRoleForUser func(context.Context, *DeleteRoleForUserReq) (*emptypb.Empty, error) + DeleteRolesForUser func(context.Context, *DeleteRolesForUserReq) (*emptypb.Empty, error) + ForbidAdministrator func(context.Context, *IdReq) (*emptypb.Empty, error) + GetAdministrator func(context.Context, *IdReq) (*BffAdmin, error) + GetAdministratorInfo func(context.Context, *emptypb.Empty) (*BffAdmin, error) + GetAdministratorList func(context.Context, *GetBffAdminListReq) (*GetBffAdminListPageRes, error) + GetApiAll func(context.Context, *emptypb.Empty) (*GetApiAllRes, error) + GetApiList func(context.Context, *GetApiListReq) (*GetApiListRes, error) + GetApiLogList func(context.Context, *GetApiLogListReq) (*GetApiLogListRes, error) + GetMenuAll func(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + GetMenuTree func(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + GetOssStsToken func(context.Context, *emptypb.Empty) (*OssStsTokenResponse, 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) + Login func(context.Context, *LoginReq) (*LoginRes, error) + LoginOut func(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + RecoverAdministrator func(context.Context, *IdReq) (*emptypb.Empty, error) + SetRoleMenu func(context.Context, *SetRoleMenuReq) (*emptypb.Empty, error) + SetRoleMenuBtn func(context.Context, *SetRoleMenuBtnReq) (*emptypb.Empty, error) + SetRolesForUser func(context.Context, *SetRolesForUserReq) (*emptypb.Empty, error) + UpdateAdministrator func(context.Context, *UpdateBffAdminReq) (*emptypb.Empty, error) + UpdateApi func(context.Context, *UpdateApiReq) (*emptypb.Empty, error) + UpdateMenu func(context.Context, *UpdateMenuReq) (*emptypb.Empty, error) + UpdatePolicies func(context.Context, *UpdatePoliciesReq) (*emptypb.Empty, error) + UpdateRole func(context.Context, *UpdateRoleReq) (*emptypb.Empty, error) + type AdminServer interface + ApproveAdministrator func(context.Context, *IdReq) (*emptypb.Empty, error) + CreateAdministrator func(context.Context, *CreateBffAdminReq) (*BffAdmin, error) + CreateApi func(context.Context, *CreateApiReq) (*Api, error) + CreateMenu func(context.Context, *CreateMenuReq) (*Menu, error) + CreateRole func(context.Context, *CreateRoleReq) (*Role, error) + DeleteAdministrator func(context.Context, *IdReq) (*emptypb.Empty, error) + DeleteApi func(context.Context, *IdReq) (*emptypb.Empty, error) + DeleteMenu func(context.Context, *IdReq) (*emptypb.Empty, error) + DeleteRole func(context.Context, *IdReq) (*emptypb.Empty, error) + DeleteRoleForUser func(context.Context, *DeleteRoleForUserReq) (*emptypb.Empty, error) + DeleteRolesForUser func(context.Context, *DeleteRolesForUserReq) (*emptypb.Empty, error) + ForbidAdministrator func(context.Context, *IdReq) (*emptypb.Empty, error) + GetAdministrator func(context.Context, *IdReq) (*BffAdmin, error) + GetAdministratorInfo func(context.Context, *emptypb.Empty) (*BffAdmin, error) + GetAdministratorList func(context.Context, *GetBffAdminListReq) (*GetBffAdminListPageRes, error) + GetApiAll func(context.Context, *emptypb.Empty) (*GetApiAllRes, error) + GetApiList func(context.Context, *GetApiListReq) (*GetApiListRes, error) + GetApiLogList func(context.Context, *GetApiLogListReq) (*GetApiLogListRes, error) + GetMenuAll func(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + GetMenuTree func(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + GetOssStsToken func(context.Context, *emptypb.Empty) (*OssStsTokenResponse, 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) + Login func(context.Context, *LoginReq) (*LoginRes, error) + LoginOut func(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + RecoverAdministrator func(context.Context, *IdReq) (*emptypb.Empty, error) + SetRoleMenu func(context.Context, *SetRoleMenuReq) (*emptypb.Empty, error) + SetRoleMenuBtn func(context.Context, *SetRoleMenuBtnReq) (*emptypb.Empty, error) + SetRolesForUser func(context.Context, *SetRolesForUserReq) (*emptypb.Empty, error) + UpdateAdministrator func(context.Context, *UpdateBffAdminReq) (*emptypb.Empty, error) + UpdateApi func(context.Context, *UpdateApiReq) (*emptypb.Empty, error) + UpdateMenu func(context.Context, *UpdateMenuReq) (*emptypb.Empty, error) + UpdatePolicies func(context.Context, *UpdatePoliciesReq) (*emptypb.Empty, error) + UpdateRole func(context.Context, *UpdateRoleReq) (*emptypb.Empty, error) + type Api struct + CreatedAt string + Group string + Id int64 + Method string + Name string + Path string + UpdatedAt string + func (*Api) Descriptor() ([]byte, []int) + func (*Api) ProtoMessage() + func (x *Api) GetCreatedAt() 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 ApiLog struct + Code string + Component string + CreatedAt string + Domain string + Id int64 + Ip string + Latency string + Method string + Name string + Operation string + Path string + Reason string + Request string + Role string + TraceId string + UserId string + Username string + func (*ApiLog) Descriptor() ([]byte, []int) + func (*ApiLog) ProtoMessage() + func (x *ApiLog) GetCode() string + func (x *ApiLog) GetComponent() string + func (x *ApiLog) GetCreatedAt() string + func (x *ApiLog) GetDomain() string + func (x *ApiLog) GetId() int64 + func (x *ApiLog) GetIp() string + func (x *ApiLog) GetLatency() string + func (x *ApiLog) GetMethod() string + func (x *ApiLog) GetName() string + func (x *ApiLog) GetOperation() string + func (x *ApiLog) GetPath() string + func (x *ApiLog) GetReason() string + func (x *ApiLog) GetRequest() string + func (x *ApiLog) GetRole() string + func (x *ApiLog) GetTraceId() string + func (x *ApiLog) GetUserId() string + func (x *ApiLog) GetUsername() string + func (x *ApiLog) ProtoReflect() protoreflect.Message + func (x *ApiLog) Reset() + func (x *ApiLog) String() string + type BffAdmin struct + Avatar string + CreatedAt string + DeletedAt string + Id int64 + LastLoginIp string + LastLoginTime string + Mobile string + Nickname string + Role string + Status bool + UpdatedAt string + Username string + func (*BffAdmin) Descriptor() ([]byte, []int) + func (*BffAdmin) ProtoMessage() + func (x *BffAdmin) GetAvatar() string + func (x *BffAdmin) GetCreatedAt() string + func (x *BffAdmin) GetDeletedAt() string + func (x *BffAdmin) GetId() int64 + func (x *BffAdmin) GetLastLoginIp() string + func (x *BffAdmin) GetLastLoginTime() string + func (x *BffAdmin) GetMobile() string + func (x *BffAdmin) GetNickname() string + func (x *BffAdmin) GetRole() string + func (x *BffAdmin) GetStatus() bool + func (x *BffAdmin) GetUpdatedAt() string + func (x *BffAdmin) GetUsername() string + func (x *BffAdmin) ProtoReflect() protoreflect.Message + func (x *BffAdmin) Reset() + func (x *BffAdmin) String() string + type BffErrorReason int32 + const BffErrorReason_BAD_REQUEST + const BffErrorReason_RECORD_ALREADY_EXISTS + const BffErrorReason_RECORD_NOT_FOUND + const BffErrorReason_SYSTEM_ERROR + func (BffErrorReason) Descriptor() protoreflect.EnumDescriptor + func (BffErrorReason) EnumDescriptor() ([]byte, []int) + func (BffErrorReason) Type() protoreflect.EnumType + func (x BffErrorReason) Enum() *BffErrorReason + func (x BffErrorReason) Number() protoreflect.EnumNumber + func (x BffErrorReason) String() string + type CreateApiReq struct + Group string + Method string + Name string + Path string + func (*CreateApiReq) Descriptor() ([]byte, []int) + func (*CreateApiReq) ProtoMessage() + 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 CreateBffAdminReq struct + Avatar string + Mobile string + Nickname string + Password string + Role []string + Status bool + Username string + func (*CreateBffAdminReq) Descriptor() ([]byte, []int) + func (*CreateBffAdminReq) ProtoMessage() + func (x *CreateBffAdminReq) GetAvatar() string + func (x *CreateBffAdminReq) GetMobile() string + func (x *CreateBffAdminReq) GetNickname() string + func (x *CreateBffAdminReq) GetPassword() string + func (x *CreateBffAdminReq) GetRole() []string + func (x *CreateBffAdminReq) GetStatus() bool + func (x *CreateBffAdminReq) GetUsername() string + func (x *CreateBffAdminReq) ProtoReflect() protoreflect.Message + func (x *CreateBffAdminReq) Reset() + func (x *CreateBffAdminReq) String() 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 (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 CreateRoleReq struct + Name string + func (*CreateRoleReq) Descriptor() ([]byte, []int) + func (*CreateRoleReq) ProtoMessage() + func (x *CreateRoleReq) GetName() string + func (x *CreateRoleReq) ProtoReflect() protoreflect.Message + func (x *CreateRoleReq) Reset() + func (x *CreateRoleReq) String() string + type DeleteRoleForUserReq struct + Role string + Username string + func (*DeleteRoleForUserReq) Descriptor() ([]byte, []int) + func (*DeleteRoleForUserReq) ProtoMessage() + 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 DeleteRolesForUserReq struct + Username string + func (*DeleteRolesForUserReq) Descriptor() ([]byte, []int) + func (*DeleteRolesForUserReq) ProtoMessage() + func (x *DeleteRolesForUserReq) GetUsername() string + func (x *DeleteRolesForUserReq) ProtoReflect() protoreflect.Message + func (x *DeleteRolesForUserReq) Reset() + func (x *DeleteRolesForUserReq) String() string + type ErrorMessageRes struct + Message string + func (*ErrorMessageRes) Descriptor() ([]byte, []int) + func (*ErrorMessageRes) ProtoMessage() + func (x *ErrorMessageRes) GetMessage() string + func (x *ErrorMessageRes) ProtoReflect() protoreflect.Message + func (x *ErrorMessageRes) Reset() + func (x *ErrorMessageRes) String() string + type GetApiAllRes struct + List []*Api + func (*GetApiAllRes) Descriptor() ([]byte, []int) + func (*GetApiAllRes) ProtoMessage() + func (x *GetApiAllRes) GetList() []*Api + func (x *GetApiAllRes) ProtoReflect() protoreflect.Message + func (x *GetApiAllRes) Reset() + func (x *GetApiAllRes) String() 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 (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 GetApiListRes struct + List []*Api + Total int64 + func (*GetApiListRes) Descriptor() ([]byte, []int) + func (*GetApiListRes) ProtoMessage() + func (x *GetApiListRes) GetList() []*Api + func (x *GetApiListRes) GetTotal() int64 + func (x *GetApiListRes) ProtoReflect() protoreflect.Message + func (x *GetApiListRes) Reset() + func (x *GetApiListRes) String() string + type GetApiLogListReq struct + Ip string + Name string + Operation string + Page int64 + PageSize int64 + Role string + TraceId string + UserId string + Username string + func (*GetApiLogListReq) Descriptor() ([]byte, []int) + func (*GetApiLogListReq) ProtoMessage() + func (x *GetApiLogListReq) GetIp() string + func (x *GetApiLogListReq) GetName() string + func (x *GetApiLogListReq) GetOperation() string + func (x *GetApiLogListReq) GetPage() int64 + func (x *GetApiLogListReq) GetPageSize() int64 + func (x *GetApiLogListReq) GetRole() string + func (x *GetApiLogListReq) GetTraceId() string + func (x *GetApiLogListReq) GetUserId() string + func (x *GetApiLogListReq) GetUsername() string + func (x *GetApiLogListReq) ProtoReflect() protoreflect.Message + func (x *GetApiLogListReq) Reset() + func (x *GetApiLogListReq) String() string + type GetApiLogListRes struct + List []*ApiLog + Total int64 + func (*GetApiLogListRes) Descriptor() ([]byte, []int) + func (*GetApiLogListRes) ProtoMessage() + func (x *GetApiLogListRes) GetList() []*ApiLog + func (x *GetApiLogListRes) GetTotal() int64 + func (x *GetApiLogListRes) ProtoReflect() protoreflect.Message + func (x *GetApiLogListRes) Reset() + func (x *GetApiLogListRes) String() string + type GetBffAdminListPageRes struct + List []*BffAdmin + Total int64 + func (*GetBffAdminListPageRes) Descriptor() ([]byte, []int) + func (*GetBffAdminListPageRes) ProtoMessage() + func (x *GetBffAdminListPageRes) GetList() []*BffAdmin + func (x *GetBffAdminListPageRes) GetTotal() int64 + func (x *GetBffAdminListPageRes) ProtoReflect() protoreflect.Message + func (x *GetBffAdminListPageRes) Reset() + func (x *GetBffAdminListPageRes) String() string + type GetBffAdminListReq struct + CreatedAtEnd string + CreatedAtStart string + Mobile string + Nickname string + Page int64 + PageSize int64 + Status *wrapperspb.BoolValue + Username string + func (*GetBffAdminListReq) Descriptor() ([]byte, []int) + func (*GetBffAdminListReq) ProtoMessage() + func (x *GetBffAdminListReq) GetCreatedAtEnd() string + func (x *GetBffAdminListReq) GetCreatedAtStart() string + func (x *GetBffAdminListReq) GetMobile() string + func (x *GetBffAdminListReq) GetNickname() string + func (x *GetBffAdminListReq) GetPage() int64 + func (x *GetBffAdminListReq) GetPageSize() int64 + func (x *GetBffAdminListReq) GetStatus() *wrapperspb.BoolValue + func (x *GetBffAdminListReq) GetUsername() string + func (x *GetBffAdminListReq) ProtoReflect() protoreflect.Message + func (x *GetBffAdminListReq) Reset() + func (x *GetBffAdminListReq) String() string + type GetMenuTreeRes struct + List []*Menu + func (*GetMenuTreeRes) Descriptor() ([]byte, []int) + func (*GetMenuTreeRes) ProtoMessage() + func (x *GetMenuTreeRes) GetList() []*Menu + func (x *GetMenuTreeRes) ProtoReflect() protoreflect.Message + func (x *GetMenuTreeRes) Reset() + func (x *GetMenuTreeRes) String() string + type GetPoliciesRes struct + PolicyRules []*PolicyRules + func (*GetPoliciesRes) Descriptor() ([]byte, []int) + func (*GetPoliciesRes) ProtoMessage() + func (x *GetPoliciesRes) GetPolicyRules() []*PolicyRules + func (x *GetPoliciesRes) ProtoReflect() protoreflect.Message + func (x *GetPoliciesRes) Reset() + func (x *GetPoliciesRes) String() string + type GetRoleAllRes struct + List []*Role + func (*GetRoleAllRes) Descriptor() ([]byte, []int) + func (*GetRoleAllRes) ProtoMessage() + func (x *GetRoleAllRes) GetList() []*Role + func (x *GetRoleAllRes) ProtoReflect() protoreflect.Message + func (x *GetRoleAllRes) Reset() + func (x *GetRoleAllRes) String() string + type GetRoleMenuBtnReq struct + MenuId int64 + RoleId int64 + RoleName string + func (*GetRoleMenuBtnReq) Descriptor() ([]byte, []int) + func (*GetRoleMenuBtnReq) ProtoMessage() + 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 GetRoleMenuBtnRes struct + List []*MenuBtn + func (*GetRoleMenuBtnRes) Descriptor() ([]byte, []int) + func (*GetRoleMenuBtnRes) ProtoMessage() + func (x *GetRoleMenuBtnRes) GetList() []*MenuBtn + func (x *GetRoleMenuBtnRes) ProtoReflect() protoreflect.Message + func (x *GetRoleMenuBtnRes) Reset() + func (x *GetRoleMenuBtnRes) String() string + type GetRolesForUserReq struct + Username string + func (*GetRolesForUserReq) Descriptor() ([]byte, []int) + func (*GetRolesForUserReq) ProtoMessage() + func (x *GetRolesForUserReq) GetUsername() string + func (x *GetRolesForUserReq) ProtoReflect() protoreflect.Message + func (x *GetRolesForUserReq) Reset() + func (x *GetRolesForUserReq) String() string + type GetRolesForUserRes struct + Roles []string + func (*GetRolesForUserRes) Descriptor() ([]byte, []int) + func (*GetRolesForUserRes) ProtoMessage() + func (x *GetRolesForUserRes) GetRoles() []string + func (x *GetRolesForUserRes) ProtoReflect() protoreflect.Message + func (x *GetRolesForUserRes) Reset() + func (x *GetRolesForUserRes) String() string + type GetUsersForRoleRes struct + Users []string + func (*GetUsersForRoleRes) Descriptor() ([]byte, []int) + func (*GetUsersForRoleRes) ProtoMessage() + func (x *GetUsersForRoleRes) GetUsers() []string + func (x *GetUsersForRoleRes) ProtoReflect() protoreflect.Message + func (x *GetUsersForRoleRes) Reset() + func (x *GetUsersForRoleRes) String() string + type IdReq struct + Id int64 + func (*IdReq) Descriptor() ([]byte, []int) + func (*IdReq) ProtoMessage() + func (x *IdReq) GetId() int64 + func (x *IdReq) ProtoReflect() protoreflect.Message + func (x *IdReq) Reset() + func (x *IdReq) String() string + type LoginReq struct + Password string + Username string + func (*LoginReq) Descriptor() ([]byte, []int) + func (*LoginReq) ProtoMessage() + func (x *LoginReq) GetPassword() string + func (x *LoginReq) GetUsername() string + func (x *LoginReq) ProtoReflect() protoreflect.Message + func (x *LoginReq) Reset() + func (x *LoginReq) String() string + type LoginRes struct + Token string + func (*LoginRes) Descriptor() ([]byte, []int) + func (*LoginRes) ProtoMessage() + func (x *LoginRes) GetToken() string + func (x *LoginRes) ProtoReflect() protoreflect.Message + func (x *LoginRes) Reset() + func (x *LoginRes) String() 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 (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 (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 OssStsTokenResponse struct + AccessKey string + AccessSecret string + BucketName string + EndPoint string + Expiration string + Region string + SecurityToken string + Url string + func (*OssStsTokenResponse) Descriptor() ([]byte, []int) + func (*OssStsTokenResponse) ProtoMessage() + func (x *OssStsTokenResponse) GetAccessKey() string + func (x *OssStsTokenResponse) GetAccessSecret() string + func (x *OssStsTokenResponse) GetBucketName() string + func (x *OssStsTokenResponse) GetEndPoint() string + func (x *OssStsTokenResponse) GetExpiration() string + func (x *OssStsTokenResponse) GetRegion() string + func (x *OssStsTokenResponse) GetSecurityToken() string + func (x *OssStsTokenResponse) GetUrl() string + func (x *OssStsTokenResponse) ProtoReflect() protoreflect.Message + func (x *OssStsTokenResponse) Reset() + func (x *OssStsTokenResponse) String() string + type PolicyRules struct + Method string + Path string + func (*PolicyRules) Descriptor() ([]byte, []int) + func (*PolicyRules) ProtoMessage() + 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 Role struct + CreatedAt string + Id int64 + Name string + UpdatedAt string + func (*Role) Descriptor() ([]byte, []int) + func (*Role) ProtoMessage() + 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 RoleNameReq struct + Role string + func (*RoleNameReq) Descriptor() ([]byte, []int) + func (*RoleNameReq) ProtoMessage() + func (x *RoleNameReq) GetRole() string + func (x *RoleNameReq) ProtoReflect() protoreflect.Message + func (x *RoleNameReq) Reset() + func (x *RoleNameReq) String() string + type SetRoleMenuBtnReq struct + MenuBtnIds []int64 + MenuId int64 + RoleId int64 + func (*SetRoleMenuBtnReq) Descriptor() ([]byte, []int) + func (*SetRoleMenuBtnReq) ProtoMessage() + func (x *SetRoleMenuBtnReq) GetMenuBtnIds() []int64 + func (x *SetRoleMenuBtnReq) GetMenuId() int64 + func (x *SetRoleMenuBtnReq) GetRoleId() int64 + func (x *SetRoleMenuBtnReq) ProtoReflect() protoreflect.Message + func (x *SetRoleMenuBtnReq) Reset() + func (x *SetRoleMenuBtnReq) String() string + type SetRoleMenuReq struct + MenuIds []int64 + RoleId int64 + func (*SetRoleMenuReq) Descriptor() ([]byte, []int) + func (*SetRoleMenuReq) ProtoMessage() + func (x *SetRoleMenuReq) GetMenuIds() []int64 + func (x *SetRoleMenuReq) GetRoleId() int64 + func (x *SetRoleMenuReq) ProtoReflect() protoreflect.Message + func (x *SetRoleMenuReq) Reset() + func (x *SetRoleMenuReq) String() string + type SetRolesForUserReq struct + Roles []string + Username string + func (*SetRolesForUserReq) Descriptor() ([]byte, []int) + func (*SetRolesForUserReq) ProtoMessage() + 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 UnimplementedAdminServer struct + func (UnimplementedAdminServer) ApproveAdministrator(context.Context, *IdReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) CreateAdministrator(context.Context, *CreateBffAdminReq) (*BffAdmin, error) + func (UnimplementedAdminServer) CreateApi(context.Context, *CreateApiReq) (*Api, error) + func (UnimplementedAdminServer) CreateMenu(context.Context, *CreateMenuReq) (*Menu, error) + func (UnimplementedAdminServer) CreateRole(context.Context, *CreateRoleReq) (*Role, error) + func (UnimplementedAdminServer) DeleteAdministrator(context.Context, *IdReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) DeleteApi(context.Context, *IdReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) DeleteMenu(context.Context, *IdReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) DeleteRole(context.Context, *IdReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) DeleteRoleForUser(context.Context, *DeleteRoleForUserReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) DeleteRolesForUser(context.Context, *DeleteRolesForUserReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) ForbidAdministrator(context.Context, *IdReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) GetAdministrator(context.Context, *IdReq) (*BffAdmin, error) + func (UnimplementedAdminServer) GetAdministratorInfo(context.Context, *emptypb.Empty) (*BffAdmin, error) + func (UnimplementedAdminServer) GetAdministratorList(context.Context, *GetBffAdminListReq) (*GetBffAdminListPageRes, error) + func (UnimplementedAdminServer) GetApiAll(context.Context, *emptypb.Empty) (*GetApiAllRes, error) + func (UnimplementedAdminServer) GetApiList(context.Context, *GetApiListReq) (*GetApiListRes, error) + func (UnimplementedAdminServer) GetApiLogList(context.Context, *GetApiLogListReq) (*GetApiLogListRes, error) + func (UnimplementedAdminServer) GetMenuAll(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + func (UnimplementedAdminServer) GetMenuTree(context.Context, *emptypb.Empty) (*GetMenuTreeRes, error) + func (UnimplementedAdminServer) GetOssStsToken(context.Context, *emptypb.Empty) (*OssStsTokenResponse, error) + func (UnimplementedAdminServer) GetPolicies(context.Context, *RoleNameReq) (*GetPoliciesRes, error) + func (UnimplementedAdminServer) GetRoleAll(context.Context, *emptypb.Empty) (*GetRoleAllRes, error) + func (UnimplementedAdminServer) GetRoleMenu(context.Context, *RoleNameReq) (*GetMenuTreeRes, error) + func (UnimplementedAdminServer) GetRoleMenuBtn(context.Context, *GetRoleMenuBtnReq) (*GetRoleMenuBtnRes, error) + func (UnimplementedAdminServer) GetRoleMenuTree(context.Context, *RoleNameReq) (*GetMenuTreeRes, error) + func (UnimplementedAdminServer) GetRolesForUser(context.Context, *GetRolesForUserReq) (*GetRolesForUserRes, error) + func (UnimplementedAdminServer) GetUsersForRole(context.Context, *RoleNameReq) (*GetUsersForRoleRes, error) + func (UnimplementedAdminServer) Login(context.Context, *LoginReq) (*LoginRes, error) + func (UnimplementedAdminServer) LoginOut(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + func (UnimplementedAdminServer) RecoverAdministrator(context.Context, *IdReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) SetRoleMenu(context.Context, *SetRoleMenuReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) SetRoleMenuBtn(context.Context, *SetRoleMenuBtnReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) SetRolesForUser(context.Context, *SetRolesForUserReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) UpdateAdministrator(context.Context, *UpdateBffAdminReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) UpdateApi(context.Context, *UpdateApiReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) UpdateMenu(context.Context, *UpdateMenuReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) UpdatePolicies(context.Context, *UpdatePoliciesReq) (*emptypb.Empty, error) + func (UnimplementedAdminServer) UpdateRole(context.Context, *UpdateRoleReq) (*emptypb.Empty, error) + type UnsafeAdminServer interface + type UpdateApiReq struct + Group string + Id int64 + Method string + Name string + Path string + func (*UpdateApiReq) Descriptor() ([]byte, []int) + func (*UpdateApiReq) ProtoMessage() + 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 UpdateBffAdminReq struct + Avatar string + Id int64 + Mobile string + Nickname string + Password string + Role []string + Status bool + Username string + func (*UpdateBffAdminReq) Descriptor() ([]byte, []int) + func (*UpdateBffAdminReq) ProtoMessage() + func (x *UpdateBffAdminReq) GetAvatar() string + func (x *UpdateBffAdminReq) GetId() int64 + func (x *UpdateBffAdminReq) GetMobile() string + func (x *UpdateBffAdminReq) GetNickname() string + func (x *UpdateBffAdminReq) GetPassword() string + func (x *UpdateBffAdminReq) GetRole() []string + func (x *UpdateBffAdminReq) GetStatus() bool + func (x *UpdateBffAdminReq) GetUsername() string + func (x *UpdateBffAdminReq) ProtoReflect() protoreflect.Message + func (x *UpdateBffAdminReq) Reset() + func (x *UpdateBffAdminReq) String() 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 (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 UpdatePoliciesReq struct + PolicyRules []*PolicyRules + Role string + func (*UpdatePoliciesReq) Descriptor() ([]byte, []int) + func (*UpdatePoliciesReq) ProtoMessage() + 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 UpdateRoleReq struct + Id int64 + Name string + func (*UpdateRoleReq) Descriptor() ([]byte, []int) + func (*UpdateRoleReq) ProtoMessage() + 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 UploadFileRequest struct + Content []byte + FileName string + FileType string + func (*UploadFileRequest) Descriptor() ([]byte, []int) + func (*UploadFileRequest) ProtoMessage() + func (x *UploadFileRequest) GetContent() []byte + func (x *UploadFileRequest) GetFileName() string + func (x *UploadFileRequest) GetFileType() string + func (x *UploadFileRequest) ProtoReflect() protoreflect.Message + func (x *UploadFileRequest) Reset() + func (x *UploadFileRequest) String() string + type UploadFileResponse struct + Url string + func (*UploadFileResponse) Descriptor() ([]byte, []int) + func (*UploadFileResponse) ProtoMessage() + func (x *UploadFileResponse) GetUrl() string + func (x *UploadFileResponse) ProtoReflect() protoreflect.Message + func (x *UploadFileResponse) Reset() + func (x *UploadFileResponse) String() string + type Wallet struct + Balance float32 + CreatedAt string + DeletedAt string + FrozenAmount float32 + Id int64 + Status bool + UpdatedAt string + UserId int64 + func (*Wallet) Descriptor() ([]byte, []int) + func (*Wallet) ProtoMessage() + func (x *Wallet) GetBalance() float32 + func (x *Wallet) GetCreatedAt() string + func (x *Wallet) GetDeletedAt() string + func (x *Wallet) GetFrozenAmount() float32 + func (x *Wallet) GetId() int64 + func (x *Wallet) GetStatus() bool + func (x *Wallet) GetUpdatedAt() string + func (x *Wallet) GetUserId() int64 + func (x *Wallet) ProtoReflect() protoreflect.Message + func (x *Wallet) Reset() + func (x *Wallet) String() string