core

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: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Core_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "core.Core",
	HandlerType: (*CoreServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createOrUpdateApi",
			Handler:    _Core_CreateOrUpdateApi_Handler,
		},
		{
			MethodName: "deleteApi",
			Handler:    _Core_DeleteApi_Handler,
		},
		{
			MethodName: "getApiList",
			Handler:    _Core_GetApiList_Handler,
		},
		{
			MethodName: "getMenuAuthority",
			Handler:    _Core_GetMenuAuthority_Handler,
		},
		{
			MethodName: "createOrUpdateMenuAuthority",
			Handler:    _Core_CreateOrUpdateMenuAuthority_Handler,
		},
		{
			MethodName: "initDatabase",
			Handler:    _Core_InitDatabase_Handler,
		},
		{
			MethodName: "createOrUpdateDictionary",
			Handler:    _Core_CreateOrUpdateDictionary_Handler,
		},
		{
			MethodName: "deleteDictionary",
			Handler:    _Core_DeleteDictionary_Handler,
		},
		{
			MethodName: "getDictionaryList",
			Handler:    _Core_GetDictionaryList_Handler,
		},
		{
			MethodName: "getDetailByDictionaryName",
			Handler:    _Core_GetDetailByDictionaryName_Handler,
		},
		{
			MethodName: "createOrUpdateDictionaryDetail",
			Handler:    _Core_CreateOrUpdateDictionaryDetail_Handler,
		},
		{
			MethodName: "deleteDictionaryDetail",
			Handler:    _Core_DeleteDictionaryDetail_Handler,
		},
		{
			MethodName: "createOrUpdateMenu",
			Handler:    _Core_CreateOrUpdateMenu_Handler,
		},
		{
			MethodName: "deleteMenu",
			Handler:    _Core_DeleteMenu_Handler,
		},
		{
			MethodName: "getMenuListByRole",
			Handler:    _Core_GetMenuListByRole_Handler,
		},
		{
			MethodName: "getMenuList",
			Handler:    _Core_GetMenuList_Handler,
		},
		{
			MethodName: "createOrUpdateMenuParam",
			Handler:    _Core_CreateOrUpdateMenuParam_Handler,
		},
		{
			MethodName: "deleteMenuParam",
			Handler:    _Core_DeleteMenuParam_Handler,
		},
		{
			MethodName: "getMenuParamListByMenuId",
			Handler:    _Core_GetMenuParamListByMenuId_Handler,
		},
		{
			MethodName: "createOrUpdateProvider",
			Handler:    _Core_CreateOrUpdateProvider_Handler,
		},
		{
			MethodName: "deleteProvider",
			Handler:    _Core_DeleteProvider_Handler,
		},
		{
			MethodName: "getProviderList",
			Handler:    _Core_GetProviderList_Handler,
		},
		{
			MethodName: "oauthLogin",
			Handler:    _Core_OauthLogin_Handler,
		},
		{
			MethodName: "oauthCallback",
			Handler:    _Core_OauthCallback_Handler,
		},
		{
			MethodName: "createOrUpdateRole",
			Handler:    _Core_CreateOrUpdateRole_Handler,
		},
		{
			MethodName: "deleteRole",
			Handler:    _Core_DeleteRole_Handler,
		},
		{
			MethodName: "getRoleById",
			Handler:    _Core_GetRoleById_Handler,
		},
		{
			MethodName: "getRoleList",
			Handler:    _Core_GetRoleList_Handler,
		},
		{
			MethodName: "updateRoleStatus",
			Handler:    _Core_UpdateRoleStatus_Handler,
		},
		{
			MethodName: "createOrUpdateToken",
			Handler:    _Core_CreateOrUpdateToken_Handler,
		},
		{
			MethodName: "deleteToken",
			Handler:    _Core_DeleteToken_Handler,
		},
		{
			MethodName: "batchDeleteToken",
			Handler:    _Core_BatchDeleteToken_Handler,
		},
		{
			MethodName: "getTokenList",
			Handler:    _Core_GetTokenList_Handler,
		},
		{
			MethodName: "updateTokenStatus",
			Handler:    _Core_UpdateTokenStatus_Handler,
		},
		{
			MethodName: "blockUserAllToken",
			Handler:    _Core_BlockUserAllToken_Handler,
		},
		{
			MethodName: "login",
			Handler:    _Core_Login_Handler,
		},
		{
			MethodName: "changePassword",
			Handler:    _Core_ChangePassword_Handler,
		},
		{
			MethodName: "createOrUpdateUser",
			Handler:    _Core_CreateOrUpdateUser_Handler,
		},
		{
			MethodName: "getUserById",
			Handler:    _Core_GetUserById_Handler,
		},
		{
			MethodName: "getUserList",
			Handler:    _Core_GetUserList_Handler,
		},
		{
			MethodName: "deleteUser",
			Handler:    _Core_DeleteUser_Handler,
		},
		{
			MethodName: "batchDeleteUser",
			Handler:    _Core_BatchDeleteUser_Handler,
		},
		{
			MethodName: "updateProfile",
			Handler:    _Core_UpdateProfile_Handler,
		},
		{
			MethodName: "updateUserStatus",
			Handler:    _Core_UpdateUserStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "rpc/core.proto",
}

Core_ServiceDesc is the grpc.ServiceDesc for Core service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_rpc_core_proto protoreflect.FileDescriptor

Functions

func RegisterCoreServer

func RegisterCoreServer(s grpc.ServiceRegistrar, srv CoreServer)

Types

type ApiInfo

type ApiInfo struct {
	Id          uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt   int64  `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   int64  `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Path        string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Group       string `protobuf:"bytes,6,opt,name=group,proto3" json:"group,omitempty"`
	Method      string `protobuf:"bytes,7,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

api message

func (*ApiInfo) Descriptor deprecated

func (*ApiInfo) Descriptor() ([]byte, []int)

Deprecated: Use ApiInfo.ProtoReflect.Descriptor instead.

func (*ApiInfo) GetCreatedAt added in v0.1.2

func (x *ApiInfo) GetCreatedAt() int64

func (*ApiInfo) GetDescription

func (x *ApiInfo) GetDescription() string

func (*ApiInfo) GetGroup

func (x *ApiInfo) GetGroup() string

func (*ApiInfo) GetId

func (x *ApiInfo) GetId() uint64

func (*ApiInfo) GetMethod

func (x *ApiInfo) GetMethod() string

func (*ApiInfo) GetPath

func (x *ApiInfo) GetPath() string

func (*ApiInfo) GetUpdatedAt added in v0.1.4

func (x *ApiInfo) GetUpdatedAt() int64

func (*ApiInfo) ProtoMessage

func (*ApiInfo) ProtoMessage()

func (*ApiInfo) ProtoReflect

func (x *ApiInfo) ProtoReflect() protoreflect.Message

func (*ApiInfo) Reset

func (x *ApiInfo) Reset()

func (*ApiInfo) String

func (x *ApiInfo) String() string

type ApiListResp

type ApiListResp struct {
	Total uint64     `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*ApiInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiListResp) Descriptor deprecated

func (*ApiListResp) Descriptor() ([]byte, []int)

Deprecated: Use ApiListResp.ProtoReflect.Descriptor instead.

func (*ApiListResp) GetData

func (x *ApiListResp) GetData() []*ApiInfo

func (*ApiListResp) GetTotal

func (x *ApiListResp) GetTotal() uint64

func (*ApiListResp) ProtoMessage

func (*ApiListResp) ProtoMessage()

func (*ApiListResp) ProtoReflect

func (x *ApiListResp) ProtoReflect() protoreflect.Message

func (*ApiListResp) Reset

func (x *ApiListResp) Reset()

func (*ApiListResp) String

func (x *ApiListResp) String() string

type ApiPageReq

