Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCoreServer(s grpc.ServiceRegistrar, srv CoreServer)
- type ApiInfo
- func (*ApiInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ApiInfo) GetApiGroup() string
- func (x *ApiInfo) GetCreatedAt() int64
- func (x *ApiInfo) GetDescription() string
- func (x *ApiInfo) GetId() uint64
- func (x *ApiInfo) GetIsRequired() bool
- func (x *ApiInfo) GetMethod() string
- func (x *ApiInfo) GetPath() string
- func (x *ApiInfo) GetUpdatedAt() int64
- func (*ApiInfo) ProtoMessage()
- func (x *ApiInfo) ProtoReflect() protoreflect.Message
- func (x *ApiInfo) Reset()
- func (x *ApiInfo) String() string
- type ApiListReq
- func (*ApiListReq) Descriptor() ([]byte, []int)deprecated
- func (x *ApiListReq) GetApiGroup() string
- func (x *ApiListReq) GetDescription() string
- func (x *ApiListReq) GetIsDefault() string
- func (x *ApiListReq) GetMethod() string
- func (x *ApiListReq) GetPage() uint64
- func (x *ApiListReq) GetPageSize() uint64
- func (x *ApiListReq) GetPath() string
- func (*ApiListReq) ProtoMessage()
- func (x *ApiListReq) ProtoReflect() protoreflect.Message
- func (x *ApiListReq) Reset()
- func (x *ApiListReq) 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 BaseIDResp
- type BaseMsg
- type BaseResp
- type BaseUUIDResp
- func (*BaseUUIDResp) Descriptor() ([]byte, []int)deprecated
- func (x *BaseUUIDResp) GetId() string
- func (x *BaseUUIDResp) GetMsg() string
- func (*BaseUUIDResp) ProtoMessage()
- func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message
- func (x *BaseUUIDResp) Reset()
- func (x *BaseUUIDResp) String() string
- type CallbackReq
- type CoreClient
- type CoreServer
- type DepartmentInfo
- func (*DepartmentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DepartmentInfo) GetAncestors() string
- func (x *DepartmentInfo) GetCreatedAt() int64
- func (x *DepartmentInfo) GetEmail() string
- func (x *DepartmentInfo) GetId() uint64
- func (x *DepartmentInfo) GetLeader() string
- func (x *DepartmentInfo) GetName() string
- func (x *DepartmentInfo) GetParentId() uint64
- func (x *DepartmentInfo) GetPhone() string
- func (x *DepartmentInfo) GetRemark() string
- func (x *DepartmentInfo) GetSort() uint32
- func (x *DepartmentInfo) GetStatus() uint32
- func (x *DepartmentInfo) GetUpdatedAt() int64
- func (*DepartmentInfo) ProtoMessage()
- func (x *DepartmentInfo) ProtoReflect() protoreflect.Message
- func (x *DepartmentInfo) Reset()
- func (x *DepartmentInfo) String() string
- type DepartmentListReq
- func (*DepartmentListReq) Descriptor() ([]byte, []int)deprecated
- func (x *DepartmentListReq) GetLeader() string
- func (x *DepartmentListReq) GetName() string
- func (x *DepartmentListReq) GetPage() uint64
- func (x *DepartmentListReq) GetPageSize() uint64
- func (*DepartmentListReq) ProtoMessage()
- func (x *DepartmentListReq) ProtoReflect() protoreflect.Message
- func (x *DepartmentListReq) Reset()
- func (x *DepartmentListReq) String() string
- type DepartmentListResp
- func (*DepartmentListResp) Descriptor() ([]byte, []int)deprecated
- func (x *DepartmentListResp) GetData() []*DepartmentInfo
- func (x *DepartmentListResp) GetTotal() uint64
- func (*DepartmentListResp) ProtoMessage()
- func (x *DepartmentListResp) ProtoReflect() protoreflect.Message
- func (x *DepartmentListResp) Reset()
- func (x *DepartmentListResp) String() string
- type DictionaryDetailInfo
- func (*DictionaryDetailInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryDetailInfo) GetCreatedAt() int64
- func (x *DictionaryDetailInfo) GetDictionaryId() uint64
- func (x *DictionaryDetailInfo) GetId() uint64
- func (x *DictionaryDetailInfo) GetKey() string
- func (x *DictionaryDetailInfo) GetSort() uint32
- func (x *DictionaryDetailInfo) GetStatus() uint32
- func (x *DictionaryDetailInfo) GetTitle() string
- func (x *DictionaryDetailInfo) GetUpdatedAt() int64
- func (x *DictionaryDetailInfo) GetValue() string
- func (*DictionaryDetailInfo) ProtoMessage()
- func (x *DictionaryDetailInfo) ProtoReflect() protoreflect.Message
- func (x *DictionaryDetailInfo) Reset()
- func (x *DictionaryDetailInfo) String() string
- type DictionaryDetailListReq
- func (*DictionaryDetailListReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryDetailListReq) GetDictionaryId() uint64
- func (x *DictionaryDetailListReq) GetKey() string
- func (x *DictionaryDetailListReq) GetPage() uint64
- func (x *DictionaryDetailListReq) GetPageSize() uint64
- func (*DictionaryDetailListReq) ProtoMessage()
- func (x *DictionaryDetailListReq) ProtoReflect() protoreflect.Message
- func (x *DictionaryDetailListReq) Reset()
- func (x *DictionaryDetailListReq) String() string
- type DictionaryDetailListResp
- func (*DictionaryDetailListResp) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryDetailListResp) GetData() []*DictionaryDetailInfo
- func (x *DictionaryDetailListResp) GetTotal() uint64
- func (*DictionaryDetailListResp) ProtoMessage()
- func (x *DictionaryDetailListResp) ProtoReflect() protoreflect.Message
- func (x *DictionaryDetailListResp) Reset()
- func (x *DictionaryDetailListResp) 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() uint32
- 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 DictionaryListReq
- func (*DictionaryListReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryListReq) GetName() string
- func (x *DictionaryListReq) GetPage() uint64
- func (x *DictionaryListReq) GetPageSize() uint64
- func (*DictionaryListReq) ProtoMessage()
- func (x *DictionaryListReq) ProtoReflect() protoreflect.Message
- func (x *DictionaryListReq) Reset()
- func (x *DictionaryListReq) String() string
- type DictionaryListResp
- func (*DictionaryListResp) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryListResp) GetData() []*DictionaryInfo
- func (x *DictionaryListResp) GetTotal() uint64
- func (*DictionaryListResp) ProtoMessage()
- func (x *DictionaryListResp) ProtoReflect() protoreflect.Message
- func (x *DictionaryListResp) Reset()
- func (x *DictionaryListResp) String() string
- type Empty
- type IDReq
- type IDsReq
- type MenuInfo
- func (*MenuInfo) Descriptor() ([]byte, []int)deprecated
- 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) GetParentId() uint64
- func (x *MenuInfo) GetPath() string
- func (x *MenuInfo) GetRedirect() string
- func (x *MenuInfo) GetSort() uint32
- 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 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) 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 OauthProviderInfo
- func (*OauthProviderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OauthProviderInfo) GetAuthStyle() uint64
- func (x *OauthProviderInfo) GetAuthUrl() string
- func (x *OauthProviderInfo) GetClientId() string
- func (x *OauthProviderInfo) GetClientSecret() string
- func (x *OauthProviderInfo) GetCreatedAt() int64
- func (x *OauthProviderInfo) GetId() uint64
- func (x *OauthProviderInfo) GetInfoUrl() string
- func (x *OauthProviderInfo) GetName() string
- func (x *OauthProviderInfo) GetRedirectUrl() string
- func (x *OauthProviderInfo) GetScopes() string
- func (x *OauthProviderInfo) GetTokenUrl() string
- func (x *OauthProviderInfo) GetUpdatedAt() int64
- func (*OauthProviderInfo) ProtoMessage()
- func (x *OauthProviderInfo) ProtoReflect() protoreflect.Message
- func (x *OauthProviderInfo) Reset()
- func (x *OauthProviderInfo) String() string
- type OauthProviderListReq
- func (*OauthProviderListReq) Descriptor() ([]byte, []int)deprecated
- func (x *OauthProviderListReq) GetName() string
- func (x *OauthProviderListReq) GetPage() uint64
- func (x *OauthProviderListReq) GetPageSize() uint64
- func (*OauthProviderListReq) ProtoMessage()
- func (x *OauthProviderListReq) ProtoReflect() protoreflect.Message
- func (x *OauthProviderListReq) Reset()
- func (x *OauthProviderListReq) String() string
- type OauthProviderListResp
- func (*OauthProviderListResp) Descriptor() ([]byte, []int)deprecated
- func (x *OauthProviderListResp) GetData() []*OauthProviderInfo
- func (x *OauthProviderListResp) GetTotal() uint64
- func (*OauthProviderListResp) ProtoMessage()
- func (x *OauthProviderListResp) ProtoReflect() protoreflect.Message
- func (x *OauthProviderListResp) Reset()
- func (x *OauthProviderListResp) 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 PositionInfo
- func (*PositionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PositionInfo) GetCode() string
- func (x *PositionInfo) GetCreatedAt() int64
- func (x *PositionInfo) GetId() uint64
- func (x *PositionInfo) GetName() string
- func (x *PositionInfo) GetRemark() string
- func (x *PositionInfo) GetSort() uint32
- func (x *PositionInfo) GetStatus() uint32
- func (x *PositionInfo) GetUpdatedAt() int64
- func (*PositionInfo) ProtoMessage()
- func (x *PositionInfo) ProtoReflect() protoreflect.Message
- func (x *PositionInfo) Reset()
- func (x *PositionInfo) String() string
- type PositionListReq
- func (*PositionListReq) Descriptor() ([]byte, []int)deprecated
- func (x *PositionListReq) GetCode() string
- func (x *PositionListReq) GetName() string
- func (x *PositionListReq) GetPage() uint64
- func (x *PositionListReq) GetPageSize() uint64
- func (x *PositionListReq) GetRemark() string
- func (*PositionListReq) ProtoMessage()
- func (x *PositionListReq) ProtoReflect() protoreflect.Message
- func (x *PositionListReq) Reset()
- func (x *PositionListReq) String() string
- type PositionListResp
- func (*PositionListResp) Descriptor() ([]byte, []int)deprecated
- func (x *PositionListResp) GetData() []*PositionInfo
- func (x *PositionListResp) GetTotal() uint64
- func (*PositionListResp) ProtoMessage()
- func (x *PositionListResp) ProtoReflect() protoreflect.Message
- func (x *PositionListResp) Reset()
- func (x *PositionListResp) String() string
- type RoleInfo
- func (*RoleInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RoleInfo) GetCode() string
- func (x *RoleInfo) GetCreatedAt() int64
- func (x *RoleInfo) GetDefaultRouter() string
- func (x *RoleInfo) GetId() uint64
- func (x *RoleInfo) GetName() string
- func (x *RoleInfo) GetRemark() string
- func (x *RoleInfo) GetSort() uint32
- func (x *RoleInfo) GetStatus() uint32
- func (x *RoleInfo) GetUpdatedAt() int64
- func (*RoleInfo) ProtoMessage()
- func (x *RoleInfo) ProtoReflect() protoreflect.Message
- func (x *RoleInfo) Reset()
- func (x *RoleInfo) String() string
- type RoleListReq
- func (*RoleListReq) Descriptor() ([]byte, []int)deprecated
- func (x *RoleListReq) GetCode() string
- func (x *RoleListReq) GetDefaultRouter() string
- func (x *RoleListReq) GetName() string
- func (x *RoleListReq) GetPage() uint64
- func (x *RoleListReq) GetPageSize() uint64
- func (*RoleListReq) ProtoMessage()
- func (x *RoleListReq) ProtoReflect() protoreflect.Message
- func (x *RoleListReq) Reset()
- func (x *RoleListReq) 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 TokenInfo
- func (*TokenInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TokenInfo) GetCreatedAt() int64
- func (x *TokenInfo) GetExpiredAt() int64
- func (x *TokenInfo) GetId() string
- func (x *TokenInfo) GetSource() string
- func (x *TokenInfo) GetStatus() uint32
- func (x *TokenInfo) GetToken() string
- func (x *TokenInfo) GetUpdatedAt() int64
- 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() uint64
- func (x *TokenListReq) GetPageSize() uint64
- func (x *TokenListReq) GetUsername() string
- func (x *TokenListReq) GetUuid() 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 UUIDsReq
- type UnimplementedCoreServer
- func (UnimplementedCoreServer) BlockUserAllToken(context.Context, *UUIDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) CreateApi(context.Context, *ApiInfo) (*BaseIDResp, error)
- func (UnimplementedCoreServer) CreateDepartment(context.Context, *DepartmentInfo) (*BaseIDResp, error)
- func (UnimplementedCoreServer) CreateDictionary(context.Context, *DictionaryInfo) (*BaseIDResp, error)
- func (UnimplementedCoreServer) CreateDictionaryDetail(context.Context, *DictionaryDetailInfo) (*BaseIDResp, error)
- func (UnimplementedCoreServer) CreateMenu(context.Context, *MenuInfo) (*BaseIDResp, error)
- func (UnimplementedCoreServer) CreateOauthProvider(context.Context, *OauthProviderInfo) (*BaseIDResp, error)
- func (UnimplementedCoreServer) CreateOrUpdateMenuAuthority(context.Context, *RoleMenuAuthorityReq) (*BaseResp, error)
- func (UnimplementedCoreServer) CreatePosition(context.Context, *PositionInfo) (*BaseIDResp, error)
- func (UnimplementedCoreServer) CreateRole(context.Context, *RoleInfo) (*BaseIDResp, error)
- func (UnimplementedCoreServer) CreateToken(context.Context, *TokenInfo) (*BaseUUIDResp, error)
- func (UnimplementedCoreServer) CreateUser(context.Context, *UserInfo) (*BaseUUIDResp, error)
- func (UnimplementedCoreServer) DeleteApi(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteDepartment(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteDictionary(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteDictionaryDetail(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteMenu(context.Context, *IDReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteOauthProvider(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeletePosition(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteRole(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteToken(context.Context, *UUIDsReq) (*BaseResp, error)
- func (UnimplementedCoreServer) DeleteUser(context.Context, *UUIDsReq) (*BaseResp, error)
- func (UnimplementedCoreServer) GetApiById(context.Context, *IDReq) (*ApiInfo, error)
- func (UnimplementedCoreServer) GetApiList(context.Context, *ApiListReq) (*ApiListResp, error)
- func (UnimplementedCoreServer) GetDepartmentById(context.Context, *IDReq) (*DepartmentInfo, error)
- func (UnimplementedCoreServer) GetDepartmentList(context.Context, *DepartmentListReq) (*DepartmentListResp, error)
- func (UnimplementedCoreServer) GetDictionaryById(context.Context, *IDReq) (*DictionaryInfo, error)
- func (UnimplementedCoreServer) GetDictionaryDetailByDictionaryName(context.Context, *BaseMsg) (*DictionaryDetailListResp, error)
- func (UnimplementedCoreServer) GetDictionaryDetailById(context.Context, *IDReq) (*DictionaryDetailInfo, error)
- func (UnimplementedCoreServer) GetDictionaryDetailList(context.Context, *DictionaryDetailListReq) (*DictionaryDetailListResp, error)
- func (UnimplementedCoreServer) GetDictionaryList(context.Context, *DictionaryListReq) (*DictionaryListResp, error)
- func (UnimplementedCoreServer) GetMenuAuthority(context.Context, *IDReq) (*RoleMenuAuthorityResp, error)
- func (UnimplementedCoreServer) GetMenuList(context.Context, *PageInfoReq) (*MenuInfoList, error)
- func (UnimplementedCoreServer) GetMenuListByRole(context.Context, *BaseMsg) (*MenuInfoList, error)
- func (UnimplementedCoreServer) GetOauthProviderById(context.Context, *IDReq) (*OauthProviderInfo, error)
- func (UnimplementedCoreServer) GetOauthProviderList(context.Context, *OauthProviderListReq) (*OauthProviderListResp, error)
- func (UnimplementedCoreServer) GetPositionById(context.Context, *IDReq) (*PositionInfo, error)
- func (UnimplementedCoreServer) GetPositionList(context.Context, *PositionListReq) (*PositionListResp, error)
- func (UnimplementedCoreServer) GetRoleById(context.Context, *IDReq) (*RoleInfo, error)
- func (UnimplementedCoreServer) GetRoleList(context.Context, *RoleListReq) (*RoleListResp, error)
- func (UnimplementedCoreServer) GetTokenById(context.Context, *UUIDReq) (*TokenInfo, error)
- func (UnimplementedCoreServer) GetTokenList(context.Context, *TokenListReq) (*TokenListResp, error)
- func (UnimplementedCoreServer) GetUserById(context.Context, *UUIDReq) (*UserInfo, error)
- func (UnimplementedCoreServer) GetUserByUsername(context.Context, *UsernameReq) (*UserInfo, error)
- func (UnimplementedCoreServer) GetUserList(context.Context, *UserListReq) (*UserListResp, error)
- func (UnimplementedCoreServer) InitDatabase(context.Context, *Empty) (*BaseResp, error)
- func (UnimplementedCoreServer) OauthCallback(context.Context, *CallbackReq) (*UserInfo, error)
- func (UnimplementedCoreServer) OauthLogin(context.Context, *OauthLoginReq) (*OauthRedirectResp, error)
- func (UnimplementedCoreServer) UpdateApi(context.Context, *ApiInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdateDepartment(context.Context, *DepartmentInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdateDictionary(context.Context, *DictionaryInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdateDictionaryDetail(context.Context, *DictionaryDetailInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdateMenu(context.Context, *MenuInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdateOauthProvider(context.Context, *OauthProviderInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdatePosition(context.Context, *PositionInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdateRole(context.Context, *RoleInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdateToken(context.Context, *TokenInfo) (*BaseResp, error)
- func (UnimplementedCoreServer) UpdateUser(context.Context, *UserInfo) (*BaseResp, error)
- type UnsafeCoreServer
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetAvatar() string
- func (x *UserInfo) GetCreatedAt() int64
- func (x *UserInfo) GetDepartmentId() uint64
- func (x *UserInfo) GetDescription() string
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetHomePath() string
- func (x *UserInfo) GetId() string
- func (x *UserInfo) GetMobile() string
- func (x *UserInfo) GetNickname() string
- func (x *UserInfo) GetPassword() string
- func (x *UserInfo) GetPositionIds() []uint64
- func (x *UserInfo) GetRoleCodes() []string
- func (x *UserInfo) GetRoleIds() []uint64
- func (x *UserInfo) GetRoleName() []string
- func (x *UserInfo) GetStatus() uint32
- func (x *UserInfo) GetUpdatedAt() int64
- func (x *UserInfo) GetUsername() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type UserListReq
- func (*UserListReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserListReq) GetDepartmentId() uint64
- func (x *UserListReq) GetEmail() string
- func (x *UserListReq) GetMobile() string
- func (x *UserListReq) GetNickname() string
- func (x *UserListReq) GetPage() uint64
- func (x *UserListReq) GetPageSize() uint64
- func (x *UserListReq) GetPositionIds() []uint64
- func (x *UserListReq) GetRoleIds() []uint64
- func (x *UserListReq) GetUsername() string
- func (*UserListReq) ProtoMessage()
- func (x *UserListReq) ProtoReflect() protoreflect.Message
- func (x *UserListReq) Reset()
- func (x *UserListReq) String() string
- type UserListResp
- func (*UserListResp) Descriptor() ([]byte, []int)deprecated
- func (x *UserListResp) GetData() []*UserInfo
- func (x *UserListResp) GetTotal() uint64
- func (*UserListResp) ProtoMessage()
- func (x *UserListResp) ProtoReflect() protoreflect.Message
- func (x *UserListResp) Reset()
- func (x *UserListResp) String() string
- type UsernameReq
Constants ¶
const ( Core_CreateApi_FullMethodName = "/core.Core/createApi" Core_UpdateApi_FullMethodName = "/core.Core/updateApi" Core_GetApiList_FullMethodName = "/core.Core/getApiList" Core_GetApiById_FullMethodName = "/core.Core/getApiById" Core_DeleteApi_FullMethodName = "/core.Core/deleteApi" Core_GetMenuAuthority_FullMethodName = "/core.Core/getMenuAuthority" Core_CreateOrUpdateMenuAuthority_FullMethodName = "/core.Core/createOrUpdateMenuAuthority" Core_InitDatabase_FullMethodName = "/core.Core/initDatabase" Core_CreateDepartment_FullMethodName = "/core.Core/createDepartment" Core_UpdateDepartment_FullMethodName = "/core.Core/updateDepartment" Core_GetDepartmentList_FullMethodName = "/core.Core/getDepartmentList" Core_GetDepartmentById_FullMethodName = "/core.Core/getDepartmentById" Core_DeleteDepartment_FullMethodName = "/core.Core/deleteDepartment" Core_CreateDictionary_FullMethodName = "/core.Core/createDictionary" Core_UpdateDictionary_FullMethodName = "/core.Core/updateDictionary" Core_GetDictionaryList_FullMethodName = "/core.Core/getDictionaryList" Core_GetDictionaryById_FullMethodName = "/core.Core/getDictionaryById" Core_DeleteDictionary_FullMethodName = "/core.Core/deleteDictionary" Core_CreateDictionaryDetail_FullMethodName = "/core.Core/createDictionaryDetail" Core_UpdateDictionaryDetail_FullMethodName = "/core.Core/updateDictionaryDetail" Core_GetDictionaryDetailList_FullMethodName = "/core.Core/getDictionaryDetailList" Core_GetDictionaryDetailById_FullMethodName = "/core.Core/getDictionaryDetailById" Core_DeleteDictionaryDetail_FullMethodName = "/core.Core/deleteDictionaryDetail" Core_GetDictionaryDetailByDictionaryName_FullMethodName = "/core.Core/getDictionaryDetailByDictionaryName" Core_CreateMenu_FullMethodName = "/core.Core/createMenu" Core_UpdateMenu_FullMethodName = "/core.Core/updateMenu" Core_DeleteMenu_FullMethodName = "/core.Core/deleteMenu" Core_GetMenuListByRole_FullMethodName = "/core.Core/getMenuListByRole" Core_GetMenuList_FullMethodName = "/core.Core/getMenuList" Core_CreateOauthProvider_FullMethodName = "/core.Core/createOauthProvider" Core_UpdateOauthProvider_FullMethodName = "/core.Core/updateOauthProvider" Core_GetOauthProviderList_FullMethodName = "/core.Core/getOauthProviderList" Core_GetOauthProviderById_FullMethodName = "/core.Core/getOauthProviderById" Core_DeleteOauthProvider_FullMethodName = "/core.Core/deleteOauthProvider" Core_OauthLogin_FullMethodName = "/core.Core/oauthLogin" Core_OauthCallback_FullMethodName = "/core.Core/oauthCallback" Core_CreatePosition_FullMethodName = "/core.Core/createPosition" Core_UpdatePosition_FullMethodName = "/core.Core/updatePosition" Core_GetPositionList_FullMethodName = "/core.Core/getPositionList" Core_GetPositionById_FullMethodName = "/core.Core/getPositionById" Core_DeletePosition_FullMethodName = "/core.Core/deletePosition" Core_CreateRole_FullMethodName = "/core.Core/createRole" Core_UpdateRole_FullMethodName = "/core.Core/updateRole" Core_GetRoleList_FullMethodName = "/core.Core/getRoleList" Core_GetRoleById_FullMethodName = "/core.Core/getRoleById" Core_DeleteRole_FullMethodName = "/core.Core/deleteRole" Core_CreateToken_FullMethodName = "/core.Core/createToken" Core_DeleteToken_FullMethodName = "/core.Core/deleteToken" Core_GetTokenList_FullMethodName = "/core.Core/getTokenList" Core_GetTokenById_FullMethodName = "/core.Core/getTokenById" Core_BlockUserAllToken_FullMethodName = "/core.Core/blockUserAllToken" Core_UpdateToken_FullMethodName = "/core.Core/updateToken" Core_CreateUser_FullMethodName = "/core.Core/createUser" Core_UpdateUser_FullMethodName = "/core.Core/updateUser" Core_GetUserList_FullMethodName = "/core.Core/getUserList" Core_GetUserById_FullMethodName = "/core.Core/getUserById" Core_GetUserByUsername_FullMethodName = "/core.Core/getUserByUsername" Core_DeleteUser_FullMethodName = "/core.Core/deleteUser" )
Variables ¶
var Core_ServiceDesc = grpc.ServiceDesc{ ServiceName: "core.Core", HandlerType: (*CoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "createApi", Handler: _Core_CreateApi_Handler, }, { MethodName: "updateApi", Handler: _Core_UpdateApi_Handler, }, { MethodName: "getApiList", Handler: _Core_GetApiList_Handler, }, { MethodName: "getApiById", Handler: _Core_GetApiById_Handler, }, { MethodName: "deleteApi", Handler: _Core_DeleteApi_Handler, }, { MethodName: "getMenuAuthority", Handler: _Core_GetMenuAuthority_Handler, }, { MethodName: "createOrUpdateMenuAuthority", Handler: _Core_CreateOrUpdateMenuAuthority_Handler, }, { MethodName: "initDatabase", Handler: _Core_InitDatabase_Handler, }, { MethodName: "createDepartment", Handler: _Core_CreateDepartment_Handler, }, { MethodName: "updateDepartment", Handler: _Core_UpdateDepartment_Handler, }, { MethodName: "getDepartmentList", Handler: _Core_GetDepartmentList_Handler, }, { MethodName: "getDepartmentById", Handler: _Core_GetDepartmentById_Handler, }, { MethodName: "deleteDepartment", Handler: _Core_DeleteDepartment_Handler, }, { MethodName: "createDictionary", Handler: _Core_CreateDictionary_Handler, }, { MethodName: "updateDictionary", Handler: _Core_UpdateDictionary_Handler, }, { MethodName: "getDictionaryList", Handler: _Core_GetDictionaryList_Handler, }, { MethodName: "getDictionaryById", Handler: _Core_GetDictionaryById_Handler, }, { MethodName: "deleteDictionary", Handler: _Core_DeleteDictionary_Handler, }, { MethodName: "createDictionaryDetail", Handler: _Core_CreateDictionaryDetail_Handler, }, { MethodName: "updateDictionaryDetail", Handler: _Core_UpdateDictionaryDetail_Handler, }, { MethodName: "getDictionaryDetailList", Handler: _Core_GetDictionaryDetailList_Handler, }, { MethodName: "getDictionaryDetailById", Handler: _Core_GetDictionaryDetailById_Handler, }, { MethodName: "deleteDictionaryDetail", Handler: _Core_DeleteDictionaryDetail_Handler, }, { MethodName: "getDictionaryDetailByDictionaryName", Handler: _Core_GetDictionaryDetailByDictionaryName_Handler, }, { MethodName: "createMenu", Handler: _Core_CreateMenu_Handler, }, { MethodName: "updateMenu", Handler: _Core_UpdateMenu_Handler, }, { MethodName: "deleteMenu", Handler: _Core_DeleteMenu_Handler, }, { MethodName: "getMenuListByRole", Handler: _Core_GetMenuListByRole_Handler, }, { MethodName: "getMenuList", Handler: _Core_GetMenuList_Handler, }, { MethodName: "createOauthProvider", Handler: _Core_CreateOauthProvider_Handler, }, { MethodName: "updateOauthProvider", Handler: _Core_UpdateOauthProvider_Handler, }, { MethodName: "getOauthProviderList", Handler: _Core_GetOauthProviderList_Handler, }, { MethodName: "getOauthProviderById", Handler: _Core_GetOauthProviderById_Handler, }, { MethodName: "deleteOauthProvider", Handler: _Core_DeleteOauthProvider_Handler, }, { MethodName: "oauthLogin", Handler: _Core_OauthLogin_Handler, }, { MethodName: "oauthCallback", Handler: _Core_OauthCallback_Handler, }, { MethodName: "createPosition", Handler: _Core_CreatePosition_Handler, }, { MethodName: "updatePosition", Handler: _Core_UpdatePosition_Handler, }, { MethodName: "getPositionList", Handler: _Core_GetPositionList_Handler, }, { MethodName: "getPositionById", Handler: _Core_GetPositionById_Handler, }, { MethodName: "deletePosition", Handler: _Core_DeletePosition_Handler, }, { MethodName: "createRole", Handler: _Core_CreateRole_Handler, }, { MethodName: "updateRole", Handler: _Core_UpdateRole_Handler, }, { MethodName: "getRoleList", Handler: _Core_GetRoleList_Handler, }, { MethodName: "getRoleById", Handler: _Core_GetRoleById_Handler, }, { MethodName: "deleteRole", Handler: _Core_DeleteRole_Handler, }, { MethodName: "createToken", Handler: _Core_CreateToken_Handler, }, { MethodName: "deleteToken", Handler: _Core_DeleteToken_Handler, }, { MethodName: "getTokenList", Handler: _Core_GetTokenList_Handler, }, { MethodName: "getTokenById", Handler: _Core_GetTokenById_Handler, }, { MethodName: "blockUserAllToken", Handler: _Core_BlockUserAllToken_Handler, }, { MethodName: "updateToken", Handler: _Core_UpdateToken_Handler, }, { MethodName: "createUser", Handler: _Core_CreateUser_Handler, }, { MethodName: "updateUser", Handler: _Core_UpdateUser_Handler, }, { MethodName: "getUserList", Handler: _Core_GetUserList_Handler, }, { MethodName: "getUserById", Handler: _Core_GetUserById_Handler, }, { MethodName: "getUserByUsername", Handler: _Core_GetUserByUsername_Handler, }, { MethodName: "deleteUser", Handler: _Core_DeleteUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rpc/core.proto", }
Core_ServiceDesc is the grpc.ServiceDesc for Core service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_rpc_core_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCoreServer ¶
func RegisterCoreServer(s grpc.ServiceRegistrar, srv CoreServer)
Types ¶
type ApiInfo ¶
type ApiInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Path *string `protobuf:"bytes,4,opt,name=path,proto3,oneof" json:"path,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` ApiGroup *string `protobuf:"bytes,6,opt,name=api_group,json=apiGroup,proto3,oneof" json:"api_group,omitempty"` Method *string `protobuf:"bytes,7,opt,name=method,proto3,oneof" json:"method,omitempty"` IsRequired *bool `protobuf:"varint,8,opt,name=is_required,json=isRequired,proto3,oneof" json:"is_required,omitempty"` // contains filtered or unexported fields }
func (*ApiInfo) Descriptor
deprecated
func (*ApiInfo) GetApiGroup ¶ added in v0.2.4
func (*ApiInfo) GetCreatedAt ¶ added in v0.1.2
func (*ApiInfo) GetDescription ¶
func (*ApiInfo) GetIsRequired ¶ added in v1.0.14
func (*ApiInfo) GetUpdatedAt ¶ added in v0.1.4
func (*ApiInfo) ProtoMessage ¶
func (*ApiInfo) ProtoMessage()
func (*ApiInfo) ProtoReflect ¶
func (x *ApiInfo) ProtoReflect() protoreflect.Message
type ApiListReq ¶ added in v0.2.3
type ApiListReq struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Path *string `protobuf:"bytes,3,opt,name=path,proto3,oneof" json:"path,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` ApiGroup *string `protobuf:"bytes,5,opt,name=api_group,json=apiGroup,proto3,oneof" json:"api_group,omitempty"` Method *string `protobuf:"bytes,6,opt,name=method,proto3,oneof" json:"method,omitempty"` IsDefault *string `protobuf:"bytes,7,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*ApiListReq) Descriptor
deprecated
added in
v0.2.3
func (*ApiListReq) Descriptor() ([]byte, []int)
Deprecated: Use ApiListReq.ProtoReflect.Descriptor instead.
func (*ApiListReq) GetApiGroup ¶ added in v0.2.4
func (x *ApiListReq) GetApiGroup() string
func (*ApiListReq) GetDescription ¶ added in v0.2.3
func (x *ApiListReq) GetDescription() string
func (*ApiListReq) GetIsDefault ¶ added in v1.0.14
func (x *ApiListReq) GetIsDefault() string
func (*ApiListReq) GetMethod ¶ added in v0.2.3
func (x *ApiListReq) GetMethod() string
func (*ApiListReq) GetPage ¶ added in v0.2.3
func (x *ApiListReq) GetPage() uint64
func (*ApiListReq) GetPageSize ¶ added in v0.2.3
func (x *ApiListReq) GetPageSize() uint64
func (*ApiListReq) GetPath ¶ added in v0.2.3
func (x *ApiListReq) GetPath() string
func (*ApiListReq) ProtoMessage ¶ added in v0.2.3
func (*ApiListReq) ProtoMessage()
func (*ApiListReq) ProtoReflect ¶ added in v0.2.3
func (x *ApiListReq) ProtoReflect() protoreflect.Message
func (*ApiListReq) Reset ¶ added in v0.2.3
func (x *ApiListReq) Reset()
func (*ApiListReq) String ¶ added in v0.2.3
func (x *ApiListReq) String() string
type ApiListResp ¶
type ApiListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*ApiInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ApiListResp) Descriptor
deprecated
func (*ApiListResp) Descriptor() ([]byte, []int)
Deprecated: Use ApiListResp.ProtoReflect.Descriptor instead.
func (*ApiListResp) GetData ¶
func (x *ApiListResp) GetData() []*ApiInfo
func (*ApiListResp) GetTotal ¶
func (x *ApiListResp) GetTotal() uint64
func (*ApiListResp) ProtoMessage ¶
func (*ApiListResp) ProtoMessage()
func (*ApiListResp) ProtoReflect ¶
func (x *ApiListResp) ProtoReflect() protoreflect.Message
func (*ApiListResp) Reset ¶
func (x *ApiListResp) Reset()
func (*ApiListResp) String ¶
func (x *ApiListResp) String() string
type BaseIDResp ¶ added in v0.2.5
type BaseIDResp struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*BaseIDResp) Descriptor
deprecated
added in
v0.2.5
func (*BaseIDResp) Descriptor() ([]byte, []int)
Deprecated: Use BaseIDResp.ProtoReflect.Descriptor instead.
func (*BaseIDResp) GetId ¶ added in v0.2.5
func (x *BaseIDResp) GetId() uint64
func (*BaseIDResp) GetMsg ¶ added in v0.2.5
func (x *BaseIDResp) GetMsg() string
func (*BaseIDResp) ProtoMessage ¶ added in v0.2.5
func (*BaseIDResp) ProtoMessage()
func (*BaseIDResp) ProtoReflect ¶ added in v0.2.5
func (x *BaseIDResp) ProtoReflect() protoreflect.Message
func (*BaseIDResp) Reset ¶ added in v0.2.5
func (x *BaseIDResp) Reset()
func (*BaseIDResp) String ¶ added in v0.2.5
func (x *BaseIDResp) String() string
type BaseMsg ¶ added in v0.2.4
type BaseMsg struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*BaseMsg) Descriptor
deprecated
added in
v0.2.4
func (*BaseMsg) ProtoMessage ¶ added in v0.2.4
func (*BaseMsg) ProtoMessage()
func (*BaseMsg) ProtoReflect ¶ added in v0.2.4
func (x *BaseMsg) ProtoReflect() protoreflect.Message
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 BaseUUIDResp ¶ added in v0.2.5
type BaseUUIDResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*BaseUUIDResp) Descriptor
deprecated
added in
v0.2.5
func (*BaseUUIDResp) Descriptor() ([]byte, []int)
Deprecated: Use BaseUUIDResp.ProtoReflect.Descriptor instead.
func (*BaseUUIDResp) GetId ¶ added in v0.2.5
func (x *BaseUUIDResp) GetId() string
func (*BaseUUIDResp) GetMsg ¶ added in v0.2.5
func (x *BaseUUIDResp) GetMsg() string
func (*BaseUUIDResp) ProtoMessage ¶ added in v0.2.5
func (*BaseUUIDResp) ProtoMessage()
func (*BaseUUIDResp) ProtoReflect ¶ added in v0.2.5
func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message
func (*BaseUUIDResp) Reset ¶ added in v0.2.5
func (x *BaseUUIDResp) Reset()
func (*BaseUUIDResp) String ¶ added in v0.2.5
func (x *BaseUUIDResp) String() string
type CallbackReq ¶ added in v0.0.8
type CallbackReq struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*CallbackReq) Descriptor
deprecated
added in
v0.0.8
func (*CallbackReq) Descriptor() ([]byte, []int)
Deprecated: Use CallbackReq.ProtoReflect.Descriptor instead.
func (*CallbackReq) GetCode ¶ added in v0.0.8
func (x *CallbackReq) GetCode() string
func (*CallbackReq) GetState ¶ added in v0.0.8
func (x *CallbackReq) GetState() string
func (*CallbackReq) ProtoMessage ¶ added in v0.0.8
func (*CallbackReq) ProtoMessage()
func (*CallbackReq) ProtoReflect ¶ added in v0.0.8
func (x *CallbackReq) ProtoReflect() protoreflect.Message
func (*CallbackReq) Reset ¶ added in v0.0.8
func (x *CallbackReq) Reset()
func (*CallbackReq) String ¶ added in v0.0.8
func (x *CallbackReq) String() string
type CoreClient ¶
type CoreClient interface { // API management // group: api CreateApi(ctx context.Context, in *ApiInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: api UpdateApi(ctx context.Context, in *ApiInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: api GetApiList(ctx context.Context, in *ApiListReq, opts ...grpc.CallOption) (*ApiListResp, error) // group: api GetApiById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ApiInfo, error) // group: api DeleteApi(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // group: authority GetMenuAuthority(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleMenuAuthorityResp, error) // group: authority CreateOrUpdateMenuAuthority(ctx context.Context, in *RoleMenuAuthorityReq, opts ...grpc.CallOption) (*BaseResp, error) // group: base InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // Department management // group: department CreateDepartment(ctx context.Context, in *DepartmentInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: department UpdateDepartment(ctx context.Context, in *DepartmentInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: department GetDepartmentList(ctx context.Context, in *DepartmentListReq, opts ...grpc.CallOption) (*DepartmentListResp, error) // group: department GetDepartmentById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*DepartmentInfo, error) // group: department DeleteDepartment(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // Dictionary management // group: dictionary CreateDictionary(ctx context.Context, in *DictionaryInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: dictionary UpdateDictionary(ctx context.Context, in *DictionaryInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: dictionary GetDictionaryList(ctx context.Context, in *DictionaryListReq, opts ...grpc.CallOption) (*DictionaryListResp, error) // group: dictionary GetDictionaryById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*DictionaryInfo, error) // group: dictionary DeleteDictionary(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // DictionaryDetail management // group: dictionarydetail CreateDictionaryDetail(ctx context.Context, in *DictionaryDetailInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: dictionarydetail UpdateDictionaryDetail(ctx context.Context, in *DictionaryDetailInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: dictionarydetail GetDictionaryDetailList(ctx context.Context, in *DictionaryDetailListReq, opts ...grpc.CallOption) (*DictionaryDetailListResp, error) // group: dictionarydetail GetDictionaryDetailById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*DictionaryDetailInfo, error) // group: dictionarydetail DeleteDictionaryDetail(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // group: dictionarydetail GetDictionaryDetailByDictionaryName(ctx context.Context, in *BaseMsg, opts ...grpc.CallOption) (*DictionaryDetailListResp, error) // group: menu CreateMenu(ctx context.Context, in *MenuInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: menu UpdateMenu(ctx context.Context, in *MenuInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: menu DeleteMenu(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) // group: menu GetMenuListByRole(ctx context.Context, in *BaseMsg, opts ...grpc.CallOption) (*MenuInfoList, error) // group: menu GetMenuList(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*MenuInfoList, error) // OauthProvider management // group: oauthprovider CreateOauthProvider(ctx context.Context, in *OauthProviderInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: oauthprovider UpdateOauthProvider(ctx context.Context, in *OauthProviderInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: oauthprovider GetOauthProviderList(ctx context.Context, in *OauthProviderListReq, opts ...grpc.CallOption) (*OauthProviderListResp, error) // group: oauthprovider GetOauthProviderById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OauthProviderInfo, error) // group: oauthprovider DeleteOauthProvider(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // group: oauthprovider OauthLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*OauthRedirectResp, error) // group: oauthprovider OauthCallback(ctx context.Context, in *CallbackReq, opts ...grpc.CallOption) (*UserInfo, error) // Position management // group: position CreatePosition(ctx context.Context, in *PositionInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: position UpdatePosition(ctx context.Context, in *PositionInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: position GetPositionList(ctx context.Context, in *PositionListReq, opts ...grpc.CallOption) (*PositionListResp, error) // group: position GetPositionById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*PositionInfo, error) // group: position DeletePosition(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // Role management // group: role CreateRole(ctx context.Context, in *RoleInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: role UpdateRole(ctx context.Context, in *RoleInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: role GetRoleList(ctx context.Context, in *RoleListReq, opts ...grpc.CallOption) (*RoleListResp, error) // group: role GetRoleById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleInfo, error) // group: role DeleteRole(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // Token management // group: token CreateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) // group: token DeleteToken(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) // group: token GetTokenList(ctx context.Context, in *TokenListReq, opts ...grpc.CallOption) (*TokenListResp, error) // group: token GetTokenById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*TokenInfo, error) // group: token BlockUserAllToken(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*BaseResp, error) // group: token UpdateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseResp, error) // User management // group: user CreateUser(ctx context.Context, in *UserInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) // group: user UpdateUser(ctx context.Context, in *UserInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: user GetUserList(ctx context.Context, in *UserListReq, opts ...grpc.CallOption) (*UserListResp, error) // group: user GetUserById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*UserInfo, error) // group: user GetUserByUsername(ctx context.Context, in *UsernameReq, opts ...grpc.CallOption) (*UserInfo, error) // group: user DeleteUser(ctx context.Context, in *UUIDsReq, 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 { // API management // group: api CreateApi(context.Context, *ApiInfo) (*BaseIDResp, error) // group: api UpdateApi(context.Context, *ApiInfo) (*BaseResp, error) // group: api GetApiList(context.Context, *ApiListReq) (*ApiListResp, error) // group: api GetApiById(context.Context, *IDReq) (*ApiInfo, error) // group: api DeleteApi(context.Context, *IDsReq) (*BaseResp, error) // group: authority GetMenuAuthority(context.Context, *IDReq) (*RoleMenuAuthorityResp, error) // group: authority CreateOrUpdateMenuAuthority(context.Context, *RoleMenuAuthorityReq) (*BaseResp, error) // group: base InitDatabase(context.Context, *Empty) (*BaseResp, error) // Department management // group: department CreateDepartment(context.Context, *DepartmentInfo) (*BaseIDResp, error) // group: department UpdateDepartment(context.Context, *DepartmentInfo) (*BaseResp, error) // group: department GetDepartmentList(context.Context, *DepartmentListReq) (*DepartmentListResp, error) // group: department GetDepartmentById(context.Context, *IDReq) (*DepartmentInfo, error) // group: department DeleteDepartment(context.Context, *IDsReq) (*BaseResp, error) // Dictionary management // group: dictionary CreateDictionary(context.Context, *DictionaryInfo) (*BaseIDResp, error) // group: dictionary UpdateDictionary(context.Context, *DictionaryInfo) (*BaseResp, error) // group: dictionary GetDictionaryList(context.Context, *DictionaryListReq) (*DictionaryListResp, error) // group: dictionary GetDictionaryById(context.Context, *IDReq) (*DictionaryInfo, error) // group: dictionary DeleteDictionary(context.Context, *IDsReq) (*BaseResp, error) // DictionaryDetail management // group: dictionarydetail CreateDictionaryDetail(context.Context, *DictionaryDetailInfo) (*BaseIDResp, error) // group: dictionarydetail UpdateDictionaryDetail(context.Context, *DictionaryDetailInfo) (*BaseResp, error) // group: dictionarydetail GetDictionaryDetailList(context.Context, *DictionaryDetailListReq) (*DictionaryDetailListResp, error) // group: dictionarydetail GetDictionaryDetailById(context.Context, *IDReq) (*DictionaryDetailInfo, error) // group: dictionarydetail DeleteDictionaryDetail(context.Context, *IDsReq) (*BaseResp, error) // group: dictionarydetail GetDictionaryDetailByDictionaryName(context.Context, *BaseMsg) (*DictionaryDetailListResp, error) // group: menu CreateMenu(context.Context, *MenuInfo) (*BaseIDResp, error) // group: menu UpdateMenu(context.Context, *MenuInfo) (*BaseResp, error) // group: menu DeleteMenu(context.Context, *IDReq) (*BaseResp, error) // group: menu GetMenuListByRole(context.Context, *BaseMsg) (*MenuInfoList, error) // group: menu GetMenuList(context.Context, *PageInfoReq) (*MenuInfoList, error) // OauthProvider management // group: oauthprovider CreateOauthProvider(context.Context, *OauthProviderInfo) (*BaseIDResp, error) // group: oauthprovider UpdateOauthProvider(context.Context, *OauthProviderInfo) (*BaseResp, error) // group: oauthprovider GetOauthProviderList(context.Context, *OauthProviderListReq) (*OauthProviderListResp, error) // group: oauthprovider GetOauthProviderById(context.Context, *IDReq) (*OauthProviderInfo, error) // group: oauthprovider DeleteOauthProvider(context.Context, *IDsReq) (*BaseResp, error) // group: oauthprovider OauthLogin(context.Context, *OauthLoginReq) (*OauthRedirectResp, error) // group: oauthprovider OauthCallback(context.Context, *CallbackReq) (*UserInfo, error) // Position management // group: position CreatePosition(context.Context, *PositionInfo) (*BaseIDResp, error) // group: position UpdatePosition(context.Context, *PositionInfo) (*BaseResp, error) // group: position GetPositionList(context.Context, *PositionListReq) (*PositionListResp, error) // group: position GetPositionById(context.Context, *IDReq) (*PositionInfo, error) // group: position DeletePosition(context.Context, *IDsReq) (*BaseResp, error) // Role management // group: role CreateRole(context.Context, *RoleInfo) (*BaseIDResp, error) // group: role UpdateRole(context.Context, *RoleInfo) (*BaseResp, error) // group: role GetRoleList(context.Context, *RoleListReq) (*RoleListResp, error) // group: role GetRoleById(context.Context, *IDReq) (*RoleInfo, error) // group: role DeleteRole(context.Context, *IDsReq) (*BaseResp, error) // Token management // group: token CreateToken(context.Context, *TokenInfo) (*BaseUUIDResp, error) // group: token DeleteToken(context.Context, *UUIDsReq) (*BaseResp, error) // group: token GetTokenList(context.Context, *TokenListReq) (*TokenListResp, error) // group: token GetTokenById(context.Context, *UUIDReq) (*TokenInfo, error) // group: token BlockUserAllToken(context.Context, *UUIDReq) (*BaseResp, error) // group: token UpdateToken(context.Context, *TokenInfo) (*BaseResp, error) // User management // group: user CreateUser(context.Context, *UserInfo) (*BaseUUIDResp, error) // group: user UpdateUser(context.Context, *UserInfo) (*BaseResp, error) // group: user GetUserList(context.Context, *UserListReq) (*UserListResp, error) // group: user GetUserById(context.Context, *UUIDReq) (*UserInfo, error) // group: user GetUserByUsername(context.Context, *UsernameReq) (*UserInfo, error) // group: user DeleteUser(context.Context, *UUIDsReq) (*BaseResp, error) // contains filtered or unexported methods }
CoreServer is the server API for Core service. All implementations must embed UnimplementedCoreServer for forward compatibility
type DepartmentInfo ¶ added in v0.2.3
type DepartmentInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Sort *uint32 `protobuf:"varint,5,opt,name=sort,proto3,oneof" json:"sort,omitempty"` Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"` Ancestors *string `protobuf:"bytes,7,opt,name=ancestors,proto3,oneof" json:"ancestors,omitempty"` Leader *string `protobuf:"bytes,8,opt,name=leader,proto3,oneof" json:"leader,omitempty"` Phone *string `protobuf:"bytes,9,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,10,opt,name=email,proto3,oneof" json:"email,omitempty"` Remark *string `protobuf:"bytes,11,opt,name=remark,proto3,oneof" json:"remark,omitempty"` ParentId *uint64 `protobuf:"varint,12,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` // contains filtered or unexported fields }
func (*DepartmentInfo) Descriptor
deprecated
added in
v0.2.3
func (*DepartmentInfo) Descriptor() ([]byte, []int)
Deprecated: Use DepartmentInfo.ProtoReflect.Descriptor instead.
func (*DepartmentInfo) GetAncestors ¶ added in v0.2.3
func (x *DepartmentInfo) GetAncestors() string
func (*DepartmentInfo) GetCreatedAt ¶ added in v0.2.3
func (x *DepartmentInfo) GetCreatedAt() int64
func (*DepartmentInfo) GetEmail ¶ added in v0.2.3
func (x *DepartmentInfo) GetEmail() string
func (*DepartmentInfo) GetId ¶ added in v0.2.3
func (x *DepartmentInfo) GetId() uint64
func (*DepartmentInfo) GetLeader ¶ added in v0.2.3
func (x *DepartmentInfo) GetLeader() string
func (*DepartmentInfo) GetName ¶ added in v0.2.3
func (x *DepartmentInfo) GetName() string
func (*DepartmentInfo) GetParentId ¶ added in v0.2.3
func (x *DepartmentInfo) GetParentId() uint64
func (*DepartmentInfo) GetPhone ¶ added in v0.2.3
func (x *DepartmentInfo) GetPhone() string
func (*DepartmentInfo) GetRemark ¶ added in v0.2.3
func (x *DepartmentInfo) GetRemark() string
func (*DepartmentInfo) GetSort ¶ added in v0.2.3
func (x *DepartmentInfo) GetSort() uint32
func (*DepartmentInfo) GetStatus ¶ added in v0.2.3
func (x *DepartmentInfo) GetStatus() uint32
func (*DepartmentInfo) GetUpdatedAt ¶ added in v0.2.3
func (x *DepartmentInfo) GetUpdatedAt() int64
func (*DepartmentInfo) ProtoMessage ¶ added in v0.2.3
func (*DepartmentInfo) ProtoMessage()
func (*DepartmentInfo) ProtoReflect ¶ added in v0.2.3
func (x *DepartmentInfo) ProtoReflect() protoreflect.Message
func (*DepartmentInfo) Reset ¶ added in v0.2.3
func (x *DepartmentInfo) Reset()
func (*DepartmentInfo) String ¶ added in v0.2.3
func (x *DepartmentInfo) String() string
type DepartmentListReq ¶ added in v0.2.3
type DepartmentListReq 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"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` Leader *string `protobuf:"bytes,4,opt,name=leader,proto3,oneof" json:"leader,omitempty"` // contains filtered or unexported fields }
func (*DepartmentListReq) Descriptor
deprecated
added in
v0.2.3
func (*DepartmentListReq) Descriptor() ([]byte, []int)
Deprecated: Use DepartmentListReq.ProtoReflect.Descriptor instead.
func (*DepartmentListReq) GetLeader ¶ added in v0.2.3
func (x *DepartmentListReq) GetLeader() string
func (*DepartmentListReq) GetName ¶ added in v0.2.3
func (x *DepartmentListReq) GetName() string
func (*DepartmentListReq) GetPage ¶ added in v0.2.3
func (x *DepartmentListReq) GetPage() uint64
func (*DepartmentListReq) GetPageSize ¶ added in v0.2.3
func (x *DepartmentListReq) GetPageSize() uint64
func (*DepartmentListReq) ProtoMessage ¶ added in v0.2.3
func (*DepartmentListReq) ProtoMessage()
func (*DepartmentListReq) ProtoReflect ¶ added in v0.2.3
func (x *DepartmentListReq) ProtoReflect() protoreflect.Message
func (*DepartmentListReq) Reset ¶ added in v0.2.3
func (x *DepartmentListReq) Reset()
func (*DepartmentListReq) String ¶ added in v0.2.3
func (x *DepartmentListReq) String() string
type DepartmentListResp ¶ added in v0.2.3
type DepartmentListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*DepartmentInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DepartmentListResp) Descriptor
deprecated
added in
v0.2.3
func (*DepartmentListResp) Descriptor() ([]byte, []int)
Deprecated: Use DepartmentListResp.ProtoReflect.Descriptor instead.
func (*DepartmentListResp) GetData ¶ added in v0.2.3
func (x *DepartmentListResp) GetData() []*DepartmentInfo
func (*DepartmentListResp) GetTotal ¶ added in v0.2.3
func (x *DepartmentListResp) GetTotal() uint64
func (*DepartmentListResp) ProtoMessage ¶ added in v0.2.3
func (*DepartmentListResp) ProtoMessage()
func (*DepartmentListResp) ProtoReflect ¶ added in v0.2.3
func (x *DepartmentListResp) ProtoReflect() protoreflect.Message
func (*DepartmentListResp) Reset ¶ added in v0.2.3
func (x *DepartmentListResp) Reset()
func (*DepartmentListResp) String ¶ added in v0.2.3
func (x *DepartmentListResp) String() string
type DictionaryDetailInfo ¶ added in v0.2.4
type DictionaryDetailInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Title *string `protobuf:"bytes,5,opt,name=title,proto3,oneof" json:"title,omitempty"` Key *string `protobuf:"bytes,6,opt,name=key,proto3,oneof" json:"key,omitempty"` Value *string `protobuf:"bytes,7,opt,name=value,proto3,oneof" json:"value,omitempty"` DictionaryId *uint64 `protobuf:"varint,8,opt,name=dictionary_id,json=dictionaryId,proto3,oneof" json:"dictionary_id,omitempty"` Sort *uint32 `protobuf:"varint,9,opt,name=sort,proto3,oneof" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*DictionaryDetailInfo) Descriptor
deprecated
added in
v0.2.4
func (*DictionaryDetailInfo) Descriptor() ([]byte, []int)
Deprecated: Use DictionaryDetailInfo.ProtoReflect.Descriptor instead.
func (*DictionaryDetailInfo) GetCreatedAt ¶ added in v0.2.4
func (x *DictionaryDetailInfo) GetCreatedAt() int64
func (*DictionaryDetailInfo) GetDictionaryId ¶ added in v0.2.4
func (x *DictionaryDetailInfo) GetDictionaryId() uint64
func (*DictionaryDetailInfo) GetId ¶ added in v0.2.4
func (x *DictionaryDetailInfo) GetId() uint64
func (*DictionaryDetailInfo) GetKey ¶ added in v0.2.4
func (x *DictionaryDetailInfo) GetKey() string
func (*DictionaryDetailInfo) GetSort ¶ added in v0.2.4
func (x *DictionaryDetailInfo) GetSort() uint32
func (*DictionaryDetailInfo) GetStatus ¶ added in v0.2.4
func (x *DictionaryDetailInfo) GetStatus() uint32
func (*DictionaryDetailInfo) GetTitle ¶ added in v0.2.4
func (x *DictionaryDetailInfo) GetTitle() string
func (*DictionaryDetailInfo) GetUpdatedAt ¶ added in v0.2.4
func (x *DictionaryDetailInfo) GetUpdatedAt() int64
func (*DictionaryDetailInfo) GetValue ¶ added in v0.2.4
func (x *DictionaryDetailInfo) GetValue() string
func (*DictionaryDetailInfo) ProtoMessage ¶ added in v0.2.4
func (*DictionaryDetailInfo) ProtoMessage()
func (*DictionaryDetailInfo) ProtoReflect ¶ added in v0.2.4
func (x *DictionaryDetailInfo) ProtoReflect() protoreflect.Message
func (*DictionaryDetailInfo) Reset ¶ added in v0.2.4
func (x *DictionaryDetailInfo) Reset()
func (*DictionaryDetailInfo) String ¶ added in v0.2.4
func (x *DictionaryDetailInfo) String() string
type DictionaryDetailListReq ¶ added in v0.2.4
type DictionaryDetailListReq 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"` DictionaryId *uint64 `protobuf:"varint,3,opt,name=dictionary_id,json=dictionaryId,proto3,oneof" json:"dictionary_id,omitempty"` Key *string `protobuf:"bytes,4,opt,name=key,proto3,oneof" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DictionaryDetailListReq) Descriptor
deprecated
added in
v0.2.4
func (*DictionaryDetailListReq) Descriptor() ([]byte, []int)
Deprecated: Use DictionaryDetailListReq.ProtoReflect.Descriptor instead.
func (*DictionaryDetailListReq) GetDictionaryId ¶ added in v0.2.4
func (x *DictionaryDetailListReq) GetDictionaryId() uint64
func (*DictionaryDetailListReq) GetKey ¶ added in v0.2.4
func (x *DictionaryDetailListReq) GetKey() string
func (*DictionaryDetailListReq) GetPage ¶ added in v0.2.4
func (x *DictionaryDetailListReq) GetPage() uint64
func (*DictionaryDetailListReq) GetPageSize ¶ added in v0.2.4
func (x *DictionaryDetailListReq) GetPageSize() uint64
func (*DictionaryDetailListReq) ProtoMessage ¶ added in v0.2.4
func (*DictionaryDetailListReq) ProtoMessage()
func (*DictionaryDetailListReq) ProtoReflect ¶ added in v0.2.4
func (x *DictionaryDetailListReq) ProtoReflect() protoreflect.Message
func (*DictionaryDetailListReq) Reset ¶ added in v0.2.4
func (x *DictionaryDetailListReq) Reset()
func (*DictionaryDetailListReq) String ¶ added in v0.2.4
func (x *DictionaryDetailListReq) String() string
type DictionaryDetailListResp ¶ added in v0.2.4
type DictionaryDetailListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*DictionaryDetailInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DictionaryDetailListResp) Descriptor
deprecated
added in
v0.2.4
func (*DictionaryDetailListResp) Descriptor() ([]byte, []int)
Deprecated: Use DictionaryDetailListResp.ProtoReflect.Descriptor instead.
func (*DictionaryDetailListResp) GetData ¶ added in v0.2.4
func (x *DictionaryDetailListResp) GetData() []*DictionaryDetailInfo
func (*DictionaryDetailListResp) GetTotal ¶ added in v0.2.4
func (x *DictionaryDetailListResp) GetTotal() uint64
func (*DictionaryDetailListResp) ProtoMessage ¶ added in v0.2.4
func (*DictionaryDetailListResp) ProtoMessage()
func (*DictionaryDetailListResp) ProtoReflect ¶ added in v0.2.4
func (x *DictionaryDetailListResp) ProtoReflect() protoreflect.Message
func (*DictionaryDetailListResp) Reset ¶ added in v0.2.4
func (x *DictionaryDetailListResp) Reset()
func (*DictionaryDetailListResp) String ¶ added in v0.2.4
func (x *DictionaryDetailListResp) String() string
type DictionaryInfo ¶ added in v0.0.7
type DictionaryInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Title *string `protobuf:"bytes,5,opt,name=title,proto3,oneof" json:"title,omitempty"` Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"` Desc *string `protobuf:"bytes,7,opt,name=desc,proto3,oneof" json:"desc,omitempty"` // contains filtered or unexported fields }
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() uint32
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 DictionaryListReq ¶ added in v0.2.3
type DictionaryListReq 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"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DictionaryListReq) Descriptor
deprecated
added in
v0.2.3
func (*DictionaryListReq) Descriptor() ([]byte, []int)
Deprecated: Use DictionaryListReq.ProtoReflect.Descriptor instead.
func (*DictionaryListReq) GetName ¶ added in v0.2.3
func (x *DictionaryListReq) GetName() string
func (*DictionaryListReq) GetPage ¶ added in v0.2.3
func (x *DictionaryListReq) GetPage() uint64
func (*DictionaryListReq) GetPageSize ¶ added in v0.2.3
func (x *DictionaryListReq) GetPageSize() uint64
func (*DictionaryListReq) ProtoMessage ¶ added in v0.2.3
func (*DictionaryListReq) ProtoMessage()
func (*DictionaryListReq) ProtoReflect ¶ added in v0.2.3
func (x *DictionaryListReq) ProtoReflect() protoreflect.Message
func (*DictionaryListReq) Reset ¶ added in v0.2.3
func (x *DictionaryListReq) Reset()
func (*DictionaryListReq) String ¶ added in v0.2.3
func (x *DictionaryListReq) String() string
type DictionaryListResp ¶ added in v0.2.4
type DictionaryListResp 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 (*DictionaryListResp) Descriptor
deprecated
added in
v0.2.4
func (*DictionaryListResp) Descriptor() ([]byte, []int)
Deprecated: Use DictionaryListResp.ProtoReflect.Descriptor instead.
func (*DictionaryListResp) GetData ¶ added in v0.2.4
func (x *DictionaryListResp) GetData() []*DictionaryInfo
func (*DictionaryListResp) GetTotal ¶ added in v0.2.4
func (x *DictionaryListResp) GetTotal() uint64
func (*DictionaryListResp) ProtoMessage ¶ added in v0.2.4
func (*DictionaryListResp) ProtoMessage()
func (*DictionaryListResp) ProtoReflect ¶ added in v0.2.4
func (x *DictionaryListResp) ProtoReflect() protoreflect.Message
func (*DictionaryListResp) Reset ¶ added in v0.2.4
func (x *DictionaryListResp) Reset()
func (*DictionaryListResp) String ¶ added in v0.2.4
func (x *DictionaryListResp) 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 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 IDsReq ¶ added in v0.1.8
type IDsReq struct { Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*IDsReq) Descriptor
deprecated
added in
v0.1.8
func (*IDsReq) ProtoMessage ¶ added in v0.1.8
func (*IDsReq) ProtoMessage()
func (*IDsReq) ProtoReflect ¶ added in v0.1.8
func (x *IDsReq) ProtoReflect() protoreflect.Message
type MenuInfo ¶
type MenuInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Level *uint32 `protobuf:"varint,4,opt,name=level,proto3,oneof" json:"level,omitempty"` ParentId *uint64 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` Path *string `protobuf:"bytes,6,opt,name=path,proto3,oneof" json:"path,omitempty"` Name *string `protobuf:"bytes,7,opt,name=name,proto3,oneof" json:"name,omitempty"` Redirect *string `protobuf:"bytes,8,opt,name=redirect,proto3,oneof" json:"redirect,omitempty"` Component *string `protobuf:"bytes,9,opt,name=component,proto3,oneof" json:"component,omitempty"` Sort *uint32 `protobuf:"varint,10,opt,name=sort,proto3,oneof" json:"sort,omitempty"` Disabled *bool `protobuf:"varint,11,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` Meta *Meta `protobuf:"bytes,12,opt,name=meta,proto3,oneof" json:"meta,omitempty"` MenuType *uint32 `protobuf:"varint,13,opt,name=menu_type,json=menuType,proto3,oneof" json:"menu_type,omitempty"` // contains filtered or unexported fields }
func (*MenuInfo) Descriptor
deprecated
func (*MenuInfo) GetComponent ¶
func (*MenuInfo) GetCreatedAt ¶ added in v0.1.2
func (*MenuInfo) GetDisabled ¶
func (*MenuInfo) GetMenuType ¶
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 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,oneof" json:"title,omitempty"` Icon *string `protobuf:"bytes,2,opt,name=icon,proto3,oneof" json:"icon,omitempty"` HideMenu *bool `protobuf:"varint,3,opt,name=hide_menu,json=hideMenu,proto3,oneof" json:"hide_menu,omitempty"` HideBreadcrumb *bool `protobuf:"varint,4,opt,name=hide_breadcrumb,json=hideBreadcrumb,proto3,oneof" json:"hide_breadcrumb,omitempty"` IgnoreKeepAlive *bool `protobuf:"varint,5,opt,name=ignore_keep_alive,json=ignoreKeepAlive,proto3,oneof" json:"ignore_keep_alive,omitempty"` HideTab *bool `protobuf:"varint,6,opt,name=hide_tab,json=hideTab,proto3,oneof" json:"hide_tab,omitempty"` FrameSrc *string `protobuf:"bytes,7,opt,name=frame_src,json=frameSrc,proto3,oneof" json:"frame_src,omitempty"` CarryParam *bool `protobuf:"varint,8,opt,name=carry_param,json=carryParam,proto3,oneof" json:"carry_param,omitempty"` HideChildrenInMenu *bool `` /* 126-byte string literal not displayed */ Affix *bool `protobuf:"varint,10,opt,name=affix,proto3,oneof" json:"affix,omitempty"` DynamicLevel *uint32 `protobuf:"varint,11,opt,name=dynamic_level,json=dynamicLevel,proto3,oneof" json:"dynamic_level,omitempty"` RealPath *string `protobuf:"bytes,12,opt,name=real_path,json=realPath,proto3,oneof" json:"real_path,omitempty"` // contains filtered or unexported fields }
func (*Meta) Descriptor
deprecated
func (*Meta) GetCarryParam ¶ added in v0.0.5
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 }
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 OauthProviderInfo ¶ added in v0.2.4
type OauthProviderInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` ClientId *string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"` ClientSecret *string `protobuf:"bytes,6,opt,name=client_secret,json=clientSecret,proto3,oneof" json:"client_secret,omitempty"` RedirectUrl *string `protobuf:"bytes,7,opt,name=redirect_url,json=redirectUrl,proto3,oneof" json:"redirect_url,omitempty"` Scopes *string `protobuf:"bytes,8,opt,name=scopes,proto3,oneof" json:"scopes,omitempty"` AuthUrl *string `protobuf:"bytes,9,opt,name=auth_url,json=authUrl,proto3,oneof" json:"auth_url,omitempty"` TokenUrl *string `protobuf:"bytes,10,opt,name=token_url,json=tokenUrl,proto3,oneof" json:"token_url,omitempty"` AuthStyle *uint64 `protobuf:"varint,11,opt,name=auth_style,json=authStyle,proto3,oneof" json:"auth_style,omitempty"` InfoUrl *string `protobuf:"bytes,12,opt,name=info_url,json=infoUrl,proto3,oneof" json:"info_url,omitempty"` // contains filtered or unexported fields }
func (*OauthProviderInfo) Descriptor
deprecated
added in
v0.2.4
func (*OauthProviderInfo) Descriptor() ([]byte, []int)
Deprecated: Use OauthProviderInfo.ProtoReflect.Descriptor instead.
func (*OauthProviderInfo) GetAuthStyle ¶ added in v0.2.4
func (x *OauthProviderInfo) GetAuthStyle() uint64
func (*OauthProviderInfo) GetAuthUrl ¶ added in v0.2.4
func (x *OauthProviderInfo) GetAuthUrl() string
func (*OauthProviderInfo) GetClientId ¶ added in v0.2.4
func (x *OauthProviderInfo) GetClientId() string
func (*OauthProviderInfo) GetClientSecret ¶ added in v0.2.4
func (x *OauthProviderInfo) GetClientSecret() string
func (*OauthProviderInfo) GetCreatedAt ¶ added in v0.2.4
func (x *OauthProviderInfo) GetCreatedAt() int64
func (*OauthProviderInfo) GetId ¶ added in v0.2.4
func (x *OauthProviderInfo) GetId() uint64
func (*OauthProviderInfo) GetInfoUrl ¶ added in v0.2.4
func (x *OauthProviderInfo) GetInfoUrl() string
func (*OauthProviderInfo) GetName ¶ added in v0.2.4
func (x *OauthProviderInfo) GetName() string
func (*OauthProviderInfo) GetRedirectUrl ¶ added in v0.2.4
func (x *OauthProviderInfo) GetRedirectUrl() string
func (*OauthProviderInfo) GetScopes ¶ added in v0.2.4
func (x *OauthProviderInfo) GetScopes() string
func (*OauthProviderInfo) GetTokenUrl ¶ added in v0.2.4
func (x *OauthProviderInfo) GetTokenUrl() string
func (*OauthProviderInfo) GetUpdatedAt ¶ added in v0.2.4
func (x *OauthProviderInfo) GetUpdatedAt() int64
func (*OauthProviderInfo) ProtoMessage ¶ added in v0.2.4
func (*OauthProviderInfo) ProtoMessage()
func (*OauthProviderInfo) ProtoReflect ¶ added in v0.2.4
func (x *OauthProviderInfo) ProtoReflect() protoreflect.Message
func (*OauthProviderInfo) Reset ¶ added in v0.2.4
func (x *OauthProviderInfo) Reset()
func (*OauthProviderInfo) String ¶ added in v0.2.4
func (x *OauthProviderInfo) String() string
type OauthProviderListReq ¶ added in v0.2.4
type OauthProviderListReq 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"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*OauthProviderListReq) Descriptor
deprecated
added in
v0.2.4
func (*OauthProviderListReq) Descriptor() ([]byte, []int)
Deprecated: Use OauthProviderListReq.ProtoReflect.Descriptor instead.
func (*OauthProviderListReq) GetName ¶ added in v0.2.4
func (x *OauthProviderListReq) GetName() string
func (*OauthProviderListReq) GetPage ¶ added in v0.2.4
func (x *OauthProviderListReq) GetPage() uint64
func (*OauthProviderListReq) GetPageSize ¶ added in v0.2.4
func (x *OauthProviderListReq) GetPageSize() uint64
func (*OauthProviderListReq) ProtoMessage ¶ added in v0.2.4
func (*OauthProviderListReq) ProtoMessage()
func (*OauthProviderListReq) ProtoReflect ¶ added in v0.2.4
func (x *OauthProviderListReq) ProtoReflect() protoreflect.Message
func (*OauthProviderListReq) Reset ¶ added in v0.2.4
func (x *OauthProviderListReq) Reset()
func (*OauthProviderListReq) String ¶ added in v0.2.4
func (x *OauthProviderListReq) String() string
type OauthProviderListResp ¶ added in v0.2.4
type OauthProviderListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*OauthProviderInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*OauthProviderListResp) Descriptor
deprecated
added in
v0.2.4
func (*OauthProviderListResp) Descriptor() ([]byte, []int)
Deprecated: Use OauthProviderListResp.ProtoReflect.Descriptor instead.
func (*OauthProviderListResp) GetData ¶ added in v0.2.4
func (x *OauthProviderListResp) GetData() []*OauthProviderInfo
func (*OauthProviderListResp) GetTotal ¶ added in v0.2.4
func (x *OauthProviderListResp) GetTotal() uint64
func (*OauthProviderListResp) ProtoMessage ¶ added in v0.2.4
func (*OauthProviderListResp) ProtoMessage()
func (*OauthProviderListResp) ProtoReflect ¶ added in v0.2.4
func (x *OauthProviderListResp) ProtoReflect() protoreflect.Message
func (*OauthProviderListResp) Reset ¶ added in v0.2.4
func (x *OauthProviderListResp) Reset()
func (*OauthProviderListResp) String ¶ added in v0.2.4
func (x *OauthProviderListResp) 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 PositionInfo ¶ added in v0.2.3
type PositionInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Sort *uint32 `protobuf:"varint,5,opt,name=sort,proto3,oneof" json:"sort,omitempty"` Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"` Code *string `protobuf:"bytes,7,opt,name=code,proto3,oneof" json:"code,omitempty"` Remark *string `protobuf:"bytes,8,opt,name=remark,proto3,oneof" json:"remark,omitempty"` // contains filtered or unexported fields }
func (*PositionInfo) Descriptor
deprecated
added in
v0.2.3
func (*PositionInfo) Descriptor() ([]byte, []int)
Deprecated: Use PositionInfo.ProtoReflect.Descriptor instead.
func (*PositionInfo) GetCode ¶ added in v0.2.3
func (x *PositionInfo) GetCode() string
func (*PositionInfo) GetCreatedAt ¶ added in v0.2.3
func (x *PositionInfo) GetCreatedAt() int64
func (*PositionInfo) GetId ¶ added in v0.2.3
func (x *PositionInfo) GetId() uint64
func (*PositionInfo) GetName ¶ added in v0.2.3
func (x *PositionInfo) GetName() string
func (*PositionInfo) GetRemark ¶ added in v0.2.3
func (x *PositionInfo) GetRemark() string
func (*PositionInfo) GetSort ¶ added in v0.2.3
func (x *PositionInfo) GetSort() uint32
func (*PositionInfo) GetStatus ¶ added in v0.2.3
func (x *PositionInfo) GetStatus() uint32
func (*PositionInfo) GetUpdatedAt ¶ added in v0.2.3
func (x *PositionInfo) GetUpdatedAt() int64
func (*PositionInfo) ProtoMessage ¶ added in v0.2.3
func (*PositionInfo) ProtoMessage()
func (*PositionInfo) ProtoReflect ¶ added in v0.2.3
func (x *PositionInfo) ProtoReflect() protoreflect.Message
func (*PositionInfo) Reset ¶ added in v0.2.3
func (x *PositionInfo) Reset()
func (*PositionInfo) String ¶ added in v0.2.3
func (x *PositionInfo) String() string
type PositionListReq ¶ added in v0.2.3
type PositionListReq 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"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` Code *string `protobuf:"bytes,4,opt,name=code,proto3,oneof" json:"code,omitempty"` Remark *string `protobuf:"bytes,5,opt,name=remark,proto3,oneof" json:"remark,omitempty"` // contains filtered or unexported fields }
func (*PositionListReq) Descriptor
deprecated
added in
v0.2.3
func (*PositionListReq) Descriptor() ([]byte, []int)
Deprecated: Use PositionListReq.ProtoReflect.Descriptor instead.
func (*PositionListReq) GetCode ¶ added in v0.2.4
func (x *PositionListReq) GetCode() string
func (*PositionListReq) GetName ¶ added in v0.2.3
func (x *PositionListReq) GetName() string
func (*PositionListReq) GetPage ¶ added in v0.2.3
func (x *PositionListReq) GetPage() uint64
func (*PositionListReq) GetPageSize ¶ added in v0.2.3
func (x *PositionListReq) GetPageSize() uint64
func (*PositionListReq) GetRemark ¶ added in v0.2.4
func (x *PositionListReq) GetRemark() string
func (*PositionListReq) ProtoMessage ¶ added in v0.2.3
func (*PositionListReq) ProtoMessage()
func (*PositionListReq) ProtoReflect ¶ added in v0.2.3
func (x *PositionListReq) ProtoReflect() protoreflect.Message
func (*PositionListReq) Reset ¶ added in v0.2.3
func (x *PositionListReq) Reset()
func (*PositionListReq) String ¶ added in v0.2.3
func (x *PositionListReq) String() string
type PositionListResp ¶ added in v0.2.3
type PositionListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*PositionInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PositionListResp) Descriptor
deprecated
added in
v0.2.3
func (*PositionListResp) Descriptor() ([]byte, []int)
Deprecated: Use PositionListResp.ProtoReflect.Descriptor instead.
func (*PositionListResp) GetData ¶ added in v0.2.3
func (x *PositionListResp) GetData() []*PositionInfo
func (*PositionListResp) GetTotal ¶ added in v0.2.3
func (x *PositionListResp) GetTotal() uint64
func (*PositionListResp) ProtoMessage ¶ added in v0.2.3
func (*PositionListResp) ProtoMessage()
func (*PositionListResp) ProtoReflect ¶ added in v0.2.3
func (x *PositionListResp) ProtoReflect() protoreflect.Message
func (*PositionListResp) Reset ¶ added in v0.2.3
func (x *PositionListResp) Reset()
func (*PositionListResp) String ¶ added in v0.2.3
func (x *PositionListResp) String() string
type RoleInfo ¶
type RoleInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Name *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"` Code *string `protobuf:"bytes,6,opt,name=code,proto3,oneof" json:"code,omitempty"` DefaultRouter *string `protobuf:"bytes,7,opt,name=default_router,json=defaultRouter,proto3,oneof" json:"default_router,omitempty"` Remark *string `protobuf:"bytes,8,opt,name=remark,proto3,oneof" json:"remark,omitempty"` Sort *uint32 `protobuf:"varint,9,opt,name=sort,proto3,oneof" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*RoleInfo) Descriptor
deprecated
func (*RoleInfo) GetCreatedAt ¶ added in v0.1.2
func (*RoleInfo) GetDefaultRouter ¶
func (*RoleInfo) GetUpdatedAt ¶ added in v0.2.4
func (*RoleInfo) ProtoMessage ¶
func (*RoleInfo) ProtoMessage()
func (*RoleInfo) ProtoReflect ¶
func (x *RoleInfo) ProtoReflect() protoreflect.Message
type RoleListReq ¶ added in v0.2.4
type RoleListReq 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"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` Code *string `protobuf:"bytes,4,opt,name=code,proto3,oneof" json:"code,omitempty"` DefaultRouter *string `protobuf:"bytes,5,opt,name=default_router,json=defaultRouter,proto3,oneof" json:"default_router,omitempty"` // contains filtered or unexported fields }
func (*RoleListReq) Descriptor
deprecated
added in
v0.2.4
func (*RoleListReq) Descriptor() ([]byte, []int)
Deprecated: Use RoleListReq.ProtoReflect.Descriptor instead.
func (*RoleListReq) GetCode ¶ added in v0.2.4
func (x *RoleListReq) GetCode() string
func (*RoleListReq) GetDefaultRouter ¶ added in v0.2.4
func (x *RoleListReq) GetDefaultRouter() string
func (*RoleListReq) GetName ¶ added in v0.2.4
func (x *RoleListReq) GetName() string
func (*RoleListReq) GetPage ¶ added in v0.2.4
func (x *RoleListReq) GetPage() uint64
func (*RoleListReq) GetPageSize ¶ added in v0.2.4
func (x *RoleListReq) GetPageSize() uint64
func (*RoleListReq) ProtoMessage ¶ added in v0.2.4
func (*RoleListReq) ProtoMessage()
func (*RoleListReq) ProtoReflect ¶ added in v0.2.4
func (x *RoleListReq) ProtoReflect() protoreflect.Message
func (*RoleListReq) Reset ¶ added in v0.2.4
func (x *RoleListReq) Reset()
func (*RoleListReq) String ¶ added in v0.2.4
func (x *RoleListReq) String() string
type RoleListResp ¶
type RoleListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*RoleInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*RoleListResp) Descriptor
deprecated
func (*RoleListResp) Descriptor() ([]byte, []int)
Deprecated: Use RoleListResp.ProtoReflect.Descriptor instead.
func (*RoleListResp) GetData ¶
func (x *RoleListResp) GetData() []*RoleInfo
func (*RoleListResp) GetTotal ¶
func (x *RoleListResp) GetTotal() uint64
func (*RoleListResp) ProtoMessage ¶
func (*RoleListResp) ProtoMessage()
func (*RoleListResp) ProtoReflect ¶
func (x *RoleListResp) ProtoReflect() protoreflect.Message
func (*RoleListResp) Reset ¶
func (x *RoleListResp) Reset()
func (*RoleListResp) String ¶
func (x *RoleListResp) String() string
type RoleMenuAuthorityReq ¶
type RoleMenuAuthorityReq struct { RoleId uint64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` MenuId []uint64 `protobuf:"varint,2,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // contains filtered or unexported fields }
authorization message
func (*RoleMenuAuthorityReq) Descriptor
deprecated
func (*RoleMenuAuthorityReq) Descriptor() ([]byte, []int)
Deprecated: Use RoleMenuAuthorityReq.ProtoReflect.Descriptor instead.
func (*RoleMenuAuthorityReq) GetMenuId ¶
func (x *RoleMenuAuthorityReq) GetMenuId() []uint64
func (*RoleMenuAuthorityReq) GetRoleId ¶
func (x *RoleMenuAuthorityReq) GetRoleId() uint64
func (*RoleMenuAuthorityReq) ProtoMessage ¶
func (*RoleMenuAuthorityReq) ProtoMessage()
func (*RoleMenuAuthorityReq) ProtoReflect ¶
func (x *RoleMenuAuthorityReq) ProtoReflect() protoreflect.Message
func (*RoleMenuAuthorityReq) Reset ¶
func (x *RoleMenuAuthorityReq) Reset()
func (*RoleMenuAuthorityReq) String ¶
func (x *RoleMenuAuthorityReq) String() string
type RoleMenuAuthorityResp ¶
type RoleMenuAuthorityResp struct { MenuId []uint64 `protobuf:"varint,1,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // contains filtered or unexported fields }
return the role's authorization menu's ids
func (*RoleMenuAuthorityResp) Descriptor
deprecated
func (*RoleMenuAuthorityResp) Descriptor() ([]byte, []int)
Deprecated: Use RoleMenuAuthorityResp.ProtoReflect.Descriptor instead.
func (*RoleMenuAuthorityResp) GetMenuId ¶
func (x *RoleMenuAuthorityResp) GetMenuId() []uint64
func (*RoleMenuAuthorityResp) ProtoMessage ¶
func (*RoleMenuAuthorityResp) ProtoMessage()
func (*RoleMenuAuthorityResp) ProtoReflect ¶
func (x *RoleMenuAuthorityResp) ProtoReflect() protoreflect.Message
func (*RoleMenuAuthorityResp) Reset ¶
func (x *RoleMenuAuthorityResp) Reset()
func (*RoleMenuAuthorityResp) String ¶
func (x *RoleMenuAuthorityResp) String() string
type TokenInfo ¶ added in v0.1.1
type TokenInfo struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Uuid *string `protobuf:"bytes,5,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"` Token *string `protobuf:"bytes,6,opt,name=token,proto3,oneof" json:"token,omitempty"` Source *string `protobuf:"bytes,7,opt,name=source,proto3,oneof" json:"source,omitempty"` ExpiredAt *int64 `protobuf:"varint,8,opt,name=expired_at,json=expiredAt,proto3,oneof" 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) GetUpdatedAt ¶ added in v0.1.4
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 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,oneof" json:"username,omitempty"` Nickname *string `protobuf:"bytes,4,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` Email *string `protobuf:"bytes,5,opt,name=email,proto3,oneof" json:"email,omitempty"` Uuid *string `protobuf:"bytes,6,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*TokenListReq) Descriptor
deprecated
added in
v0.1.1
func (*TokenListReq) Descriptor() ([]byte, []int)
Deprecated: Use TokenListReq.ProtoReflect.Descriptor instead.
func (*TokenListReq) GetEmail ¶ added in v0.1.1
func (x *TokenListReq) GetEmail() string
func (*TokenListReq) GetNickname ¶ added in v0.1.1
func (x *TokenListReq) GetNickname() string
func (*TokenListReq) GetPage ¶ added in v0.1.1
func (x *TokenListReq) GetPage() uint64
func (*TokenListReq) GetPageSize ¶ added in v0.1.4
func (x *TokenListReq) GetPageSize() uint64
func (*TokenListReq) GetUsername ¶ added in v0.1.1
func (x *TokenListReq) GetUsername() string
func (*TokenListReq) GetUuid ¶ added in v0.1.4
func (x *TokenListReq) GetUuid() string
func (*TokenListReq) ProtoMessage ¶ added in v0.1.1
func (*TokenListReq) ProtoMessage()
func (*TokenListReq) ProtoReflect ¶ added in v0.1.1
func (x *TokenListReq) ProtoReflect() protoreflect.Message
func (*TokenListReq) Reset ¶ added in v0.1.1
func (x *TokenListReq) Reset()
func (*TokenListReq) String ¶ added in v0.1.1
func (x *TokenListReq) String() string
type TokenListResp ¶ added in v0.1.1
type TokenListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*TokenInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*TokenListResp) Descriptor
deprecated
added in
v0.1.1
func (*TokenListResp) Descriptor() ([]byte, []int)
Deprecated: Use TokenListResp.ProtoReflect.Descriptor instead.
func (*TokenListResp) GetData ¶ added in v0.1.1
func (x *TokenListResp) GetData() []*TokenInfo
func (*TokenListResp) GetTotal ¶ added in v0.1.1
func (x *TokenListResp) GetTotal() uint64
func (*TokenListResp) ProtoMessage ¶ added in v0.1.1
func (*TokenListResp) ProtoMessage()
func (*TokenListResp) ProtoReflect ¶ added in v0.1.1
func (x *TokenListResp) ProtoReflect() protoreflect.Message
func (*TokenListResp) Reset ¶ added in v0.1.1
func (x *TokenListResp) Reset()
func (*TokenListResp) String ¶ added in v0.1.1
func (x *TokenListResp) String() string
type UUIDReq ¶
type UUIDReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UUIDReq) Descriptor
deprecated
func (*UUIDReq) ProtoMessage ¶
func (*UUIDReq) ProtoMessage()
func (*UUIDReq) ProtoReflect ¶
func (x *UUIDReq) ProtoReflect() protoreflect.Message
type UUIDsReq ¶ added in v0.2.1
type UUIDsReq struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*UUIDsReq) Descriptor
deprecated
added in
v0.2.1
func (*UUIDsReq) ProtoMessage ¶ added in v0.2.1
func (*UUIDsReq) ProtoMessage()
func (*UUIDsReq) ProtoReflect ¶ added in v0.2.1
func (x *UUIDsReq) 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) CreateApi ¶ added in v0.2.4
func (UnimplementedCoreServer) CreateApi(context.Context, *ApiInfo) (*BaseIDResp, error)
func (UnimplementedCoreServer) CreateDepartment ¶ added in v0.2.4
func (UnimplementedCoreServer) CreateDepartment(context.Context, *DepartmentInfo) (*BaseIDResp, error)
func (UnimplementedCoreServer) CreateDictionary ¶ added in v0.2.4
func (UnimplementedCoreServer) CreateDictionary(context.Context, *DictionaryInfo) (*BaseIDResp, error)
func (UnimplementedCoreServer) CreateDictionaryDetail ¶ added in v0.2.4
func (UnimplementedCoreServer) CreateDictionaryDetail(context.Context, *DictionaryDetailInfo) (*BaseIDResp, error)
func (UnimplementedCoreServer) CreateMenu ¶ added in v0.2.4
func (UnimplementedCoreServer) CreateMenu(context.Context, *MenuInfo) (*BaseIDResp, error)
func (UnimplementedCoreServer) CreateOauthProvider ¶ added in v0.2.4
func (UnimplementedCoreServer) CreateOauthProvider(context.Context, *OauthProviderInfo) (*BaseIDResp, error)
func (UnimplementedCoreServer) CreateOrUpdateMenuAuthority ¶
func (UnimplementedCoreServer) CreateOrUpdateMenuAuthority(context.Context, *RoleMenuAuthorityReq) (*BaseResp, error)
func (UnimplementedCoreServer) CreatePosition ¶ added in v0.2.4
func (UnimplementedCoreServer) CreatePosition(context.Context, *PositionInfo) (*BaseIDResp, error)
func (UnimplementedCoreServer) CreateRole ¶ added in v0.2.4
func (UnimplementedCoreServer) CreateRole(context.Context, *RoleInfo) (*BaseIDResp, error)
func (UnimplementedCoreServer) CreateToken ¶ added in v0.2.4
func (UnimplementedCoreServer) CreateToken(context.Context, *TokenInfo) (*BaseUUIDResp, error)
func (UnimplementedCoreServer) CreateUser ¶ added in v0.2.4
func (UnimplementedCoreServer) CreateUser(context.Context, *UserInfo) (*BaseUUIDResp, error)
func (UnimplementedCoreServer) DeleteDepartment ¶ added in v0.2.3
func (UnimplementedCoreServer) DeleteDictionary ¶ added in v0.0.7
func (UnimplementedCoreServer) DeleteDictionaryDetail ¶ added in v0.0.7
func (UnimplementedCoreServer) DeleteMenu ¶
func (UnimplementedCoreServer) DeleteOauthProvider ¶ added in v0.2.4
func (UnimplementedCoreServer) DeletePosition ¶ added in v0.2.3
func (UnimplementedCoreServer) DeleteRole ¶
func (UnimplementedCoreServer) DeleteToken ¶ added in v0.1.1
func (UnimplementedCoreServer) DeleteUser ¶
func (UnimplementedCoreServer) GetApiById ¶ added in v0.2.4
func (UnimplementedCoreServer) GetApiList ¶
func (UnimplementedCoreServer) GetApiList(context.Context, *ApiListReq) (*ApiListResp, error)
func (UnimplementedCoreServer) GetDepartmentById ¶ added in v0.2.4
func (UnimplementedCoreServer) GetDepartmentById(context.Context, *IDReq) (*DepartmentInfo, error)
func (UnimplementedCoreServer) GetDepartmentList ¶ added in v0.2.3
func (UnimplementedCoreServer) GetDepartmentList(context.Context, *DepartmentListReq) (*DepartmentListResp, error)
func (UnimplementedCoreServer) GetDictionaryById ¶ added in v0.2.4
func (UnimplementedCoreServer) GetDictionaryById(context.Context, *IDReq) (*DictionaryInfo, error)
func (UnimplementedCoreServer) GetDictionaryDetailByDictionaryName ¶ added in v1.0.7
func (UnimplementedCoreServer) GetDictionaryDetailByDictionaryName(context.Context, *BaseMsg) (*DictionaryDetailListResp, error)
func (UnimplementedCoreServer) GetDictionaryDetailById ¶ added in v0.2.4
func (UnimplementedCoreServer) GetDictionaryDetailById(context.Context, *IDReq) (*DictionaryDetailInfo, error)
func (UnimplementedCoreServer) GetDictionaryDetailList ¶ added in v0.2.4
func (UnimplementedCoreServer) GetDictionaryDetailList(context.Context, *DictionaryDetailListReq) (*DictionaryDetailListResp, error)
func (UnimplementedCoreServer) GetDictionaryList ¶ added in v0.0.7
func (UnimplementedCoreServer) GetDictionaryList(context.Context, *DictionaryListReq) (*DictionaryListResp, error)
func (UnimplementedCoreServer) GetMenuAuthority ¶
func (UnimplementedCoreServer) GetMenuAuthority(context.Context, *IDReq) (*RoleMenuAuthorityResp, error)
func (UnimplementedCoreServer) GetMenuList ¶ added in v0.1.4
func (UnimplementedCoreServer) GetMenuList(context.Context, *PageInfoReq) (*MenuInfoList, error)
func (UnimplementedCoreServer) GetMenuListByRole ¶
func (UnimplementedCoreServer) GetMenuListByRole(context.Context, *BaseMsg) (*MenuInfoList, error)
func (UnimplementedCoreServer) GetOauthProviderById ¶ added in v0.2.4
func (UnimplementedCoreServer) GetOauthProviderById(context.Context, *IDReq) (*OauthProviderInfo, error)
func (UnimplementedCoreServer) GetOauthProviderList ¶ added in v0.2.4
func (UnimplementedCoreServer) GetOauthProviderList(context.Context, *OauthProviderListReq) (*OauthProviderListResp, error)
func (UnimplementedCoreServer) GetPositionById ¶ added in v0.2.4
func (UnimplementedCoreServer) GetPositionById(context.Context, *IDReq) (*PositionInfo, error)
func (UnimplementedCoreServer) GetPositionList ¶ added in v0.2.3
func (UnimplementedCoreServer) GetPositionList(context.Context, *PositionListReq) (*PositionListResp, error)
func (UnimplementedCoreServer) GetRoleById ¶
func (UnimplementedCoreServer) GetRoleList ¶
func (UnimplementedCoreServer) GetRoleList(context.Context, *RoleListReq) (*RoleListResp, error)
func (UnimplementedCoreServer) GetTokenById ¶ added in v0.2.4
func (UnimplementedCoreServer) GetTokenList ¶ added in v0.1.1
func (UnimplementedCoreServer) GetTokenList(context.Context, *TokenListReq) (*TokenListResp, error)
func (UnimplementedCoreServer) GetUserById ¶
func (UnimplementedCoreServer) GetUserByUsername ¶ added in v0.2.4
func (UnimplementedCoreServer) GetUserByUsername(context.Context, *UsernameReq) (*UserInfo, error)
func (UnimplementedCoreServer) GetUserList ¶
func (UnimplementedCoreServer) GetUserList(context.Context, *UserListReq) (*UserListResp, error)
func (UnimplementedCoreServer) InitDatabase ¶
func (UnimplementedCoreServer) OauthCallback ¶ added in v0.0.8
func (UnimplementedCoreServer) OauthCallback(context.Context, *CallbackReq) (*UserInfo, error)
func (UnimplementedCoreServer) OauthLogin ¶ added in v0.0.8
func (UnimplementedCoreServer) OauthLogin(context.Context, *OauthLoginReq) (*OauthRedirectResp, error)
func (UnimplementedCoreServer) UpdateDepartment ¶ added in v0.2.4
func (UnimplementedCoreServer) UpdateDepartment(context.Context, *DepartmentInfo) (*BaseResp, error)
func (UnimplementedCoreServer) UpdateDictionary ¶ added in v0.2.4
func (UnimplementedCoreServer) UpdateDictionary(context.Context, *DictionaryInfo) (*BaseResp, error)
func (UnimplementedCoreServer) UpdateDictionaryDetail ¶ added in v0.2.4
func (UnimplementedCoreServer) UpdateDictionaryDetail(context.Context, *DictionaryDetailInfo) (*BaseResp, error)
func (UnimplementedCoreServer) UpdateMenu ¶ added in v0.2.4
func (UnimplementedCoreServer) UpdateOauthProvider ¶ added in v0.2.4
func (UnimplementedCoreServer) UpdateOauthProvider(context.Context, *OauthProviderInfo) (*BaseResp, error)
func (UnimplementedCoreServer) UpdatePosition ¶ added in v0.2.4
func (UnimplementedCoreServer) UpdatePosition(context.Context, *PositionInfo) (*BaseResp, error)
func (UnimplementedCoreServer) UpdateRole ¶ added in v0.2.4
func (UnimplementedCoreServer) UpdateToken ¶ added in v0.2.4
func (UnimplementedCoreServer) UpdateUser ¶ added in v0.2.4
type UnsafeCoreServer ¶
type UnsafeCoreServer interface {
// contains filtered or unexported methods
}
UnsafeCoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreServer will result in compilation errors.
type UserInfo ¶ added in v0.2.4
type UserInfo struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Username *string `protobuf:"bytes,5,opt,name=username,proto3,oneof" json:"username,omitempty"` Password *string `protobuf:"bytes,6,opt,name=password,proto3,oneof" json:"password,omitempty"` Nickname *string `protobuf:"bytes,7,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` Description *string `protobuf:"bytes,8,opt,name=description,proto3,oneof" json:"description,omitempty"` HomePath *string `protobuf:"bytes,9,opt,name=home_path,json=homePath,proto3,oneof" json:"home_path,omitempty"` RoleIds []uint64 `protobuf:"varint,10,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` Mobile *string `protobuf:"bytes,11,opt,name=mobile,proto3,oneof" json:"mobile,omitempty"` Email *string `protobuf:"bytes,12,opt,name=email,proto3,oneof" json:"email,omitempty"` Avatar *string `protobuf:"bytes,13,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` DepartmentId *uint64 `protobuf:"varint,14,opt,name=department_id,json=departmentId,proto3,oneof" json:"department_id,omitempty"` PositionIds []uint64 `protobuf:"varint,15,rep,packed,name=position_ids,json=positionIds,proto3" json:"position_ids,omitempty"` RoleCodes []string `protobuf:"bytes,16,rep,name=role_codes,json=roleCodes,proto3" json:"role_codes,omitempty"` RoleName []string `protobuf:"bytes,17,rep,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // contains filtered or unexported fields }
func (*UserInfo) Descriptor
deprecated
added in
v0.2.4
func (*UserInfo) GetCreatedAt ¶ added in v0.2.4
func (*UserInfo) GetDepartmentId ¶ added in v0.2.4
func (*UserInfo) GetDescription ¶ added in v0.2.4
func (*UserInfo) GetHomePath ¶ added in v0.2.4
func (*UserInfo) GetNickname ¶ added in v0.2.4
func (*UserInfo) GetPassword ¶ added in v0.2.4
func (*UserInfo) GetPositionIds ¶ added in v0.2.4
func (*UserInfo) GetRoleCodes ¶ added in v0.2.4
func (*UserInfo) GetRoleIds ¶ added in v0.2.4
func (*UserInfo) GetRoleName ¶ added in v1.1.4
func (*UserInfo) GetUpdatedAt ¶ added in v0.2.4
func (*UserInfo) GetUsername ¶ added in v0.2.4
func (*UserInfo) ProtoMessage ¶ added in v0.2.4
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶ added in v0.2.4
func (x *UserInfo) ProtoReflect() protoreflect.Message
type UserListReq ¶ added in v0.2.4
type UserListReq 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,oneof" json:"username,omitempty"` Nickname *string `protobuf:"bytes,4,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` Email *string `protobuf:"bytes,5,opt,name=email,proto3,oneof" json:"email,omitempty"` Mobile *string `protobuf:"bytes,6,opt,name=mobile,proto3,oneof" json:"mobile,omitempty"` RoleIds []uint64 `protobuf:"varint,7,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` DepartmentId *uint64 `protobuf:"varint,8,opt,name=department_id,json=departmentId,proto3,oneof" json:"department_id,omitempty"` PositionIds []uint64 `protobuf:"varint,9,rep,packed,name=position_ids,json=positionIds,proto3" json:"position_ids,omitempty"` // contains filtered or unexported fields }
func (*UserListReq) Descriptor
deprecated
added in
v0.2.4
func (*UserListReq) Descriptor() ([]byte, []int)
Deprecated: Use UserListReq.ProtoReflect.Descriptor instead.
func (*UserListReq) GetDepartmentId ¶ added in v0.2.4
func (x *UserListReq) GetDepartmentId() uint64
func (*UserListReq) GetEmail ¶ added in v0.2.4
func (x *UserListReq) GetEmail() string
func (*UserListReq) GetMobile ¶ added in v0.2.4
func (x *UserListReq) GetMobile() string
func (*UserListReq) GetNickname ¶ added in v0.2.4
func (x *UserListReq) GetNickname() string
func (*UserListReq) GetPage ¶ added in v0.2.4
func (x *UserListReq) GetPage() uint64
func (*UserListReq) GetPageSize ¶ added in v0.2.4
func (x *UserListReq) GetPageSize() uint64
func (*UserListReq) GetPositionIds ¶ added in v0.2.4
func (x *UserListReq) GetPositionIds() []uint64
func (*UserListReq) GetRoleIds ¶ added in v0.2.5
func (x *UserListReq) GetRoleIds() []uint64
func (*UserListReq) GetUsername ¶ added in v0.2.4
func (x *UserListReq) GetUsername() string
func (*UserListReq) ProtoMessage ¶ added in v0.2.4
func (*UserListReq) ProtoMessage()
func (*UserListReq) ProtoReflect ¶ added in v0.2.4
func (x *UserListReq) ProtoReflect() protoreflect.Message
func (*UserListReq) Reset ¶ added in v0.2.4
func (x *UserListReq) Reset()
func (*UserListReq) String ¶ added in v0.2.4
func (x *UserListReq) String() string
type UserListResp ¶
type UserListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*UserInfo `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() []*UserInfo
func (*UserListResp) GetTotal ¶
func (x *UserListResp) GetTotal() uint64
func (*UserListResp) ProtoMessage ¶
func (*UserListResp) ProtoMessage()
func (*UserListResp) ProtoReflect ¶
func (x *UserListResp) ProtoReflect() protoreflect.Message
func (*UserListResp) Reset ¶
func (x *UserListResp) Reset()
func (*UserListResp) String ¶
func (x *UserListResp) String() string
type UsernameReq ¶ added in v0.2.4
type UsernameReq struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*UsernameReq) Descriptor
deprecated
added in
v0.2.4
func (*UsernameReq) Descriptor() ([]byte, []int)
Deprecated: Use UsernameReq.ProtoReflect.Descriptor instead.
func (*UsernameReq) GetUsername ¶ added in v0.2.4
func (x *UsernameReq) GetUsername() string
func (*UsernameReq) ProtoMessage ¶ added in v0.2.4
func (*UsernameReq) ProtoMessage()
func (*UsernameReq) ProtoReflect ¶ added in v0.2.4
func (x *UsernameReq) ProtoReflect() protoreflect.Message
func (*UsernameReq) Reset ¶ added in v0.2.4
func (x *UsernameReq) Reset()
func (*UsernameReq) String ¶ added in v0.2.4
func (x *UsernameReq) String() string