Documentation ¶
Index ¶
- type ApiInfo
- type ApiListResp
- type ApiPageReq
- type BaseResp
- type ChangePasswordReq
- type Core
- type CreateMenuParamReq
- type CreateOrUpdateMenuReq
- type CreateOrUpdateUserReq
- type CreatePolicyReq
- type Empty
- type GetUserListReq
- type IDReq
- type LoginReq
- type LoginResp
- type MenuInfo
- type MenuInfoList
- type MenuParamListResp
- type MenuParamResp
- type MenuRoleInfo
- type MenuRoleListResp
- type Meta
- type PageInfoReq
- type PolicyPartInfo
- type RoleInfo
- type RoleListResp
- type RoleMenuAuthorityReq
- type RoleMenuAuthorityResp
- type SetStatusReq
- type UUIDReq
- type UpdateMenuParamReq
- type UpdatePolicyReq
- type UpdateProfileReq
- type UserInfoResp
- type UserListResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiListResp ¶
type ApiListResp = core.ApiListResp
type ApiPageReq ¶
type ApiPageReq = core.ApiPageReq
type ChangePasswordReq ¶
type ChangePasswordReq = core.ChangePasswordReq
type Core ¶
type Core interface { // init InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // user service Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error) ChangePassword(ctx context.Context, in *ChangePasswordReq, opts ...grpc.CallOption) (*BaseResp, error) CreateOrUpdateUser(ctx context.Context, in *CreateOrUpdateUserReq, opts ...grpc.CallOption) (*BaseResp, error) GetUserById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*UserInfoResp, error) GetUserList(ctx context.Context, in *GetUserListReq, opts ...grpc.CallOption) (*UserListResp, error) DeleteUser(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) UpdateProfile(ctx context.Context, in *UpdateProfileReq, opts ...grpc.CallOption) (*BaseResp, error) // menu service CreateOrUpdateMenu(ctx context.Context, in *CreateOrUpdateMenuReq, opts ...grpc.CallOption) (*BaseResp, error) DeleteMenu(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) GetMenuListByRole(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*MenuInfoList, error) GetMenuByPage(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*MenuInfoList, error) CreateMenuParam(ctx context.Context, in *CreateMenuParamReq, opts ...grpc.CallOption) (*BaseResp, error) UpdateMenuParam(ctx context.Context, in *UpdateMenuParamReq, opts ...grpc.CallOption) (*BaseResp, error) DeleteMenuParam(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) GetMenuParamById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*MenuParamResp, error) GeMenuParamListById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*MenuParamListResp, error) // role service CreateOrUpdateRole(ctx context.Context, in *RoleInfo, opts ...grpc.CallOption) (*BaseResp, error) DeleteRole(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) GetRoleById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleInfo, error) GetRoleList(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*RoleListResp, error) SetRoleStatus(ctx context.Context, in *SetStatusReq, opts ...grpc.CallOption) (*BaseResp, error) // api management service CreateOrUpdateApi(ctx context.Context, in *ApiInfo, opts ...grpc.CallOption) (*BaseResp, error) DeleteApi(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) GetApiList(ctx context.Context, in *ApiPageReq, opts ...grpc.CallOption) (*ApiListResp, error) // authorization management service GetMenuAuthority(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleMenuAuthorityResp, error) CreateOrUpdateMenuAuthority(ctx context.Context, in *RoleMenuAuthorityReq, opts ...grpc.CallOption) (*BaseResp, error) }
type CreateMenuParamReq ¶
type CreateMenuParamReq = core.CreateMenuParamReq
type CreateOrUpdateMenuReq ¶
type CreateOrUpdateMenuReq = core.CreateOrUpdateMenuReq
type CreateOrUpdateUserReq ¶
type CreateOrUpdateUserReq = core.CreateOrUpdateUserReq
type CreatePolicyReq ¶
type CreatePolicyReq = core.CreatePolicyReq
type GetUserListReq ¶
type GetUserListReq = core.GetUserListReq
type MenuInfoList ¶
type MenuInfoList = core.MenuInfoList
type MenuParamListResp ¶
type MenuParamListResp = core.MenuParamListResp
type MenuParamResp ¶
type MenuParamResp = core.MenuParamResp
type MenuRoleInfo ¶
type MenuRoleInfo = core.MenuRoleInfo
type MenuRoleListResp ¶
type MenuRoleListResp = core.MenuRoleListResp
type PageInfoReq ¶
type PageInfoReq = core.PageInfoReq
type PolicyPartInfo ¶
type PolicyPartInfo = core.PolicyPartInfo
type RoleListResp ¶
type RoleListResp = core.RoleListResp
type RoleMenuAuthorityReq ¶
type RoleMenuAuthorityReq = core.RoleMenuAuthorityReq
type RoleMenuAuthorityResp ¶
type RoleMenuAuthorityResp = core.RoleMenuAuthorityResp
type SetStatusReq ¶
type SetStatusReq = core.SetStatusReq
type UpdateMenuParamReq ¶
type UpdateMenuParamReq = core.UpdateMenuParamReq
type UpdatePolicyReq ¶
type UpdatePolicyReq = core.UpdatePolicyReq
type UpdateProfileReq ¶ added in v0.0.2
type UpdateProfileReq = core.UpdateProfileReq
type UserInfoResp ¶
type UserInfoResp = core.UserInfoResp
type UserListResp ¶
type UserListResp = core.UserListResp
Click to show internal directories.
Click to hide internal directories.