type ApiPageReq struct {
	Page        uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize    uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Path        string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Method      string `protobuf:"bytes,5,opt,name=method,proto3" json:"method,omitempty"`
	Group       string `protobuf:"bytes,6,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiPageReq) Descriptor deprecated

func (*ApiPageReq) Descriptor() ([]byte, []int)

Deprecated: Use ApiPageReq.ProtoReflect.Descriptor instead.

func (*ApiPageReq) GetDescription

func (x *ApiPageReq) GetDescription() string

func (*ApiPageReq) GetGroup

func (x *ApiPageReq) GetGroup() string

func (*ApiPageReq) GetMethod

func (x *ApiPageReq) GetMethod() string

func (*ApiPageReq) GetPage

func (x *ApiPageReq) GetPage() uint64

func (*ApiPageReq) GetPageSize added in v0.1.4

func (x *ApiPageReq) GetPageSize() uint64

func (*ApiPageReq) GetPath

func (x *ApiPageReq) GetPath() string

func (*ApiPageReq) ProtoMessage

func (*ApiPageReq) ProtoMessage()

func (*ApiPageReq) ProtoReflect

func (x *ApiPageReq) ProtoReflect() protoreflect.Message

func (*ApiPageReq) Reset

func (x *ApiPageReq) Reset()

func (*ApiPageReq) String

func (x *ApiPageReq) String() string

type BaseResp

type BaseResp struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseResp) Descriptor deprecated

func (*BaseResp) Descriptor() ([]byte, []int)

Deprecated: Use BaseResp.ProtoReflect.Descriptor instead.

func (*BaseResp) GetMsg

func (x *BaseResp) GetMsg() string

func (*BaseResp) ProtoMessage

func (*BaseResp) ProtoMessage()

func (*BaseResp) ProtoReflect

func (x *BaseResp) ProtoReflect() protoreflect.Message

func (*BaseResp) Reset

func (x *BaseResp) Reset()

func (*BaseResp) String

func (x *BaseResp) String() string

type CallbackReq added in v0.0.8

type CallbackReq struct {
	State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Code  string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*CallbackReq) Descriptor deprecated added in v0.0.8

func (*CallbackReq) Descriptor() ([]byte, []int)

Deprecated: Use CallbackReq.ProtoReflect.Descriptor instead.

func (*CallbackReq) GetCode added in v0.0.8

func (x *CallbackReq) GetCode() string

func (*CallbackReq) GetState added in v0.0.8

func (x *CallbackReq) GetState() string

func (*CallbackReq) ProtoMessage added in v0.0.8

func (*CallbackReq) ProtoMessage()

func (*CallbackReq) ProtoReflect added in v0.0.8

func (x *CallbackReq) ProtoReflect() protoreflect.Message

func (*CallbackReq) Reset added in v0.0.8

func (x *CallbackReq) Reset()

func (*CallbackReq) String added in v0.0.8

func (x *CallbackReq) String() string

type ChangePasswordReq

type ChangePasswordReq struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OldPassword string `protobuf:"bytes,2,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	NewPassword string `protobuf:"bytes,3,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordReq) Descriptor deprecated

func (*ChangePasswordReq) Descriptor() ([]byte, []int)

Deprecated: Use ChangePasswordReq.ProtoReflect.Descriptor instead.

func (*ChangePasswordReq) GetId added in v0.2.1

func (x *ChangePasswordReq) GetId() string

func (*ChangePasswordReq) GetNewPassword

func (x *ChangePasswordReq) GetNewPassword() string

func (*ChangePasswordReq) GetOldPassword

func (x *ChangePasswordReq) GetOldPassword() string

func (*ChangePasswordReq) ProtoMessage

func (*ChangePasswordReq) ProtoMessage()

func (*ChangePasswordReq) ProtoReflect

func (x *ChangePasswordReq) ProtoReflect() protoreflect.Message

func (*ChangePasswordReq) Reset

func (x *ChangePasswordReq) Reset()

func (*ChangePasswordReq) String

func (x *ChangePasswordReq) String() string

type CoreClient

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

CoreClient is the client API for Core service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCoreClient

func NewCoreClient(cc grpc.ClientConnInterface) CoreClient

type CoreServer

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

CoreServer is the server API for Core service. All implementations must embed UnimplementedCoreServer for forward compatibility

type CreateOrUpdateMenuParamReq added in v0.0.4

type CreateOrUpdateMenuParamReq struct {
	Id     uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	MenuId uint64 `protobuf:"varint,2,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"`
	Type   string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Key    string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	Value  string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateMenuParamReq) Descriptor deprecated added in v0.0.4

func (*CreateOrUpdateMenuParamReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateOrUpdateMenuParamReq.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateMenuParamReq) GetId added in v0.0.4

func (*CreateOrUpdateMenuParamReq) GetKey added in v0.0.4

func (x *CreateOrUpdateMenuParamReq) GetKey() string

func (*CreateOrUpdateMenuParamReq) GetMenuId added in v0.0.4

func (x *CreateOrUpdateMenuParamReq) GetMenuId() uint64

func (*CreateOrUpdateMenuParamReq) GetType added in v0.0.4

func (x *CreateOrUpdateMenuParamReq) GetType() string

func (*CreateOrUpdateMenuParamReq) GetValue added in v0.0.4

func (x *CreateOrUpdateMenuParamReq) GetValue() string

func (*CreateOrUpdateMenuParamReq) ProtoMessage added in v0.0.4

func (*CreateOrUpdateMenuParamReq) ProtoMessage()

func (*CreateOrUpdateMenuParamReq) ProtoReflect added in v0.0.4

func (*CreateOrUpdateMenuParamReq) Reset added in v0.0.4

func (x *CreateOrUpdateMenuParamReq) Reset()

func (*CreateOrUpdateMenuParamReq) String added in v0.0.4

func (x *CreateOrUpdateMenuParamReq) String() string

type CreateOrUpdateMenuReq

type CreateOrUpdateMenuReq struct {
	Level     uint32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	ParentId  uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Path      string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Name      string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Redirect  string `protobuf:"bytes,5,opt,name=redirect,proto3" json:"redirect,omitempty"`
	Component string `protobuf:"bytes,6,opt,name=component,proto3" json:"component,omitempty"`
	OrderNo   uint32 `protobuf:"varint,7,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
	Disabled  bool   `protobuf:"varint,8,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Meta      *Meta  `protobuf:"bytes,9,opt,name=meta,proto3" json:"meta,omitempty"`
	Id        uint64 `protobuf:"varint,10,opt,name=id,proto3" json:"id,omitempty"`
	MenuType  uint32 `protobuf:"varint,11,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"`
	// contains filtered or unexported fields
}

menu messages

func (*CreateOrUpdateMenuReq) Descriptor deprecated

func (*CreateOrUpdateMenuReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateOrUpdateMenuReq.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateMenuReq) GetComponent

func (x *CreateOrUpdateMenuReq) GetComponent() string

func (*CreateOrUpdateMenuReq) GetDisabled

func (x *CreateOrUpdateMenuReq) GetDisabled() bool

func (*CreateOrUpdateMenuReq) GetId

func (x *CreateOrUpdateMenuReq) GetId() uint64

func (*CreateOrUpdateMenuReq) GetLevel

func (x *CreateOrUpdateMenuReq) GetLevel() uint32

func (*CreateOrUpdateMenuReq) GetMenuType

func (x *CreateOrUpdateMenuReq) GetMenuType() uint32

func (*CreateOrUpdateMenuReq) GetMeta

func (x *CreateOrUpdateMenuReq) GetMeta() *Meta

func (*CreateOrUpdateMenuReq) GetName

func (x *CreateOrUpdateMenuReq) GetName() string

func (*CreateOrUpdateMenuReq) GetOrderNo

func (x *CreateOrUpdateMenuReq) GetOrderNo() uint32

func (*CreateOrUpdateMenuReq) GetParentId

func (x *CreateOrUpdateMenuReq) GetParentId() uint64

func (*CreateOrUpdateMenuReq) GetPath

func (x *CreateOrUpdateMenuReq) GetPath() string

func (*CreateOrUpdateMenuReq) GetRedirect

func (x *CreateOrUpdateMenuReq) GetRedirect() string

func (*CreateOrUpdateMenuReq) ProtoMessage

func (*CreateOrUpdateMenuReq) ProtoMessage()

func (*CreateOrUpdateMenuReq) ProtoReflect

func (x *CreateOrUpdateMenuReq) ProtoReflect() protoreflect.Message

func (*CreateOrUpdateMenuReq) Reset

func (x *CreateOrUpdateMenuReq) Reset()

func (*CreateOrUpdateMenuReq) String

func (x *CreateOrUpdateMenuReq) String() string

type CreateOrUpdateUserReq

type CreateOrUpdateUserReq struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Avatar   string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
	RoleId   uint64 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	Mobile   string `protobuf:"bytes,4,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email    string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Status   uint64 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	Username string `protobuf:"bytes,7,opt,name=username,proto3" json:"username,omitempty"`
	Nickname string `protobuf:"bytes,8,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateUserReq) Descriptor deprecated

func (*CreateOrUpdateUserReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateOrUpdateUserReq.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateUserReq) GetAvatar

func (x *CreateOrUpdateUserReq) GetAvatar() string

