Documentation ¶
Index ¶
- type CoreServer
- func (s *CoreServer) BatchDeleteToken(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) BatchDeleteUser(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) BlockUserAllToken(ctx context.Context, in *core.UUIDReq) (*core.BaseResp, error)
- func (s *CoreServer) ChangePassword(ctx context.Context, in *core.ChangePasswordReq) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateApi(ctx context.Context, in *core.ApiInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateDictionary(ctx context.Context, in *core.DictionaryInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateDictionaryDetail(ctx context.Context, in *core.DictionaryDetail) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateMenu(ctx context.Context, in *core.CreateOrUpdateMenuReq) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateMenuAuthority(ctx context.Context, in *core.RoleMenuAuthorityReq) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateMenuParam(ctx context.Context, in *core.CreateOrUpdateMenuParamReq) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateProvider(ctx context.Context, in *core.ProviderInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateRole(ctx context.Context, in *core.RoleInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateToken(ctx context.Context, in *core.TokenInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateUser(ctx context.Context, in *core.CreateOrUpdateUserReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteApi(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteDictionary(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteDictionaryDetail(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteMenu(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteMenuParam(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteProvider(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteRole(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteToken(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteUser(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)
- func (s *CoreServer) GetApiList(ctx context.Context, in *core.ApiPageReq) (*core.ApiListResp, error)
- func (s *CoreServer) GetDetailByDictionaryName(ctx context.Context, in *core.DictionaryDetailReq) (*core.DictionaryDetailList, error)
- func (s *CoreServer) GetDictionaryList(ctx context.Context, in *core.DictionaryPageReq) (*core.DictionaryList, error)
- func (s *CoreServer) GetMenuAuthority(ctx context.Context, in *core.IDReq) (*core.RoleMenuAuthorityResp, error)
- func (s *CoreServer) GetMenuList(ctx context.Context, in *core.PageInfoReq) (*core.MenuInfoList, error)
- func (s *CoreServer) GetMenuListByRole(ctx context.Context, in *core.IDReq) (*core.MenuInfoList, error)
- func (s *CoreServer) GetMenuParamListByMenuId(ctx context.Context, in *core.IDReq) (*core.MenuParamListResp, error)
- func (s *CoreServer) GetProviderList(ctx context.Context, in *core.PageInfoReq) (*core.ProviderListResp, error)
- func (s *CoreServer) GetRoleById(ctx context.Context, in *core.IDReq) (*core.RoleInfo, error)
- func (s *CoreServer) GetRoleList(ctx context.Context, in *core.PageInfoReq) (*core.RoleListResp, error)
- func (s *CoreServer) GetTokenList(ctx context.Context, in *core.TokenListReq) (*core.TokenListResp, error)
- func (s *CoreServer) GetUserById(ctx context.Context, in *core.UUIDReq) (*core.UserInfoResp, error)
- func (s *CoreServer) GetUserList(ctx context.Context, in *core.GetUserListReq) (*core.UserListResp, error)
- func (s *CoreServer) InitDatabase(ctx context.Context, in *core.Empty) (*core.BaseResp, error)
- func (s *CoreServer) Login(ctx context.Context, in *core.LoginReq) (*core.LoginResp, error)
- func (s *CoreServer) OauthCallback(ctx context.Context, in *core.CallbackReq) (*core.LoginResp, error)
- func (s *CoreServer) OauthLogin(ctx context.Context, in *core.OauthLoginReq) (*core.OauthRedirectResp, error)
- func (s *CoreServer) UpdateProfile(ctx context.Context, in *core.UpdateProfileReq) (*core.BaseResp, error)
- func (s *CoreServer) UpdateRoleStatus(ctx context.Context, in *core.StatusCodeReq) (*core.BaseResp, error)
- func (s *CoreServer) UpdateTokenStatus(ctx context.Context, in *core.StatusCodeReq) (*core.BaseResp, error)
- func (s *CoreServer) UpdateUserStatus(ctx context.Context, in *core.StatusCodeReq) (*core.BaseResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreServer ¶
type CoreServer struct { core.UnimplementedCoreServer // contains filtered or unexported fields }
func NewCoreServer ¶
func NewCoreServer(svcCtx *svc.ServiceContext) *CoreServer
func (*CoreServer) BatchDeleteToken ¶ added in v0.1.8
func (*CoreServer) BatchDeleteUser ¶ added in v0.1.9
func (*CoreServer) BlockUserAllToken ¶ added in v0.1.1
func (*CoreServer) ChangePassword ¶
func (s *CoreServer) ChangePassword(ctx context.Context, in *core.ChangePasswordReq) (*core.BaseResp, error)
func (*CoreServer) CreateOrUpdateApi ¶
func (*CoreServer) CreateOrUpdateDictionary ¶ added in v0.0.7
func (s *CoreServer) CreateOrUpdateDictionary(ctx context.Context, in *core.DictionaryInfo) (*core.BaseResp, error)
func (*CoreServer) CreateOrUpdateDictionaryDetail ¶ added in v0.0.7
func (s *CoreServer) CreateOrUpdateDictionaryDetail(ctx context.Context, in *core.DictionaryDetail) (*core.BaseResp, error)
func (*CoreServer) CreateOrUpdateMenu ¶
func (s *CoreServer) CreateOrUpdateMenu(ctx context.Context, in *core.CreateOrUpdateMenuReq) (*core.BaseResp, error)
func (*CoreServer) CreateOrUpdateMenuAuthority ¶
func (s *CoreServer) CreateOrUpdateMenuAuthority(ctx context.Context, in *core.RoleMenuAuthorityReq) (*core.BaseResp, error)
func (*CoreServer) CreateOrUpdateMenuParam ¶ added in v0.0.4
func (s *CoreServer) CreateOrUpdateMenuParam(ctx context.Context, in *core.CreateOrUpdateMenuParamReq) (*core.BaseResp, error)
func (*CoreServer) CreateOrUpdateProvider ¶ added in v0.0.8
func (s *CoreServer) CreateOrUpdateProvider(ctx context.Context, in *core.ProviderInfo) (*core.BaseResp, error)
func (*CoreServer) CreateOrUpdateRole ¶
func (*CoreServer) CreateOrUpdateToken ¶ added in v0.1.1
func (*CoreServer) CreateOrUpdateUser ¶
func (s *CoreServer) CreateOrUpdateUser(ctx context.Context, in *core.CreateOrUpdateUserReq) (*core.BaseResp, error)
func (*CoreServer) DeleteDictionary ¶ added in v0.0.7
func (*CoreServer) DeleteDictionaryDetail ¶ added in v0.0.7
func (*CoreServer) DeleteMenu ¶
func (*CoreServer) DeleteMenuParam ¶
func (*CoreServer) DeleteProvider ¶ added in v0.0.8
func (*CoreServer) DeleteRole ¶
func (*CoreServer) DeleteToken ¶ added in v0.1.1
func (*CoreServer) DeleteUser ¶
func (*CoreServer) GetApiList ¶
func (s *CoreServer) GetApiList(ctx context.Context, in *core.ApiPageReq) (*core.ApiListResp, error)
func (*CoreServer) GetDetailByDictionaryName ¶ added in v0.0.7
func (s *CoreServer) GetDetailByDictionaryName(ctx context.Context, in *core.DictionaryDetailReq) (*core.DictionaryDetailList, error)
func (*CoreServer) GetDictionaryList ¶ added in v0.0.7
func (s *CoreServer) GetDictionaryList(ctx context.Context, in *core.DictionaryPageReq) (*core.DictionaryList, error)
func (*CoreServer) GetMenuAuthority ¶
func (s *CoreServer) GetMenuAuthority(ctx context.Context, in *core.IDReq) (*core.RoleMenuAuthorityResp, error)
func (*CoreServer) GetMenuList ¶ added in v0.1.4
func (s *CoreServer) GetMenuList(ctx context.Context, in *core.PageInfoReq) (*core.MenuInfoList, error)
func (*CoreServer) GetMenuListByRole ¶
func (s *CoreServer) GetMenuListByRole(ctx context.Context, in *core.IDReq) (*core.MenuInfoList, error)
func (*CoreServer) GetMenuParamListByMenuId ¶ added in v0.1.2
func (s *CoreServer) GetMenuParamListByMenuId(ctx context.Context, in *core.IDReq) (*core.MenuParamListResp, error)
func (*CoreServer) GetProviderList ¶ added in v0.0.8
func (s *CoreServer) GetProviderList(ctx context.Context, in *core.PageInfoReq) (*core.ProviderListResp, error)
func (*CoreServer) GetRoleById ¶
func (*CoreServer) GetRoleList ¶
func (s *CoreServer) GetRoleList(ctx context.Context, in *core.PageInfoReq) (*core.RoleListResp, error)
func (*CoreServer) GetTokenList ¶ added in v0.1.1
func (s *CoreServer) GetTokenList(ctx context.Context, in *core.TokenListReq) (*core.TokenListResp, error)
func (*CoreServer) GetUserById ¶
func (s *CoreServer) GetUserById(ctx context.Context, in *core.UUIDReq) (*core.UserInfoResp, error)
func (*CoreServer) GetUserList ¶
func (s *CoreServer) GetUserList(ctx context.Context, in *core.GetUserListReq) (*core.UserListResp, error)
func (*CoreServer) InitDatabase ¶
func (*CoreServer) OauthCallback ¶ added in v0.0.8
func (s *CoreServer) OauthCallback(ctx context.Context, in *core.CallbackReq) (*core.LoginResp, error)
func (*CoreServer) OauthLogin ¶ added in v0.0.8
func (s *CoreServer) OauthLogin(ctx context.Context, in *core.OauthLoginReq) (*core.OauthRedirectResp, error)
func (*CoreServer) UpdateProfile ¶ added in v0.0.2
func (s *CoreServer) UpdateProfile(ctx context.Context, in *core.UpdateProfileReq) (*core.BaseResp, error)
func (*CoreServer) UpdateRoleStatus ¶ added in v0.1.4
func (s *CoreServer) UpdateRoleStatus(ctx context.Context, in *core.StatusCodeReq) (*core.BaseResp, error)
func (*CoreServer) UpdateTokenStatus ¶ added in v0.1.4
func (s *CoreServer) UpdateTokenStatus(ctx context.Context, in *core.StatusCodeReq) (*core.BaseResp, error)
func (*CoreServer) UpdateUserStatus ¶ added in v0.1.4
func (s *CoreServer) UpdateUserStatus(ctx context.Context, in *core.StatusCodeReq) (*core.BaseResp, error)
Click to show internal directories.
Click to hide internal directories.