Documentation ¶
Index ¶
- type ApiInfo
- type ApiListResp
- type ApiPageReq
- type BaseResp
- type CallbackReq
- type ChangePasswordReq
- type Core
- type CreateOrUpdateMenuParamReq
- type CreateOrUpdateMenuReq
- type CreateOrUpdateUserReq
- type CreatePolicyReq
- type DictionaryDetail
- type DictionaryDetailList
- type DictionaryDetailReq
- type DictionaryInfo
- type DictionaryList
- type DictionaryPageReq
- type Empty
- type GetUserListReq
- type IDReq
- type IDsReq
- type LoginReq
- type LoginResp
- type MenuInfo
- type MenuInfoList
- type MenuParamListResp
- type MenuParamResp
- type MenuRoleInfo
- type MenuRoleListResp
- type Meta
- type OauthLoginReq
- type OauthRedirectResp
- type PageInfoReq
- type PolicyPartInfo
- type ProviderInfo
- type ProviderListResp
- type RoleInfo
- type RoleListResp
- type RoleMenuAuthorityReq
- type RoleMenuAuthorityResp
- type StatusCodeReq
- type TokenInfo
- type TokenListReq
- type TokenListResp
- type UUIDReq
- 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 CallbackReq ¶ added in v0.0.8
type CallbackReq = core.CallbackReq
type ChangePasswordReq ¶
type ChangePasswordReq = core.ChangePasswordReq
type Core ¶
type Core interface { InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) 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) BatchDeleteUser(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) UpdateProfile(ctx context.Context, in *UpdateProfileReq, opts ...grpc.CallOption) (*BaseResp, error) UpdateUserStatus(ctx context.Context, in *StatusCodeReq, opts ...grpc.CallOption) (*BaseResp, error) 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) GetMenuList(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*MenuInfoList, error) CreateOrUpdateMenuParam(ctx context.Context, in *CreateOrUpdateMenuParamReq, opts ...grpc.CallOption) (*BaseResp, error) DeleteMenuParam(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) GetMenuParamListByMenuId(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*MenuParamListResp, error) 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) UpdateRoleStatus(ctx context.Context, in *StatusCodeReq, opts ...grpc.CallOption) (*BaseResp, error) 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) GetMenuAuthority(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleMenuAuthorityResp, error) CreateOrUpdateMenuAuthority(ctx context.Context, in *RoleMenuAuthorityReq, opts ...grpc.CallOption) (*BaseResp, error) CreateOrUpdateDictionary(ctx context.Context, in *DictionaryInfo, opts ...grpc.CallOption) (*BaseResp, error) DeleteDictionary(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) GetDictionaryList(ctx context.Context, in *DictionaryPageReq, opts ...grpc.CallOption) (*DictionaryList, error) GetDetailByDictionaryName(ctx context.Context, in *DictionaryDetailReq, opts ...grpc.CallOption) (*DictionaryDetailList, error) CreateOrUpdateDictionaryDetail(ctx context.Context, in *DictionaryDetail, opts ...grpc.CallOption) (*BaseResp, error) DeleteDictionaryDetail(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) CreateOrUpdateProvider(ctx context.Context, in *ProviderInfo, opts ...grpc.CallOption) (*BaseResp, error) DeleteProvider(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) GetProviderList(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*ProviderListResp, error) OauthLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*OauthRedirectResp, error) OauthCallback(ctx context.Context, in *CallbackReq, opts ...grpc.CallOption) (*LoginResp, error) CreateOrUpdateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseResp, error) DeleteToken(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) BatchDeleteToken(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) GetTokenList(ctx context.Context, in *TokenListReq, opts ...grpc.CallOption) (*TokenListResp, error) UpdateTokenStatus(ctx context.Context, in *StatusCodeReq, opts ...grpc.CallOption) (*BaseResp, error) BlockUserAllToken(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*BaseResp, error) }
type CreateOrUpdateMenuParamReq ¶
type CreateOrUpdateMenuParamReq = core.CreateOrUpdateMenuParamReq
type CreateOrUpdateMenuReq ¶
type CreateOrUpdateMenuReq = core.CreateOrUpdateMenuReq
type CreateOrUpdateUserReq ¶
type CreateOrUpdateUserReq = core.CreateOrUpdateUserReq
type CreatePolicyReq ¶
type CreatePolicyReq = core.CreatePolicyReq
type DictionaryDetail ¶ added in v0.0.7
type DictionaryDetail = core.DictionaryDetail
type DictionaryDetailList ¶ added in v0.0.7
type DictionaryDetailList = core.DictionaryDetailList
type DictionaryDetailReq ¶ added in v0.0.7
type DictionaryDetailReq = core.DictionaryDetailReq
type DictionaryInfo ¶ added in v0.0.7
type DictionaryInfo = core.DictionaryInfo
type DictionaryList ¶ added in v0.0.7
type DictionaryList = core.DictionaryList
type DictionaryPageReq ¶ added in v0.0.7
type DictionaryPageReq = core.DictionaryPageReq
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 OauthLoginReq ¶ added in v0.0.8
type OauthLoginReq = core.OauthLoginReq
type OauthRedirectResp ¶ added in v0.0.8
type OauthRedirectResp = core.OauthRedirectResp
type PageInfoReq ¶
type PageInfoReq = core.PageInfoReq
type PolicyPartInfo ¶
type PolicyPartInfo = core.PolicyPartInfo
type ProviderInfo ¶ added in v0.0.8
type ProviderInfo = core.ProviderInfo
type ProviderListResp ¶ added in v0.0.8
type ProviderListResp = core.ProviderListResp
type RoleListResp ¶
type RoleListResp = core.RoleListResp
type RoleMenuAuthorityReq ¶
type RoleMenuAuthorityReq = core.RoleMenuAuthorityReq
type RoleMenuAuthorityResp ¶
type RoleMenuAuthorityResp = core.RoleMenuAuthorityResp
type StatusCodeReq ¶ added in v0.1.4
type StatusCodeReq = core.StatusCodeReq
type TokenListReq ¶ added in v0.1.1
type TokenListReq = core.TokenListReq
type TokenListResp ¶ added in v0.1.1
type TokenListResp = core.TokenListResp
type UpdatePolicyReq ¶
type UpdatePolicyReq = core.UpdatePolicyReq
type UpdateProfileReq ¶
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.