func (*CreateOrUpdateUserReq) GetEmail

func (x *CreateOrUpdateUserReq) GetEmail() string

func (*CreateOrUpdateUserReq) GetId

func (x *CreateOrUpdateUserReq) GetId() string

func (*CreateOrUpdateUserReq) GetMobile

func (x *CreateOrUpdateUserReq) GetMobile() string

func (*CreateOrUpdateUserReq) GetNickname

func (x *CreateOrUpdateUserReq) GetNickname() string

func (*CreateOrUpdateUserReq) GetPassword

func (x *CreateOrUpdateUserReq) GetPassword() string

func (*CreateOrUpdateUserReq) GetRoleId

func (x *CreateOrUpdateUserReq) GetRoleId() uint64

func (*CreateOrUpdateUserReq) GetStatus

func (x *CreateOrUpdateUserReq) GetStatus() uint64

func (*CreateOrUpdateUserReq) GetUsername

func (x *CreateOrUpdateUserReq) GetUsername() string

func (*CreateOrUpdateUserReq) ProtoMessage

func (*CreateOrUpdateUserReq) ProtoMessage()

func (*CreateOrUpdateUserReq) ProtoReflect

func (x *CreateOrUpdateUserReq) ProtoReflect() protoreflect.Message

func (*CreateOrUpdateUserReq) Reset

func (x *CreateOrUpdateUserReq) Reset()

func (*CreateOrUpdateUserReq) String

func (x *CreateOrUpdateUserReq) String() string

type DictionaryDetail added in v0.0.7

type DictionaryDetail struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title        string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Key          string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Value        string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Status       uint64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	CreatedAt    int64  `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    int64  `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DictionaryId uint64 `protobuf:"varint,8,opt,name=dictionary_id,json=dictionaryId,proto3" json:"dictionary_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryDetail) Descriptor deprecated added in v0.0.7

func (*DictionaryDetail) Descriptor() ([]byte, []int)

Deprecated: Use DictionaryDetail.ProtoReflect.Descriptor instead.

func (*DictionaryDetail) GetCreatedAt added in v0.1.2

func (x *DictionaryDetail) GetCreatedAt() int64

func (*DictionaryDetail) GetDictionaryId added in v0.1.4

func (x *DictionaryDetail) GetDictionaryId() uint64

func (*DictionaryDetail) GetId added in v0.0.7

func (x *DictionaryDetail) GetId() uint64

func (*DictionaryDetail) GetKey added in v0.0.7

func (x *DictionaryDetail) GetKey() string

func (*DictionaryDetail) GetStatus added in v0.0.7

func (x *DictionaryDetail) GetStatus() uint64

func (*DictionaryDetail) GetTitle added in v0.0.7

func (x *DictionaryDetail) GetTitle() string

func (*DictionaryDetail) GetUpdatedAt added in v0.1.2

func (x *DictionaryDetail) GetUpdatedAt() int64

func (*DictionaryDetail) GetValue added in v0.0.7

func (x *DictionaryDetail) GetValue() string

func (*DictionaryDetail) ProtoMessage added in v0.0.7

func (*DictionaryDetail) ProtoMessage()

func (*DictionaryDetail) ProtoReflect added in v0.0.7

func (x *DictionaryDetail) ProtoReflect() protoreflect.Message

func (*DictionaryDetail) Reset added in v0.0.7

func (x *DictionaryDetail) Reset()

func (*DictionaryDetail) String added in v0.0.7

func (x *DictionaryDetail) String() string

type DictionaryDetailList added in v0.0.7

type DictionaryDetailList struct {
	Total uint64              `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*DictionaryDetail `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryDetailList) Descriptor deprecated added in v0.0.7

func (*DictionaryDetailList) Descriptor() ([]byte, []int)

Deprecated: Use DictionaryDetailList.ProtoReflect.Descriptor instead.

func (*DictionaryDetailList) GetData added in v0.0.7

func (x *DictionaryDetailList) GetData() []*DictionaryDetail

func (*DictionaryDetailList) GetTotal added in v0.0.7

func (x *DictionaryDetailList) GetTotal() uint64

func (*DictionaryDetailList) ProtoMessage added in v0.0.7

func (*DictionaryDetailList) ProtoMessage()

func (*DictionaryDetailList) ProtoReflect added in v0.0.7

func (x *DictionaryDetailList) ProtoReflect() protoreflect.Message

func (*DictionaryDetailList) Reset added in v0.0.7

func (x *DictionaryDetailList) Reset()

func (*DictionaryDetailList) String added in v0.0.7

func (x *DictionaryDetailList) String() string

type DictionaryDetailReq added in v0.0.7

type DictionaryDetailReq struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryDetailReq) Descriptor deprecated added in v0.0.7

func (*DictionaryDetailReq) Descriptor() ([]byte, []int)

Deprecated: Use DictionaryDetailReq.ProtoReflect.Descriptor instead.

func (*DictionaryDetailReq) GetName added in v0.0.7

func (x *DictionaryDetailReq) GetName() string

func (*DictionaryDetailReq) ProtoMessage added in v0.0.7

func (*DictionaryDetailReq) ProtoMessage()

func (*DictionaryDetailReq) ProtoReflect added in v0.0.7

func (x *DictionaryDetailReq) ProtoReflect() protoreflect.Message

func (*DictionaryDetailReq) Reset added in v0.0.7

func (x *DictionaryDetailReq) Reset()

func (*DictionaryDetailReq) String added in v0.0.7

func (x *DictionaryDetailReq) String() string

type DictionaryInfo added in v0.0.7

type DictionaryInfo struct {
	Id        uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title     string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Status    uint64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	Desc      string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty"`
	CreatedAt int64  `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt int64  `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

dictionary message

func (*DictionaryInfo) Descriptor deprecated added in v0.0.7

func (*DictionaryInfo) Descriptor() ([]byte, []int)

Deprecated: Use DictionaryInfo.ProtoReflect.Descriptor instead.

func (*DictionaryInfo) GetCreatedAt added in v0.1.2

func (x *DictionaryInfo) GetCreatedAt() int64

func (*DictionaryInfo) GetDesc added in v0.0.7

func (x *DictionaryInfo) GetDesc() string

func (*DictionaryInfo) GetId added in v0.0.7

func (x *DictionaryInfo) GetId() uint64

func (*DictionaryInfo) GetName added in v0.0.7

func (x *DictionaryInfo) GetName() string

func (*DictionaryInfo) GetStatus added in v0.0.7

func (x *DictionaryInfo) GetStatus() uint64

func (*DictionaryInfo) GetTitle added in v0.0.7

func (x *DictionaryInfo) GetTitle() string

func (*DictionaryInfo) GetUpdatedAt added in v0.1.2

func (x *DictionaryInfo) GetUpdatedAt() int64

func (*DictionaryInfo) ProtoMessage added in v0.0.7

func (*DictionaryInfo) ProtoMessage()

func (*DictionaryInfo) ProtoReflect added in v0.0.7

func (x *DictionaryInfo) ProtoReflect() protoreflect.Message

func (*DictionaryInfo) Reset added in v0.0.7

func (x *DictionaryInfo) Reset()

func (*DictionaryInfo) String added in v0.0.7

func (x *DictionaryInfo) String() string

type DictionaryList added in v0.0.7

