Documentation ¶
Index ¶
- type CoreServer
- 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) CreateOrUpdateRole(ctx context.Context, in *core.RoleInfo) (*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) DeleteRole(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) GeMenuParamListByMenuId(ctx context.Context, in *core.IDReq) (*core.MenuParamListResp, 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) GetMenuByPage(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) 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) 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) SetRoleStatus(ctx context.Context, in *core.SetStatusReq) (*core.BaseResp, error)
- func (s *CoreServer) UpdateProfile(ctx context.Context, in *core.UpdateProfileReq) (*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) ChangePassword ¶
func (s *CoreServer) ChangePassword(ctx context.Context, in *core.ChangePasswordReq) (*core.BaseResp, error)
func (*CoreServer) CreateOrUpdateApi ¶
func (s *CoreServer) CreateOrUpdateApi(ctx context.Context, in *core.ApiInfo) (*core.BaseResp, error)
api management service
func (*CoreServer) CreateOrUpdateDictionary ¶ added in v0.0.7
func (s *CoreServer) CreateOrUpdateDictionary(ctx context.Context, in *core.DictionaryInfo) (*core.BaseResp, error)
dictionary management service
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)
menu service
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) CreateOrUpdateRole ¶
func (s *CoreServer) CreateOrUpdateRole(ctx context.Context, in *core.RoleInfo) (*core.BaseResp, error)
role service
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) DeleteRole ¶
func (*CoreServer) DeleteUser ¶
func (*CoreServer) GeMenuParamListByMenuId ¶ added in v0.0.4
func (s *CoreServer) GeMenuParamListByMenuId(ctx context.Context, in *core.IDReq) (*core.MenuParamListResp, error)
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)
authorization management service
func (*CoreServer) GetMenuByPage ¶
func (s *CoreServer) GetMenuByPage(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) GetRoleById ¶
func (*CoreServer) GetRoleList ¶
func (s *CoreServer) GetRoleList(ctx context.Context, in *core.PageInfoReq) (*core.RoleListResp, 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 ¶
init
func (*CoreServer) SetRoleStatus ¶
func (s *CoreServer) SetRoleStatus(ctx context.Context, in *core.SetStatusReq) (*core.BaseResp, error)
func (*CoreServer) UpdateProfile ¶ added in v0.0.2
func (s *CoreServer) UpdateProfile(ctx context.Context, in *core.UpdateProfileReq) (*core.BaseResp, error)
Click to show internal directories.
Click to hide internal directories.