Documentation ¶
Index ¶
- type CoreServer
- func (s *CoreServer) BlockUserAllToken(ctx context.Context, in *core.UUIDReq) (*core.BaseResp, error)
- func (s *CoreServer) CreateApi(ctx context.Context, in *core.ApiInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateDepartment(ctx context.Context, in *core.DepartmentInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateDictionary(ctx context.Context, in *core.DictionaryInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateDictionaryDetail(ctx context.Context, in *core.DictionaryDetailInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateMember(ctx context.Context, in *core.MemberInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateMemberRank(ctx context.Context, in *core.MemberRankInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateMenu(ctx context.Context, in *core.MenuInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateMenuParam(ctx context.Context, in *core.MenuParamInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateOauthProvider(ctx context.Context, in *core.OauthProviderInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateOrUpdateMenuAuthority(ctx context.Context, in *core.RoleMenuAuthorityReq) (*core.BaseResp, error)
- func (s *CoreServer) CreatePosition(ctx context.Context, in *core.PositionInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateRole(ctx context.Context, in *core.RoleInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateToken(ctx context.Context, in *core.TokenInfo) (*core.BaseResp, error)
- func (s *CoreServer) CreateUser(ctx context.Context, in *core.UserInfo) (*core.BaseResp, error)
- func (s *CoreServer) DeleteApi(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteDepartment(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteDictionary(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteDictionaryDetail(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteMember(ctx context.Context, in *core.UUIDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteMemberRank(ctx context.Context, in *core.IDsReq) (*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.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteOauthProvider(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeletePosition(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteRole(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteToken(ctx context.Context, in *core.UUIDsReq) (*core.BaseResp, error)
- func (s *CoreServer) DeleteUser(ctx context.Context, in *core.UUIDsReq) (*core.BaseResp, error)
- func (s *CoreServer) GetApiById(ctx context.Context, in *core.IDReq) (*core.ApiInfo, error)
- func (s *CoreServer) GetApiList(ctx context.Context, in *core.ApiListReq) (*core.ApiListResp, error)
- func (s *CoreServer) GetDepartmentById(ctx context.Context, in *core.IDReq) (*core.DepartmentInfo, error)
- func (s *CoreServer) GetDepartmentList(ctx context.Context, in *core.DepartmentListReq) (*core.DepartmentListResp, error)
- func (s *CoreServer) GetDictionaryById(ctx context.Context, in *core.IDReq) (*core.DictionaryInfo, error)
- func (s *CoreServer) GetDictionaryDetailById(ctx context.Context, in *core.IDReq) (*core.DictionaryDetailInfo, error)
- func (s *CoreServer) GetDictionaryDetailList(ctx context.Context, in *core.DictionaryDetailListReq) (*core.DictionaryDetailListResp, error)
- func (s *CoreServer) GetDictionaryList(ctx context.Context, in *core.DictionaryListReq) (*core.DictionaryListResp, error)
- func (s *CoreServer) GetMemberById(ctx context.Context, in *core.UUIDReq) (*core.MemberInfo, error)
- func (s *CoreServer) GetMemberByUsername(ctx context.Context, in *core.UsernameReq) (*core.MemberInfo, error)
- func (s *CoreServer) GetMemberList(ctx context.Context, in *core.MemberListReq) (*core.MemberListResp, error)
- func (s *CoreServer) GetMemberRankById(ctx context.Context, in *core.IDReq) (*core.MemberRankInfo, error)
- func (s *CoreServer) GetMemberRankList(ctx context.Context, in *core.MemberRankListReq) (*core.MemberRankListResp, 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.BaseMsg) (*core.MenuInfoList, error)
- func (s *CoreServer) GetMenuParamById(ctx context.Context, in *core.IDReq) (*core.MenuParamInfo, error)
- func (s *CoreServer) GetMenuParamList(ctx context.Context, in *core.MenuParamListReq) (*core.MenuParamListResp, error)
- func (s *CoreServer) GetOauthProviderById(ctx context.Context, in *core.IDReq) (*core.OauthProviderInfo, error)
- func (s *CoreServer) GetOauthProviderList(ctx context.Context, in *core.OauthProviderListReq) (*core.OauthProviderListResp, error)
- func (s *CoreServer) GetPositionById(ctx context.Context, in *core.IDReq) (*core.PositionInfo, error)
- func (s *CoreServer) GetPositionList(ctx context.Context, in *core.PositionListReq) (*core.PositionListResp, error)
- func (s *CoreServer) GetRoleById(ctx context.Context, in *core.IDReq) (*core.RoleInfo, error)
- func (s *CoreServer) GetRoleList(ctx context.Context, in *core.RoleListReq) (*core.RoleListResp, error)
- func (s *CoreServer) GetTokenById(ctx context.Context, in *core.UUIDReq) (*core.TokenInfo, 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.UserInfo, error)
- func (s *CoreServer) GetUserByUsername(ctx context.Context, in *core.UsernameReq) (*core.UserInfo, error)
- func (s *CoreServer) GetUserList(ctx context.Context, in *core.UserListReq) (*core.UserListResp, error)
- func (s *CoreServer) InitDatabase(ctx context.Context, in *core.Empty) (*core.BaseResp, error)
- func (s *CoreServer) OauthCallback(ctx context.Context, in *core.CallbackReq) (*core.UserInfo, error)
- func (s *CoreServer) OauthLogin(ctx context.Context, in *core.OauthLoginReq) (*core.OauthRedirectResp, error)
- func (s *CoreServer) UpdateApi(ctx context.Context, in *core.ApiInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateDepartment(ctx context.Context, in *core.DepartmentInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateDictionary(ctx context.Context, in *core.DictionaryInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateDictionaryDetail(ctx context.Context, in *core.DictionaryDetailInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateMember(ctx context.Context, in *core.MemberInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateMemberRank(ctx context.Context, in *core.MemberRankInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateMenu(ctx context.Context, in *core.MenuInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateMenuParam(ctx context.Context, in *core.MenuParamInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateOauthProvider(ctx context.Context, in *core.OauthProviderInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdatePosition(ctx context.Context, in *core.PositionInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateRole(ctx context.Context, in *core.RoleInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateToken(ctx context.Context, in *core.TokenInfo) (*core.BaseResp, error)
- func (s *CoreServer) UpdateUser(ctx context.Context, in *core.UserInfo) (*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) BlockUserAllToken ¶ added in v0.1.1
func (*CoreServer) CreateDepartment ¶ added in v0.2.4
func (s *CoreServer) CreateDepartment(ctx context.Context, in *core.DepartmentInfo) (*core.BaseResp, error)
Department management
func (*CoreServer) CreateDictionary ¶ added in v0.2.4
func (s *CoreServer) CreateDictionary(ctx context.Context, in *core.DictionaryInfo) (*core.BaseResp, error)
Dictionary management
func (*CoreServer) CreateDictionaryDetail ¶ added in v0.2.4
func (s *CoreServer) CreateDictionaryDetail(ctx context.Context, in *core.DictionaryDetailInfo) (*core.BaseResp, error)
DictionaryDetail management
func (*CoreServer) CreateMember ¶ added in v0.2.4
func (s *CoreServer) CreateMember(ctx context.Context, in *core.MemberInfo) (*core.BaseResp, error)
Member management
func (*CoreServer) CreateMemberRank ¶ added in v0.2.4
func (s *CoreServer) CreateMemberRank(ctx context.Context, in *core.MemberRankInfo) (*core.BaseResp, error)
MemberRank management
func (*CoreServer) CreateMenu ¶ added in v0.2.4
func (*CoreServer) CreateMenuParam ¶
func (s *CoreServer) CreateMenuParam(ctx context.Context, in *core.MenuParamInfo) (*core.BaseResp, error)
MenuParam management
func (*CoreServer) CreateOauthProvider ¶ added in v0.2.4
func (s *CoreServer) CreateOauthProvider(ctx context.Context, in *core.OauthProviderInfo) (*core.BaseResp, error)
OauthProvider management
func (*CoreServer) CreateOrUpdateMenuAuthority ¶
func (s *CoreServer) CreateOrUpdateMenuAuthority(ctx context.Context, in *core.RoleMenuAuthorityReq) (*core.BaseResp, error)
func (*CoreServer) CreatePosition ¶ added in v0.2.4
func (s *CoreServer) CreatePosition(ctx context.Context, in *core.PositionInfo) (*core.BaseResp, error)
Position management
func (*CoreServer) CreateRole ¶ added in v0.2.4
Role management
func (*CoreServer) CreateToken ¶ added in v0.2.4
Token management
func (*CoreServer) CreateUser ¶ added in v0.2.4
User management
func (*CoreServer) DeleteDepartment ¶ added in v0.2.3
func (*CoreServer) DeleteDictionary ¶ added in v0.0.7
func (*CoreServer) DeleteDictionaryDetail ¶ added in v0.0.7
func (*CoreServer) DeleteMember ¶ added in v0.2.3
func (*CoreServer) DeleteMemberRank ¶ added in v0.2.3
func (*CoreServer) DeleteMenu ¶
func (*CoreServer) DeleteMenuParam ¶
func (*CoreServer) DeleteOauthProvider ¶ added in v0.2.4
func (*CoreServer) DeletePosition ¶ added in v0.2.3
func (*CoreServer) DeleteRole ¶
func (*CoreServer) DeleteToken ¶ added in v0.1.1
func (*CoreServer) DeleteUser ¶
func (*CoreServer) GetApiById ¶ added in v0.2.4
func (*CoreServer) GetApiList ¶
func (s *CoreServer) GetApiList(ctx context.Context, in *core.ApiListReq) (*core.ApiListResp, error)
func (*CoreServer) GetDepartmentById ¶ added in v0.2.4
func (s *CoreServer) GetDepartmentById(ctx context.Context, in *core.IDReq) (*core.DepartmentInfo, error)
func (*CoreServer) GetDepartmentList ¶ added in v0.2.3
func (s *CoreServer) GetDepartmentList(ctx context.Context, in *core.DepartmentListReq) (*core.DepartmentListResp, error)
func (*CoreServer) GetDictionaryById ¶ added in v0.2.4
func (s *CoreServer) GetDictionaryById(ctx context.Context, in *core.IDReq) (*core.DictionaryInfo, error)
func (*CoreServer) GetDictionaryDetailById ¶ added in v0.2.4
func (s *CoreServer) GetDictionaryDetailById(ctx context.Context, in *core.IDReq) (*core.DictionaryDetailInfo, error)
func (*CoreServer) GetDictionaryDetailList ¶ added in v0.2.4
func (s *CoreServer) GetDictionaryDetailList(ctx context.Context, in *core.DictionaryDetailListReq) (*core.DictionaryDetailListResp, error)
func (*CoreServer) GetDictionaryList ¶ added in v0.0.7
func (s *CoreServer) GetDictionaryList(ctx context.Context, in *core.DictionaryListReq) (*core.DictionaryListResp, error)
func (*CoreServer) GetMemberById ¶ added in v0.2.4
func (s *CoreServer) GetMemberById(ctx context.Context, in *core.UUIDReq) (*core.MemberInfo, error)
func (*CoreServer) GetMemberByUsername ¶ added in v0.2.4
func (s *CoreServer) GetMemberByUsername(ctx context.Context, in *core.UsernameReq) (*core.MemberInfo, error)
func (*CoreServer) GetMemberList ¶ added in v0.2.3
func (s *CoreServer) GetMemberList(ctx context.Context, in *core.MemberListReq) (*core.MemberListResp, error)
func (*CoreServer) GetMemberRankById ¶ added in v0.2.4
func (s *CoreServer) GetMemberRankById(ctx context.Context, in *core.IDReq) (*core.MemberRankInfo, error)
func (*CoreServer) GetMemberRankList ¶ added in v0.2.3
func (s *CoreServer) GetMemberRankList(ctx context.Context, in *core.MemberRankListReq) (*core.MemberRankListResp, 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.BaseMsg) (*core.MenuInfoList, error)
func (*CoreServer) GetMenuParamById ¶
func (s *CoreServer) GetMenuParamById(ctx context.Context, in *core.IDReq) (*core.MenuParamInfo, error)
func (*CoreServer) GetMenuParamList ¶ added in v0.2.4
func (s *CoreServer) GetMenuParamList(ctx context.Context, in *core.MenuParamListReq) (*core.MenuParamListResp, error)
func (*CoreServer) GetOauthProviderById ¶ added in v0.2.4
func (s *CoreServer) GetOauthProviderById(ctx context.Context, in *core.IDReq) (*core.OauthProviderInfo, error)
func (*CoreServer) GetOauthProviderList ¶ added in v0.2.4
func (s *CoreServer) GetOauthProviderList(ctx context.Context, in *core.OauthProviderListReq) (*core.OauthProviderListResp, error)
func (*CoreServer) GetPositionById ¶ added in v0.2.4
func (s *CoreServer) GetPositionById(ctx context.Context, in *core.IDReq) (*core.PositionInfo, error)
func (*CoreServer) GetPositionList ¶ added in v0.2.3
func (s *CoreServer) GetPositionList(ctx context.Context, in *core.PositionListReq) (*core.PositionListResp, error)
func (*CoreServer) GetRoleById ¶
func (*CoreServer) GetRoleList ¶
func (s *CoreServer) GetRoleList(ctx context.Context, in *core.RoleListReq) (*core.RoleListResp, error)
func (*CoreServer) GetTokenById ¶ added in v0.2.4
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 (*CoreServer) GetUserByUsername ¶ added in v0.2.4
func (s *CoreServer) GetUserByUsername(ctx context.Context, in *core.UsernameReq) (*core.UserInfo, error)
func (*CoreServer) GetUserList ¶
func (s *CoreServer) GetUserList(ctx context.Context, in *core.UserListReq) (*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.UserInfo, error)
func (*CoreServer) OauthLogin ¶ added in v0.0.8
func (s *CoreServer) OauthLogin(ctx context.Context, in *core.OauthLoginReq) (*core.OauthRedirectResp, error)
func (*CoreServer) UpdateDepartment ¶ added in v0.2.4
func (s *CoreServer) UpdateDepartment(ctx context.Context, in *core.DepartmentInfo) (*core.BaseResp, error)
func (*CoreServer) UpdateDictionary ¶ added in v0.2.4
func (s *CoreServer) UpdateDictionary(ctx context.Context, in *core.DictionaryInfo) (*core.BaseResp, error)
func (*CoreServer) UpdateDictionaryDetail ¶ added in v0.2.4
func (s *CoreServer) UpdateDictionaryDetail(ctx context.Context, in *core.DictionaryDetailInfo) (*core.BaseResp, error)
func (*CoreServer) UpdateMember ¶ added in v0.2.4
func (s *CoreServer) UpdateMember(ctx context.Context, in *core.MemberInfo) (*core.BaseResp, error)
func (*CoreServer) UpdateMemberRank ¶ added in v0.2.4
func (s *CoreServer) UpdateMemberRank(ctx context.Context, in *core.MemberRankInfo) (*core.BaseResp, error)
func (*CoreServer) UpdateMenu ¶ added in v0.2.4
func (*CoreServer) UpdateMenuParam ¶
func (s *CoreServer) UpdateMenuParam(ctx context.Context, in *core.MenuParamInfo) (*core.BaseResp, error)
func (*CoreServer) UpdateOauthProvider ¶ added in v0.2.4
func (s *CoreServer) UpdateOauthProvider(ctx context.Context, in *core.OauthProviderInfo) (*core.BaseResp, error)
func (*CoreServer) UpdatePosition ¶ added in v0.2.4
func (s *CoreServer) UpdatePosition(ctx context.Context, in *core.PositionInfo) (*core.BaseResp, error)
func (*CoreServer) UpdateRole ¶ added in v0.2.4
func (*CoreServer) UpdateToken ¶ added in v0.2.4
func (*CoreServer) UpdateUser ¶ added in v0.2.4
Click to show internal directories.
Click to hide internal directories.