type DictionaryList struct {
	Total uint64            `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*DictionaryInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryList) Descriptor deprecated added in v0.0.7

func (*DictionaryList) Descriptor() ([]byte, []int)

Deprecated: Use DictionaryList.ProtoReflect.Descriptor instead.

func (*DictionaryList) GetData added in v0.0.7

func (x *DictionaryList) GetData() []*DictionaryInfo

func (*DictionaryList) GetTotal added in v0.0.7

func (x *DictionaryList) GetTotal() uint64

func (*DictionaryList) ProtoMessage added in v0.0.7

func (*DictionaryList) ProtoMessage()

func (*DictionaryList) ProtoReflect added in v0.0.7

func (x *DictionaryList) ProtoReflect() protoreflect.Message

func (*DictionaryList) Reset added in v0.0.7

func (x *DictionaryList) Reset()

func (*DictionaryList) String added in v0.0.7

func (x *DictionaryList) String() string

type DictionaryPageReq added in v0.0.7

type DictionaryPageReq struct {
	Title    string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Page     uint64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryPageReq) Descriptor deprecated added in v0.0.7

func (*DictionaryPageReq) Descriptor() ([]byte, []int)

Deprecated: Use DictionaryPageReq.ProtoReflect.Descriptor instead.

func (*DictionaryPageReq) GetName added in v0.0.7

func (x *DictionaryPageReq) GetName() string

func (*DictionaryPageReq) GetPage added in v0.0.7

func (x *DictionaryPageReq) GetPage() uint64

func (*DictionaryPageReq) GetPageSize added in v0.0.7

func (x *DictionaryPageReq) GetPageSize() uint64

func (*DictionaryPageReq) GetTitle added in v0.0.7

func (x *DictionaryPageReq) GetTitle() string

func (*DictionaryPageReq) ProtoMessage added in v0.0.7

func (*DictionaryPageReq) ProtoMessage()

func (*DictionaryPageReq) ProtoReflect added in v0.0.7

func (x *DictionaryPageReq) ProtoReflect() protoreflect.Message

func (*DictionaryPageReq) Reset added in v0.0.7

func (x *DictionaryPageReq) Reset()

func (*DictionaryPageReq) String added in v0.0.7

func (x *DictionaryPageReq) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

base message

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type GetUserListReq

type GetUserListReq struct {
	Page     uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Email    string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Mobile   string `protobuf:"bytes,6,opt,name=mobile,proto3" json:"mobile,omitempty"`
	RoleId   uint64 `protobuf:"varint,7,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserListReq) Descriptor deprecated

func (*GetUserListReq) Descriptor() ([]byte, []int)

Deprecated: Use GetUserListReq.ProtoReflect.Descriptor instead.

func (*GetUserListReq) GetEmail

func (x *GetUserListReq) GetEmail() string

func (*GetUserListReq) GetMobile

func (x *GetUserListReq) GetMobile() string

func (*GetUserListReq) GetNickname

func (x *GetUserListReq) GetNickname() string

func (*GetUserListReq) GetPage

func (x *GetUserListReq) GetPage() uint64

func (*GetUserListReq) GetPageSize

func (x *GetUserListReq) GetPageSize() uint64

func (*GetUserListReq) GetRoleId

func (x *GetUserListReq) GetRoleId() uint64

func (*GetUserListReq) GetUsername

func (x *GetUserListReq) GetUsername() string

func (*GetUserListReq) ProtoMessage

func (*GetUserListReq) ProtoMessage()

func (*GetUserListReq) ProtoReflect

func (x *GetUserListReq) ProtoReflect() protoreflect.Message

func (*GetUserListReq) Reset

func (x *GetUserListReq) Reset()

func (*GetUserListReq) String

func (x *GetUserListReq) String() string

type IDReq

type IDReq struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IDReq) Descriptor deprecated

func (*IDReq) Descriptor() ([]byte, []int)

Deprecated: Use IDReq.ProtoReflect.Descriptor instead.

func (*IDReq) GetId added in v0.1.4

func (x *IDReq) GetId() uint64

func (*IDReq) ProtoMessage

func (*IDReq) ProtoMessage()

func (*IDReq) ProtoReflect

func (x *IDReq) ProtoReflect() protoreflect.Message

func (*IDReq) Reset

func (x *IDReq) Reset()

func (*IDReq) String

func (x *IDReq) String() string

type IDsReq added in v0.1.8

type IDsReq struct {
	Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*IDsReq) Descriptor deprecated added in v0.1.8

func (*IDsReq) Descriptor() ([]byte, []int)

Deprecated: Use IDsReq.ProtoReflect.Descriptor instead.

func (*IDsReq) GetIds added in v0.1.8

func (x *IDsReq) GetIds() []uint64

func (*IDsReq) ProtoMessage added in v0.1.8

func (*IDsReq) ProtoMessage()

func (*IDsReq) ProtoReflect added in v0.1.8

func (x *IDsReq) ProtoReflect() protoreflect.Message

func (*IDsReq) Reset added in v0.1.8

func (x *IDsReq) Reset()

func (*IDsReq) String added in v0.1.8

func (x *IDsReq) String() string

type LoginReq

type LoginReq struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginReq) Descriptor deprecated

func (*LoginReq) Descriptor() ([]byte, []int)

Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.

func (*LoginReq) GetPassword

func (x *LoginReq) GetPassword() string

func (*LoginReq) GetUsername

func (x *LoginReq) GetUsername() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) ProtoReflect

func (x *LoginReq) ProtoReflect() protoreflect.Message

func (*LoginReq) Reset

func (x *LoginReq) Reset()

func (*LoginReq) String

func (x *LoginReq) String() string

type LoginResp

type LoginResp struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RoleName  string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
	RoleValue string `protobuf:"bytes,3,opt,name=role_value,json=roleValue,proto3" json:"role_value,omitempty"`
	RoleId    uint64 `protobuf:"varint,4,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResp) Descriptor deprecated

func (*LoginResp) Descriptor() ([]byte, []int)

Deprecated: Use LoginResp.ProtoReflect.Descriptor instead.

func (*LoginResp) GetId

func (x *LoginResp) GetId() string

func (*LoginResp) GetRoleId

func (x *LoginResp) GetRoleId() uint64

func (*LoginResp) GetRoleName

func (x *LoginResp) GetRoleName() string

func (*LoginResp) GetRoleValue

func (x *LoginResp) GetRoleValue() string

func (*LoginResp) ProtoMessage

func (*LoginResp) ProtoMessage()

func (*LoginResp) ProtoReflect

func (x *LoginResp) ProtoReflect() protoreflect.Message

func (*LoginResp) Reset

func (x *LoginResp) Reset()

func (*LoginResp) String

func (x *LoginResp) String() string
type MenuInfo struct {
	Id        uint64      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt int64       `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt int64       `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Level     uint32      `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
	ParentId  uint64      `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Path      string      `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
	Name      string      `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Redirect  string      `protobuf:"bytes,8,opt,name=redirect,proto3" json:"redirect,omitempty"`
	Component string      `protobuf:"bytes,9,opt,name=component,proto3" json:"component,omitempty"`
	OrderNo   uint32      `protobuf:"varint,10,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
	Disabled  bool        `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Meta      *Meta       `protobuf:"bytes,12,opt,name=meta,proto3" json:"meta,omitempty"`
	Children  []*MenuInfo `protobuf:"bytes,13,rep,name=children,proto3" json:"children,omitempty"`
	MenuType  uint32      `protobuf:"varint,14,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuInfo) Descriptor() ([]byte, []int)

Deprecated: Use MenuInfo.ProtoReflect.Descriptor instead.

func (x *MenuInfo) GetChildren() []*MenuInfo
func (x *MenuInfo) GetComponent() string
func (x *MenuInfo) GetCreatedAt() int64
func (x *MenuInfo) GetDisabled() bool
func (x *MenuInfo) GetId() uint64
func (x *MenuInfo) GetLevel() uint32
func (x *MenuInfo) GetMenuType() uint32
func (x *MenuInfo) GetMeta() *Meta
func (x *MenuInfo) GetName() string
func (x *MenuInfo) GetOrderNo() uint32
func (x *MenuInfo) GetParentId() uint64
func (x *MenuInfo) GetPath() string
func (x *MenuInfo) GetRedirect() string
func (x *MenuInfo) GetUpdatedAt() int64
func (*MenuInfo) ProtoMessage()
func (x *MenuInfo) ProtoReflect() protoreflect.Message
func (x *MenuInfo) Reset()
func (x *MenuInfo) String() string
type MenuInfoList struct {
	Total uint64      `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*MenuInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuInfoList) Descriptor() ([]byte, []int)

Deprecated: Use MenuInfoList.ProtoReflect.Descriptor instead.

func (x *MenuInfoList) GetData() []*MenuInfo
func (x *MenuInfoList) GetTotal() uint64
func (*MenuInfoList) ProtoMessage()
func (x *MenuInfoList) ProtoReflect() protoreflect.Message
func (x *MenuInfoList) Reset()
func (x *MenuInfoList) String() string
type MenuParamListResp struct {
	Total uint64           `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*MenuParamResp `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuParamListResp) Descriptor() ([]byte, []int)

Deprecated: Use MenuParamListResp.ProtoReflect.Descriptor instead.

func (x *MenuParamListResp) GetData() []*MenuParamResp
func (x *MenuParamListResp) GetTotal() uint64
func (*MenuParamListResp) ProtoMessage()
func (x *MenuParamListResp) ProtoReflect() protoreflect.Message
func (x *MenuParamListResp) Reset()
func (x *MenuParamListResp) String() string
type MenuParamResp struct {
	Id        uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type      string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Key       string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Value     string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	CreatedAt int64  `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt int64  `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuParamResp) Descriptor() ([]byte, []int)

Deprecated: Use MenuParamResp.ProtoReflect.Descriptor instead.

func (x *MenuParamResp) GetCreatedAt() int64
func (x *MenuParamResp) GetId() uint64
func (x *MenuParamResp) GetKey() string
func (x *MenuParamResp) GetType() string
func (x *MenuParamResp) GetUpdatedAt() int64
func (x *MenuParamResp) GetValue() string
func (*MenuParamResp) ProtoMessage()
func (x *MenuParamResp) ProtoReflect() protoreflect.Message
func (x *MenuParamResp) Reset()
func (x *MenuParamResp) String() string
type MenuRoleInfo struct {
	Id     uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	MenuId uint64 `protobuf:"varint,2,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"`
	RoleId uint64 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuRoleInfo) Descriptor() ([]byte, []int)

Deprecated: Use MenuRoleInfo.ProtoReflect.Descriptor instead.

func (x *MenuRoleInfo) GetId() uint64
func (x *MenuRoleInfo) GetMenuId() uint64
func (x *MenuRoleInfo) GetRoleId() uint64
func (*MenuRoleInfo) ProtoMessage()
func (x *MenuRoleInfo) ProtoReflect() protoreflect.Message
func (x *MenuRoleInfo) Reset()
func (x *MenuRoleInfo) String() string
type MenuRoleListResp struct {
	Total uint64          `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*MenuRoleInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuRoleListResp) Descriptor() ([]byte, []int)

