Documentation
¶
Index ¶
- Variables
- func RegisterCoreServer(s grpc.ServiceRegistrar, srv CoreServer)
- type ApiInfo
- func (*ApiInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ApiInfo) GetCreatedAt() int64
- func (x *ApiInfo) GetDescription() string
- func (x *ApiInfo) GetGroup() string
- func (x *ApiInfo) GetId() uint64
- func (x *ApiInfo) GetMethod() string
- func (x *ApiInfo) GetPath() string
- func (*ApiInfo) ProtoMessage()
- func (x *ApiInfo) ProtoReflect() protoreflect.Message
- func (x *ApiInfo) Reset()
- func (x *ApiInfo) String() string
- type ApiListResp
- func (*ApiListResp) Descriptor() ([]byte, []int)deprecated
- func (x *ApiListResp) GetData() []*ApiInfo
- func (x *ApiListResp) GetTotal() uint64
- func (*ApiListResp) ProtoMessage()
- func (x *ApiListResp) ProtoReflect() protoreflect.Message
- func (x *ApiListResp) Reset()
- func (x *ApiListResp) String() string
- type ApiPageReq
- func (*ApiPageReq) Descriptor() ([]byte, []int)deprecated
- func (x *ApiPageReq) GetDescription() string
- func (x *ApiPageReq) GetGroup() string
- func (x *ApiPageReq) GetMethod() string
- func (x *ApiPageReq) GetPage() *PageInfoReq
- func (x *ApiPageReq) GetPath() string
- func (*ApiPageReq) ProtoMessage()
- func (x *ApiPageReq) ProtoReflect() protoreflect.Message
- func (x *ApiPageReq) Reset()
- func (x *ApiPageReq) String() string
- type BaseResp
- type CallbackReq
- type ChangePasswordReq
- func (*ChangePasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordReq) GetNewPassword() string
- func (x *ChangePasswordReq) GetOldPassword() string
- func (x *ChangePasswordReq) GetUuid() string
- func (*ChangePasswordReq) ProtoMessage()
- func (x *ChangePasswordReq) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordReq) Reset()
- func (x *ChangePasswordReq) String() string
- type CoreClient
- type CoreServer
- type CreateOrUpdateMenuParamReq
- func (*CreateOrUpdateMenuParamReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateMenuParamReq) GetId() uint64
- func (x *CreateOrUpdateMenuParamReq) GetKey() string
- func (x *CreateOrUpdateMenuParamReq) GetMenuId() uint64
- func (x *CreateOrUpdateMenuParamReq) GetType() string
- func (x *CreateOrUpdateMenuParamReq) GetValue() string
- func (*CreateOrUpdateMenuParamReq) ProtoMessage()
- func (x *CreateOrUpdateMenuParamReq) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateMenuParamReq) Reset()
- func (x *CreateOrUpdateMenuParamReq) String() string
- type CreateOrUpdateMenuReq
- func (*CreateOrUpdateMenuReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateMenuReq) GetComponent() string
- func (x *CreateOrUpdateMenuReq) GetDisabled() bool
- func (x *CreateOrUpdateMenuReq) GetId() uint64
- func (x *CreateOrUpdateMenuReq) GetLevel() uint32
- func (x *CreateOrUpdateMenuReq) GetMenuType() uint32
- func (x *CreateOrUpdateMenuReq) GetMeta() *Meta
- func (x *CreateOrUpdateMenuReq) GetName() string
- func (x *CreateOrUpdateMenuReq) GetOrderNo() uint32
- func (x *CreateOrUpdateMenuReq) GetParentId() uint32
- func (x *CreateOrUpdateMenuReq) GetPath() string
- func (x *CreateOrUpdateMenuReq) GetRedirect() string
- func (*CreateOrUpdateMenuReq) ProtoMessage()
- func (x *CreateOrUpdateMenuReq) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateMenuReq) Reset()
- func (x *CreateOrUpdateMenuReq) String() string
- type CreateOrUpdateUserReq
- func (*CreateOrUpdateUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateUserReq) GetAvatar() string
- func (x *CreateOrUpdateUserReq) GetEmail() string
- func (x *CreateOrUpdateUserReq) GetId() uint64
- func (x *CreateOrUpdateUserReq) GetMobile() string
- func (x *CreateOrUpdateUserReq) GetNickname() string
- func (x *CreateOrUpdateUserReq) GetPassword() string
- func (x *CreateOrUpdateUserReq) GetRoleId() uint32
- func (x *CreateOrUpdateUserReq) GetStatus() int32
- func (x *CreateOrUpdateUserReq) GetUsername() string
- func (*CreateOrUpdateUserReq) ProtoMessage()
- func (x *CreateOrUpdateUserReq) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateUserReq) Reset()
- func (x *CreateOrUpdateUserReq) String() string
- type CreatePolicyReq
- func (*CreatePolicyReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicyReq) GetInfo() *PolicyPartInfo
- func (x *CreatePolicyReq) GetRoleId() uint64
- func (*CreatePolicyReq) ProtoMessage()
- func (x *CreatePolicyReq) ProtoReflect() protoreflect.Message
- func (x *CreatePolicyReq) Reset()
- func (x *CreatePolicyReq) String() string
- type DictionaryDetail
- func (*DictionaryDetail) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryDetail) GetCreatedAt() int64
- func (x *DictionaryDetail) GetId() uint64
- func (x *DictionaryDetail) GetKey() string
- func (x *DictionaryDetail) GetParentId() int64
- func (x *DictionaryDetail) GetStatus() bool
- func (x *DictionaryDetail) GetTitle() string
- func (x *DictionaryDetail) GetUpdatedAt() int64
- func (x *DictionaryDetail) GetValue() string
- func (*DictionaryDetail) ProtoMessage()
- func (x *DictionaryDetail) ProtoReflect() protoreflect.Message
- func (x *DictionaryDetail) Reset()
- func (x *DictionaryDetail) String() string
- type DictionaryDetailList
- func (*DictionaryDetailList) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryDetailList) GetData() []*DictionaryDetail
- func (x *DictionaryDetailList) GetTotal() uint64
- func (*DictionaryDetailList) ProtoMessage()
- func (x *DictionaryDetailList) ProtoReflect() protoreflect.Message
- func (x *DictionaryDetailList) Reset()
- func (x *DictionaryDetailList) String() string
- type DictionaryDetailReq
- func (*DictionaryDetailReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryDetailReq) GetName() string
- func (*DictionaryDetailReq) ProtoMessage()
- func (x *DictionaryDetailReq) ProtoReflect() protoreflect.Message
- func (x *DictionaryDetailReq) Reset()
- func (x *DictionaryDetailReq) String() string
- type DictionaryInfo
- func (*DictionaryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryInfo) GetCreatedAt() int64
- func (x *DictionaryInfo) GetDesc() string
- func (x *DictionaryInfo) GetId() uint64
- func (x *DictionaryInfo) GetName() string
- func (x *DictionaryInfo) GetStatus() bool
- func (x *DictionaryInfo) GetTitle() string
- func (x *DictionaryInfo) GetUpdatedAt() int64
- func (*DictionaryInfo) ProtoMessage()
- func (x *DictionaryInfo) ProtoReflect() protoreflect.Message
- func (x *DictionaryInfo) Reset()
- func (x *DictionaryInfo) String() string
- type DictionaryList
- func (*DictionaryList) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryList) GetData() []*DictionaryInfo
- func (x *DictionaryList) GetTotal() uint64
- func (*DictionaryList) ProtoMessage()
- func (x *DictionaryList) ProtoReflect() protoreflect.Message
- func (x *DictionaryList) Reset()
- func (x *DictionaryList) String() string
- type DictionaryPageReq
- func (*DictionaryPageReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryPageReq) GetName() string
- func (x *DictionaryPageReq) GetPage() uint64
- func (x *DictionaryPageReq) GetPageSize() uint64
- func (x *DictionaryPageReq) GetTitle() string
- func (*DictionaryPageReq) ProtoMessage()
- func (x *DictionaryPageReq) ProtoReflect() protoreflect.Message
- func (x *DictionaryPageReq) Reset()
- func (x *DictionaryPageReq) String() string
- type Empty
- type GetUserListReq
- func (*GetUserListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserListReq) GetEmail() string
- func (x *GetUserListReq) GetMobile() string
- func (x *GetUserListReq) GetNickname() string
- func (x *GetUserListReq) GetPage() uint64
- func (x *GetUserListReq) GetPageSize() uint64
- func (x *GetUserListReq) GetRoleId() uint64
- func (x *GetUserListReq) GetUsername() string
- func (*GetUserListReq) ProtoMessage()
- func (x *GetUserListReq) ProtoReflect() protoreflect.Message
- func (x *GetUserListReq) Reset()
- func (x *GetUserListReq) String() string
- type IDReq
- type LoginReq
- type LoginResp
- func (*LoginResp) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResp) GetId() string
- func (x *LoginResp) GetRoleId() uint32
- func (x *LoginResp) GetRoleName() string
- func (x *LoginResp) GetRoleValue() string
- func (*LoginResp) ProtoMessage()
- func (x *LoginResp) ProtoReflect() protoreflect.Message
- func (x *LoginResp) Reset()
- func (x *LoginResp) String() string
- type MenuInfo
- func (*MenuInfo) Descriptor() ([]byte, []int)deprecated
- 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() uint32
- 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
- func (*MenuInfoList) Descriptor() ([]byte, []int)deprecated
- 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
- func (*MenuParamListResp) Descriptor() ([]byte, []int)deprecated
- 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
- func (*MenuParamResp) Descriptor() ([]byte, []int)deprecated
- func (x *MenuParamResp) GetCreatedAt() int64
- func (x *MenuParamResp) GetId() uint64
- func (x *MenuParamResp) GetKey() string
- func (x *MenuParamResp) GetMenuId() uint64
- 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
- func (*MenuRoleInfo) Descriptor() ([]byte, []int)deprecated
- 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
- func (*MenuRoleListResp) Descriptor() ([]byte, []int)deprecated
- 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
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (x *Meta) GetAffix() bool
- func (x *Meta) GetCarryParam() bool
- func (x *Meta) GetCurrentActiveMenu() string
- func (x *Meta) GetDynamicLevel() uint32
- func (x *Meta) GetFrameSrc() string
- func (x *Meta) GetHideBreadcrumb() bool
- func (x *Meta) GetHideChildrenInMenu() bool
- func (x *Meta) GetHideMenu() bool
- func (x *Meta) GetHideTab() bool
- func (x *Meta) GetIcon() string
- func (x *Meta) GetIgnoreKeepAlive() bool
- func (x *Meta) GetRealPath() string
- func (x *Meta) GetTitle() string
- func (*Meta) ProtoMessage()
- func (x *Meta) ProtoReflect() protoreflect.Message
- func (x *Meta) Reset()
- func (x *Meta) String() string
- type OauthLoginReq
- func (*OauthLoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *OauthLoginReq) GetProvider() string
- func (x *OauthLoginReq) GetState() string
- func (*OauthLoginReq) ProtoMessage()
- func (x *OauthLoginReq) ProtoReflect() protoreflect.Message
- func (x *OauthLoginReq) Reset()
- func (x *OauthLoginReq) String() string
- type OauthRedirectResp
- type PageInfoReq
- func (*PageInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfoReq) GetPage() uint64
- func (x *PageInfoReq) GetPageSize() uint64
- func (*PageInfoReq) ProtoMessage()
- func (x *PageInfoReq) ProtoReflect() protoreflect.Message
- func (x *PageInfoReq) Reset()
- func (x *PageInfoReq) String() string
- type PolicyPartInfo
- func (*PolicyPartInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyPartInfo) GetMethod() string
- func (x *PolicyPartInfo) GetPath() string
- func (*PolicyPartInfo) ProtoMessage()
- func (x *PolicyPartInfo) ProtoReflect() protoreflect.Message
- func (x *PolicyPartInfo) Reset()
- func (x *PolicyPartInfo) String() string
- type ProviderInfo
- func (*ProviderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderInfo) GetAuthStyle() uint64
- func (x *ProviderInfo) GetAuthUrl() string
- func (x *ProviderInfo) GetClientId() string
- func (x *ProviderInfo) GetClientSecret() string
- func (x *ProviderInfo) GetCreatedAt() int64
- func (x *ProviderInfo) GetId() uint64
- func (x *ProviderInfo) GetInfoUrl() string
- func (x *ProviderInfo) GetName() string
- func (x *ProviderInfo) GetRedirectUrl() string
- func (x *ProviderInfo) GetScopes() string
- func (x *ProviderInfo) GetTokenUrl() string
- func (x *ProviderInfo) GetUpdatedAt() int64
- func (*ProviderInfo) ProtoMessage()
- func (x *ProviderInfo) ProtoReflect() protoreflect.Message
- func (x *ProviderInfo) Reset()
- func (x *ProviderInfo) String() string
- type ProviderListResp
- func (*ProviderListResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderListResp) GetData() []*ProviderInfo
- func (x *ProviderListResp) GetTotal() uint64
- func (*ProviderListResp) ProtoMessage()
- func (x *ProviderListResp) ProtoReflect() protoreflect.Message
- func (x *ProviderListResp) Reset()
- func (x *ProviderListResp) String() string
- type RoleInfo
- func (*RoleInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RoleInfo) GetCreatedAt() int64
- func (x *RoleInfo) GetDefaultRouter() string
- func (x *RoleInfo) GetId() uint64
- func (x *RoleInfo) GetName() string
- func (x *RoleInfo) GetOrderNo() uint32
- func (x *RoleInfo) GetRemark() string
- func (x *RoleInfo) GetStatus() uint32
- func (x *RoleInfo) GetValue() string
- func (*RoleInfo) ProtoMessage()
- func (x *RoleInfo) ProtoReflect() protoreflect.Message
- func (x *RoleInfo) Reset()
- func (x *RoleInfo) String() string
- type RoleListResp
- func (*RoleListResp) Descriptor() ([]byte, []int)deprecated
- func (x *RoleListResp) GetData() []*RoleInfo
- func (x *RoleListResp) GetTotal() uint64
- func (*RoleListResp) ProtoMessage()
- func (x *RoleListResp) ProtoReflect() protoreflect.Message
- func (x *RoleListResp) Reset()
- func (x *RoleListResp) String() string
- type RoleMenuAuthorityReq
- func (*RoleMenuAuthorityReq) Descriptor() ([]byte, []int)deprecated
- func (x *RoleMenuAuthorityReq) GetMenuId() []uint64
- func (x *RoleMenuAuthorityReq) GetRoleId() uint64
- func (*RoleMenuAuthorityReq) ProtoMessage()
- func (x *RoleMenuAuthorityReq) ProtoReflect() protoreflect.Message
- func (x *RoleMenuAuthorityReq) Reset()
- func (x *RoleMenuAuthorityReq) String() string
- type RoleMenuAuthorityResp
- func (*RoleMenuAuthorityResp) Descriptor() ([]byte, []int)deprecated
- func (x *RoleMenuAuthorityResp) GetMenuId() []uint64
- func (*RoleMenuAuthorityResp) ProtoMessage()
- func (x *RoleMenuAuthorityResp) ProtoReflect() protoreflect.Message
- func (x *RoleMenuAuthorityResp) Reset()
- func (x *RoleMenuAuthorityResp) String() string
- type SetStatusReq
- func (*SetStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetStatusReq) GetId() uint64
- func (x *SetStatusReq) GetStatus() uint32
- func (*SetStatusReq) ProtoMessage()
- func (x *SetStatusReq) ProtoReflect() protoreflect.Message
- func (x *SetStatusReq) Reset()
- func (x *SetStatusReq) String() string
- type TokenInfo
- func (*TokenInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TokenInfo) GetCreatedAt() int64
- func (x *TokenInfo) GetExpiredAt() int64
- func (x *TokenInfo) GetId() uint64
- func (x *TokenInfo) GetSource() string
- func (x *TokenInfo) GetStatus() uint32
- func (x *TokenInfo) GetToken() string
- func (x *TokenInfo) GetUUID() string
- func (*TokenInfo) ProtoMessage()
- func (x *TokenInfo) ProtoReflect() protoreflect.Message
- func (x *TokenInfo) Reset()
- func (x *TokenInfo) String() string
- type TokenListReq
- func (*TokenListReq) Descriptor() ([]byte, []int)deprecated
- func (x *TokenListReq) GetEmail() string
- func (x *TokenListReq) GetNickname() string
- func (x *TokenListReq) GetPage() *PageInfoReq
- func (x *TokenListReq) GetUUID() string
- func (x *TokenListReq) GetUsername() string
- func (*TokenListReq) ProtoMessage()
- func (x *TokenListReq) ProtoReflect() protoreflect.Message
- func (x *TokenListReq) Reset()
- func (x *TokenListReq) String() string
- type TokenListResp
- func (*TokenListResp) Descriptor() ([]byte, []int)deprecated
- func (x *TokenListResp) GetData() []*TokenInfo
- func (x *TokenListResp) GetTotal() uint64
- func (*TokenListResp) ProtoMessage()
- func (x *TokenListResp) ProtoReflect() protoreflect.Message
- func (x *TokenListResp) Reset()
- func (x *TokenListResp) String() string
- type UUIDReq
- type UnimplementedCoreServer
- func (UnimplementedCoreServer) BlockUserAllToken(context.Context, *UUIDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) ChangePassword(context.Context, *ChangePasswordReq) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateApi(context.Context, *ApiInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateDictionary(context.Context, *DictionaryInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateDictionaryDetail(context.Context, *DictionaryDetail) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateMenu(context.Context, *CreateOrUpdateMenuReq) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateMenuAuthority(context.Context, *RoleMenuAuthorityReq) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateMenuParam(context.Context, *CreateOrUpdateMenuParamReq) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateProvider(context.Context, *ProviderInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateRole(context.Context, *RoleInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateToken(context.Context, *TokenInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateUser(context.Context, *CreateOrUpdateUserReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteApi(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteDictionary(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteDictionaryDetail(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteMenu(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteMenuParam(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteProvider(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteRole(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteToken(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteUser(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) GetApiList(context.Context, *ApiPageReq) (*ApiListResp, error)
- func (UnimplementedCoreServer) GetDetailByDictionaryName(context.Context, *DictionaryDetailReq) (*DictionaryDetailList, error)
- func (UnimplementedCoreServer) GetDictionaryList(context.Context, *DictionaryPageReq) (*DictionaryList, error)
- func (UnimplementedCoreServer) GetMenuAuthority(context.Context, *IDReq) (*RoleMenuAuthorityResp, error)
- func (UnimplementedCoreServer) GetMenuByPage(context.Context, *PageInfoReq) (*MenuInfoList, error)
- func (UnimplementedCoreServer) GetMenuListByRole(context.Context, *IDReq) (*MenuInfoList, error)
- func (UnimplementedCoreServer) GetMenuParamListByMenuId(context.Context, *IDReq) (*MenuParamListResp, error)
- func (UnimplementedCoreServer) GetProviderList(context.Context, *PageInfoReq) (*ProviderListResp, error)
- func (UnimplementedCoreServer) GetRoleById(context.Context, *IDReq) (*RoleInfo, error)
- func (UnimplementedCoreServer) GetRoleList(context.Context, *PageInfoReq) (*RoleListResp, error)
- func (UnimplementedCoreServer) GetTokenList(context.Context, *TokenListReq) (*TokenListResp, error)
- func (UnimplementedCoreServer) GetUserById(context.Context, *UUIDReq) (*UserInfoResp, error)
- func (UnimplementedCoreServer) GetUserList(context.Context, *GetUserListReq) (*UserListResp, error)
- func (UnimplementedCoreServer) InitDatabase(context.Context, *Empty) (*BaseResp, error)
- func (UnimplementedCoreServer) Login(context.Context, *LoginReq) (*LoginResp, error)
- func (UnimplementedCoreServer) OauthCallback(context.Context, *CallbackReq) (*LoginResp, error)
- func (UnimplementedCoreServer) OauthLogin(context.Context, *OauthLoginReq) (*OauthRedirectResp, error)
- func (UnimplementedCoreServer) SetRoleStatus(context.Context, *SetStatusReq) (*BaseResp, error)
- func (UnimplementedCoreServer) SetTokenStatus(context.Context, *SetStatusReq) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdateProfile(context.Context, *UpdateProfileReq) (*BaseResp, error)
- type UnsafeCoreServer
- type UpdatePolicyReq
- func (*UpdatePolicyReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePolicyReq) GetRoleId() uint64
- func (x *UpdatePolicyReq) GetRules() []*PolicyPartInfo
- func (*UpdatePolicyReq) ProtoMessage()
- func (x *UpdatePolicyReq) ProtoReflect() protoreflect.Message
- func (x *UpdatePolicyReq) Reset()
- func (x *UpdatePolicyReq) String() string
- type UpdateProfileReq
- func (*UpdateProfileReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileReq) GetAvatar() string
- func (x *UpdateProfileReq) GetEmail() string
- func (x *UpdateProfileReq) GetMobile() string
- func (x *UpdateProfileReq) GetNickname() string
- func (x *UpdateProfileReq) GetUuid() string
- func (*UpdateProfileReq) ProtoMessage()
- func (x *UpdateProfileReq) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileReq) Reset()
- func (x *UpdateProfileReq) String() string
- type UserInfoResp
- func (*UserInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfoResp) GetAvatar() string
- func (x *UserInfoResp) GetCreatedAt() int64
- func (x *UserInfoResp) GetEmail() string
- func (x *UserInfoResp) GetId() uint64
- func (x *UserInfoResp) GetMobile() string
- func (x *UserInfoResp) GetNickname() string
- func (x *UserInfoResp) GetRoleId() uint32
- func (x *UserInfoResp) GetRoleName() string
- func (x *UserInfoResp) GetRoleValue() string
- func (x *UserInfoResp) GetStatus() int32
- func (x *UserInfoResp) GetUUID() string
- func (x *UserInfoResp) GetUpdatedAt() int64
- func (x *UserInfoResp) GetUsername() string
- func (*UserInfoResp) ProtoMessage()
- func (x *UserInfoResp) ProtoReflect() protoreflect.Message
- func (x *UserInfoResp) Reset()
- func (x *UserInfoResp) String() string
- type UserListResp
- func (*UserListResp) Descriptor() ([]byte, []int)deprecated
- func (x *UserListResp) GetData() []*UserInfoResp
- func (x *UserListResp) GetTotal() uint32
- func (*UserListResp) ProtoMessage()
- func (x *UserListResp) ProtoReflect() protoreflect.Message
- func (x *UserListResp) Reset()
- func (x *UserListResp) String() string
Constants ¶
This section is empty.
Variables ¶
var Core_ServiceDesc = grpc.ServiceDesc{ ServiceName: "core.core", HandlerType: (*CoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "initDatabase", Handler: _Core_InitDatabase_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: "updateProfile", Handler: _Core_UpdateProfile_Handler, }, { MethodName: "createOrUpdateMenu", Handler: _Core_CreateOrUpdateMenu_Handler, }, { MethodName: "deleteMenu", Handler: _Core_DeleteMenu_Handler, }, { MethodName: "getMenuListByRole", Handler: _Core_GetMenuListByRole_Handler, }, { MethodName: "getMenuByPage", Handler: _Core_GetMenuByPage_Handler, }, { MethodName: "createOrUpdateMenuParam", Handler: _Core_CreateOrUpdateMenuParam_Handler, }, { MethodName: "deleteMenuParam", Handler: _Core_DeleteMenuParam_Handler, }, { MethodName: "getMenuParamListByMenuId", Handler: _Core_GetMenuParamListByMenuId_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: "setRoleStatus", Handler: _Core_SetRoleStatus_Handler, }, { 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: "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: "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: "createOrUpdateToken", Handler: _Core_CreateOrUpdateToken_Handler, }, { MethodName: "deleteToken", Handler: _Core_DeleteToken_Handler, }, { MethodName: "getTokenList", Handler: _Core_GetTokenList_Handler, }, { MethodName: "setTokenStatus", Handler: _Core_SetTokenStatus_Handler, }, { MethodName: "blockUserAllToken", Handler: _Core_BlockUserAllToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "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)
var File_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"` Path string `protobuf:"bytes,3,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) GetCreatedAt ¶ added in v0.1.2
func (*ApiInfo) GetDescription ¶
func (*ApiInfo) ProtoMessage ¶
func (*ApiInfo) ProtoMessage()
func (*ApiInfo) ProtoReflect ¶
func (x *ApiInfo) ProtoReflect() protoreflect.Message
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 *PageInfoReq `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` Group string `protobuf:"bytes,5,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() *PageInfoReq
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) ProtoMessage ¶
func (*BaseResp) ProtoMessage()
func (*BaseResp) ProtoReflect ¶
func (x *BaseResp) ProtoReflect() protoreflect.Message
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 { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,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) GetNewPassword ¶
func (x *ChangePasswordReq) GetNewPassword() string
func (*ChangePasswordReq) GetOldPassword ¶
func (x *ChangePasswordReq) GetOldPassword() string
func (*ChangePasswordReq) GetUuid ¶
func (x *ChangePasswordReq) GetUuid() 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 { // init InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // user service 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 *IDReq, opts ...grpc.CallOption) (*BaseResp, error) UpdateProfile(ctx context.Context, in *UpdateProfileReq, opts ...grpc.CallOption) (*BaseResp, error) // menu service // menu management 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) GetMenuByPage(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) // role service 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) SetRoleStatus(ctx context.Context, in *SetStatusReq, opts ...grpc.CallOption) (*BaseResp, error) // api management service 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) // authorization management service GetMenuAuthority(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleMenuAuthorityResp, error) CreateOrUpdateMenuAuthority(ctx context.Context, in *RoleMenuAuthorityReq, opts ...grpc.CallOption) (*BaseResp, error) // dictionary management service 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) // oauth management 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) // Token management CreateOrUpdateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseResp, error) DeleteToken(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) GetTokenList(ctx context.Context, in *TokenListReq, opts ...grpc.CallOption) (*TokenListResp, error) SetTokenStatus(ctx context.Context, in *SetStatusReq, opts ...grpc.CallOption) (*BaseResp, error) BlockUserAllToken(ctx context.Context, in *UUIDReq, 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 { // init InitDatabase(context.Context, *Empty) (*BaseResp, error) // user service Login(context.Context, *LoginReq) (*LoginResp, error) ChangePassword(context.Context, *ChangePasswordReq) (*BaseResp, error) CreateOrUpdateUser(context.Context, *CreateOrUpdateUserReq) (*BaseResp, error) GetUserById(context.Context, *UUIDReq) (*UserInfoResp, error) GetUserList(context.Context, *GetUserListReq) (*UserListResp, error) DeleteUser(context.Context, *IDReq) (*BaseResp, error) UpdateProfile(context.Context, *UpdateProfileReq) (*BaseResp, error) // menu service // menu management CreateOrUpdateMenu(context.Context, *CreateOrUpdateMenuReq) (*BaseResp, error) DeleteMenu(context.Context, *IDReq) (*BaseResp, error) GetMenuListByRole(context.Context, *IDReq) (*MenuInfoList, error) GetMenuByPage(context.Context, *PageInfoReq) (*MenuInfoList, error) CreateOrUpdateMenuParam(context.Context, *CreateOrUpdateMenuParamReq) (*BaseResp, error) DeleteMenuParam(context.Context, *IDReq) (*BaseResp, error) GetMenuParamListByMenuId(context.Context, *IDReq) (*MenuParamListResp, error) // role service CreateOrUpdateRole(context.Context, *RoleInfo) (*BaseResp, error) DeleteRole(context.Context, *IDReq) (*BaseResp, error) GetRoleById(context.Context, *IDReq) (*RoleInfo, error) GetRoleList(context.Context, *PageInfoReq) (*RoleListResp, error) SetRoleStatus(context.Context, *SetStatusReq) (*BaseResp, error) // api management service CreateOrUpdateApi(context.Context, *ApiInfo) (*BaseResp, error) DeleteApi(context.Context, *IDReq) (*BaseResp, error) GetApiList(context.Context, *ApiPageReq) (*ApiListResp, error) // authorization management service GetMenuAuthority(context.Context, *IDReq) (*RoleMenuAuthorityResp, error) CreateOrUpdateMenuAuthority(context.Context, *RoleMenuAuthorityReq) (*BaseResp, error) // dictionary management service CreateOrUpdateDictionary(context.Context, *DictionaryInfo) (*BaseResp, error) DeleteDictionary(context.Context, *IDReq) (*BaseResp, error) GetDictionaryList(context.Context, *DictionaryPageReq) (*DictionaryList, error) GetDetailByDictionaryName(context.Context, *DictionaryDetailReq) (*DictionaryDetailList, error) CreateOrUpdateDictionaryDetail(context.Context, *DictionaryDetail) (*BaseResp, error) DeleteDictionaryDetail(context.Context, *IDReq) (*BaseResp, error) // oauth management CreateOrUpdateProvider(context.Context, *ProviderInfo) (*BaseResp, error) DeleteProvider(context.Context, *IDReq) (*BaseResp, error) GetProviderList(context.Context, *PageInfoReq) (*ProviderListResp, error) OauthLogin(context.Context, *OauthLoginReq) (*OauthRedirectResp, error) OauthCallback(context.Context, *CallbackReq) (*LoginResp, error) // Token management CreateOrUpdateToken(context.Context, *TokenInfo) (*BaseResp, error) DeleteToken(context.Context, *IDReq) (*BaseResp, error) GetTokenList(context.Context, *TokenListReq) (*TokenListResp, error) SetTokenStatus(context.Context, *SetStatusReq) (*BaseResp, error) BlockUserAllToken(context.Context, *UUIDReq) (*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 (x *CreateOrUpdateMenuParamReq) GetId() uint64
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 (x *CreateOrUpdateMenuParamReq) ProtoReflect() protoreflect.Message
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 uint32 `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 }
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() uint32
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 uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"` RoleId uint32 `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 int32 `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() uint64
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() uint32
func (*CreateOrUpdateUserReq) GetStatus ¶
func (x *CreateOrUpdateUserReq) GetStatus() int32
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 CreatePolicyReq ¶
type CreatePolicyReq struct { RoleId uint64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Info *PolicyPartInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*CreatePolicyReq) Descriptor
deprecated
func (*CreatePolicyReq) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyReq.ProtoReflect.Descriptor instead.
func (*CreatePolicyReq) GetInfo ¶
func (x *CreatePolicyReq) GetInfo() *PolicyPartInfo
func (*CreatePolicyReq) GetRoleId ¶
func (x *CreatePolicyReq) GetRoleId() uint64
func (*CreatePolicyReq) ProtoMessage ¶
func (*CreatePolicyReq) ProtoMessage()
func (*CreatePolicyReq) ProtoReflect ¶
func (x *CreatePolicyReq) ProtoReflect() protoreflect.Message
func (*CreatePolicyReq) Reset ¶
func (x *CreatePolicyReq) Reset()
func (*CreatePolicyReq) String ¶
func (x *CreatePolicyReq) 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 bool `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"` ParentId int64 `protobuf:"varint,8,opt,name=parent_id,json=parentId,proto3" json:"parent_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) 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) GetParentId ¶ added in v0.0.7
func (x *DictionaryDetail) GetParentId() int64
func (*DictionaryDetail) GetStatus ¶ added in v0.0.7
func (x *DictionaryDetail) GetStatus() bool
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 bool `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() bool
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) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*IDReq) ProtoMessage()
func (*IDReq) ProtoReflect ¶
func (x *IDReq) ProtoReflect() protoreflect.Message
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) GetPassword ¶
func (*LoginReq) GetUsername ¶
func (*LoginReq) ProtoMessage ¶
func (*LoginReq) ProtoMessage()
func (*LoginReq) ProtoReflect ¶
func (x *LoginReq) ProtoReflect() protoreflect.Message
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 uint32 `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) GetRoleName ¶
func (*LoginResp) GetRoleValue ¶
func (*LoginResp) ProtoMessage ¶
func (*LoginResp) ProtoMessage()
func (*LoginResp) ProtoReflect ¶
func (x *LoginResp) ProtoReflect() protoreflect.Message
type MenuInfo ¶
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 uint32 `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
deprecated
func (*MenuInfo) GetChildren ¶
func (*MenuInfo) GetComponent ¶
func (*MenuInfo) GetCreatedAt ¶ added in v0.1.2
func (*MenuInfo) GetDisabled ¶
func (*MenuInfo) GetMenuType ¶
func (*MenuInfo) GetOrderNo ¶
func (*MenuInfo) GetParentId ¶
func (*MenuInfo) GetRedirect ¶
func (*MenuInfo) GetUpdatedAt ¶ added in v0.1.2
func (*MenuInfo) ProtoMessage ¶
func (*MenuInfo) ProtoMessage()
func (*MenuInfo) ProtoReflect ¶
func (x *MenuInfo) ProtoReflect() protoreflect.Message
type MenuInfoList ¶
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
deprecated
func (*MenuInfoList) Descriptor() ([]byte, []int)
Deprecated: Use MenuInfoList.ProtoReflect.Descriptor instead.
func (*MenuInfoList) GetData ¶
func (x *MenuInfoList) GetData() []*MenuInfo
func (*MenuInfoList) GetTotal ¶
func (x *MenuInfoList) GetTotal() uint64
func (*MenuInfoList) ProtoMessage ¶
func (*MenuInfoList) ProtoMessage()
func (*MenuInfoList) ProtoReflect ¶
func (x *MenuInfoList) ProtoReflect() protoreflect.Message
func (*MenuInfoList) Reset ¶
func (x *MenuInfoList) Reset()
func (*MenuInfoList) String ¶
func (x *MenuInfoList) String() string
type MenuParamListResp ¶
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
deprecated
func (*MenuParamListResp) Descriptor() ([]byte, []int)
Deprecated: Use MenuParamListResp.ProtoReflect.Descriptor instead.
func (*MenuParamListResp) GetData ¶
func (x *MenuParamListResp) GetData() []*MenuParamResp
func (*MenuParamListResp) GetTotal ¶
func (x *MenuParamListResp) GetTotal() uint64
func (*MenuParamListResp) ProtoMessage ¶
func (*MenuParamListResp) ProtoMessage()
func (*MenuParamListResp) ProtoReflect ¶
func (x *MenuParamListResp) ProtoReflect() protoreflect.Message
func (*MenuParamListResp) Reset ¶
func (x *MenuParamListResp) Reset()
func (*MenuParamListResp) String ¶
func (x *MenuParamListResp) String() string
type MenuParamResp ¶
type MenuParamResp 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"` 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 }
func (*MenuParamResp) Descriptor
deprecated
func (*MenuParamResp) Descriptor() ([]byte, []int)
Deprecated: Use MenuParamResp.ProtoReflect.Descriptor instead.
func (*MenuParamResp) GetCreatedAt ¶ added in v0.1.2
func (x *MenuParamResp) GetCreatedAt() int64
func (*MenuParamResp) GetId ¶
func (x *MenuParamResp) GetId() uint64
func (*MenuParamResp) GetKey ¶
func (x *MenuParamResp) GetKey() string
func (*MenuParamResp) GetMenuId ¶
func (x *MenuParamResp) GetMenuId() uint64
func (*MenuParamResp) GetType ¶
func (x *MenuParamResp) GetType() string
func (*MenuParamResp) GetUpdatedAt ¶ added in v0.1.2
func (x *MenuParamResp) GetUpdatedAt() int64
func (*MenuParamResp) GetValue ¶
func (x *MenuParamResp) GetValue() string
func (*MenuParamResp) ProtoMessage ¶
func (*MenuParamResp) ProtoMessage()
func (*MenuParamResp) ProtoReflect ¶
func (x *MenuParamResp) ProtoReflect() protoreflect.Message
func (*MenuParamResp) Reset ¶
func (x *MenuParamResp) Reset()
func (*MenuParamResp) String ¶
func (x *MenuParamResp) String() string
type MenuRoleInfo ¶
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
deprecated
func (*MenuRoleInfo) Descriptor() ([]byte, []int)
Deprecated: Use MenuRoleInfo.ProtoReflect.Descriptor instead.
func (*MenuRoleInfo) GetId ¶
func (x *MenuRoleInfo) GetId() uint64
func (*MenuRoleInfo) GetMenuId ¶
func (x *MenuRoleInfo) GetMenuId() uint64
func (*MenuRoleInfo) GetRoleId ¶
func (x *MenuRoleInfo) GetRoleId() uint64
func (*MenuRoleInfo) ProtoMessage ¶
func (*MenuRoleInfo) ProtoMessage()
func (*MenuRoleInfo) ProtoReflect ¶
func (x *MenuRoleInfo) ProtoReflect() protoreflect.Message
func (*MenuRoleInfo) Reset ¶
func (x *MenuRoleInfo) Reset()
func (*MenuRoleInfo) String ¶
func (x *MenuRoleInfo) String() string
type MenuRoleListResp ¶
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
deprecated
func (*MenuRoleListResp) Descriptor() ([]byte, []int)
Deprecated: Use MenuRoleListResp.ProtoReflect.Descriptor instead.
func (*MenuRoleListResp) GetData ¶
func (x *MenuRoleListResp) GetData() []*MenuRoleInfo
func (*MenuRoleListResp) GetTotal ¶
func (x *MenuRoleListResp) GetTotal() uint64
func (*MenuRoleListResp) ProtoMessage ¶
func (*MenuRoleListResp) ProtoMessage()
func (*MenuRoleListResp) ProtoReflect ¶
func (x *MenuRoleListResp) ProtoReflect() protoreflect.Message
func (*MenuRoleListResp) Reset ¶
func (x *MenuRoleListResp) Reset()
func (*MenuRoleListResp) String ¶
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) GetCarryParam ¶ added in v0.0.5
func (*Meta) GetCurrentActiveMenu ¶
func (*Meta) GetDynamicLevel ¶ added in v0.0.5
func (*Meta) GetFrameSrc ¶ added in v0.0.5
func (*Meta) GetHideBreadcrumb ¶
func (*Meta) GetHideChildrenInMenu ¶ added in v0.0.5
func (*Meta) GetHideMenu ¶
func (*Meta) GetHideTab ¶ added in v0.0.5
func (*Meta) GetIgnoreKeepAlive ¶ added in v0.0.5
func (*Meta) GetRealPath ¶ added in v0.0.5
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶
func (x *Meta) ProtoReflect() protoreflect.Message
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 PolicyPartInfo ¶
type PolicyPartInfo struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*PolicyPartInfo) Descriptor
deprecated
func (*PolicyPartInfo) Descriptor() ([]byte, []int)
Deprecated: Use PolicyPartInfo.ProtoReflect.Descriptor instead.
func (*PolicyPartInfo) GetMethod ¶
func (x *PolicyPartInfo) GetMethod() string
func (*PolicyPartInfo) GetPath ¶
func (x *PolicyPartInfo) GetPath() string
func (*PolicyPartInfo) ProtoMessage ¶
func (*PolicyPartInfo) ProtoMessage()
func (*PolicyPartInfo) ProtoReflect ¶
func (x *PolicyPartInfo) ProtoReflect() protoreflect.Message
func (*PolicyPartInfo) Reset ¶
func (x *PolicyPartInfo) Reset()
func (*PolicyPartInfo) String ¶
func (x *PolicyPartInfo) 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 uint32 `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 }
func (*RoleInfo) Descriptor
deprecated
func (*RoleInfo) GetCreatedAt ¶ added in v0.1.2
func (*RoleInfo) GetDefaultRouter ¶
func (*RoleInfo) GetOrderNo ¶
func (*RoleInfo) ProtoMessage ¶
func (*RoleInfo) ProtoMessage()
func (*RoleInfo) ProtoReflect ¶
func (x *RoleInfo) ProtoReflect() protoreflect.Message
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 SetStatusReq ¶
type SetStatusReq struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status uint32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SetStatusReq) Descriptor
deprecated
func (*SetStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use SetStatusReq.ProtoReflect.Descriptor instead.
func (*SetStatusReq) GetId ¶
func (x *SetStatusReq) GetId() uint64
func (*SetStatusReq) GetStatus ¶
func (x *SetStatusReq) GetStatus() uint32
func (*SetStatusReq) ProtoMessage ¶
func (*SetStatusReq) ProtoMessage()
func (*SetStatusReq) ProtoReflect ¶
func (x *SetStatusReq) ProtoReflect() protoreflect.Message
func (*SetStatusReq) Reset ¶
func (x *SetStatusReq) Reset()
func (*SetStatusReq) String ¶
func (x *SetStatusReq) String() string
type TokenInfo ¶ added in v0.1.1
type TokenInfo 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"` UUID string `protobuf:"bytes,3,opt,name=UUID,proto3" json:"UUID,omitempty"` Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` Status uint32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` ExpiredAt int64 `protobuf:"varint,7,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) GetCreatedAt ¶ added in v0.1.2
func (*TokenInfo) GetExpiredAt ¶ added in v0.1.2
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
type TokenListReq ¶ added in v0.1.1
type TokenListReq struct { Page *PageInfoReq `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` UUID string `protobuf:"bytes,5,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() *PageInfoReq
func (*TokenListReq) GetUUID ¶ added in v0.1.1
func (x *TokenListReq) GetUUID() string
func (*TokenListReq) GetUsername ¶ added in v0.1.1
func (x *TokenListReq) GetUsername() 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 { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // contains filtered or unexported fields }
func (*UUIDReq) Descriptor
deprecated
func (*UUIDReq) ProtoMessage ¶
func (*UUIDReq) ProtoMessage()
func (*UUIDReq) ProtoReflect ¶
func (x *UUIDReq) ProtoReflect() protoreflect.Message
type UnimplementedCoreServer ¶
type UnimplementedCoreServer struct { }
UnimplementedCoreServer must be embedded to have forward compatible implementations.
func (UnimplementedCoreServer) BlockUserAllToken ¶ added in v0.1.1
func (UnimplementedCoreServer) ChangePassword ¶
func (UnimplementedCoreServer) ChangePassword(context.Context, *ChangePasswordReq) (*BaseResp, error)
func (UnimplementedCoreServer) CreateOrUpdateApi ¶
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) CreateOrUpdateMenu(context.Context, *CreateOrUpdateMenuReq) (*BaseResp, error)
func (UnimplementedCoreServer) CreateOrUpdateMenuAuthority ¶
func (UnimplementedCoreServer) CreateOrUpdateMenuAuthority(context.Context, *RoleMenuAuthorityReq) (*BaseResp, error)
func (UnimplementedCoreServer) CreateOrUpdateMenuParam ¶ added in v0.0.4
func (UnimplementedCoreServer) CreateOrUpdateMenuParam(context.Context, *CreateOrUpdateMenuParamReq) (*BaseResp, error)
func (UnimplementedCoreServer) CreateOrUpdateProvider ¶ added in v0.0.8
func (UnimplementedCoreServer) CreateOrUpdateProvider(context.Context, *ProviderInfo) (*BaseResp, error)
func (UnimplementedCoreServer) CreateOrUpdateRole ¶
func (UnimplementedCoreServer) CreateOrUpdateToken ¶ added in v0.1.1
func (UnimplementedCoreServer) CreateOrUpdateUser ¶
func (UnimplementedCoreServer) CreateOrUpdateUser(context.Context, *CreateOrUpdateUserReq) (*BaseResp, error)
func (UnimplementedCoreServer) DeleteDictionary ¶ added in v0.0.7
func (UnimplementedCoreServer) DeleteDictionaryDetail ¶ added in v0.0.7
func (UnimplementedCoreServer) DeleteMenu ¶
func (UnimplementedCoreServer) DeleteMenuParam ¶
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) GetApiList(context.Context, *ApiPageReq) (*ApiListResp, error)
func (UnimplementedCoreServer) GetDetailByDictionaryName ¶ added in v0.0.7
func (UnimplementedCoreServer) GetDetailByDictionaryName(context.Context, *DictionaryDetailReq) (*DictionaryDetailList, error)
func (UnimplementedCoreServer) GetDictionaryList ¶ added in v0.0.7
func (UnimplementedCoreServer) GetDictionaryList(context.Context, *DictionaryPageReq) (*DictionaryList, error)
func (UnimplementedCoreServer) GetMenuAuthority ¶
func (UnimplementedCoreServer) GetMenuAuthority(context.Context, *IDReq) (*RoleMenuAuthorityResp, error)
func (UnimplementedCoreServer) GetMenuByPage ¶
func (UnimplementedCoreServer) GetMenuByPage(context.Context, *PageInfoReq) (*MenuInfoList, error)
func (UnimplementedCoreServer) GetMenuListByRole ¶
func (UnimplementedCoreServer) GetMenuListByRole(context.Context, *IDReq) (*MenuInfoList, error)
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) GetProviderList(context.Context, *PageInfoReq) (*ProviderListResp, error)
func (UnimplementedCoreServer) GetRoleById ¶
func (UnimplementedCoreServer) GetRoleList ¶
func (UnimplementedCoreServer) GetRoleList(context.Context, *PageInfoReq) (*RoleListResp, error)
func (UnimplementedCoreServer) GetTokenList ¶ added in v0.1.1
func (UnimplementedCoreServer) GetTokenList(context.Context, *TokenListReq) (*TokenListResp, error)
func (UnimplementedCoreServer) GetUserById ¶
func (UnimplementedCoreServer) GetUserById(context.Context, *UUIDReq) (*UserInfoResp, error)
func (UnimplementedCoreServer) GetUserList ¶
func (UnimplementedCoreServer) GetUserList(context.Context, *GetUserListReq) (*UserListResp, error)
func (UnimplementedCoreServer) InitDatabase ¶
func (UnimplementedCoreServer) OauthCallback ¶ added in v0.0.8
func (UnimplementedCoreServer) OauthCallback(context.Context, *CallbackReq) (*LoginResp, error)
func (UnimplementedCoreServer) OauthLogin ¶ added in v0.0.8
func (UnimplementedCoreServer) OauthLogin(context.Context, *OauthLoginReq) (*OauthRedirectResp, error)
func (UnimplementedCoreServer) SetRoleStatus ¶
func (UnimplementedCoreServer) SetRoleStatus(context.Context, *SetStatusReq) (*BaseResp, error)
func (UnimplementedCoreServer) SetTokenStatus ¶ added in v0.1.1
func (UnimplementedCoreServer) SetTokenStatus(context.Context, *SetStatusReq) (*BaseResp, error)
func (UnimplementedCoreServer) UpdateProfile ¶ added in v0.0.2
func (UnimplementedCoreServer) UpdateProfile(context.Context, *UpdateProfileReq) (*BaseResp, error)
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 UpdatePolicyReq ¶
type UpdatePolicyReq struct { RoleId uint64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Rules []*PolicyPartInfo `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
casbin
func (*UpdatePolicyReq) Descriptor
deprecated
func (*UpdatePolicyReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicyReq.ProtoReflect.Descriptor instead.
func (*UpdatePolicyReq) GetRoleId ¶
func (x *UpdatePolicyReq) GetRoleId() uint64
func (*UpdatePolicyReq) GetRules ¶
func (x *UpdatePolicyReq) GetRules() []*PolicyPartInfo
func (*UpdatePolicyReq) ProtoMessage ¶
func (*UpdatePolicyReq) ProtoMessage()
func (*UpdatePolicyReq) ProtoReflect ¶
func (x *UpdatePolicyReq) ProtoReflect() protoreflect.Message
func (*UpdatePolicyReq) Reset ¶
func (x *UpdatePolicyReq) Reset()
func (*UpdatePolicyReq) String ¶
func (x *UpdatePolicyReq) String() string
type UpdateProfileReq ¶ added in v0.0.2
type UpdateProfileReq struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,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) 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) GetUuid ¶ added in v0.0.2
func (x *UpdateProfileReq) GetUuid() 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 uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"` RoleId uint32 `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 int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` Username string `protobuf:"bytes,7,opt,name=username,proto3" json:"username,omitempty"` UUID string `protobuf:"bytes,8,opt,name=UUID,proto3" json:"UUID,omitempty"` Nickname string `protobuf:"bytes,9,opt,name=nickname,proto3" json:"nickname,omitempty"` RoleName string `protobuf:"bytes,10,opt,name=roleName,proto3" json:"roleName,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"` RoleValue string `protobuf:"bytes,13,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() uint64
func (*UserInfoResp) GetMobile ¶
func (x *UserInfoResp) GetMobile() string
func (*UserInfoResp) GetNickname ¶
func (x *UserInfoResp) GetNickname() string
func (*UserInfoResp) GetRoleId ¶
func (x *UserInfoResp) GetRoleId() uint32
func (*UserInfoResp) GetRoleName ¶
func (x *UserInfoResp) GetRoleName() string
func (*UserInfoResp) GetRoleValue ¶
func (x *UserInfoResp) GetRoleValue() string
func (*UserInfoResp) GetStatus ¶
func (x *UserInfoResp) GetStatus() int32
func (*UserInfoResp) GetUUID ¶
func (x *UserInfoResp) GetUUID() string
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 uint32 `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() uint32
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