coreclient

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 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 ApiInfo

type ApiInfo = core.ApiInfo

type ApiListResp

type ApiListResp = core.ApiListResp

type ApiPageReq

type ApiPageReq = core.ApiPageReq

type BaseResp

type BaseResp = core.BaseResp

type CallbackReq added in v0.0.8

type CallbackReq = core.CallbackReq

type ChangePasswordReq

type ChangePasswordReq = core.ChangePasswordReq

type Core

type Core interface {
	CreateOrUpdateApi(ctx context.Context, in *ApiInfo, opts ...grpc.CallOption) (*BaseResp, error)
	DeleteApi(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetApiList(ctx context.Context, in *ApiPageReq, opts ...grpc.CallOption) (*ApiListResp, error)
	GetMenuAuthority(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleMenuAuthorityResp, error)
	CreateOrUpdateMenuAuthority(ctx context.Context, in *RoleMenuAuthorityReq, opts ...grpc.CallOption) (*BaseResp, error)
	InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error)
	CreateOrUpdateDictionary(ctx context.Context, in *DictionaryInfo, opts ...grpc.CallOption) (*BaseResp, error)
	DeleteDictionary(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetDictionaryList(ctx context.Context, in *DictionaryPageReq, opts ...grpc.CallOption) (*DictionaryList, error)
	GetDetailByDictionaryName(ctx context.Context, in *DictionaryDetailReq, opts ...grpc.CallOption) (*DictionaryDetailList, error)
	CreateOrUpdateDictionaryDetail(ctx context.Context, in *DictionaryDetail, opts ...grpc.CallOption) (*BaseResp, error)
	DeleteDictionaryDetail(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	CreateOrUpdateMenu(ctx context.Context, in *CreateOrUpdateMenuReq, opts ...grpc.CallOption) (*BaseResp, error)
	DeleteMenu(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetMenuListByRole(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*MenuInfoList, error)
	GetMenuList(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*MenuInfoList, error)
	CreateOrUpdateMenuParam(ctx context.Context, in *CreateOrUpdateMenuParamReq, opts ...grpc.CallOption) (*BaseResp, error)
	DeleteMenuParam(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetMenuParamListByMenuId(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*MenuParamListResp, error)
	CreateOrUpdateProvider(ctx context.Context, in *ProviderInfo, opts ...grpc.CallOption) (*BaseResp, error)
	DeleteProvider(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetProviderList(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*ProviderListResp, error)
	OauthLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*OauthRedirectResp, error)
	OauthCallback(ctx context.Context, in *CallbackReq, opts ...grpc.CallOption) (*LoginResp, error)
	CreateOrUpdateRole(ctx context.Context, in *RoleInfo, opts ...grpc.CallOption) (*BaseResp, error)
	DeleteRole(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetRoleById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleInfo, error)
	GetRoleList(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*RoleListResp, error)
	UpdateRoleStatus(ctx context.Context, in *StatusCodeReq, opts ...grpc.CallOption) (*BaseResp, error)
	CreateOrUpdateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseResp, error)
	DeleteToken(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*BaseResp, error)
	BatchDeleteToken(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetTokenList(ctx context.Context, in *TokenListReq, opts ...grpc.CallOption) (*TokenListResp, error)
	UpdateTokenStatus(ctx context.Context, in *StatusCodeUUIDReq, opts ...grpc.CallOption) (*BaseResp, error)
	BlockUserAllToken(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*BaseResp, error)
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error)
	ChangePassword(ctx context.Context, in *ChangePasswordReq, opts ...grpc.CallOption) (*BaseResp, error)
	CreateOrUpdateUser(ctx context.Context, in *CreateOrUpdateUserReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetUserById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*UserInfoResp, error)
	GetUserList(ctx context.Context, in *GetUserListReq, opts ...grpc.CallOption) (*UserListResp, error)
	DeleteUser(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*BaseResp, error)
	BatchDeleteUser(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error)
	UpdateProfile(ctx context.Context, in *UpdateProfileReq, opts ...grpc.CallOption) (*BaseResp, error)
	UpdateUserStatus(ctx context.Context, in *StatusCodeUUIDReq, opts ...grpc.CallOption) (*BaseResp, error)
}

func NewCore

func NewCore(cli zrpc.Client) Core

type CreateOrUpdateMenuParamReq

type CreateOrUpdateMenuParamReq = core.CreateOrUpdateMenuParamReq

type CreateOrUpdateMenuReq

type CreateOrUpdateMenuReq = core.CreateOrUpdateMenuReq

type CreateOrUpdateUserReq

type CreateOrUpdateUserReq = core.CreateOrUpdateUserReq

type DictionaryDetail added in v0.0.7

type DictionaryDetail = core.DictionaryDetail

type DictionaryDetailList added in v0.0.7

type DictionaryDetailList = core.DictionaryDetailList

type DictionaryDetailReq added in v0.0.7

type DictionaryDetailReq = core.DictionaryDetailReq

type DictionaryInfo added in v0.0.7

type DictionaryInfo = core.DictionaryInfo

type DictionaryList added in v0.0.7

type DictionaryList = core.DictionaryList

type DictionaryPageReq added in v0.0.7

type DictionaryPageReq = core.DictionaryPageReq

type Empty

type Empty = core.Empty

type GetUserListReq

type GetUserListReq = core.GetUserListReq

type IDReq

type IDReq = core.IDReq

type IDsReq added in v0.1.8

type IDsReq = core.IDsReq

type LoginReq

type LoginReq = core.LoginReq

type LoginResp

type LoginResp = core.LoginResp
type MenuInfo = core.MenuInfo
type MenuInfoList = core.MenuInfoList
type MenuParamListResp = core.MenuParamListResp
type MenuParamResp = core.MenuParamResp
type MenuRoleInfo = core.MenuRoleInfo
type MenuRoleListResp = core.MenuRoleListResp

type Meta

type Meta = core.Meta

type OauthLoginReq added in v0.0.8

type OauthLoginReq = core.OauthLoginReq

type OauthRedirectResp added in v0.0.8

type OauthRedirectResp = core.OauthRedirectResp

type PageInfoReq

type PageInfoReq = core.PageInfoReq

type ProviderInfo added in v0.0.8

type ProviderInfo = core.ProviderInfo

type ProviderListResp added in v0.0.8

type ProviderListResp = core.ProviderListResp

type RoleInfo

type RoleInfo = core.RoleInfo

type RoleListResp

type RoleListResp = core.RoleListResp

type RoleMenuAuthorityReq

type RoleMenuAuthorityReq = core.RoleMenuAuthorityReq

type RoleMenuAuthorityResp

type RoleMenuAuthorityResp = core.RoleMenuAuthorityResp

type StatusCodeReq added in v0.1.4

type StatusCodeReq = core.StatusCodeReq

type StatusCodeUUIDReq added in v0.2.1

type StatusCodeUUIDReq = core.StatusCodeUUIDReq

type TokenInfo added in v0.1.1

type TokenInfo = core.TokenInfo

type TokenListReq added in v0.1.1

type TokenListReq = core.TokenListReq

type TokenListResp added in v0.1.1

type TokenListResp = core.TokenListResp

type UUIDReq

type UUIDReq = core.UUIDReq

type UUIDsReq added in v0.2.1

type UUIDsReq = core.UUIDsReq

type UpdateProfileReq

type UpdateProfileReq = core.UpdateProfileReq

type UserInfoResp

type UserInfoResp = core.UserInfoResp

type UserListResp

type UserListResp = core.UserListResp

Jump to

Keyboard shortcuts

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