Deprecated: Use MenuRoleListResp.ProtoReflect.Descriptor instead.

func (x *MenuRoleListResp) GetData() []*MenuRoleInfo
func (x *MenuRoleListResp) GetTotal() uint64
func (*MenuRoleListResp) ProtoMessage()
func (x *MenuRoleListResp) ProtoReflect() protoreflect.Message
func (x *MenuRoleListResp) Reset()
func (x *MenuRoleListResp) String() string

type Meta

type Meta struct {
	Title              string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Icon               string `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"`
	HideMenu           bool   `protobuf:"varint,3,opt,name=hide_menu,json=hideMenu,proto3" json:"hide_menu,omitempty"`
	HideBreadcrumb     bool   `protobuf:"varint,4,opt,name=hide_breadcrumb,json=hideBreadcrumb,proto3" json:"hide_breadcrumb,omitempty"`
	CurrentActiveMenu  string `protobuf:"bytes,5,opt,name=current_active_menu,json=currentActiveMenu,proto3" json:"current_active_menu,omitempty"`
	IgnoreKeepAlive    bool   `protobuf:"varint,6,opt,name=ignore_keep_alive,json=ignoreKeepAlive,proto3" json:"ignore_keep_alive,omitempty"`
	HideTab            bool   `protobuf:"varint,7,opt,name=hide_tab,json=hideTab,proto3" json:"hide_tab,omitempty"`
	FrameSrc           string `protobuf:"bytes,8,opt,name=frame_src,json=frameSrc,proto3" json:"frame_src,omitempty"`
	CarryParam         bool   `protobuf:"varint,9,opt,name=carry_param,json=carryParam,proto3" json:"carry_param,omitempty"`
	HideChildrenInMenu bool   `protobuf:"varint,10,opt,name=hide_children_in_menu,json=hideChildrenInMenu,proto3" json:"hide_children_in_menu,omitempty"`
	Affix              bool   `protobuf:"varint,11,opt,name=affix,proto3" json:"affix,omitempty"`
	DynamicLevel       uint32 `protobuf:"varint,12,opt,name=dynamic_level,json=dynamicLevel,proto3" json:"dynamic_level,omitempty"`
	RealPath           string `protobuf:"bytes,13,opt,name=real_path,json=realPath,proto3" json:"real_path,omitempty"`
	// contains filtered or unexported fields
}

func (*Meta) Descriptor deprecated

func (*Meta) Descriptor() ([]byte, []int)

Deprecated: Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) GetAffix added in v0.0.5

func (x *Meta) GetAffix() bool

func (*Meta) GetCarryParam added in v0.0.5

func (x *Meta) GetCarryParam() bool

func (*Meta) GetCurrentActiveMenu

func (x *Meta) GetCurrentActiveMenu() string

func (*Meta) GetDynamicLevel added in v0.0.5

func (x *Meta) GetDynamicLevel() uint32

func (*Meta) GetFrameSrc added in v0.0.5

func (x *Meta) GetFrameSrc() string

func (*Meta) GetHideBreadcrumb

func (x *Meta) GetHideBreadcrumb() bool

func (*Meta) GetHideChildrenInMenu added in v0.0.5

func (x *Meta) GetHideChildrenInMenu() bool

func (*Meta) GetHideMenu

func (x *Meta) GetHideMenu() bool

func (*Meta) GetHideTab added in v0.0.5

func (x *Meta) GetHideTab() bool

func (*Meta) GetIcon

func (x *Meta) GetIcon() string

func (*Meta) GetIgnoreKeepAlive added in v0.0.5

func (x *Meta) GetIgnoreKeepAlive() bool

func (*Meta) GetRealPath added in v0.0.5

func (x *Meta) GetRealPath() string

func (*Meta) GetTitle

func (x *Meta) GetTitle() string

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect

func (x *Meta) ProtoReflect() protoreflect.Message

func (*Meta) Reset

func (x *Meta) Reset()

func (*Meta) String

func (x *Meta) String() string

type OauthLoginReq added in v0.0.8

type OauthLoginReq struct {
	State    string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

oauth message

func (*OauthLoginReq) Descriptor deprecated added in v0.0.8

func (*OauthLoginReq) Descriptor() ([]byte, []int)

Deprecated: Use OauthLoginReq.ProtoReflect.Descriptor instead.

func (*OauthLoginReq) GetProvider added in v0.0.8

func (x *OauthLoginReq) GetProvider() string

func (*OauthLoginReq) GetState added in v0.0.8

func (x *OauthLoginReq) GetState() string

func (*OauthLoginReq) ProtoMessage added in v0.0.8

func (*OauthLoginReq) ProtoMessage()

func (*OauthLoginReq) ProtoReflect added in v0.0.8

func (x *OauthLoginReq) ProtoReflect() protoreflect.Message

func (*OauthLoginReq) Reset added in v0.0.8

func (x *OauthLoginReq) Reset()

func (*OauthLoginReq) String added in v0.0.8

func (x *OauthLoginReq) String() string

type OauthRedirectResp added in v0.0.8

type OauthRedirectResp struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*OauthRedirectResp) Descriptor deprecated added in v0.0.8

func (*OauthRedirectResp) Descriptor() ([]byte, []int)

Deprecated: Use OauthRedirectResp.ProtoReflect.Descriptor instead.

func (*OauthRedirectResp) GetUrl added in v0.0.8

func (x *OauthRedirectResp) GetUrl() string

func (*OauthRedirectResp) ProtoMessage added in v0.0.8

func (*OauthRedirectResp) ProtoMessage()

func (*OauthRedirectResp) ProtoReflect added in v0.0.8

func (x *OauthRedirectResp) ProtoReflect() protoreflect.Message

func (*OauthRedirectResp) Reset added in v0.0.8

func (x *OauthRedirectResp) Reset()

func (*OauthRedirectResp) String added in v0.0.8

func (x *OauthRedirectResp) String() string

type PageInfoReq

type PageInfoReq struct {
	Page     uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfoReq) Descriptor deprecated

