Documentation ¶
Index ¶
- Variables
- func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
- type API
- func (*API) Descriptor() ([]byte, []int)deprecated
- func (x *API) GetAPI() string
- func (x *API) GetDescribe() string
- func (x *API) GetGroup() string
- func (x *API) GetID() uint64
- func (x *API) GetMethod() string
- func (*API) ProtoMessage()
- func (x *API) ProtoReflect() protoreflect.Message
- func (x *API) Reset()
- func (x *API) String() string
- type APIAllResponse
- type APIPagingRequest
- func (*APIPagingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIPagingRequest) GetApi() string
- func (x *APIPagingRequest) GetDescribe() string
- func (x *APIPagingRequest) GetGroup() string
- func (x *APIPagingRequest) GetMethod() string
- func (x *APIPagingRequest) GetOrder() string
- func (x *APIPagingRequest) GetOrderKey() string
- func (x *APIPagingRequest) GetPage() int64
- func (x *APIPagingRequest) GetPageSize() int64
- func (*APIPagingRequest) ProtoMessage()
- func (x *APIPagingRequest) ProtoReflect() protoreflect.Message
- func (x *APIPagingRequest) Reset()
- func (x *APIPagingRequest) String() string
- type APIPagingResponse
- type ApiID
- type CasbinEnforceRequest
- func (*CasbinEnforceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CasbinEnforceRequest) GetAct() string
- func (x *CasbinEnforceRequest) GetObj() string
- func (x *CasbinEnforceRequest) GetSub() string
- func (*CasbinEnforceRequest) ProtoMessage()
- func (x *CasbinEnforceRequest) ProtoReflect() protoreflect.Message
- func (x *CasbinEnforceRequest) Reset()
- func (x *CasbinEnforceRequest) String() string
- type CasbinEnforceResponse
- func (*CasbinEnforceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CasbinEnforceResponse) GetSuccess() bool
- func (*CasbinEnforceResponse) ProtoMessage()
- func (x *CasbinEnforceResponse) ProtoReflect() protoreflect.Message
- func (x *CasbinEnforceResponse) Reset()
- func (x *CasbinEnforceResponse) String() string
- type CasbinPolicy
- func (*CasbinPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *CasbinPolicy) GetApi() string
- func (x *CasbinPolicy) GetMethod() string
- func (*CasbinPolicy) ProtoMessage()
- func (x *CasbinPolicy) ProtoReflect() protoreflect.Message
- func (x *CasbinPolicy) Reset()
- func (x *CasbinPolicy) String() string
- type CasbinPolicyResponse
- func (*CasbinPolicyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CasbinPolicyResponse) GetPolicy() []*CasbinPolicy
- func (*CasbinPolicyResponse) ProtoMessage()
- func (x *CasbinPolicyResponse) ProtoReflect() protoreflect.Message
- func (x *CasbinPolicyResponse) Reset()
- func (x *CasbinPolicyResponse) String() string
- type CasbinRule
- type CreateAPIRequest
- func (*CreateAPIRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAPIRequest) GetAPI() string
- func (x *CreateAPIRequest) GetDescribe() string
- func (x *CreateAPIRequest) GetGroup() string
- func (x *CreateAPIRequest) GetMethod() string
- func (*CreateAPIRequest) ProtoMessage()
- func (x *CreateAPIRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAPIRequest) Reset()
- func (x *CreateAPIRequest) String() string
- type CreateMenuRequest
- func (*CreateMenuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMenuRequest) GetComponent() string
- func (x *CreateMenuRequest) GetHiddent() int64
- func (x *CreateMenuRequest) GetIcon() string
- func (x *CreateMenuRequest) GetName() string
- func (x *CreateMenuRequest) GetParentID() uint64
- func (x *CreateMenuRequest) GetPath() string
- func (x *CreateMenuRequest) GetSort() int64
- func (x *CreateMenuRequest) GetTitle() string
- func (*CreateMenuRequest) ProtoMessage()
- func (x *CreateMenuRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMenuRequest) Reset()
- func (x *CreateMenuRequest) String() string
- type CreateRoleRequest
- func (*CreateRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleRequest) GetCreateBy() string
- func (x *CreateRoleRequest) GetName() string
- func (x *CreateRoleRequest) GetRole() string
- func (*CreateRoleRequest) ProtoMessage()
- func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoleRequest) Reset()
- func (x *CreateRoleRequest) String() string
- type CreateUser_UserRoleRequest
- func (*CreateUser_UserRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUser_UserRoleRequest) GetRoleList() []uint64
- func (x *CreateUser_UserRoleRequest) GetUser() *User
- func (*CreateUser_UserRoleRequest) ProtoMessage()
- func (x *CreateUser_UserRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUser_UserRoleRequest) Reset()
- func (x *CreateUser_UserRoleRequest) String() string
- type DeleteAPIAndCasbinRequest
- func (*DeleteAPIAndCasbinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAPIAndCasbinRequest) GetApi() string
- func (x *DeleteAPIAndCasbinRequest) GetID() uint64
- func (x *DeleteAPIAndCasbinRequest) GetMethod() string
- func (*DeleteAPIAndCasbinRequest) ProtoMessage()
- func (x *DeleteAPIAndCasbinRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAPIAndCasbinRequest) Reset()
- func (x *DeleteAPIAndCasbinRequest) String() string
- type DeleteAPIMultipleAndCasbinRequest
- func (*DeleteAPIMultipleAndCasbinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAPIMultipleAndCasbinRequest) GetAPIs() []*DeleteAPIAndCasbinRequest
- func (*DeleteAPIMultipleAndCasbinRequest) ProtoMessage()
- func (x *DeleteAPIMultipleAndCasbinRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAPIMultipleAndCasbinRequest) Reset()
- func (x *DeleteAPIMultipleAndCasbinRequest) String() string
- type DeleteSoftRoleRequest
- func (*DeleteSoftRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSoftRoleRequest) GetDeleteBy() string
- func (x *DeleteSoftRoleRequest) GetRoleID() uint64
- func (x *DeleteSoftRoleRequest) GetState() string
- func (*DeleteSoftRoleRequest) ProtoMessage()
- func (x *DeleteSoftRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSoftRoleRequest) Reset()
- func (x *DeleteSoftRoleRequest) String() string
- type DeleteSoftUserRequest
- func (*DeleteSoftUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSoftUserRequest) GetDeleteBy() string
- func (x *DeleteSoftUserRequest) GetState() string
- func (x *DeleteSoftUserRequest) GetUserID() uint64
- func (*DeleteSoftUserRequest) ProtoMessage()
- func (x *DeleteSoftUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSoftUserRequest) Reset()
- func (x *DeleteSoftUserRequest) String() string
- type Empty
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetName() string
- func (x *LoginRequest) GetPassWord() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetCurrentRole() uint64
- func (x *LoginResponse) GetExporeAt() int64
- func (x *LoginResponse) GetRefreshAfter() int64
- func (x *LoginResponse) GetToken() string
- func (x *LoginResponse) GetUserID() uint64
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type Menu
- func (*Menu) Descriptor() ([]byte, []int)deprecated
- func (x *Menu) GetComponent() string
- func (x *Menu) GetCreateTime() int64
- func (x *Menu) GetDeleteTime() int64
- func (x *Menu) GetHiddent() int64
- func (x *Menu) GetID() uint64
- func (x *Menu) GetIcon() string
- func (x *Menu) GetName() string
- func (x *Menu) GetParentID() uint64
- func (x *Menu) GetPath() string
- func (x *Menu) GetSort() int64
- func (x *Menu) GetTitle() string
- func (x *Menu) GetUpdateTime() int64
- func (*Menu) ProtoMessage()
- func (x *Menu) ProtoReflect() protoreflect.Message
- func (x *Menu) Reset()
- func (x *Menu) String() string
- type MenuAllResponse
- type MenuID
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetCreateBy() string
- func (x *Role) GetCreateTime() int64
- func (x *Role) GetDeleteBy() string
- func (x *Role) GetDeleteTime() int64
- func (x *Role) GetID() uint64
- func (x *Role) GetName() string
- func (x *Role) GetRole() string
- func (x *Role) GetUpdateBy() string
- func (x *Role) GetUpdateTime() int64
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- type RoleAllResponse
- type RoleID
- type RoleMenu
- func (*RoleMenu) Descriptor() ([]byte, []int)deprecated
- func (x *RoleMenu) GetId() uint64
- func (x *RoleMenu) GetMenuID() uint64
- func (x *RoleMenu) GetRoleID() uint64
- func (*RoleMenu) ProtoMessage()
- func (x *RoleMenu) ProtoReflect() protoreflect.Message
- func (x *RoleMenu) Reset()
- func (x *RoleMenu) String() string
- type RoleMenuResponse
- type SystemServiceClient
- type SystemServiceServer
- type Total
- type UnimplementedSystemServiceServer
- func (UnimplementedSystemServiceServer) APIAll(context.Context, *Empty) (*APIAllResponse, error)
- func (UnimplementedSystemServiceServer) APIDetail(context.Context, *ApiID) (*API, error)
- func (UnimplementedSystemServiceServer) APIPaging(context.Context, *APIPagingRequest) (*APIPagingResponse, error)
- func (UnimplementedSystemServiceServer) APITotal(context.Context, *APIPagingRequest) (*Total, error)
- func (UnimplementedSystemServiceServer) CasbinEnforcer(context.Context, *CasbinEnforceRequest) (*CasbinEnforceResponse, error)
- func (UnimplementedSystemServiceServer) CasbinPolicyByRoleID(context.Context, *RoleID) (*CasbinPolicyResponse, error)
- func (UnimplementedSystemServiceServer) CreateAPI(context.Context, *CreateAPIRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) CreateMenu(context.Context, *CreateMenuRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) CreateUser_UserRole(context.Context, *CreateUser_UserRoleRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) DeleteAPIAndCasbin(context.Context, *DeleteAPIAndCasbinRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) DeleteAPIMultipleAndCasbin(context.Context, *DeleteAPIMultipleAndCasbinRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) DeleteMenu_RoleMenu_UserMenuParam(context.Context, *MenuID) (*Empty, error)
- func (UnimplementedSystemServiceServer) DeleteRole(context.Context, *RoleID) (*Empty, error)
- func (UnimplementedSystemServiceServer) DeleteSoftRole(context.Context, *DeleteSoftRoleRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) DeleteSoftUser(context.Context, *DeleteSoftUserRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) DeleteUser(context.Context, *UserID) (*Empty, error)
- func (UnimplementedSystemServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedSystemServiceServer) MenuAll(context.Context, *Empty) (*MenuAllResponse, error)
- func (UnimplementedSystemServiceServer) MenuDetail(context.Context, *MenuID) (*Menu, error)
- func (UnimplementedSystemServiceServer) RefreshCasbinPolicy(context.Context, *Empty) (*Empty, error)
- func (UnimplementedSystemServiceServer) RoleAll(context.Context, *Empty) (*RoleAllResponse, error)
- func (UnimplementedSystemServiceServer) RoleDetail(context.Context, *RoleID) (*Role, error)
- func (UnimplementedSystemServiceServer) RoleMenuByRoleID(context.Context, *RoleID) (*RoleMenuResponse, error)
- func (UnimplementedSystemServiceServer) Test(context.Context, *Empty) (*Total, error)
- func (UnimplementedSystemServiceServer) UpdateAPI(context.Context, *API) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateCasbinPolicy(context.Context, *UpdateCasbinPolicyRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateMenu(context.Context, *UpdateMenuRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateRole(context.Context, *UpdateRoleRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateRoleMenus(context.Context, *UpdateRoleMenusRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateUserCurrentRole(context.Context, *UpdateUserCurrentRoleRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateUserMenuParams(context.Context, *UpdateUserMenuParamsRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateUserPageSet(context.Context, *UpdateUserPageSetRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateUserPassword(context.Context, *UpdateUserPasswordRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UpdateUserRole(context.Context, *UpdateUserRoleRequest) (*Empty, error)
- func (UnimplementedSystemServiceServer) UserAllMenuParams(context.Context, *Empty) (*UserMenuParamsResponse, error)
- func (UnimplementedSystemServiceServer) UserDetail(context.Context, *UserID) (*User, error)
- func (UnimplementedSystemServiceServer) UserDetailByName(context.Context, *UserName) (*User, error)
- func (UnimplementedSystemServiceServer) UserMenuParamsByUserID(context.Context, *UserID) (*UserMenuParamsResponse, error)
- func (UnimplementedSystemServiceServer) UserPageSet(context.Context, *UserID) (*UserPageSetResponse, error)
- func (UnimplementedSystemServiceServer) UserPaging(context.Context, *UserPagingRequest) (*UserPagingResponse, error)
- func (UnimplementedSystemServiceServer) UserRoleByUserID(context.Context, *UserID) (*UserRoleResponse, error)
- func (UnimplementedSystemServiceServer) UserTotal(context.Context, *Empty) (*Total, error)
- type UnsafeSystemServiceServer
- type UpdateCasbinPolicyRequest
- func (*UpdateCasbinPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCasbinPolicyRequest) GetCasbinRules() []*CasbinRule
- func (x *UpdateCasbinPolicyRequest) GetV0() string
- func (*UpdateCasbinPolicyRequest) ProtoMessage()
- func (x *UpdateCasbinPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCasbinPolicyRequest) Reset()
- func (x *UpdateCasbinPolicyRequest) String() string
- type UpdateMenuRequest
- func (*UpdateMenuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMenuRequest) GetComponent() string
- func (x *UpdateMenuRequest) GetHiddent() int64
- func (x *UpdateMenuRequest) GetIcon() string
- func (x *UpdateMenuRequest) GetId() uint64
- func (x *UpdateMenuRequest) GetName() string
- func (x *UpdateMenuRequest) GetParentID() uint64
- func (x *UpdateMenuRequest) GetPath() string
- func (x *UpdateMenuRequest) GetSort() int64
- func (x *UpdateMenuRequest) GetTitle() string
- func (*UpdateMenuRequest) ProtoMessage()
- func (x *UpdateMenuRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMenuRequest) Reset()
- func (x *UpdateMenuRequest) String() string
- type UpdateRoleMenusRequest
- func (*UpdateRoleMenusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleMenusRequest) GetMenuIDList() []uint64
- func (x *UpdateRoleMenusRequest) GetRoleID() uint64
- func (*UpdateRoleMenusRequest) ProtoMessage()
- func (x *UpdateRoleMenusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleMenusRequest) Reset()
- func (x *UpdateRoleMenusRequest) String() string
- type UpdateRoleRequest
- func (*UpdateRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleRequest) GetCreateBy() string
- func (x *UpdateRoleRequest) GetDeleteBy() string
- func (x *UpdateRoleRequest) GetID() uint64
- func (x *UpdateRoleRequest) GetName() string
- func (x *UpdateRoleRequest) GetRole() string
- func (x *UpdateRoleRequest) GetUpdateBy() string
- func (*UpdateRoleRequest) ProtoMessage()
- func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleRequest) Reset()
- func (x *UpdateRoleRequest) String() string
- type UpdateUserCurrentRoleRequest
- func (*UpdateUserCurrentRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserCurrentRoleRequest) GetRoleID() uint64
- func (x *UpdateUserCurrentRoleRequest) GetUserID() uint64
- func (*UpdateUserCurrentRoleRequest) ProtoMessage()
- func (x *UpdateUserCurrentRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserCurrentRoleRequest) Reset()
- func (x *UpdateUserCurrentRoleRequest) String() string
- type UpdateUserMenuParamsRequest
- func (*UpdateUserMenuParamsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserMenuParamsRequest) GetMenuId() uint64
- func (x *UpdateUserMenuParamsRequest) GetUserMenuParams() []*UserMenuParams
- func (*UpdateUserMenuParamsRequest) ProtoMessage()
- func (x *UpdateUserMenuParamsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserMenuParamsRequest) Reset()
- func (x *UpdateUserMenuParamsRequest) String() string
- type UpdateUserPageSetRequest
- func (*UpdateUserPageSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserPageSetRequest) GetActiveTextColor() string
- func (x *UpdateUserPageSetRequest) GetAvatar() string
- func (x *UpdateUserPageSetRequest) GetDefaultRouter() string
- func (x *UpdateUserPageSetRequest) GetSideMode() string
- func (x *UpdateUserPageSetRequest) GetTextColor() string
- func (x *UpdateUserPageSetRequest) GetUserID() uint64
- func (*UpdateUserPageSetRequest) ProtoMessage()
- func (x *UpdateUserPageSetRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserPageSetRequest) Reset()
- func (x *UpdateUserPageSetRequest) String() string
- type UpdateUserPasswordRequest
- func (*UpdateUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserPasswordRequest) GetID() uint64
- func (x *UpdateUserPasswordRequest) GetPassword() string
- func (*UpdateUserPasswordRequest) ProtoMessage()
- func (x *UpdateUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserPasswordRequest) Reset()
- func (x *UpdateUserPasswordRequest) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetDepartment() string
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetID() uint64
- func (x *UpdateUserRequest) GetName() string
- func (x *UpdateUserRequest) GetNickName() string
- func (x *UpdateUserRequest) GetPhone() string
- func (x *UpdateUserRequest) GetPosition() string
- func (x *UpdateUserRequest) GetUpdateBy() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserRoleRequest
- func (*UpdateUserRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRoleRequest) GetRoleList() []uint64
- func (x *UpdateUserRoleRequest) GetUserID() uint64
- func (*UpdateUserRoleRequest) ProtoMessage()
- func (x *UpdateUserRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRoleRequest) Reset()
- func (x *UpdateUserRoleRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreateBy() string
- func (x *User) GetCreateTime() int64
- func (x *User) GetCurrentRole() uint64
- func (x *User) GetDeleteBy() string
- func (x *User) GetDeleteTime() int64
- func (x *User) GetDepartment() string
- func (x *User) GetEmail() string
- func (x *User) GetID() uint64
- func (x *User) GetName() string
- func (x *User) GetNickName() string
- func (x *User) GetPassWord() string
- func (x *User) GetPhone() string
- func (x *User) GetPosition() string
- func (x *User) GetUpdateBy() string
- func (x *User) GetUpdateTime() int64
- func (x *User) GetUserType() int64
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserID
- type UserMenuParams
- func (*UserMenuParams) Descriptor() ([]byte, []int)deprecated
- func (x *UserMenuParams) GetID() uint64
- func (x *UserMenuParams) GetKey() string
- func (x *UserMenuParams) GetMenuID() uint64
- func (x *UserMenuParams) GetType() string
- func (x *UserMenuParams) GetUserID() uint64
- func (x *UserMenuParams) GetValue() string
- func (*UserMenuParams) ProtoMessage()
- func (x *UserMenuParams) ProtoReflect() protoreflect.Message
- func (x *UserMenuParams) Reset()
- func (x *UserMenuParams) String() string
- type UserMenuParamsResponse
- func (*UserMenuParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserMenuParamsResponse) GetUserMenuParams() []*UserMenuParams
- func (*UserMenuParamsResponse) ProtoMessage()
- func (x *UserMenuParamsResponse) ProtoReflect() protoreflect.Message
- func (x *UserMenuParamsResponse) Reset()
- func (x *UserMenuParamsResponse) String() string
- type UserName
- type UserPageSetResponse
- func (*UserPageSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserPageSetResponse) GetActiveTextColor() string
- func (x *UserPageSetResponse) GetAvatar() string
- func (x *UserPageSetResponse) GetDefaultRouter() string
- func (x *UserPageSetResponse) GetID() uint64
- func (x *UserPageSetResponse) GetSideMode() string
- func (x *UserPageSetResponse) GetTextColor() string
- func (x *UserPageSetResponse) GetUserId() uint64
- func (*UserPageSetResponse) ProtoMessage()
- func (x *UserPageSetResponse) ProtoReflect() protoreflect.Message
- func (x *UserPageSetResponse) Reset()
- func (x *UserPageSetResponse) String() string
- type UserPagingRequest
- func (*UserPagingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserPagingRequest) GetNameX() string
- func (x *UserPagingRequest) GetPage() int64
- func (x *UserPagingRequest) GetPageSize() int64
- func (*UserPagingRequest) ProtoMessage()
- func (x *UserPagingRequest) ProtoReflect() protoreflect.Message
- func (x *UserPagingRequest) Reset()
- func (x *UserPagingRequest) String() string
- type UserPagingResponse
- func (*UserPagingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserPagingResponse) GetUsers() []*User
- func (*UserPagingResponse) ProtoMessage()
- func (x *UserPagingResponse) ProtoReflect() protoreflect.Message
- func (x *UserPagingResponse) Reset()
- func (x *UserPagingResponse) String() string
- type UserRole
- func (*UserRole) Descriptor() ([]byte, []int)deprecated
- func (x *UserRole) GetID() uint64
- func (x *UserRole) GetRoleID() uint64
- func (x *UserRole) GetUserID() uint64
- func (*UserRole) ProtoMessage()
- func (x *UserRole) ProtoReflect() protoreflect.Message
- func (x *UserRole) Reset()
- func (x *UserRole) String() string
- type UserRoleResponse
Constants ¶
This section is empty.
Variables ¶
var File_doc_systemAdmin_proto protoreflect.FileDescriptor
var SystemService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.SystemService", HandlerType: (*SystemServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _SystemService_Login_Handler, }, { MethodName: "CasbinEnforcer", Handler: _SystemService_CasbinEnforcer_Handler, }, { MethodName: "RefreshCasbinPolicy", Handler: _SystemService_RefreshCasbinPolicy_Handler, }, { MethodName: "CasbinPolicyByRoleID", Handler: _SystemService_CasbinPolicyByRoleID_Handler, }, { MethodName: "UpdateCasbinPolicy", Handler: _SystemService_UpdateCasbinPolicy_Handler, }, { MethodName: "UserDetail", Handler: _SystemService_UserDetail_Handler, }, { MethodName: "UserDetailByName", Handler: _SystemService_UserDetailByName_Handler, }, { MethodName: "UserPaging", Handler: _SystemService_UserPaging_Handler, }, { MethodName: "UserTotal", Handler: _SystemService_UserTotal_Handler, }, { MethodName: "CreateUser_UserRole", Handler: _SystemService_CreateUser_UserRole_Handler, }, { MethodName: "DeleteSoftUser", Handler: _SystemService_DeleteSoftUser_Handler, }, { MethodName: "DeleteUser", Handler: _SystemService_DeleteUser_Handler, }, { MethodName: "UpdateUserPassword", Handler: _SystemService_UpdateUserPassword_Handler, }, { MethodName: "UpdateUser", Handler: _SystemService_UpdateUser_Handler, }, { MethodName: "UpdateUserCurrentRole", Handler: _SystemService_UpdateUserCurrentRole_Handler, }, { MethodName: "UserPageSet", Handler: _SystemService_UserPageSet_Handler, }, { MethodName: "UpdateUserPageSet", Handler: _SystemService_UpdateUserPageSet_Handler, }, { MethodName: "UserMenuParamsByUserID", Handler: _SystemService_UserMenuParamsByUserID_Handler, }, { MethodName: "UserAllMenuParams", Handler: _SystemService_UserAllMenuParams_Handler, }, { MethodName: "UpdateUserMenuParams", Handler: _SystemService_UpdateUserMenuParams_Handler, }, { MethodName: "UserRoleByUserID", Handler: _SystemService_UserRoleByUserID_Handler, }, { MethodName: "UpdateUserRole", Handler: _SystemService_UpdateUserRole_Handler, }, { MethodName: "RoleDetail", Handler: _SystemService_RoleDetail_Handler, }, { MethodName: "RoleAll", Handler: _SystemService_RoleAll_Handler, }, { MethodName: "DeleteRole", Handler: _SystemService_DeleteRole_Handler, }, { MethodName: "DeleteSoftRole", Handler: _SystemService_DeleteSoftRole_Handler, }, { MethodName: "CreateRole", Handler: _SystemService_CreateRole_Handler, }, { MethodName: "UpdateRole", Handler: _SystemService_UpdateRole_Handler, }, { MethodName: "MenuDetail", Handler: _SystemService_MenuDetail_Handler, }, { MethodName: "MenuAll", Handler: _SystemService_MenuAll_Handler, }, { MethodName: "CreateMenu", Handler: _SystemService_CreateMenu_Handler, }, { MethodName: "UpdateMenu", Handler: _SystemService_UpdateMenu_Handler, }, { MethodName: "DeleteMenu_RoleMenu_UserMenuParam", Handler: _SystemService_DeleteMenu_RoleMenu_UserMenuParam_Handler, }, { MethodName: "RoleMenuByRoleID", Handler: _SystemService_RoleMenuByRoleID_Handler, }, { MethodName: "UpdateRoleMenus", Handler: _SystemService_UpdateRoleMenus_Handler, }, { MethodName: "APIDetail", Handler: _SystemService_APIDetail_Handler, }, { MethodName: "APIAll", Handler: _SystemService_APIAll_Handler, }, { MethodName: "APIPaging", Handler: _SystemService_APIPaging_Handler, }, { MethodName: "APITotal", Handler: _SystemService_APITotal_Handler, }, { MethodName: "CreateAPI", Handler: _SystemService_CreateAPI_Handler, }, { MethodName: "UpdateAPI", Handler: _SystemService_UpdateAPI_Handler, }, { MethodName: "DeleteAPIAndCasbin", Handler: _SystemService_DeleteAPIAndCasbin_Handler, }, { MethodName: "DeleteAPIMultipleAndCasbin", Handler: _SystemService_DeleteAPIMultipleAndCasbin_Handler, }, { MethodName: "Test", Handler: _SystemService_Test_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "doc/systemAdmin.proto", }
SystemService_ServiceDesc is the grpc.ServiceDesc for SystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSystemServiceServer ¶
func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
Types ¶
type API ¶
type API struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` API string `protobuf:"bytes,2,opt,name=API,proto3" json:"API,omitempty"` Group string `protobuf:"bytes,3,opt,name=Group,proto3" json:"Group,omitempty"` Describe string `protobuf:"bytes,4,opt,name=Describe,proto3" json:"Describe,omitempty"` Method string `protobuf:"bytes,5,opt,name=Method,proto3" json:"Method,omitempty"` // contains filtered or unexported fields }
api模型
func (*API) Descriptor
deprecated
func (*API) GetDescribe ¶
func (*API) ProtoMessage ¶
func (*API) ProtoMessage()
func (*API) ProtoReflect ¶
func (x *API) ProtoReflect() protoreflect.Message
type APIAllResponse ¶
type APIAllResponse struct { APIs []*API `protobuf:"bytes,1,rep,name=APIs,proto3" json:"APIs,omitempty"` // contains filtered or unexported fields }
func (*APIAllResponse) Descriptor
deprecated
func (*APIAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIAllResponse.ProtoReflect.Descriptor instead.
func (*APIAllResponse) GetAPIs ¶
func (x *APIAllResponse) GetAPIs() []*API
func (*APIAllResponse) ProtoMessage ¶
func (*APIAllResponse) ProtoMessage()
func (*APIAllResponse) ProtoReflect ¶
func (x *APIAllResponse) ProtoReflect() protoreflect.Message
func (*APIAllResponse) Reset ¶
func (x *APIAllResponse) Reset()
func (*APIAllResponse) String ¶
func (x *APIAllResponse) String() string
type APIPagingRequest ¶
type APIPagingRequest struct { Page int64 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"` OrderKey string `protobuf:"bytes,3,opt,name=OrderKey,proto3" json:"OrderKey,omitempty"` Order string `protobuf:"bytes,4,opt,name=Order,proto3" json:"Order,omitempty"` Api string `protobuf:"bytes,5,opt,name=Api,proto3" json:"Api,omitempty"` Describe string `protobuf:"bytes,6,opt,name=Describe,proto3" json:"Describe,omitempty"` Group string `protobuf:"bytes,7,opt,name=Group,proto3" json:"Group,omitempty"` Method string `protobuf:"bytes,8,opt,name=Method,proto3" json:"Method,omitempty"` // contains filtered or unexported fields }
func (*APIPagingRequest) Descriptor
deprecated
func (*APIPagingRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIPagingRequest.ProtoReflect.Descriptor instead.
func (*APIPagingRequest) GetApi ¶
func (x *APIPagingRequest) GetApi() string
func (*APIPagingRequest) GetDescribe ¶
func (x *APIPagingRequest) GetDescribe() string
func (*APIPagingRequest) GetGroup ¶
func (x *APIPagingRequest) GetGroup() string
func (*APIPagingRequest) GetMethod ¶
func (x *APIPagingRequest) GetMethod() string
func (*APIPagingRequest) GetOrder ¶
func (x *APIPagingRequest) GetOrder() string
func (*APIPagingRequest) GetOrderKey ¶
func (x *APIPagingRequest) GetOrderKey() string
func (*APIPagingRequest) GetPage ¶
func (x *APIPagingRequest) GetPage() int64
func (*APIPagingRequest) GetPageSize ¶
func (x *APIPagingRequest) GetPageSize() int64
func (*APIPagingRequest) ProtoMessage ¶
func (*APIPagingRequest) ProtoMessage()
func (*APIPagingRequest) ProtoReflect ¶
func (x *APIPagingRequest) ProtoReflect() protoreflect.Message
func (*APIPagingRequest) Reset ¶
func (x *APIPagingRequest) Reset()
func (*APIPagingRequest) String ¶
func (x *APIPagingRequest) String() string
type APIPagingResponse ¶
type APIPagingResponse struct { APIs []*API `protobuf:"bytes,2,rep,name=APIs,proto3" json:"APIs,omitempty"` // contains filtered or unexported fields }
func (*APIPagingResponse) Descriptor
deprecated
func (*APIPagingResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIPagingResponse.ProtoReflect.Descriptor instead.
func (*APIPagingResponse) GetAPIs ¶
func (x *APIPagingResponse) GetAPIs() []*API
func (*APIPagingResponse) ProtoMessage ¶
func (*APIPagingResponse) ProtoMessage()
func (*APIPagingResponse) ProtoReflect ¶
func (x *APIPagingResponse) ProtoReflect() protoreflect.Message
func (*APIPagingResponse) Reset ¶
func (x *APIPagingResponse) Reset()
func (*APIPagingResponse) String ¶
func (x *APIPagingResponse) String() string
type ApiID ¶
type ApiID struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*ApiID) Descriptor
deprecated
func (*ApiID) ProtoMessage ¶
func (*ApiID) ProtoMessage()
func (*ApiID) ProtoReflect ¶
func (x *ApiID) ProtoReflect() protoreflect.Message
type CasbinEnforceRequest ¶
type CasbinEnforceRequest struct { Sub string `protobuf:"bytes,1,opt,name=Sub,proto3" json:"Sub,omitempty"` Obj string `protobuf:"bytes,2,opt,name=Obj,proto3" json:"Obj,omitempty"` Act string `protobuf:"bytes,3,opt,name=Act,proto3" json:"Act,omitempty"` // contains filtered or unexported fields }
func (*CasbinEnforceRequest) Descriptor
deprecated
func (*CasbinEnforceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CasbinEnforceRequest.ProtoReflect.Descriptor instead.
func (*CasbinEnforceRequest) GetAct ¶
func (x *CasbinEnforceRequest) GetAct() string
func (*CasbinEnforceRequest) GetObj ¶
func (x *CasbinEnforceRequest) GetObj() string
func (*CasbinEnforceRequest) GetSub ¶
func (x *CasbinEnforceRequest) GetSub() string
func (*CasbinEnforceRequest) ProtoMessage ¶
func (*CasbinEnforceRequest) ProtoMessage()
func (*CasbinEnforceRequest) ProtoReflect ¶
func (x *CasbinEnforceRequest) ProtoReflect() protoreflect.Message
func (*CasbinEnforceRequest) Reset ¶
func (x *CasbinEnforceRequest) Reset()
func (*CasbinEnforceRequest) String ¶
func (x *CasbinEnforceRequest) String() string
type CasbinEnforceResponse ¶
type CasbinEnforceResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // contains filtered or unexported fields }
func (*CasbinEnforceResponse) Descriptor
deprecated
func (*CasbinEnforceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CasbinEnforceResponse.ProtoReflect.Descriptor instead.
func (*CasbinEnforceResponse) GetSuccess ¶
func (x *CasbinEnforceResponse) GetSuccess() bool
func (*CasbinEnforceResponse) ProtoMessage ¶
func (*CasbinEnforceResponse) ProtoMessage()
func (*CasbinEnforceResponse) ProtoReflect ¶
func (x *CasbinEnforceResponse) ProtoReflect() protoreflect.Message
func (*CasbinEnforceResponse) Reset ¶
func (x *CasbinEnforceResponse) Reset()
func (*CasbinEnforceResponse) String ¶
func (x *CasbinEnforceResponse) String() string
type CasbinPolicy ¶
type CasbinPolicy struct { Api string `protobuf:"bytes,1,opt,name=Api,proto3" json:"Api,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*CasbinPolicy) Descriptor
deprecated
func (*CasbinPolicy) Descriptor() ([]byte, []int)
Deprecated: Use CasbinPolicy.ProtoReflect.Descriptor instead.
func (*CasbinPolicy) GetApi ¶
func (x *CasbinPolicy) GetApi() string
func (*CasbinPolicy) GetMethod ¶
func (x *CasbinPolicy) GetMethod() string
func (*CasbinPolicy) ProtoMessage ¶
func (*CasbinPolicy) ProtoMessage()
func (*CasbinPolicy) ProtoReflect ¶
func (x *CasbinPolicy) ProtoReflect() protoreflect.Message
func (*CasbinPolicy) Reset ¶
func (x *CasbinPolicy) Reset()
func (*CasbinPolicy) String ¶
func (x *CasbinPolicy) String() string
type CasbinPolicyResponse ¶
type CasbinPolicyResponse struct { Policy []*CasbinPolicy `protobuf:"bytes,1,rep,name=Policy,proto3" json:"Policy,omitempty"` // contains filtered or unexported fields }
func (*CasbinPolicyResponse) Descriptor
deprecated
func (*CasbinPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CasbinPolicyResponse.ProtoReflect.Descriptor instead.
func (*CasbinPolicyResponse) GetPolicy ¶
func (x *CasbinPolicyResponse) GetPolicy() []*CasbinPolicy
func (*CasbinPolicyResponse) ProtoMessage ¶
func (*CasbinPolicyResponse) ProtoMessage()
func (*CasbinPolicyResponse) ProtoReflect ¶
func (x *CasbinPolicyResponse) ProtoReflect() protoreflect.Message
func (*CasbinPolicyResponse) Reset ¶
func (x *CasbinPolicyResponse) Reset()
func (*CasbinPolicyResponse) String ¶
func (x *CasbinPolicyResponse) String() string
type CasbinRule ¶
type CasbinRule struct { V1 string `protobuf:"bytes,2,opt,name=v1,proto3" json:"v1,omitempty"` V2 string `protobuf:"bytes,3,opt,name=v2,proto3" json:"v2,omitempty"` // contains filtered or unexported fields }
func (*CasbinRule) Descriptor
deprecated
func (*CasbinRule) Descriptor() ([]byte, []int)
Deprecated: Use CasbinRule.ProtoReflect.Descriptor instead.
func (*CasbinRule) GetV1 ¶
func (x *CasbinRule) GetV1() string
func (*CasbinRule) GetV2 ¶
func (x *CasbinRule) GetV2() string
func (*CasbinRule) ProtoMessage ¶
func (*CasbinRule) ProtoMessage()
func (*CasbinRule) ProtoReflect ¶
func (x *CasbinRule) ProtoReflect() protoreflect.Message
func (*CasbinRule) Reset ¶
func (x *CasbinRule) Reset()
func (*CasbinRule) String ¶
func (x *CasbinRule) String() string
type CreateAPIRequest ¶
type CreateAPIRequest struct { API string `protobuf:"bytes,1,opt,name=API,proto3" json:"API,omitempty"` Group string `protobuf:"bytes,2,opt,name=Group,proto3" json:"Group,omitempty"` Describe string `protobuf:"bytes,3,opt,name=Describe,proto3" json:"Describe,omitempty"` Method string `protobuf:"bytes,4,opt,name=Method,proto3" json:"Method,omitempty"` // contains filtered or unexported fields }
func (*CreateAPIRequest) Descriptor
deprecated
func (*CreateAPIRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAPIRequest.ProtoReflect.Descriptor instead.
func (*CreateAPIRequest) GetAPI ¶
func (x *CreateAPIRequest) GetAPI() string
func (*CreateAPIRequest) GetDescribe ¶
func (x *CreateAPIRequest) GetDescribe() string
func (*CreateAPIRequest) GetGroup ¶
func (x *CreateAPIRequest) GetGroup() string
func (*CreateAPIRequest) GetMethod ¶
func (x *CreateAPIRequest) GetMethod() string
func (*CreateAPIRequest) ProtoMessage ¶
func (*CreateAPIRequest) ProtoMessage()
func (*CreateAPIRequest) ProtoReflect ¶
func (x *CreateAPIRequest) ProtoReflect() protoreflect.Message
func (*CreateAPIRequest) Reset ¶
func (x *CreateAPIRequest) Reset()
func (*CreateAPIRequest) String ¶
func (x *CreateAPIRequest) String() string
type CreateMenuRequest ¶
type CreateMenuRequest struct { ParentID uint64 `protobuf:"varint,1,opt,name=ParentID,proto3" json:"ParentID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Path string `protobuf:"bytes,3,opt,name=Path,proto3" json:"Path,omitempty"` Component string `protobuf:"bytes,4,opt,name=Component,proto3" json:"Component,omitempty"` Title string `protobuf:"bytes,5,opt,name=Title,proto3" json:"Title,omitempty"` Icon string `protobuf:"bytes,6,opt,name=Icon,proto3" json:"Icon,omitempty"` Sort int64 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"` Hiddent int64 `protobuf:"varint,8,opt,name=Hiddent,proto3" json:"Hiddent,omitempty"` // contains filtered or unexported fields }
func (*CreateMenuRequest) Descriptor
deprecated
func (*CreateMenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMenuRequest.ProtoReflect.Descriptor instead.
func (*CreateMenuRequest) GetComponent ¶
func (x *CreateMenuRequest) GetComponent() string
func (*CreateMenuRequest) GetHiddent ¶
func (x *CreateMenuRequest) GetHiddent() int64
func (*CreateMenuRequest) GetIcon ¶
func (x *CreateMenuRequest) GetIcon() string
func (*CreateMenuRequest) GetName ¶
func (x *CreateMenuRequest) GetName() string
func (*CreateMenuRequest) GetParentID ¶
func (x *CreateMenuRequest) GetParentID() uint64
func (*CreateMenuRequest) GetPath ¶
func (x *CreateMenuRequest) GetPath() string
func (*CreateMenuRequest) GetSort ¶
func (x *CreateMenuRequest) GetSort() int64
func (*CreateMenuRequest) GetTitle ¶
func (x *CreateMenuRequest) GetTitle() string
func (*CreateMenuRequest) ProtoMessage ¶
func (*CreateMenuRequest) ProtoMessage()
func (*CreateMenuRequest) ProtoReflect ¶
func (x *CreateMenuRequest) ProtoReflect() protoreflect.Message
func (*CreateMenuRequest) Reset ¶
func (x *CreateMenuRequest) Reset()
func (*CreateMenuRequest) String ¶
func (x *CreateMenuRequest) String() string
type CreateRoleRequest ¶
type CreateRoleRequest struct { Role string `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` CreateBy string `protobuf:"bytes,3,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"` // contains filtered or unexported fields }
func (*CreateRoleRequest) Descriptor
deprecated
func (*CreateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleRequest) GetCreateBy ¶
func (x *CreateRoleRequest) GetCreateBy() string
func (*CreateRoleRequest) GetName ¶
func (x *CreateRoleRequest) GetName() string
func (*CreateRoleRequest) GetRole ¶
func (x *CreateRoleRequest) GetRole() string
func (*CreateRoleRequest) ProtoMessage ¶
func (*CreateRoleRequest) ProtoMessage()
func (*CreateRoleRequest) ProtoReflect ¶
func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleRequest) Reset ¶
func (x *CreateRoleRequest) Reset()
func (*CreateRoleRequest) String ¶
func (x *CreateRoleRequest) String() string
type CreateUser_UserRoleRequest ¶
type CreateUser_UserRoleRequest struct { User *User `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` RoleList []uint64 `protobuf:"varint,2,rep,packed,name=RoleList,proto3" json:"RoleList,omitempty"` // contains filtered or unexported fields }
func (*CreateUser_UserRoleRequest) Descriptor
deprecated
func (*CreateUser_UserRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUser_UserRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateUser_UserRoleRequest) GetRoleList ¶
func (x *CreateUser_UserRoleRequest) GetRoleList() []uint64
func (*CreateUser_UserRoleRequest) GetUser ¶
func (x *CreateUser_UserRoleRequest) GetUser() *User
func (*CreateUser_UserRoleRequest) ProtoMessage ¶
func (*CreateUser_UserRoleRequest) ProtoMessage()
func (*CreateUser_UserRoleRequest) ProtoReflect ¶
func (x *CreateUser_UserRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateUser_UserRoleRequest) Reset ¶
func (x *CreateUser_UserRoleRequest) Reset()
func (*CreateUser_UserRoleRequest) String ¶
func (x *CreateUser_UserRoleRequest) String() string
type DeleteAPIAndCasbinRequest ¶
type DeleteAPIAndCasbinRequest struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Api string `protobuf:"bytes,2,opt,name=Api,proto3" json:"Api,omitempty"` Method string `protobuf:"bytes,3,opt,name=Method,proto3" json:"Method,omitempty"` // contains filtered or unexported fields }
func (*DeleteAPIAndCasbinRequest) Descriptor
deprecated
func (*DeleteAPIAndCasbinRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAPIAndCasbinRequest.ProtoReflect.Descriptor instead.
func (*DeleteAPIAndCasbinRequest) GetApi ¶
func (x *DeleteAPIAndCasbinRequest) GetApi() string
func (*DeleteAPIAndCasbinRequest) GetID ¶
func (x *DeleteAPIAndCasbinRequest) GetID() uint64
func (*DeleteAPIAndCasbinRequest) GetMethod ¶
func (x *DeleteAPIAndCasbinRequest) GetMethod() string
func (*DeleteAPIAndCasbinRequest) ProtoMessage ¶
func (*DeleteAPIAndCasbinRequest) ProtoMessage()
func (*DeleteAPIAndCasbinRequest) ProtoReflect ¶
func (x *DeleteAPIAndCasbinRequest) ProtoReflect() protoreflect.Message
func (*DeleteAPIAndCasbinRequest) Reset ¶
func (x *DeleteAPIAndCasbinRequest) Reset()
func (*DeleteAPIAndCasbinRequest) String ¶
func (x *DeleteAPIAndCasbinRequest) String() string
type DeleteAPIMultipleAndCasbinRequest ¶
type DeleteAPIMultipleAndCasbinRequest struct { APIs []*DeleteAPIAndCasbinRequest `protobuf:"bytes,1,rep,name=APIs,proto3" json:"APIs,omitempty"` // contains filtered or unexported fields }
func (*DeleteAPIMultipleAndCasbinRequest) Descriptor
deprecated
func (*DeleteAPIMultipleAndCasbinRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAPIMultipleAndCasbinRequest.ProtoReflect.Descriptor instead.
func (*DeleteAPIMultipleAndCasbinRequest) GetAPIs ¶
func (x *DeleteAPIMultipleAndCasbinRequest) GetAPIs() []*DeleteAPIAndCasbinRequest
func (*DeleteAPIMultipleAndCasbinRequest) ProtoMessage ¶
func (*DeleteAPIMultipleAndCasbinRequest) ProtoMessage()
func (*DeleteAPIMultipleAndCasbinRequest) ProtoReflect ¶
func (x *DeleteAPIMultipleAndCasbinRequest) ProtoReflect() protoreflect.Message
func (*DeleteAPIMultipleAndCasbinRequest) Reset ¶
func (x *DeleteAPIMultipleAndCasbinRequest) Reset()
func (*DeleteAPIMultipleAndCasbinRequest) String ¶
func (x *DeleteAPIMultipleAndCasbinRequest) String() string
type DeleteSoftRoleRequest ¶
type DeleteSoftRoleRequest struct { RoleID uint64 `protobuf:"varint,1,opt,name=RoleID,proto3" json:"RoleID,omitempty"` DeleteBy string `protobuf:"bytes,2,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"` State string `protobuf:"bytes,3,opt,name=State,proto3" json:"State,omitempty"` // contains filtered or unexported fields }
func (*DeleteSoftRoleRequest) Descriptor
deprecated
func (*DeleteSoftRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSoftRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteSoftRoleRequest) GetDeleteBy ¶
func (x *DeleteSoftRoleRequest) GetDeleteBy() string
func (*DeleteSoftRoleRequest) GetRoleID ¶
func (x *DeleteSoftRoleRequest) GetRoleID() uint64
func (*DeleteSoftRoleRequest) GetState ¶
func (x *DeleteSoftRoleRequest) GetState() string
func (*DeleteSoftRoleRequest) ProtoMessage ¶
func (*DeleteSoftRoleRequest) ProtoMessage()
func (*DeleteSoftRoleRequest) ProtoReflect ¶
func (x *DeleteSoftRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteSoftRoleRequest) Reset ¶
func (x *DeleteSoftRoleRequest) Reset()
func (*DeleteSoftRoleRequest) String ¶
func (x *DeleteSoftRoleRequest) String() string
type DeleteSoftUserRequest ¶
type DeleteSoftUserRequest struct { UserID uint64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"` DeleteBy string `protobuf:"bytes,2,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"` State string `protobuf:"bytes,3,opt,name=State,proto3" json:"State,omitempty"` // contains filtered or unexported fields }
func (*DeleteSoftUserRequest) Descriptor
deprecated
func (*DeleteSoftUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSoftUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteSoftUserRequest) GetDeleteBy ¶
func (x *DeleteSoftUserRequest) GetDeleteBy() string
func (*DeleteSoftUserRequest) GetState ¶
func (x *DeleteSoftUserRequest) GetState() string
func (*DeleteSoftUserRequest) GetUserID ¶
func (x *DeleteSoftUserRequest) GetUserID() uint64
func (*DeleteSoftUserRequest) ProtoMessage ¶
func (*DeleteSoftUserRequest) ProtoMessage()
func (*DeleteSoftUserRequest) ProtoReflect ¶
func (x *DeleteSoftUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteSoftUserRequest) Reset ¶
func (x *DeleteSoftUserRequest) Reset()
func (*DeleteSoftUserRequest) String ¶
func (x *DeleteSoftUserRequest) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
------------------- 请求 -------------------
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type LoginRequest ¶
type LoginRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` PassWord string `protobuf:"bytes,2,opt,name=PassWord,proto3" json:"PassWord,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetName ¶
func (x *LoginRequest) GetName() string
func (*LoginRequest) GetPassWord ¶
func (x *LoginRequest) GetPassWord() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` ExporeAt int64 `protobuf:"varint,2,opt,name=ExporeAt,proto3" json:"ExporeAt,omitempty"` RefreshAfter int64 `protobuf:"varint,3,opt,name=RefreshAfter,proto3" json:"RefreshAfter,omitempty"` CurrentRole uint64 `protobuf:"varint,4,opt,name=CurrentRole,proto3" json:"CurrentRole,omitempty"` UserID uint64 `protobuf:"varint,5,opt,name=UserID,proto3" json:"UserID,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetCurrentRole ¶
func (x *LoginResponse) GetCurrentRole() uint64
func (*LoginResponse) GetExporeAt ¶
func (x *LoginResponse) GetExporeAt() int64
func (*LoginResponse) GetRefreshAfter ¶
func (x *LoginResponse) GetRefreshAfter() int64
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) GetUserID ¶
func (x *LoginResponse) GetUserID() uint64
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type Menu ¶
type Menu struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` ParentID uint64 `protobuf:"varint,2,opt,name=ParentID,proto3" json:"ParentID,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` Path string `protobuf:"bytes,4,opt,name=Path,proto3" json:"Path,omitempty"` Component string `protobuf:"bytes,5,opt,name=Component,proto3" json:"Component,omitempty"` Title string `protobuf:"bytes,6,opt,name=Title,proto3" json:"Title,omitempty"` Icon string `protobuf:"bytes,7,opt,name=Icon,proto3" json:"Icon,omitempty"` Sort int64 `protobuf:"varint,8,opt,name=sort,proto3" json:"sort,omitempty"` Hiddent int64 `protobuf:"varint,9,opt,name=Hiddent,proto3" json:"Hiddent,omitempty"` CreateTime int64 `protobuf:"varint,10,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` UpdateTime int64 `protobuf:"varint,11,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` DeleteTime int64 `protobuf:"varint,12,opt,name=DeleteTime,proto3" json:"DeleteTime,omitempty"` // contains filtered or unexported fields }
menu模型
func (*Menu) Descriptor
deprecated
func (*Menu) GetComponent ¶
func (*Menu) GetCreateTime ¶
func (*Menu) GetDeleteTime ¶
func (*Menu) GetHiddent ¶
func (*Menu) GetParentID ¶
func (*Menu) GetUpdateTime ¶
func (*Menu) ProtoMessage ¶
func (*Menu) ProtoMessage()
func (*Menu) ProtoReflect ¶
func (x *Menu) ProtoReflect() protoreflect.Message
type MenuAllResponse ¶
type MenuAllResponse struct { Menus []*Menu `protobuf:"bytes,1,rep,name=Menus,proto3" json:"Menus,omitempty"` // contains filtered or unexported fields }
func (*MenuAllResponse) Descriptor
deprecated
func (*MenuAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use MenuAllResponse.ProtoReflect.Descriptor instead.
func (*MenuAllResponse) GetMenus ¶
func (x *MenuAllResponse) GetMenus() []*Menu
func (*MenuAllResponse) ProtoMessage ¶
func (*MenuAllResponse) ProtoMessage()
func (*MenuAllResponse) ProtoReflect ¶
func (x *MenuAllResponse) ProtoReflect() protoreflect.Message
func (*MenuAllResponse) Reset ¶
func (x *MenuAllResponse) Reset()
func (*MenuAllResponse) String ¶
func (x *MenuAllResponse) String() string
type MenuID ¶
type MenuID struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*MenuID) Descriptor
deprecated
func (*MenuID) ProtoMessage ¶
func (*MenuID) ProtoMessage()
func (*MenuID) ProtoReflect ¶
func (x *MenuID) ProtoReflect() protoreflect.Message
type Role ¶
type Role struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Role string `protobuf:"bytes,2,opt,name=Role,proto3" json:"Role,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` CreateBy string `protobuf:"bytes,4,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"` CreateTime int64 `protobuf:"varint,5,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` UpdateBy string `protobuf:"bytes,6,opt,name=UpdateBy,proto3" json:"UpdateBy,omitempty"` UpdateTime int64 `protobuf:"varint,7,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` DeleteBy string `protobuf:"bytes,8,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"` DeleteTime int64 `protobuf:"varint,9,opt,name=DeleteTime,proto3" json:"DeleteTime,omitempty"` // contains filtered or unexported fields }
角色模型
func (*Role) Descriptor
deprecated
func (*Role) GetCreateBy ¶
func (*Role) GetCreateTime ¶
func (*Role) GetDeleteBy ¶
func (*Role) GetDeleteTime ¶
func (*Role) GetUpdateBy ¶
func (*Role) GetUpdateTime ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type RoleAllResponse ¶
type RoleAllResponse struct { Roles []*Role `protobuf:"bytes,1,rep,name=Roles,proto3" json:"Roles,omitempty"` // contains filtered or unexported fields }
---------
func (*RoleAllResponse) Descriptor
deprecated
func (*RoleAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleAllResponse.ProtoReflect.Descriptor instead.
func (*RoleAllResponse) GetRoles ¶
func (x *RoleAllResponse) GetRoles() []*Role
func (*RoleAllResponse) ProtoMessage ¶
func (*RoleAllResponse) ProtoMessage()
func (*RoleAllResponse) ProtoReflect ¶
func (x *RoleAllResponse) ProtoReflect() protoreflect.Message
func (*RoleAllResponse) Reset ¶
func (x *RoleAllResponse) Reset()
func (*RoleAllResponse) String ¶
func (x *RoleAllResponse) String() string
type RoleID ¶
type RoleID struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*RoleID) Descriptor
deprecated
func (*RoleID) ProtoMessage ¶
func (*RoleID) ProtoMessage()
func (*RoleID) ProtoReflect ¶
func (x *RoleID) ProtoReflect() protoreflect.Message
type RoleMenu ¶
type RoleMenu struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` MenuID uint64 `protobuf:"varint,2,opt,name=MenuID,proto3" json:"MenuID,omitempty"` RoleID uint64 `protobuf:"varint,3,opt,name=RoleID,proto3" json:"RoleID,omitempty"` // contains filtered or unexported fields }
roleMenu模型
func (*RoleMenu) Descriptor
deprecated
func (*RoleMenu) ProtoMessage ¶
func (*RoleMenu) ProtoMessage()
func (*RoleMenu) ProtoReflect ¶
func (x *RoleMenu) ProtoReflect() protoreflect.Message
type RoleMenuResponse ¶
type RoleMenuResponse struct { // contains filtered or unexported fields }
func (*RoleMenuResponse) Descriptor
deprecated
func (*RoleMenuResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleMenuResponse.ProtoReflect.Descriptor instead.
func (*RoleMenuResponse) GetRolemenus ¶
func (x *RoleMenuResponse) GetRolemenus() []*RoleMenu
func (*RoleMenuResponse) ProtoMessage ¶
func (*RoleMenuResponse) ProtoMessage()
func (*RoleMenuResponse) ProtoReflect ¶
func (x *RoleMenuResponse) ProtoReflect() protoreflect.Message
func (*RoleMenuResponse) Reset ¶
func (x *RoleMenuResponse) Reset()
func (*RoleMenuResponse) String ¶
func (x *RoleMenuResponse) String() string
type SystemServiceClient ¶
type SystemServiceClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) //casbin_rule CasbinEnforcer(ctx context.Context, in *CasbinEnforceRequest, opts ...grpc.CallOption) (*CasbinEnforceResponse, error) RefreshCasbinPolicy(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) CasbinPolicyByRoleID(ctx context.Context, in *RoleID, opts ...grpc.CallOption) (*CasbinPolicyResponse, error) UpdateCasbinPolicy(ctx context.Context, in *UpdateCasbinPolicyRequest, opts ...grpc.CallOption) (*Empty, error) //user UserDetail(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*User, error) UserDetailByName(ctx context.Context, in *UserName, opts ...grpc.CallOption) (*User, error) UserPaging(ctx context.Context, in *UserPagingRequest, opts ...grpc.CallOption) (*UserPagingResponse, error) UserTotal(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Total, error) CreateUser_UserRole(ctx context.Context, in *CreateUser_UserRoleRequest, opts ...grpc.CallOption) (*Empty, error) DeleteSoftUser(ctx context.Context, in *DeleteSoftUserRequest, opts ...grpc.CallOption) (*Empty, error) DeleteUser(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*Empty, error) UpdateUserPassword(ctx context.Context, in *UpdateUserPasswordRequest, opts ...grpc.CallOption) (*Empty, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*Empty, error) UpdateUserCurrentRole(ctx context.Context, in *UpdateUserCurrentRoleRequest, opts ...grpc.CallOption) (*Empty, error) UserPageSet(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*UserPageSetResponse, error) UpdateUserPageSet(ctx context.Context, in *UpdateUserPageSetRequest, opts ...grpc.CallOption) (*Empty, error) UserMenuParamsByUserID(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*UserMenuParamsResponse, error) UserAllMenuParams(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UserMenuParamsResponse, error) UpdateUserMenuParams(ctx context.Context, in *UpdateUserMenuParamsRequest, opts ...grpc.CallOption) (*Empty, error) UserRoleByUserID(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*UserRoleResponse, error) UpdateUserRole(ctx context.Context, in *UpdateUserRoleRequest, opts ...grpc.CallOption) (*Empty, error) RoleDetail(ctx context.Context, in *RoleID, opts ...grpc.CallOption) (*Role, error) RoleAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*RoleAllResponse, error) DeleteRole(ctx context.Context, in *RoleID, opts ...grpc.CallOption) (*Empty, error) DeleteSoftRole(ctx context.Context, in *DeleteSoftRoleRequest, opts ...grpc.CallOption) (*Empty, error) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*Empty, error) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*Empty, error) MenuDetail(ctx context.Context, in *MenuID, opts ...grpc.CallOption) (*Menu, error) MenuAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*MenuAllResponse, error) CreateMenu(ctx context.Context, in *CreateMenuRequest, opts ...grpc.CallOption) (*Empty, error) UpdateMenu(ctx context.Context, in *UpdateMenuRequest, opts ...grpc.CallOption) (*Empty, error) DeleteMenu_RoleMenu_UserMenuParam(ctx context.Context, in *MenuID, opts ...grpc.CallOption) (*Empty, error) RoleMenuByRoleID(ctx context.Context, in *RoleID, opts ...grpc.CallOption) (*RoleMenuResponse, error) UpdateRoleMenus(ctx context.Context, in *UpdateRoleMenusRequest, opts ...grpc.CallOption) (*Empty, error) APIDetail(ctx context.Context, in *ApiID, opts ...grpc.CallOption) (*API, error) APIAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*APIAllResponse, error) APIPaging(ctx context.Context, in *APIPagingRequest, opts ...grpc.CallOption) (*APIPagingResponse, error) APITotal(ctx context.Context, in *APIPagingRequest, opts ...grpc.CallOption) (*Total, error) CreateAPI(ctx context.Context, in *CreateAPIRequest, opts ...grpc.CallOption) (*Empty, error) UpdateAPI(ctx context.Context, in *API, opts ...grpc.CallOption) (*Empty, error) DeleteAPIAndCasbin(ctx context.Context, in *DeleteAPIAndCasbinRequest, opts ...grpc.CallOption) (*Empty, error) DeleteAPIMultipleAndCasbin(ctx context.Context, in *DeleteAPIMultipleAndCasbinRequest, opts ...grpc.CallOption) (*Empty, error) Test(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Total, error) }
SystemServiceClient is the client API for SystemService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSystemServiceClient ¶
func NewSystemServiceClient(cc grpc.ClientConnInterface) SystemServiceClient
type SystemServiceServer ¶
type SystemServiceServer interface { Login(context.Context, *LoginRequest) (*LoginResponse, error) //casbin_rule CasbinEnforcer(context.Context, *CasbinEnforceRequest) (*CasbinEnforceResponse, error) RefreshCasbinPolicy(context.Context, *Empty) (*Empty, error) CasbinPolicyByRoleID(context.Context, *RoleID) (*CasbinPolicyResponse, error) UpdateCasbinPolicy(context.Context, *UpdateCasbinPolicyRequest) (*Empty, error) //user UserDetail(context.Context, *UserID) (*User, error) UserDetailByName(context.Context, *UserName) (*User, error) UserPaging(context.Context, *UserPagingRequest) (*UserPagingResponse, error) UserTotal(context.Context, *Empty) (*Total, error) CreateUser_UserRole(context.Context, *CreateUser_UserRoleRequest) (*Empty, error) DeleteSoftUser(context.Context, *DeleteSoftUserRequest) (*Empty, error) DeleteUser(context.Context, *UserID) (*Empty, error) UpdateUserPassword(context.Context, *UpdateUserPasswordRequest) (*Empty, error) UpdateUser(context.Context, *UpdateUserRequest) (*Empty, error) UpdateUserCurrentRole(context.Context, *UpdateUserCurrentRoleRequest) (*Empty, error) UserPageSet(context.Context, *UserID) (*UserPageSetResponse, error) UpdateUserPageSet(context.Context, *UpdateUserPageSetRequest) (*Empty, error) UserMenuParamsByUserID(context.Context, *UserID) (*UserMenuParamsResponse, error) UserAllMenuParams(context.Context, *Empty) (*UserMenuParamsResponse, error) UpdateUserMenuParams(context.Context, *UpdateUserMenuParamsRequest) (*Empty, error) UserRoleByUserID(context.Context, *UserID) (*UserRoleResponse, error) UpdateUserRole(context.Context, *UpdateUserRoleRequest) (*Empty, error) RoleDetail(context.Context, *RoleID) (*Role, error) RoleAll(context.Context, *Empty) (*RoleAllResponse, error) DeleteRole(context.Context, *RoleID) (*Empty, error) DeleteSoftRole(context.Context, *DeleteSoftRoleRequest) (*Empty, error) CreateRole(context.Context, *CreateRoleRequest) (*Empty, error) UpdateRole(context.Context, *UpdateRoleRequest) (*Empty, error) MenuDetail(context.Context, *MenuID) (*Menu, error) MenuAll(context.Context, *Empty) (*MenuAllResponse, error) CreateMenu(context.Context, *CreateMenuRequest) (*Empty, error) UpdateMenu(context.Context, *UpdateMenuRequest) (*Empty, error) DeleteMenu_RoleMenu_UserMenuParam(context.Context, *MenuID) (*Empty, error) RoleMenuByRoleID(context.Context, *RoleID) (*RoleMenuResponse, error) UpdateRoleMenus(context.Context, *UpdateRoleMenusRequest) (*Empty, error) APIDetail(context.Context, *ApiID) (*API, error) APIAll(context.Context, *Empty) (*APIAllResponse, error) APIPaging(context.Context, *APIPagingRequest) (*APIPagingResponse, error) APITotal(context.Context, *APIPagingRequest) (*Total, error) CreateAPI(context.Context, *CreateAPIRequest) (*Empty, error) UpdateAPI(context.Context, *API) (*Empty, error) DeleteAPIAndCasbin(context.Context, *DeleteAPIAndCasbinRequest) (*Empty, error) DeleteAPIMultipleAndCasbin(context.Context, *DeleteAPIMultipleAndCasbinRequest) (*Empty, error) Test(context.Context, *Empty) (*Total, error) // contains filtered or unexported methods }
SystemServiceServer is the server API for SystemService service. All implementations must embed UnimplementedSystemServiceServer for forward compatibility
type Total ¶
type Total struct { Total int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // contains filtered or unexported fields }
func (*Total) Descriptor
deprecated
func (*Total) ProtoMessage ¶
func (*Total) ProtoMessage()
func (*Total) ProtoReflect ¶
func (x *Total) ProtoReflect() protoreflect.Message
type UnimplementedSystemServiceServer ¶
type UnimplementedSystemServiceServer struct { }
UnimplementedSystemServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSystemServiceServer) APIAll ¶
func (UnimplementedSystemServiceServer) APIAll(context.Context, *Empty) (*APIAllResponse, error)
func (UnimplementedSystemServiceServer) APIPaging ¶
func (UnimplementedSystemServiceServer) APIPaging(context.Context, *APIPagingRequest) (*APIPagingResponse, error)
func (UnimplementedSystemServiceServer) APITotal ¶
func (UnimplementedSystemServiceServer) APITotal(context.Context, *APIPagingRequest) (*Total, error)
func (UnimplementedSystemServiceServer) CasbinEnforcer ¶
func (UnimplementedSystemServiceServer) CasbinEnforcer(context.Context, *CasbinEnforceRequest) (*CasbinEnforceResponse, error)
func (UnimplementedSystemServiceServer) CasbinPolicyByRoleID ¶
func (UnimplementedSystemServiceServer) CasbinPolicyByRoleID(context.Context, *RoleID) (*CasbinPolicyResponse, error)
func (UnimplementedSystemServiceServer) CreateAPI ¶
func (UnimplementedSystemServiceServer) CreateAPI(context.Context, *CreateAPIRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) CreateMenu ¶
func (UnimplementedSystemServiceServer) CreateMenu(context.Context, *CreateMenuRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) CreateRole ¶
func (UnimplementedSystemServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) CreateUser_UserRole ¶
func (UnimplementedSystemServiceServer) CreateUser_UserRole(context.Context, *CreateUser_UserRoleRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) DeleteAPIAndCasbin ¶
func (UnimplementedSystemServiceServer) DeleteAPIAndCasbin(context.Context, *DeleteAPIAndCasbinRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) DeleteAPIMultipleAndCasbin ¶
func (UnimplementedSystemServiceServer) DeleteAPIMultipleAndCasbin(context.Context, *DeleteAPIMultipleAndCasbinRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) DeleteMenu_RoleMenu_UserMenuParam ¶
func (UnimplementedSystemServiceServer) DeleteRole ¶
func (UnimplementedSystemServiceServer) DeleteSoftRole ¶
func (UnimplementedSystemServiceServer) DeleteSoftRole(context.Context, *DeleteSoftRoleRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) DeleteSoftUser ¶
func (UnimplementedSystemServiceServer) DeleteSoftUser(context.Context, *DeleteSoftUserRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) DeleteUser ¶
func (UnimplementedSystemServiceServer) Login ¶
func (UnimplementedSystemServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedSystemServiceServer) MenuAll ¶
func (UnimplementedSystemServiceServer) MenuAll(context.Context, *Empty) (*MenuAllResponse, error)
func (UnimplementedSystemServiceServer) MenuDetail ¶
func (UnimplementedSystemServiceServer) RefreshCasbinPolicy ¶
func (UnimplementedSystemServiceServer) RoleAll ¶
func (UnimplementedSystemServiceServer) RoleAll(context.Context, *Empty) (*RoleAllResponse, error)
func (UnimplementedSystemServiceServer) RoleDetail ¶
func (UnimplementedSystemServiceServer) RoleMenuByRoleID ¶
func (UnimplementedSystemServiceServer) RoleMenuByRoleID(context.Context, *RoleID) (*RoleMenuResponse, error)
func (UnimplementedSystemServiceServer) UpdateCasbinPolicy ¶
func (UnimplementedSystemServiceServer) UpdateCasbinPolicy(context.Context, *UpdateCasbinPolicyRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UpdateMenu ¶
func (UnimplementedSystemServiceServer) UpdateMenu(context.Context, *UpdateMenuRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UpdateRole ¶
func (UnimplementedSystemServiceServer) UpdateRole(context.Context, *UpdateRoleRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UpdateRoleMenus ¶
func (UnimplementedSystemServiceServer) UpdateRoleMenus(context.Context, *UpdateRoleMenusRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UpdateUser ¶
func (UnimplementedSystemServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UpdateUserCurrentRole ¶
func (UnimplementedSystemServiceServer) UpdateUserCurrentRole(context.Context, *UpdateUserCurrentRoleRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UpdateUserMenuParams ¶
func (UnimplementedSystemServiceServer) UpdateUserMenuParams(context.Context, *UpdateUserMenuParamsRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UpdateUserPageSet ¶
func (UnimplementedSystemServiceServer) UpdateUserPageSet(context.Context, *UpdateUserPageSetRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UpdateUserPassword ¶
func (UnimplementedSystemServiceServer) UpdateUserPassword(context.Context, *UpdateUserPasswordRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UpdateUserRole ¶
func (UnimplementedSystemServiceServer) UpdateUserRole(context.Context, *UpdateUserRoleRequest) (*Empty, error)
func (UnimplementedSystemServiceServer) UserAllMenuParams ¶
func (UnimplementedSystemServiceServer) UserAllMenuParams(context.Context, *Empty) (*UserMenuParamsResponse, error)
func (UnimplementedSystemServiceServer) UserDetail ¶
func (UnimplementedSystemServiceServer) UserDetailByName ¶
func (UnimplementedSystemServiceServer) UserMenuParamsByUserID ¶
func (UnimplementedSystemServiceServer) UserMenuParamsByUserID(context.Context, *UserID) (*UserMenuParamsResponse, error)
func (UnimplementedSystemServiceServer) UserPageSet ¶
func (UnimplementedSystemServiceServer) UserPageSet(context.Context, *UserID) (*UserPageSetResponse, error)
func (UnimplementedSystemServiceServer) UserPaging ¶
func (UnimplementedSystemServiceServer) UserPaging(context.Context, *UserPagingRequest) (*UserPagingResponse, error)
func (UnimplementedSystemServiceServer) UserRoleByUserID ¶
func (UnimplementedSystemServiceServer) UserRoleByUserID(context.Context, *UserID) (*UserRoleResponse, error)
type UnsafeSystemServiceServer ¶
type UnsafeSystemServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServiceServer will result in compilation errors.
type UpdateCasbinPolicyRequest ¶
type UpdateCasbinPolicyRequest struct { V0 string `protobuf:"bytes,1,opt,name=v0,proto3" json:"v0,omitempty"` CasbinRules []*CasbinRule `protobuf:"bytes,2,rep,name=CasbinRules,proto3" json:"CasbinRules,omitempty"` // contains filtered or unexported fields }
func (*UpdateCasbinPolicyRequest) Descriptor
deprecated
func (*UpdateCasbinPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCasbinPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateCasbinPolicyRequest) GetCasbinRules ¶
func (x *UpdateCasbinPolicyRequest) GetCasbinRules() []*CasbinRule
func (*UpdateCasbinPolicyRequest) GetV0 ¶
func (x *UpdateCasbinPolicyRequest) GetV0() string
func (*UpdateCasbinPolicyRequest) ProtoMessage ¶
func (*UpdateCasbinPolicyRequest) ProtoMessage()
func (*UpdateCasbinPolicyRequest) ProtoReflect ¶
func (x *UpdateCasbinPolicyRequest) ProtoReflect() protoreflect.Message
func (*UpdateCasbinPolicyRequest) Reset ¶
func (x *UpdateCasbinPolicyRequest) Reset()
func (*UpdateCasbinPolicyRequest) String ¶
func (x *UpdateCasbinPolicyRequest) String() string
type UpdateMenuRequest ¶
type UpdateMenuRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentID uint64 `protobuf:"varint,2,opt,name=ParentID,proto3" json:"ParentID,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` Path string `protobuf:"bytes,4,opt,name=Path,proto3" json:"Path,omitempty"` Component string `protobuf:"bytes,5,opt,name=Component,proto3" json:"Component,omitempty"` Title string `protobuf:"bytes,6,opt,name=Title,proto3" json:"Title,omitempty"` Icon string `protobuf:"bytes,7,opt,name=Icon,proto3" json:"Icon,omitempty"` Sort int64 `protobuf:"varint,8,opt,name=sort,proto3" json:"sort,omitempty"` Hiddent int64 `protobuf:"varint,9,opt,name=Hiddent,proto3" json:"Hiddent,omitempty"` // contains filtered or unexported fields }
func (*UpdateMenuRequest) Descriptor
deprecated
func (*UpdateMenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMenuRequest.ProtoReflect.Descriptor instead.
func (*UpdateMenuRequest) GetComponent ¶
func (x *UpdateMenuRequest) GetComponent() string
func (*UpdateMenuRequest) GetHiddent ¶
func (x *UpdateMenuRequest) GetHiddent() int64
func (*UpdateMenuRequest) GetIcon ¶
func (x *UpdateMenuRequest) GetIcon() string
func (*UpdateMenuRequest) GetId ¶
func (x *UpdateMenuRequest) GetId() uint64
func (*UpdateMenuRequest) GetName ¶
func (x *UpdateMenuRequest) GetName() string
func (*UpdateMenuRequest) GetParentID ¶
func (x *UpdateMenuRequest) GetParentID() uint64
func (*UpdateMenuRequest) GetPath ¶
func (x *UpdateMenuRequest) GetPath() string
func (*UpdateMenuRequest) GetSort ¶
func (x *UpdateMenuRequest) GetSort() int64
func (*UpdateMenuRequest) GetTitle ¶
func (x *UpdateMenuRequest) GetTitle() string
func (*UpdateMenuRequest) ProtoMessage ¶
func (*UpdateMenuRequest) ProtoMessage()
func (*UpdateMenuRequest) ProtoReflect ¶
func (x *UpdateMenuRequest) ProtoReflect() protoreflect.Message
func (*UpdateMenuRequest) Reset ¶
func (x *UpdateMenuRequest) Reset()
func (*UpdateMenuRequest) String ¶
func (x *UpdateMenuRequest) String() string
type UpdateRoleMenusRequest ¶
type UpdateRoleMenusRequest struct { RoleID uint64 `protobuf:"varint,1,opt,name=RoleID,proto3" json:"RoleID,omitempty"` MenuIDList []uint64 `protobuf:"varint,2,rep,packed,name=MenuIDList,proto3" json:"MenuIDList,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoleMenusRequest) Descriptor
deprecated
func (*UpdateRoleMenusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleMenusRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleMenusRequest) GetMenuIDList ¶
func (x *UpdateRoleMenusRequest) GetMenuIDList() []uint64
func (*UpdateRoleMenusRequest) GetRoleID ¶
func (x *UpdateRoleMenusRequest) GetRoleID() uint64
func (*UpdateRoleMenusRequest) ProtoMessage ¶
func (*UpdateRoleMenusRequest) ProtoMessage()
func (*UpdateRoleMenusRequest) ProtoReflect ¶
func (x *UpdateRoleMenusRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoleMenusRequest) Reset ¶
func (x *UpdateRoleMenusRequest) Reset()
func (*UpdateRoleMenusRequest) String ¶
func (x *UpdateRoleMenusRequest) String() string
type UpdateRoleRequest ¶
type UpdateRoleRequest struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Role string `protobuf:"bytes,2,opt,name=Role,proto3" json:"Role,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` CreateBy string `protobuf:"bytes,4,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"` UpdateBy string `protobuf:"bytes,5,opt,name=UpdateBy,proto3" json:"UpdateBy,omitempty"` DeleteBy string `protobuf:"bytes,6,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoleRequest) Descriptor
deprecated
func (*UpdateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleRequest) GetCreateBy ¶
func (x *UpdateRoleRequest) GetCreateBy() string
func (*UpdateRoleRequest) GetDeleteBy ¶
func (x *UpdateRoleRequest) GetDeleteBy() string
func (*UpdateRoleRequest) GetID ¶
func (x *UpdateRoleRequest) GetID() uint64
func (*UpdateRoleRequest) GetName ¶
func (x *UpdateRoleRequest) GetName() string
func (*UpdateRoleRequest) GetRole ¶
func (x *UpdateRoleRequest) GetRole() string
func (*UpdateRoleRequest) GetUpdateBy ¶
func (x *UpdateRoleRequest) GetUpdateBy() string
func (*UpdateRoleRequest) ProtoMessage ¶
func (*UpdateRoleRequest) ProtoMessage()
func (*UpdateRoleRequest) ProtoReflect ¶
func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoleRequest) Reset ¶
func (x *UpdateRoleRequest) Reset()
func (*UpdateRoleRequest) String ¶
func (x *UpdateRoleRequest) String() string
type UpdateUserCurrentRoleRequest ¶
type UpdateUserCurrentRoleRequest struct { UserID uint64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"` RoleID uint64 `protobuf:"varint,2,opt,name=RoleID,proto3" json:"RoleID,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserCurrentRoleRequest) Descriptor
deprecated
func (*UpdateUserCurrentRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserCurrentRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserCurrentRoleRequest) GetRoleID ¶
func (x *UpdateUserCurrentRoleRequest) GetRoleID() uint64
func (*UpdateUserCurrentRoleRequest) GetUserID ¶
func (x *UpdateUserCurrentRoleRequest) GetUserID() uint64
func (*UpdateUserCurrentRoleRequest) ProtoMessage ¶
func (*UpdateUserCurrentRoleRequest) ProtoMessage()
func (*UpdateUserCurrentRoleRequest) ProtoReflect ¶
func (x *UpdateUserCurrentRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserCurrentRoleRequest) Reset ¶
func (x *UpdateUserCurrentRoleRequest) Reset()
func (*UpdateUserCurrentRoleRequest) String ¶
func (x *UpdateUserCurrentRoleRequest) String() string
type UpdateUserMenuParamsRequest ¶
type UpdateUserMenuParamsRequest struct { MenuId uint64 `protobuf:"varint,1,opt,name=MenuId,proto3" json:"MenuId,omitempty"` UserMenuParams []*UserMenuParams `protobuf:"bytes,2,rep,name=UserMenuParams,proto3" json:"UserMenuParams,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserMenuParamsRequest) Descriptor
deprecated
func (*UpdateUserMenuParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserMenuParamsRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserMenuParamsRequest) GetMenuId ¶
func (x *UpdateUserMenuParamsRequest) GetMenuId() uint64
func (*UpdateUserMenuParamsRequest) GetUserMenuParams ¶
func (x *UpdateUserMenuParamsRequest) GetUserMenuParams() []*UserMenuParams
func (*UpdateUserMenuParamsRequest) ProtoMessage ¶
func (*UpdateUserMenuParamsRequest) ProtoMessage()
func (*UpdateUserMenuParamsRequest) ProtoReflect ¶
func (x *UpdateUserMenuParamsRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserMenuParamsRequest) Reset ¶
func (x *UpdateUserMenuParamsRequest) Reset()
func (*UpdateUserMenuParamsRequest) String ¶
func (x *UpdateUserMenuParamsRequest) String() string
type UpdateUserPageSetRequest ¶
type UpdateUserPageSetRequest struct { UserID uint64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"` Avatar string `protobuf:"bytes,2,opt,name=Avatar,proto3" json:"Avatar,omitempty"` DefaultRouter string `protobuf:"bytes,3,opt,name=DefaultRouter,proto3" json:"DefaultRouter,omitempty"` SideMode string `protobuf:"bytes,4,opt,name=SideMode,proto3" json:"SideMode,omitempty"` ActiveTextColor string `protobuf:"bytes,5,opt,name=ActiveTextColor,proto3" json:"ActiveTextColor,omitempty"` TextColor string `protobuf:"bytes,6,opt,name=TextColor,proto3" json:"TextColor,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserPageSetRequest) Descriptor
deprecated
func (*UpdateUserPageSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserPageSetRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserPageSetRequest) GetActiveTextColor ¶
func (x *UpdateUserPageSetRequest) GetActiveTextColor() string
func (*UpdateUserPageSetRequest) GetAvatar ¶
func (x *UpdateUserPageSetRequest) GetAvatar() string
func (*UpdateUserPageSetRequest) GetDefaultRouter ¶
func (x *UpdateUserPageSetRequest) GetDefaultRouter() string
func (*UpdateUserPageSetRequest) GetSideMode ¶
func (x *UpdateUserPageSetRequest) GetSideMode() string
func (*UpdateUserPageSetRequest) GetTextColor ¶
func (x *UpdateUserPageSetRequest) GetTextColor() string
func (*UpdateUserPageSetRequest) GetUserID ¶
func (x *UpdateUserPageSetRequest) GetUserID() uint64
func (*UpdateUserPageSetRequest) ProtoMessage ¶
func (*UpdateUserPageSetRequest) ProtoMessage()
func (*UpdateUserPageSetRequest) ProtoReflect ¶
func (x *UpdateUserPageSetRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserPageSetRequest) Reset ¶
func (x *UpdateUserPageSetRequest) Reset()
func (*UpdateUserPageSetRequest) String ¶
func (x *UpdateUserPageSetRequest) String() string
type UpdateUserPasswordRequest ¶
type UpdateUserPasswordRequest struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserPasswordRequest) Descriptor
deprecated
func (*UpdateUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserPasswordRequest) GetID ¶
func (x *UpdateUserPasswordRequest) GetID() uint64
func (*UpdateUserPasswordRequest) GetPassword ¶
func (x *UpdateUserPasswordRequest) GetPassword() string
func (*UpdateUserPasswordRequest) ProtoMessage ¶
func (*UpdateUserPasswordRequest) ProtoMessage()
func (*UpdateUserPasswordRequest) ProtoReflect ¶
func (x *UpdateUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserPasswordRequest) Reset ¶
func (x *UpdateUserPasswordRequest) Reset()
func (*UpdateUserPasswordRequest) String ¶
func (x *UpdateUserPasswordRequest) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` NickName string `protobuf:"bytes,3,opt,name=NickName,proto3" json:"NickName,omitempty"` Email string `protobuf:"bytes,4,opt,name=Email,proto3" json:"Email,omitempty"` Phone string `protobuf:"bytes,5,opt,name=Phone,proto3" json:"Phone,omitempty"` Department string `protobuf:"bytes,6,opt,name=Department,proto3" json:"Department,omitempty"` Position string `protobuf:"bytes,7,opt,name=Position,proto3" json:"Position,omitempty"` UpdateBy string `protobuf:"bytes,8,opt,name=UpdateBy,proto3" json:"UpdateBy,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetDepartment ¶
func (x *UpdateUserRequest) GetDepartment() string
func (*UpdateUserRequest) GetEmail ¶
func (x *UpdateUserRequest) GetEmail() string
func (*UpdateUserRequest) GetID ¶
func (x *UpdateUserRequest) GetID() uint64
func (*UpdateUserRequest) GetName ¶
func (x *UpdateUserRequest) GetName() string
func (*UpdateUserRequest) GetNickName ¶
func (x *UpdateUserRequest) GetNickName() string
func (*UpdateUserRequest) GetPhone ¶
func (x *UpdateUserRequest) GetPhone() string
func (*UpdateUserRequest) GetPosition ¶
func (x *UpdateUserRequest) GetPosition() string
func (*UpdateUserRequest) GetUpdateBy ¶
func (x *UpdateUserRequest) GetUpdateBy() string
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserRoleRequest ¶
type UpdateUserRoleRequest struct { UserID uint64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"` RoleList []uint64 `protobuf:"varint,2,rep,packed,name=RoleList,proto3" json:"RoleList,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRoleRequest) Descriptor
deprecated
func (*UpdateUserRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRoleRequest) GetRoleList ¶
func (x *UpdateUserRoleRequest) GetRoleList() []uint64
func (*UpdateUserRoleRequest) GetUserID ¶
func (x *UpdateUserRoleRequest) GetUserID() uint64
func (*UpdateUserRoleRequest) ProtoMessage ¶
func (*UpdateUserRoleRequest) ProtoMessage()
func (*UpdateUserRoleRequest) ProtoReflect ¶
func (x *UpdateUserRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRoleRequest) Reset ¶
func (x *UpdateUserRoleRequest) Reset()
func (*UpdateUserRoleRequest) String ¶
func (x *UpdateUserRoleRequest) String() string
type User ¶
type User struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` NickName string `protobuf:"bytes,3,opt,name=NickName,proto3" json:"NickName,omitempty"` PassWord string `protobuf:"bytes,4,opt,name=PassWord,proto3" json:"PassWord,omitempty"` UserType int64 `protobuf:"varint,5,opt,name=UserType,proto3" json:"UserType,omitempty"` Email string `protobuf:"bytes,6,opt,name=Email,proto3" json:"Email,omitempty"` Phone string `protobuf:"bytes,7,opt,name=Phone,proto3" json:"Phone,omitempty"` Department string `protobuf:"bytes,8,opt,name=Department,proto3" json:"Department,omitempty"` Position string `protobuf:"bytes,9,opt,name=Position,proto3" json:"Position,omitempty"` CurrentRole uint64 `protobuf:"varint,10,opt,name=CurrentRole,proto3" json:"CurrentRole,omitempty"` CreateBy string `protobuf:"bytes,11,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"` CreateTime int64 `protobuf:"varint,12,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` UpdateBy string `protobuf:"bytes,13,opt,name=UpdateBy,proto3" json:"UpdateBy,omitempty"` UpdateTime int64 `protobuf:"varint,14,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` DeleteBy string `protobuf:"bytes,15,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"` DeleteTime int64 `protobuf:"varint,16,opt,name=DeleteTime,proto3" json:"DeleteTime,omitempty"` // contains filtered or unexported fields }
用户模型
func (*User) Descriptor
deprecated
func (*User) GetCreateBy ¶
func (*User) GetCreateTime ¶
func (*User) GetCurrentRole ¶
func (*User) GetDeleteBy ¶
func (*User) GetDeleteTime ¶
func (*User) GetDepartment ¶
func (*User) GetNickName ¶
func (*User) GetPassWord ¶
func (*User) GetPosition ¶
func (*User) GetUpdateBy ¶
func (*User) GetUpdateTime ¶
func (*User) GetUserType ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserID ¶
type UserID struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*UserID) Descriptor
deprecated
func (*UserID) ProtoMessage ¶
func (*UserID) ProtoMessage()
func (*UserID) ProtoReflect ¶
func (x *UserID) ProtoReflect() protoreflect.Message
type UserMenuParams ¶
type UserMenuParams struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` UserID uint64 `protobuf:"varint,2,opt,name=UserID,proto3" json:"UserID,omitempty"` MenuID uint64 `protobuf:"varint,3,opt,name=MenuID,proto3" json:"MenuID,omitempty"` Type string `protobuf:"bytes,4,opt,name=Type,proto3" json:"Type,omitempty"` Key string `protobuf:"bytes,5,opt,name=Key,proto3" json:"Key,omitempty"` Value string `protobuf:"bytes,6,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
user_menu_params模型
func (*UserMenuParams) Descriptor
deprecated
func (*UserMenuParams) Descriptor() ([]byte, []int)
Deprecated: Use UserMenuParams.ProtoReflect.Descriptor instead.
func (*UserMenuParams) GetID ¶
func (x *UserMenuParams) GetID() uint64
func (*UserMenuParams) GetKey ¶
func (x *UserMenuParams) GetKey() string
func (*UserMenuParams) GetMenuID ¶
func (x *UserMenuParams) GetMenuID() uint64
func (*UserMenuParams) GetType ¶
func (x *UserMenuParams) GetType() string
func (*UserMenuParams) GetUserID ¶
func (x *UserMenuParams) GetUserID() uint64
func (*UserMenuParams) GetValue ¶
func (x *UserMenuParams) GetValue() string
func (*UserMenuParams) ProtoMessage ¶
func (*UserMenuParams) ProtoMessage()
func (*UserMenuParams) ProtoReflect ¶
func (x *UserMenuParams) ProtoReflect() protoreflect.Message
func (*UserMenuParams) Reset ¶
func (x *UserMenuParams) Reset()
func (*UserMenuParams) String ¶
func (x *UserMenuParams) String() string
type UserMenuParamsResponse ¶
type UserMenuParamsResponse struct { UserMenuParams []*UserMenuParams `protobuf:"bytes,1,rep,name=UserMenuParams,proto3" json:"UserMenuParams,omitempty"` // contains filtered or unexported fields }
func (*UserMenuParamsResponse) Descriptor
deprecated
func (*UserMenuParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserMenuParamsResponse.ProtoReflect.Descriptor instead.
func (*UserMenuParamsResponse) GetUserMenuParams ¶
func (x *UserMenuParamsResponse) GetUserMenuParams() []*UserMenuParams
func (*UserMenuParamsResponse) ProtoMessage ¶
func (*UserMenuParamsResponse) ProtoMessage()
func (*UserMenuParamsResponse) ProtoReflect ¶
func (x *UserMenuParamsResponse) ProtoReflect() protoreflect.Message
func (*UserMenuParamsResponse) Reset ¶
func (x *UserMenuParamsResponse) Reset()
func (*UserMenuParamsResponse) String ¶
func (x *UserMenuParamsResponse) String() string
type UserName ¶
type UserName struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*UserName) Descriptor
deprecated
func (*UserName) ProtoMessage ¶
func (*UserName) ProtoMessage()
func (*UserName) ProtoReflect ¶
func (x *UserName) ProtoReflect() protoreflect.Message
type UserPageSetResponse ¶
type UserPageSetResponse struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` UserId uint64 `protobuf:"varint,2,opt,name=UserId,proto3" json:"UserId,omitempty"` Avatar string `protobuf:"bytes,3,opt,name=Avatar,proto3" json:"Avatar,omitempty"` DefaultRouter string `protobuf:"bytes,4,opt,name=DefaultRouter,proto3" json:"DefaultRouter,omitempty"` SideMode string `protobuf:"bytes,5,opt,name=SideMode,proto3" json:"SideMode,omitempty"` ActiveTextColor string `protobuf:"bytes,6,opt,name=ActiveTextColor,proto3" json:"ActiveTextColor,omitempty"` TextColor string `protobuf:"bytes,7,opt,name=TextColor,proto3" json:"TextColor,omitempty"` // contains filtered or unexported fields }
用户页面设置模型
func (*UserPageSetResponse) Descriptor
deprecated
func (*UserPageSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserPageSetResponse.ProtoReflect.Descriptor instead.
func (*UserPageSetResponse) GetActiveTextColor ¶
func (x *UserPageSetResponse) GetActiveTextColor() string
func (*UserPageSetResponse) GetAvatar ¶
func (x *UserPageSetResponse) GetAvatar() string
func (*UserPageSetResponse) GetDefaultRouter ¶
func (x *UserPageSetResponse) GetDefaultRouter() string
func (*UserPageSetResponse) GetID ¶
func (x *UserPageSetResponse) GetID() uint64
func (*UserPageSetResponse) GetSideMode ¶
func (x *UserPageSetResponse) GetSideMode() string
func (*UserPageSetResponse) GetTextColor ¶
func (x *UserPageSetResponse) GetTextColor() string
func (*UserPageSetResponse) GetUserId ¶
func (x *UserPageSetResponse) GetUserId() uint64
func (*UserPageSetResponse) ProtoMessage ¶
func (*UserPageSetResponse) ProtoMessage()
func (*UserPageSetResponse) ProtoReflect ¶
func (x *UserPageSetResponse) ProtoReflect() protoreflect.Message
func (*UserPageSetResponse) Reset ¶
func (x *UserPageSetResponse) Reset()
func (*UserPageSetResponse) String ¶
func (x *UserPageSetResponse) String() string
type UserPagingRequest ¶
type UserPagingRequest struct { Page int64 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"` NameX string `protobuf:"bytes,3,opt,name=NameX,proto3" json:"NameX,omitempty"` // contains filtered or unexported fields }
------------- 请求响应
func (*UserPagingRequest) Descriptor
deprecated
func (*UserPagingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserPagingRequest.ProtoReflect.Descriptor instead.
func (*UserPagingRequest) GetNameX ¶
func (x *UserPagingRequest) GetNameX() string
func (*UserPagingRequest) GetPage ¶
func (x *UserPagingRequest) GetPage() int64
func (*UserPagingRequest) GetPageSize ¶
func (x *UserPagingRequest) GetPageSize() int64
func (*UserPagingRequest) ProtoMessage ¶
func (*UserPagingRequest) ProtoMessage()
func (*UserPagingRequest) ProtoReflect ¶
func (x *UserPagingRequest) ProtoReflect() protoreflect.Message
func (*UserPagingRequest) Reset ¶
func (x *UserPagingRequest) Reset()
func (*UserPagingRequest) String ¶
func (x *UserPagingRequest) String() string
type UserPagingResponse ¶
type UserPagingResponse struct { Users []*User `protobuf:"bytes,1,rep,name=Users,proto3" json:"Users,omitempty"` // contains filtered or unexported fields }
func (*UserPagingResponse) Descriptor
deprecated
func (*UserPagingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserPagingResponse.ProtoReflect.Descriptor instead.
func (*UserPagingResponse) GetUsers ¶
func (x *UserPagingResponse) GetUsers() []*User
func (*UserPagingResponse) ProtoMessage ¶
func (*UserPagingResponse) ProtoMessage()
func (*UserPagingResponse) ProtoReflect ¶
func (x *UserPagingResponse) ProtoReflect() protoreflect.Message
func (*UserPagingResponse) Reset ¶
func (x *UserPagingResponse) Reset()
func (*UserPagingResponse) String ¶
func (x *UserPagingResponse) String() string
type UserRole ¶
type UserRole struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` UserID uint64 `protobuf:"varint,2,opt,name=UserID,proto3" json:"UserID,omitempty"` RoleID uint64 `protobuf:"varint,3,opt,name=RoleID,proto3" json:"RoleID,omitempty"` // contains filtered or unexported fields }
userRole模型
func (*UserRole) Descriptor
deprecated
func (*UserRole) ProtoMessage ¶
func (*UserRole) ProtoMessage()
func (*UserRole) ProtoReflect ¶
func (x *UserRole) ProtoReflect() protoreflect.Message
type UserRoleResponse ¶
type UserRoleResponse struct { UserRoles []*UserRole `protobuf:"bytes,1,rep,name=UserRoles,proto3" json:"UserRoles,omitempty"` // contains filtered or unexported fields }
func (*UserRoleResponse) Descriptor
deprecated
func (*UserRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserRoleResponse.ProtoReflect.Descriptor instead.
func (*UserRoleResponse) GetUserRoles ¶
func (x *UserRoleResponse) GetUserRoles() []*UserRole
func (*UserRoleResponse) ProtoMessage ¶
func (*UserRoleResponse) ProtoMessage()
func (*UserRoleResponse) ProtoReflect ¶
func (x *UserRoleResponse) ProtoReflect() protoreflect.Message
func (*UserRoleResponse) Reset ¶
func (x *UserRoleResponse) Reset()
func (*UserRoleResponse) String ¶
func (x *UserRoleResponse) String() string