Documentation ¶
Index ¶
- type API
- type APIAllResponse
- type APIPagingRequest
- type APIPagingResponse
- type ApiID
- type CasbinEnforceRequest
- type CasbinEnforceResponse
- type CasbinPolicy
- type CasbinPolicyResponse
- type CasbinRule
- type CreateAPIRequest
- type CreateMenuRequest
- type CreateRoleRequest
- type CreateUser_UserRoleRequest
- type DeleteAPIAndCasbinRequest
- type DeleteAPIMultipleAndCasbinRequest
- type DeleteSoftRoleRequest
- type DeleteSoftUserRequest
- type Empty
- type LoginRequest
- type LoginResponse
- type Menu
- type MenuAllResponse
- type MenuID
- type Role
- type RoleAllResponse
- type RoleID
- type RoleMenu
- type RoleMenuResponse
- type SystemService
- type Total
- type UpdateCasbinPolicyRequest
- type UpdateMenuRequest
- type UpdateRoleMenusRequest
- type UpdateRoleRequest
- type UpdateUserCurrentRoleRequest
- type UpdateUserMenuParamsRequest
- type UpdateUserPageSetRequest
- type UpdateUserPasswordRequest
- type UpdateUserRequest
- type UpdateUserRoleRequest
- type User
- type UserID
- type UserMenuParams
- type UserMenuParamsResponse
- type UserName
- type UserPageSetResponse
- type UserPagingRequest
- type UserPagingResponse
- type UserRole
- type UserRoleResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIAllResponse ¶
type APIAllResponse = pb.APIAllResponse
type APIPagingRequest ¶
type APIPagingRequest = pb.APIPagingRequest
type APIPagingResponse ¶
type APIPagingResponse = pb.APIPagingResponse
type CasbinEnforceRequest ¶
type CasbinEnforceRequest = pb.CasbinEnforceRequest
type CasbinEnforceResponse ¶
type CasbinEnforceResponse = pb.CasbinEnforceResponse
type CasbinPolicy ¶
type CasbinPolicy = pb.CasbinPolicy
type CasbinPolicyResponse ¶
type CasbinPolicyResponse = pb.CasbinPolicyResponse
type CasbinRule ¶
type CasbinRule = pb.CasbinRule
type CreateAPIRequest ¶
type CreateAPIRequest = pb.CreateAPIRequest
type CreateMenuRequest ¶
type CreateMenuRequest = pb.CreateMenuRequest
type CreateRoleRequest ¶
type CreateRoleRequest = pb.CreateRoleRequest
type CreateUser_UserRoleRequest ¶
type CreateUser_UserRoleRequest = pb.CreateUser_UserRoleRequest
type DeleteAPIAndCasbinRequest ¶
type DeleteAPIAndCasbinRequest = pb.DeleteAPIAndCasbinRequest
type DeleteAPIMultipleAndCasbinRequest ¶
type DeleteAPIMultipleAndCasbinRequest = pb.DeleteAPIMultipleAndCasbinRequest
type DeleteSoftRoleRequest ¶
type DeleteSoftRoleRequest = pb.DeleteSoftRoleRequest
type DeleteSoftUserRequest ¶
type DeleteSoftUserRequest = pb.DeleteSoftUserRequest
type LoginRequest ¶
type LoginRequest = pb.LoginRequest
type LoginResponse ¶
type LoginResponse = pb.LoginResponse
type MenuAllResponse ¶
type MenuAllResponse = pb.MenuAllResponse
type RoleAllResponse ¶
type RoleAllResponse = pb.RoleAllResponse
type RoleMenuResponse ¶
type RoleMenuResponse = pb.RoleMenuResponse
type SystemService ¶
type SystemService 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) }
func NewSystemService ¶
func NewSystemService(cli zrpc.Client) SystemService
type UpdateCasbinPolicyRequest ¶
type UpdateCasbinPolicyRequest = pb.UpdateCasbinPolicyRequest
type UpdateMenuRequest ¶
type UpdateMenuRequest = pb.UpdateMenuRequest
type UpdateRoleMenusRequest ¶
type UpdateRoleMenusRequest = pb.UpdateRoleMenusRequest
type UpdateRoleRequest ¶
type UpdateRoleRequest = pb.UpdateRoleRequest
type UpdateUserCurrentRoleRequest ¶
type UpdateUserCurrentRoleRequest = pb.UpdateUserCurrentRoleRequest
type UpdateUserMenuParamsRequest ¶
type UpdateUserMenuParamsRequest = pb.UpdateUserMenuParamsRequest
type UpdateUserPageSetRequest ¶
type UpdateUserPageSetRequest = pb.UpdateUserPageSetRequest
type UpdateUserPasswordRequest ¶
type UpdateUserPasswordRequest = pb.UpdateUserPasswordRequest
type UpdateUserRequest ¶
type UpdateUserRequest = pb.UpdateUserRequest
type UpdateUserRoleRequest ¶
type UpdateUserRoleRequest = pb.UpdateUserRoleRequest
type UserMenuParams ¶
type UserMenuParams = pb.UserMenuParams
type UserMenuParamsResponse ¶
type UserMenuParamsResponse = pb.UserMenuParamsResponse
type UserPageSetResponse ¶
type UserPageSetResponse = pb.UserPageSetResponse
type UserPagingRequest ¶
type UserPagingRequest = pb.UserPagingRequest
type UserPagingResponse ¶
type UserPagingResponse = pb.UserPagingResponse
type UserRoleResponse ¶
type UserRoleResponse = pb.UserRoleResponse
Click to show internal directories.
Click to hide internal directories.