func (*PageInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use PageInfoReq.ProtoReflect.Descriptor instead.

func (*PageInfoReq) GetPage

func (x *PageInfoReq) GetPage() uint64

func (*PageInfoReq) GetPageSize

func (x *PageInfoReq) GetPageSize() uint64

func (*PageInfoReq) ProtoMessage

func (*PageInfoReq) ProtoMessage()

func (*PageInfoReq) ProtoReflect

func (x *PageInfoReq) ProtoReflect() protoreflect.Message

func (*PageInfoReq) Reset

func (x *PageInfoReq) Reset()

func (*PageInfoReq) String

func (x *PageInfoReq) String() string

type ProviderInfo added in v0.0.8

type ProviderInfo struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ClientId     string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,4,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	RedirectUrl  string `protobuf:"bytes,5,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"`
	Scopes       string `protobuf:"bytes,6,opt,name=scopes,proto3" json:"scopes,omitempty"`
	AuthUrl      string `protobuf:"bytes,7,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"`
	TokenUrl     string `protobuf:"bytes,8,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	AuthStyle    uint64 `protobuf:"varint,9,opt,name=auth_style,json=authStyle,proto3" json:"auth_style,omitempty"`
	InfoUrl      string `protobuf:"bytes,10,opt,name=info_url,json=infoUrl,proto3" json:"info_url,omitempty"`
	CreatedAt    int64  `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    int64  `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderInfo) Descriptor deprecated added in v0.0.8

func (*ProviderInfo) Descriptor() ([]byte, []int)

Deprecated: Use ProviderInfo.ProtoReflect.Descriptor instead.

func (*ProviderInfo) GetAuthStyle added in v0.0.8

func (x *ProviderInfo) GetAuthStyle() uint64

func (*ProviderInfo) GetAuthUrl added in v0.0.8

func (x *ProviderInfo) GetAuthUrl() string

func (*ProviderInfo) GetClientId added in v0.0.8

func (x *ProviderInfo) GetClientId() string

func (*ProviderInfo) GetClientSecret added in v0.0.8

func (x *ProviderInfo) GetClientSecret() string

func (*ProviderInfo) GetCreatedAt added in v0.1.2

func (x *ProviderInfo) GetCreatedAt() int64

func (*ProviderInfo) GetId added in v0.0.8

func (x *ProviderInfo) GetId() uint64

func (*ProviderInfo) GetInfoUrl added in v0.0.8

func (x *ProviderInfo) GetInfoUrl() string

func (*ProviderInfo) GetName added in v0.0.8

func (x *ProviderInfo) GetName() string

func (*ProviderInfo) GetRedirectUrl added in v0.0.8

func (x *ProviderInfo) GetRedirectUrl() string

func (*ProviderInfo) GetScopes added in v0.0.8

func (x *ProviderInfo) GetScopes() string

func (*ProviderInfo) GetTokenUrl added in v0.0.8

func (x *ProviderInfo) GetTokenUrl() string

func (*ProviderInfo) GetUpdatedAt added in v0.1.2

func (x *ProviderInfo) GetUpdatedAt() int64

func (*ProviderInfo) ProtoMessage added in v0.0.8

func (*ProviderInfo) ProtoMessage()

func (*ProviderInfo) ProtoReflect added in v0.0.8

func (x *ProviderInfo) ProtoReflect() protoreflect.Message

func (*ProviderInfo) Reset added in v0.0.8

func (x *ProviderInfo) Reset()

func (*ProviderInfo) String added in v0.0.8

func (x *ProviderInfo) String() string

type ProviderListResp added in v0.0.8

type ProviderListResp struct {
	Total uint64          `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*ProviderInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderListResp) Descriptor deprecated added in v0.0.8

func (*ProviderListResp) Descriptor() ([]byte, []int)

Deprecated: Use ProviderListResp.ProtoReflect.Descriptor instead.

func (*ProviderListResp) GetData added in v0.0.8

func (x *ProviderListResp) GetData() []*ProviderInfo

func (*ProviderListResp) GetTotal added in v0.0.8

func (x *ProviderListResp) GetTotal() uint64

func (*ProviderListResp) ProtoMessage added in v0.0.8

func (*ProviderListResp) ProtoMessage()

func (*ProviderListResp) ProtoReflect added in v0.0.8

func (x *ProviderListResp) ProtoReflect() protoreflect.Message

func (*ProviderListResp) Reset added in v0.0.8

func (x *ProviderListResp) Reset()

func (*ProviderListResp) String added in v0.0.8

func (x *ProviderListResp) String() string

type RoleInfo

type RoleInfo struct {
	Id            uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Value         string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	DefaultRouter string `protobuf:"bytes,4,opt,name=default_router,json=defaultRouter,proto3" json:"default_router,omitempty"`
	Status        uint64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	Remark        string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"`
	OrderNo       uint32 `protobuf:"varint,7,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
	CreatedAt     int64  `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

role messages

func (*RoleInfo) Descriptor deprecated

func (*RoleInfo) Descriptor() ([]byte, []int)

Deprecated: Use RoleInfo.ProtoReflect.Descriptor instead.

func (*RoleInfo) GetCreatedAt added in v0.1.2

func (x *RoleInfo) GetCreatedAt() int64

func (*RoleInfo) GetDefaultRouter

func (x *RoleInfo) GetDefaultRouter() string

func (*RoleInfo) GetId

func (x *RoleInfo) GetId() uint64

func (*RoleInfo) GetName

func (x *RoleInfo) GetName() string

func (*RoleInfo) GetOrderNo

func (x *RoleInfo) GetOrderNo() uint32

func (*RoleInfo) GetRemark

func (x *RoleInfo) GetRemark() string

func (*RoleInfo) GetStatus

func (x *RoleInfo) GetStatus() uint64

func (*RoleInfo) GetValue

func (x *RoleInfo) GetValue() string

func (*RoleInfo) ProtoMessage

func (*RoleInfo) ProtoMessage()

func (*RoleInfo) ProtoReflect

func (x *RoleInfo) ProtoReflect() protoreflect.Message

func (*RoleInfo) Reset

func (x *RoleInfo) Reset()

func (*RoleInfo) String

func (x *RoleInfo) String() string

type RoleListResp

type RoleListResp struct {
	Total uint64      `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*RoleInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleListResp) Descriptor deprecated

func (*RoleListResp) Descriptor() ([]byte, []int)

Deprecated: Use RoleListResp.ProtoReflect.Descriptor instead.

func (*RoleListResp) GetData

func (x *RoleListResp) GetData() []*RoleInfo

func (*RoleListResp) GetTotal

func (x *RoleListResp) GetTotal() uint64

func (*RoleListResp) ProtoMessage

func (*RoleListResp) ProtoMessage()

func (*RoleListResp) ProtoReflect

func (x *RoleListResp) ProtoReflect() protoreflect.Message

func (*RoleListResp) Reset

func (x *RoleListResp) Reset()

func (*RoleListResp) String

func (x *RoleListResp) String() string

type RoleMenuAuthorityReq

type RoleMenuAuthorityReq struct {
	RoleId uint64   `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	MenuId []uint64 `protobuf:"varint,2,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"`
	// contains filtered or unexported fields
}

authorization message

func (*RoleMenuAuthorityReq) Descriptor deprecated

func (*RoleMenuAuthorityReq) Descriptor() ([]byte, []int)

Deprecated: Use RoleMenuAuthorityReq.ProtoReflect.Descriptor instead.

func (*RoleMenuAuthorityReq) GetMenuId

func (x *RoleMenuAuthorityReq) GetMenuId() []uint64

func (*RoleMenuAuthorityReq) GetRoleId

func (x *RoleMenuAuthorityReq) GetRoleId() uint64

func (*RoleMenuAuthorityReq) ProtoMessage

func (*RoleMenuAuthorityReq) ProtoMessage()

func (*RoleMenuAuthorityReq) ProtoReflect

func (x *RoleMenuAuthorityReq) ProtoReflect() protoreflect.Message

func (*RoleMenuAuthorityReq) Reset

func (x *RoleMenuAuthorityReq) Reset()

func (*RoleMenuAuthorityReq) String

func (x *RoleMenuAuthorityReq) String() string

type RoleMenuAuthorityResp

type RoleMenuAuthorityResp struct {
	MenuId []uint64 `protobuf:"varint,1,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"`
	// contains filtered or unexported fields
}

return the role's authorization menu's ids

func (*RoleMenuAuthorityResp) Descriptor deprecated

func (*RoleMenuAuthorityResp) Descriptor() ([]byte, []int)

Deprecated: Use RoleMenuAuthorityResp.ProtoReflect.Descriptor instead.

func (*RoleMenuAuthorityResp) GetMenuId

func (x *RoleMenuAuthorityResp) GetMenuId() []uint64

func (*RoleMenuAuthorityResp) ProtoMessage

func (*RoleMenuAuthorityResp) ProtoMessage()

func (*RoleMenuAuthorityResp) ProtoReflect

func (x *RoleMenuAuthorityResp) ProtoReflect() protoreflect.Message

func (*RoleMenuAuthorityResp) Reset

func (x *RoleMenuAuthorityResp) Reset()

func (*RoleMenuAuthorityResp) String

func (x *RoleMenuAuthorityResp) String() string

type StatusCodeReq added in v0.1.4

type StatusCodeReq struct {
	Id     uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status uint64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusCodeReq) Descriptor deprecated added in v0.1.4

func (*StatusCodeReq) Descriptor() ([]byte, []int)

Deprecated: Use StatusCodeReq.ProtoReflect.Descriptor instead.

func (*StatusCodeReq) GetId added in v0.1.4

func (x *StatusCodeReq) GetId() uint64

func (*StatusCodeReq) GetStatus added in v0.1.4

func (x *StatusCodeReq) GetStatus() uint64

func (*StatusCodeReq) ProtoMessage added in v0.1.4

func (*StatusCodeReq) ProtoMessage()

func (*StatusCodeReq) ProtoReflect added in v0.1.4

func (x *StatusCodeReq) ProtoReflect() protoreflect.Message

func (*StatusCodeReq) Reset added in v0.1.4

func (x *StatusCodeReq) Reset()

func (*StatusCodeReq) String added in v0.1.4

func (x *StatusCodeReq) String() string

type StatusCodeUUIDReq added in v0.2.1

type StatusCodeUUIDReq struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status uint64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusCodeUUIDReq) Descriptor deprecated added in v0.2.1

