server

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 (s *CoreServer) BlockUserAllToken(ctx context.Context, in *core.UUIDReq) (*core.BaseResp, error)

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) CreateOrUpdateProvider added in v0.0.8

func (s *CoreServer) CreateOrUpdateProvider(ctx context.Context, in *core.ProviderInfo) (*core.BaseResp, error)

oauth management

func (*CoreServer) CreateOrUpdateRole

func (s *CoreServer) CreateOrUpdateRole(ctx context.Context, in *core.RoleInfo) (*core.BaseResp, error)

role service

func (*CoreServer) CreateOrUpdateToken added in v0.1.1

func (s *CoreServer) CreateOrUpdateToken(ctx context.Context, in *core.TokenInfo) (*core.BaseResp, error)

Token management

func (*CoreServer) CreateOrUpdateUser

func (s *CoreServer) CreateOrUpdateUser(ctx context.Context, in *core.CreateOrUpdateUserReq) (*core.BaseResp, error)

func (*CoreServer) DeleteApi

func (s *CoreServer) DeleteApi(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)

func (*CoreServer) DeleteDictionary added in v0.0.7

func (s *CoreServer) DeleteDictionary(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)

func (*CoreServer) DeleteDictionaryDetail added in v0.0.7

func (s *CoreServer) DeleteDictionaryDetail(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)

func (*CoreServer) DeleteMenu

func (s *CoreServer) DeleteMenu(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)

func (*CoreServer) DeleteMenuParam

func (s *CoreServer) DeleteMenuParam(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)

func (*CoreServer) DeleteProvider added in v0.0.8

func (s *CoreServer) DeleteProvider(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)

func (*CoreServer) DeleteRole

func (s *CoreServer) DeleteRole(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)

func (*CoreServer) DeleteToken added in v0.1.1

func (s *CoreServer) DeleteToken(ctx context.Context, in *core.IDReq) (*core.BaseResp, error)

func (*CoreServer) DeleteUser

func (s *CoreServer) DeleteUser(ctx context.Context, in *core.IDReq) (*core.BaseResp, 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) 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 (s *CoreServer) GetRoleById(ctx context.Context, in *core.IDReq) (*core.RoleInfo, error)

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 (s *CoreServer) InitDatabase(ctx context.Context, in *core.Empty) (*core.BaseResp, error)

init

func (*CoreServer) Login

func (s *CoreServer) Login(ctx context.Context, in *core.LoginReq) (*core.LoginResp, error)

user service

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 (*CoreServer) SetRoleStatus

func (s *CoreServer) SetRoleStatus(ctx context.Context, in *core.SetStatusReq) (*core.BaseResp, error)

func (*CoreServer) SetTokenStatus added in v0.1.1

func (s *CoreServer) SetTokenStatus(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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL