server

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 15 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) CreateApi added in v0.2.4

func (s *CoreServer) CreateApi(ctx context.Context, in *core.ApiInfo) (*core.BaseIDResp, error)

API management

func (*CoreServer) CreateDepartment added in v0.2.4

func (s *CoreServer) CreateDepartment(ctx context.Context, in *core.DepartmentInfo) (*core.BaseIDResp, error)

Department management

func (*CoreServer) CreateDictionary added in v0.2.4

func (s *CoreServer) CreateDictionary(ctx context.Context, in *core.DictionaryInfo) (*core.BaseIDResp, error)

Dictionary management

func (*CoreServer) CreateDictionaryDetail added in v0.2.4

func (s *CoreServer) CreateDictionaryDetail(ctx context.Context, in *core.DictionaryDetailInfo) (*core.BaseIDResp, error)

DictionaryDetail management

func (*CoreServer) CreateMenu added in v0.2.4

func (s *CoreServer) CreateMenu(ctx context.Context, in *core.MenuInfo) (*core.BaseIDResp, error)

func (*CoreServer) CreateOauthProvider added in v0.2.4

func (s *CoreServer) CreateOauthProvider(ctx context.Context, in *core.OauthProviderInfo) (*core.BaseIDResp, 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.BaseIDResp, error)

Position management

func (*CoreServer) CreateRole added in v0.2.4

func (s *CoreServer) CreateRole(ctx context.Context, in *core.RoleInfo) (*core.BaseIDResp, error)

Role management

func (*CoreServer) CreateToken added in v0.2.4

func (s *CoreServer) CreateToken(ctx context.Context, in *core.TokenInfo) (*core.BaseUUIDResp, error)

Token management

func (*CoreServer) CreateUser added in v0.2.4

func (s *CoreServer) CreateUser(ctx context.Context, in *core.UserInfo) (*core.BaseUUIDResp, error)

User management

func (*CoreServer) DeleteApi

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

func (*CoreServer) DeleteDepartment added in v0.2.3

func (s *CoreServer) DeleteDepartment(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)

func (*CoreServer) DeleteDictionary added in v0.0.7

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

func (*CoreServer) DeleteDictionaryDetail added in v0.0.7

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

func (*CoreServer) DeleteMenu

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

func (*CoreServer) DeleteOauthProvider added in v0.2.4

func (s *CoreServer) DeleteOauthProvider(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)

func (*CoreServer) DeletePosition added in v0.2.3

func (s *CoreServer) DeletePosition(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)

func (*CoreServer) DeleteRole

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

func (*CoreServer) DeleteToken added in v0.1.1

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

func (*CoreServer) DeleteUser

func (s *CoreServer) DeleteUser(ctx context.Context, in *core.UUIDsReq) (*core.BaseResp, error)

func (*CoreServer) GetApiById added in v0.2.4

func (s *CoreServer) GetApiById(ctx context.Context, in *core.IDReq) (*core.ApiInfo, error)

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

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

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

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 (*CoreServer) UpdateApi added in v0.2.4

func (s *CoreServer) UpdateApi(ctx context.Context, in *core.ApiInfo) (*core.BaseResp, 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) UpdateMenu added in v0.2.4

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

func (*CoreServer) UpdateToken added in v0.2.4

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

func (*CoreServer) UpdateUser added in v0.2.4

func (s *CoreServer) UpdateUser(ctx context.Context, in *core.UserInfo) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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