func (*StatusCodeUUIDReq) Descriptor() ([]byte, []int)

Deprecated: Use StatusCodeUUIDReq.ProtoReflect.Descriptor instead.

func (*StatusCodeUUIDReq) GetId added in v0.2.1

func (x *StatusCodeUUIDReq) GetId() string

func (*StatusCodeUUIDReq) GetStatus added in v0.2.1

func (x *StatusCodeUUIDReq) GetStatus() uint64

func (*StatusCodeUUIDReq) ProtoMessage added in v0.2.1

func (*StatusCodeUUIDReq) ProtoMessage()

func (*StatusCodeUUIDReq) ProtoReflect added in v0.2.1

func (x *StatusCodeUUIDReq) ProtoReflect() protoreflect.Message

func (*StatusCodeUUIDReq) Reset added in v0.2.1

func (x *StatusCodeUUIDReq) Reset()

func (*StatusCodeUUIDReq) String added in v0.2.1

func (x *StatusCodeUUIDReq) String() string

type TokenInfo added in v0.1.1

type TokenInfo struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt int64  `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt int64  `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Uuid      string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Token     string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
	Source    string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
	Status    uint64 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
	ExpiredAt int64  `protobuf:"varint,8,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenInfo) Descriptor deprecated added in v0.1.1

func (*TokenInfo) Descriptor() ([]byte, []int)

Deprecated: Use TokenInfo.ProtoReflect.Descriptor instead.

func (*TokenInfo) GetCreatedAt added in v0.1.2

func (x *TokenInfo) GetCreatedAt() int64

func (*TokenInfo) GetExpiredAt added in v0.1.2

func (x *TokenInfo) GetExpiredAt() int64

func (*TokenInfo) GetId added in v0.1.1

func (x *TokenInfo) GetId() string

func (*TokenInfo) GetSource added in v0.1.1

func (x *TokenInfo) GetSource() string

func (*TokenInfo) GetStatus added in v0.1.1

func (x *TokenInfo) GetStatus() uint64

func (*TokenInfo) GetToken added in v0.1.1

func (x *TokenInfo) GetToken() string

func (*TokenInfo) GetUpdatedAt added in v0.1.4

func (x *TokenInfo) GetUpdatedAt() int64

func (*TokenInfo) GetUuid added in v0.1.4

func (x *TokenInfo) GetUuid() string

func (*TokenInfo) ProtoMessage added in v0.1.1

func (*TokenInfo) ProtoMessage()

func (*TokenInfo) ProtoReflect added in v0.1.1

func (x *TokenInfo) ProtoReflect() protoreflect.Message

func (*TokenInfo) Reset added in v0.1.1

func (x *TokenInfo) Reset()

func (*TokenInfo) String added in v0.1.1

func (x *TokenInfo) String() string

type TokenListReq added in v0.1.1

type TokenListReq struct {
	Page     uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Email    string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Uuid     string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenListReq) Descriptor deprecated added in v0.1.1

func (*TokenListReq) Descriptor() ([]byte, []int)

Deprecated: Use TokenListReq.ProtoReflect.Descriptor instead.

func (*TokenListReq) GetEmail added in v0.1.1

func (x *TokenListReq) GetEmail() string

func (*TokenListReq) GetNickname added in v0.1.1

func (x *TokenListReq) GetNickname() string

func (*TokenListReq) GetPage added in v0.1.1

func (x *TokenListReq) GetPage() uint64

func (*TokenListReq) GetPageSize added in v0.1.4

func (x *TokenListReq) GetPageSize() uint64

func (*TokenListReq) GetUsername added in v0.1.1

func (x *TokenListReq) GetUsername() string

func (*TokenListReq) GetUuid added in v0.1.4

func (x *TokenListReq) GetUuid() string

func (*TokenListReq) ProtoMessage added in v0.1.1

func (*TokenListReq) ProtoMessage()

func (*TokenListReq) ProtoReflect added in v0.1.1

func (x *TokenListReq) ProtoReflect() protoreflect.Message

func (*TokenListReq) Reset added in v0.1.1

func (x *TokenListReq) Reset()

func (*TokenListReq) String added in v0.1.1

func (x *TokenListReq) String() string

type TokenListResp added in v0.1.1

type TokenListResp struct {
	Total uint64       `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*TokenInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenListResp) Descriptor deprecated added in v0.1.1

func (*TokenListResp) Descriptor() ([]byte, []int)

Deprecated: Use TokenListResp.ProtoReflect.Descriptor instead.

func (*TokenListResp) GetData added in v0.1.1

func (x *TokenListResp) GetData() []*TokenInfo

func (*TokenListResp) GetTotal added in v0.1.1

func (x *TokenListResp) GetTotal() uint64

func (*TokenListResp) ProtoMessage added in v0.1.1

func (*TokenListResp) ProtoMessage()

func (*TokenListResp) ProtoReflect added in v0.1.1

func (x *TokenListResp) ProtoReflect() protoreflect.Message

func (*TokenListResp) Reset added in v0.1.1

func (x *TokenListResp) Reset()

func (*TokenListResp) String added in v0.1.1

func (x *TokenListResp) String() string

type UUIDReq

type UUIDReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*UUIDReq) Descriptor deprecated

func (*UUIDReq) Descriptor() ([]byte, []int)

Deprecated: Use UUIDReq.ProtoReflect.Descriptor instead.

func (*UUIDReq) GetId added in v0.2.1

func (x *UUIDReq) GetId() string

func (*UUIDReq) ProtoMessage

func (*UUIDReq) ProtoMessage()

func (*UUIDReq) ProtoReflect

func (x *UUIDReq) ProtoReflect() protoreflect.Message

func (*UUIDReq) Reset

func (x *UUIDReq) Reset()

func (*UUIDReq) String

func (x *UUIDReq) String() string

type UUIDsReq added in v0.2.1

type UUIDsReq struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*UUIDsReq) Descriptor deprecated added in v0.2.1

func (*UUIDsReq) Descriptor() ([]byte, []int)

Deprecated: Use UUIDsReq.ProtoReflect.Descriptor instead.

func (*UUIDsReq) GetIds added in v0.2.1

func (x *UUIDsReq) GetIds() []string

func (*UUIDsReq) ProtoMessage added in v0.2.1

func (*UUIDsReq) ProtoMessage()

func (*UUIDsReq) ProtoReflect added in v0.2.1

func (x *UUIDsReq) ProtoReflect() protoreflect.Message

func (*UUIDsReq) Reset added in v0.2.1

func (x *UUIDsReq) Reset()

func (*UUIDsReq) String added in v0.2.1

func (x *UUIDsReq) String() string

type UnimplementedCoreServer

type UnimplementedCoreServer struct {
}

UnimplementedCoreServer must be embedded to have forward compatible implementations.

func (UnimplementedCoreServer) BatchDeleteToken added in v0.1.8

func (UnimplementedCoreServer) BatchDeleteUser added in v0.1.9

func (UnimplementedCoreServer) BlockUserAllToken added in v0.1.1

func (UnimplementedCoreServer) BlockUserAllToken(context.Context, *UUIDReq) (*BaseResp, error)

func (UnimplementedCoreServer) ChangePassword

func (UnimplementedCoreServer) CreateOrUpdateApi

func (UnimplementedCoreServer) CreateOrUpdateApi(context.Context, *ApiInfo) (*BaseResp, error)

func (UnimplementedCoreServer) CreateOrUpdateDictionary added in v0.0.7

func (UnimplementedCoreServer) CreateOrUpdateDictionary(context.Context, *DictionaryInfo) (*BaseResp, error)

func (UnimplementedCoreServer) CreateOrUpdateDictionaryDetail added in v0.0.7

func (UnimplementedCoreServer) CreateOrUpdateDictionaryDetail(context.Context, *DictionaryDetail) (*BaseResp, error)

func (UnimplementedCoreServer) CreateOrUpdateMenu

func (UnimplementedCoreServer) CreateOrUpdateMenuAuthority

func (UnimplementedCoreServer) CreateOrUpdateMenuAuthority(context.Context, *RoleMenuAuthorityReq) (*BaseResp, error)

func (UnimplementedCoreServer) CreateOrUpdateMenuParam added in v0.0.4

func (UnimplementedCoreServer) CreateOrUpdateProvider added in v0.0.8

func (UnimplementedCoreServer) CreateOrUpdateProvider(context.Context, *ProviderInfo) (*BaseResp, error)

func (UnimplementedCoreServer) CreateOrUpdateRole

func (UnimplementedCoreServer) CreateOrUpdateRole(context.Context, *RoleInfo) (*BaseResp, error)

func (UnimplementedCoreServer) CreateOrUpdateToken added in v0.1.1

func (UnimplementedCoreServer) CreateOrUpdateToken(context.Context, *TokenInfo) (*BaseResp, error)

func (UnimplementedCoreServer) CreateOrUpdateUser

func (UnimplementedCoreServer) DeleteApi

func (UnimplementedCoreServer) DeleteDictionary added in v0.0.7

func (UnimplementedCoreServer) DeleteDictionary(context.Context, *IDReq) (*BaseResp, error)

func (UnimplementedCoreServer) DeleteDictionaryDetail added in v0.0.7

func (UnimplementedCoreServer) DeleteDictionaryDetail(context.Context, *IDReq) (*BaseResp, error)

func (UnimplementedCoreServer) DeleteMenu

func (UnimplementedCoreServer) DeleteMenuParam

func (UnimplementedCoreServer) DeleteMenuParam(context.Context, *IDReq) (*BaseResp, error)

func (UnimplementedCoreServer) DeleteProvider added in v0.0.8

func (UnimplementedCoreServer) DeleteRole

func (UnimplementedCoreServer) DeleteToken added in v0.1.1

func (UnimplementedCoreServer) DeleteUser

func (UnimplementedCoreServer) GetApiList

func (UnimplementedCoreServer) GetDetailByDictionaryName added in v0.0.7

func (UnimplementedCoreServer) GetDictionaryList added in v0.0.7

func (UnimplementedCoreServer) GetMenuAuthority

func (UnimplementedCoreServer) GetMenuList added in v0.1.4

func (UnimplementedCoreServer) GetMenuListByRole

func (UnimplementedCoreServer) GetMenuParamListByMenuId added in v0.1.2

func (UnimplementedCoreServer) GetMenuParamListByMenuId(context.Context, *IDReq) (*MenuParamListResp, error)

func (UnimplementedCoreServer) GetProviderList added in v0.0.8

func (UnimplementedCoreServer) GetRoleById

func (UnimplementedCoreServer) GetRoleList

func (UnimplementedCoreServer) GetTokenList added in v0.1.1

func (UnimplementedCoreServer) GetUserById

func (UnimplementedCoreServer) GetUserList

func (UnimplementedCoreServer) InitDatabase

func (UnimplementedCoreServer) Login

func (UnimplementedCoreServer) OauthCallback added in v0.0.8

func (UnimplementedCoreServer) OauthLogin added in v0.0.8

func (UnimplementedCoreServer) UpdateProfile added in v0.0.2

func (UnimplementedCoreServer) UpdateRoleStatus added in v0.1.4

func (UnimplementedCoreServer) UpdateTokenStatus added in v0.1.4

func (UnimplementedCoreServer) UpdateUserStatus added in v0.1.4

type UnsafeCoreServer

type UnsafeCoreServer interface {
	// contains filtered or unexported methods
}

UnsafeCoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreServer will result in compilation errors.

type UpdateProfileReq added in v0.0.2

type UpdateProfileReq struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Email    string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Mobile   string `protobuf:"bytes,4,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Avatar   string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProfileReq) Descriptor deprecated added in v0.0.2

func (*UpdateProfileReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProfileReq.ProtoReflect.Descriptor instead.

func (*UpdateProfileReq) GetAvatar added in v0.0.2

func (x *UpdateProfileReq) GetAvatar() string

func (*UpdateProfileReq) GetEmail added in v0.0.2

func (x *UpdateProfileReq) GetEmail() string

func (*UpdateProfileReq) GetId added in v0.2.1

func (x *UpdateProfileReq) GetId() string

func (*UpdateProfileReq) GetMobile added in v0.0.2

func (x *UpdateProfileReq) GetMobile() string

func (*UpdateProfileReq) GetNickname added in v0.0.2

func (x *UpdateProfileReq) GetNickname() string

func (*UpdateProfileReq) ProtoMessage added in v0.0.2

func (*UpdateProfileReq) ProtoMessage()

func (*UpdateProfileReq) ProtoReflect added in v0.0.2

func (x *UpdateProfileReq) ProtoReflect() protoreflect.Message

func (*UpdateProfileReq) Reset added in v0.0.2

func (x *UpdateProfileReq) Reset()

func (*UpdateProfileReq) String added in v0.0.2

func (x *UpdateProfileReq) String() string

type UserInfoResp

type UserInfoResp struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Avatar    string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
	RoleId    uint64 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	Mobile    string `protobuf:"bytes,4,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email     string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Status    uint64 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	Username  string `protobuf:"bytes,7,opt,name=username,proto3" json:"username,omitempty"`
	Nickname  string `protobuf:"bytes,8,opt,name=nickname,proto3" json:"nickname,omitempty"`
	RoleName  string `protobuf:"bytes,9,opt,name=roleName,proto3" json:"roleName,omitempty"`
	CreatedAt int64  `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt int64  `protobuf:"varint,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	RoleValue string `protobuf:"bytes,12,opt,name=roleValue,proto3" json:"roleValue,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInfoResp) Descriptor deprecated

func (*UserInfoResp) Descriptor() ([]byte, []int)

Deprecated: Use UserInfoResp.ProtoReflect.Descriptor instead.

func (*UserInfoResp) GetAvatar

func (x *UserInfoResp) GetAvatar() string

func (*UserInfoResp) GetCreatedAt added in v0.1.2

func (x *UserInfoResp) GetCreatedAt() int64

func (*UserInfoResp) GetEmail

func (x *UserInfoResp) GetEmail() string

func (*UserInfoResp) GetId

func (x *UserInfoResp) GetId() string

func (*UserInfoResp) GetMobile

func (x *UserInfoResp) GetMobile() string

func (*UserInfoResp) GetNickname

func (x *UserInfoResp) GetNickname() string

func (*UserInfoResp) GetRoleId

func (x *UserInfoResp) GetRoleId() uint64

func (*UserInfoResp) GetRoleName

func (x *UserInfoResp) GetRoleName() string

func (*UserInfoResp) GetRoleValue

func (x *UserInfoResp) GetRoleValue() string

func (*UserInfoResp) GetStatus

func (x *UserInfoResp) GetStatus() uint64

func (*UserInfoResp) GetUpdatedAt added in v0.1.2

func (x *UserInfoResp) GetUpdatedAt() int64

func (*UserInfoResp) GetUsername

func (x *UserInfoResp) GetUsername() string

func (*UserInfoResp) ProtoMessage

func (*UserInfoResp) ProtoMessage()

func (*UserInfoResp) ProtoReflect

func (x *UserInfoResp) ProtoReflect() protoreflect.Message

func (*UserInfoResp) Reset

func (x *UserInfoResp) Reset()

func (*UserInfoResp) String

func (x *UserInfoResp) String() string

type UserListResp

type UserListResp struct {
	Total uint64          `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*UserInfoResp `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UserListResp) Descriptor deprecated

func (*UserListResp) Descriptor() ([]byte, []int)

Deprecated: Use UserListResp.ProtoReflect.Descriptor instead.

func (*UserListResp) GetData

func (x *UserListResp) GetData() []*UserInfoResp

func (*UserListResp) GetTotal

func (x *UserListResp) GetTotal() uint64

func (*UserListResp) ProtoMessage

func (*UserListResp) ProtoMessage()

func (*UserListResp) ProtoReflect

func (x *UserListResp) ProtoReflect() protoreflect.Message

func (*UserListResp) Reset

func (x *UserListResp) Reset()

func (*UserListResp) String

func (x *UserListResp) String() string

Jump to

Keyboard shortcuts

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