Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterArticlesServer(s grpc.ServiceRegistrar, srv ArticlesServer)
- func RegisterAttrsServer(s grpc.ServiceRegistrar, srv AttrsServer)
- func RegisterAutowpServer(s grpc.ServiceRegistrar, srv AutowpServer)
- func RegisterCommentsServer(s grpc.ServiceRegistrar, srv CommentsServer)
- func RegisterContactsServer(s grpc.ServiceRegistrar, srv ContactsServer)
- func RegisterDonationsServer(s grpc.ServiceRegistrar, srv DonationsServer)
- func RegisterForumsServer(s grpc.ServiceRegistrar, srv ForumsServer)
- func RegisterItemsServer(s grpc.ServiceRegistrar, srv ItemsServer)
- func RegisterMapServer(s grpc.ServiceRegistrar, srv MapServer)
- func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)
- func RegisterPicturesServer(s grpc.ServiceRegistrar, srv PicturesServer)
- func RegisterRatingServer(s grpc.ServiceRegistrar, srv RatingServer)
- func RegisterStatisticsServer(s grpc.ServiceRegistrar, srv StatisticsServer)
- func RegisterTextServer(s grpc.ServiceRegistrar, srv TextServer)
- func RegisterTrafficServer(s grpc.ServiceRegistrar, srv TrafficServer)
- func RegisterUsersServer(s grpc.ServiceRegistrar, srv UsersServer)
- type APIBanItem
- func (*APIBanItem) Descriptor() ([]byte, []int)deprecated
- func (x *APIBanItem) GetByUser() *APIUser
- func (x *APIBanItem) GetByUserId() int64
- func (x *APIBanItem) GetReason() string
- func (x *APIBanItem) GetUntil() *timestamppb.Timestamp
- func (*APIBanItem) ProtoMessage()
- func (x *APIBanItem) ProtoReflect() protoreflect.Message
- func (x *APIBanItem) Reset()
- func (x *APIBanItem) String() string
- type APICommentMessage
- func (*APICommentMessage) Descriptor() ([]byte, []int)deprecated
- func (x *APICommentMessage) GetCreatedAt() *timestamppb.Timestamp
- func (x *APICommentMessage) GetId() int64
- func (x *APICommentMessage) GetUserId() int64
- func (*APICommentMessage) ProtoMessage()
- func (x *APICommentMessage) ProtoReflect() protoreflect.Message
- func (x *APICommentMessage) Reset()
- func (x *APICommentMessage) String() string
- type APICommentsMessage
- func (*APICommentsMessage) Descriptor() ([]byte, []int)deprecated
- func (x *APICommentsMessage) GetAuthorId() int64
- func (x *APICommentsMessage) GetCreatedAt() *timestamppb.Timestamp
- func (x *APICommentsMessage) GetDeleted() bool
- func (x *APICommentsMessage) GetId() int64
- func (x *APICommentsMessage) GetIp() string
- func (x *APICommentsMessage) GetIsNew() bool
- func (x *APICommentsMessage) GetItemId() int64
- func (x *APICommentsMessage) GetModeratorAttention() ModeratorAttention
- func (x *APICommentsMessage) GetParentId() int64
- func (x *APICommentsMessage) GetPictureStatus() PictureStatus
- func (x *APICommentsMessage) GetPreview() string
- func (x *APICommentsMessage) GetReplies() []*APICommentsMessage
- func (x *APICommentsMessage) GetRoute() []string
- func (x *APICommentsMessage) GetText() string
- func (x *APICommentsMessage) GetTypeId() CommentsType
- func (x *APICommentsMessage) GetUserVote() int32
- func (x *APICommentsMessage) GetVote() int32
- func (*APICommentsMessage) ProtoMessage()
- func (x *APICommentsMessage) ProtoReflect() protoreflect.Message
- func (x *APICommentsMessage) Reset()
- func (x *APICommentsMessage) String() string
- type APICommentsMessagePage
- func (*APICommentsMessagePage) Descriptor() ([]byte, []int)deprecated
- func (x *APICommentsMessagePage) GetItemId() int64
- func (x *APICommentsMessagePage) GetPage() int32
- func (x *APICommentsMessagePage) GetTypeId() CommentsType
- func (*APICommentsMessagePage) ProtoMessage()
- func (x *APICommentsMessagePage) ProtoReflect() protoreflect.Message
- func (x *APICommentsMessagePage) Reset()
- func (x *APICommentsMessagePage) String() string
- type APICommentsMessages
- func (*APICommentsMessages) Descriptor() ([]byte, []int)deprecated
- func (x *APICommentsMessages) GetItems() []*APICommentsMessage
- func (x *APICommentsMessages) GetPaginator() *Pages
- func (*APICommentsMessages) ProtoMessage()
- func (x *APICommentsMessages) ProtoReflect() protoreflect.Message
- func (x *APICommentsMessages) Reset()
- func (x *APICommentsMessages) String() string
- type APIContentLanguages
- func (*APIContentLanguages) Descriptor() ([]byte, []int)deprecated
- func (x *APIContentLanguages) GetLanguages() []string
- func (*APIContentLanguages) ProtoMessage()
- func (x *APIContentLanguages) ProtoReflect() protoreflect.Message
- func (x *APIContentLanguages) Reset()
- func (x *APIContentLanguages) String() string
- type APICreateFeedbackRequest
- func (*APICreateFeedbackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APICreateFeedbackRequest) GetCaptcha() string
- func (x *APICreateFeedbackRequest) GetEmail() string
- func (x *APICreateFeedbackRequest) GetMessage() string
- func (x *APICreateFeedbackRequest) GetName() string
- func (*APICreateFeedbackRequest) ProtoMessage()
- func (x *APICreateFeedbackRequest) ProtoReflect() protoreflect.Message
- func (x *APICreateFeedbackRequest) Reset()
- func (x *APICreateFeedbackRequest) String() string
- type APICreateItemLinkResponse
- func (*APICreateItemLinkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APICreateItemLinkResponse) GetId() int64
- func (*APICreateItemLinkResponse) ProtoMessage()
- func (x *APICreateItemLinkResponse) ProtoReflect() protoreflect.Message
- func (x *APICreateItemLinkResponse) Reset()
- func (x *APICreateItemLinkResponse) String() string
- type APICreateTopicRequest
- func (*APICreateTopicRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APICreateTopicRequest) GetMessage() string
- func (x *APICreateTopicRequest) GetModeratorAttention() bool
- func (x *APICreateTopicRequest) GetName() string
- func (x *APICreateTopicRequest) GetSubscription() bool
- func (x *APICreateTopicRequest) GetThemeId() int64
- func (*APICreateTopicRequest) ProtoMessage()
- func (x *APICreateTopicRequest) ProtoReflect() protoreflect.Message
- func (x *APICreateTopicRequest) Reset()
- func (x *APICreateTopicRequest) String() string
- func (s *APICreateTopicRequest) Validate(ctx context.Context, commentsRepository *comments.Repository, userID int64) ([]*errdetails.BadRequest_FieldViolation, error)
- type APICreateTopicResponse
- func (*APICreateTopicResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APICreateTopicResponse) GetId() int64
- func (*APICreateTopicResponse) ProtoMessage()
- func (x *APICreateTopicResponse) ProtoReflect() protoreflect.Message
- func (x *APICreateTopicResponse) Reset()
- func (x *APICreateTopicResponse) String() string
- type APIDeleteUserRequest
- func (*APIDeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIDeleteUserRequest) GetPassword() string
- func (x *APIDeleteUserRequest) GetUserId() int64
- func (*APIDeleteUserRequest) ProtoMessage()
- func (x *APIDeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *APIDeleteUserRequest) Reset()
- func (x *APIDeleteUserRequest) String() string
- type APIForumsTheme
- func (*APIForumsTheme) Descriptor() ([]byte, []int)deprecated
- func (x *APIForumsTheme) GetDescription() string
- func (x *APIForumsTheme) GetDisableTopics() bool
- func (x *APIForumsTheme) GetId() int64
- func (x *APIForumsTheme) GetMessagesCount() int32
- func (x *APIForumsTheme) GetName() string
- func (x *APIForumsTheme) GetTopicsCount() int32
- func (*APIForumsTheme) ProtoMessage()
- func (x *APIForumsTheme) ProtoReflect() protoreflect.Message
- func (x *APIForumsTheme) Reset()
- func (x *APIForumsTheme) String() string
- type APIForumsThemes
- type APIForumsTopic
- func (*APIForumsTopic) Descriptor() ([]byte, []int)deprecated
- func (x *APIForumsTopic) GetCreatedAt() *timestamppb.Timestamp
- func (x *APIForumsTopic) GetId() int64
- func (x *APIForumsTopic) GetName() string
- func (x *APIForumsTopic) GetNewMessages() int32
- func (x *APIForumsTopic) GetOldMessages() int32
- func (x *APIForumsTopic) GetStatus() string
- func (x *APIForumsTopic) GetSubscription() bool
- func (x *APIForumsTopic) GetThemeId() int64
- func (x *APIForumsTopic) GetUserId() int64
- func (*APIForumsTopic) ProtoMessage()
- func (x *APIForumsTopic) ProtoReflect() protoreflect.Message
- func (x *APIForumsTopic) Reset()
- func (x *APIForumsTopic) String() string
- type APIForumsTopics
- func (*APIForumsTopics) Descriptor() ([]byte, []int)deprecated
- func (x *APIForumsTopics) GetItems() []*APIForumsTopic
- func (x *APIForumsTopics) GetPaginator() *Pages
- func (*APIForumsTopics) ProtoMessage()
- func (x *APIForumsTopics) ProtoReflect() protoreflect.Message
- func (x *APIForumsTopics) Reset()
- func (x *APIForumsTopics) String() string
- type APIForumsUserSummary
- func (*APIForumsUserSummary) Descriptor() ([]byte, []int)deprecated
- func (x *APIForumsUserSummary) GetSubscriptionsCount() int32
- func (*APIForumsUserSummary) ProtoMessage()
- func (x *APIForumsUserSummary) ProtoReflect() protoreflect.Message
- func (x *APIForumsUserSummary) Reset()
- func (x *APIForumsUserSummary) String() string
- type APIGetForumsThemeRequest
- func (*APIGetForumsThemeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetForumsThemeRequest) GetId() int64
- func (*APIGetForumsThemeRequest) ProtoMessage()
- func (x *APIGetForumsThemeRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetForumsThemeRequest) Reset()
- func (x *APIGetForumsThemeRequest) String() string
- type APIGetForumsThemesRequest
- func (*APIGetForumsThemesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetForumsThemesRequest) GetThemeId() int64
- func (*APIGetForumsThemesRequest) ProtoMessage()
- func (x *APIGetForumsThemesRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetForumsThemesRequest) Reset()
- func (x *APIGetForumsThemesRequest) String() string
- type APIGetForumsTopicRequest
- func (*APIGetForumsTopicRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetForumsTopicRequest) GetId() int64
- func (*APIGetForumsTopicRequest) ProtoMessage()
- func (x *APIGetForumsTopicRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetForumsTopicRequest) Reset()
- func (x *APIGetForumsTopicRequest) String() string
- type APIGetForumsTopicsRequest
- func (*APIGetForumsTopicsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetForumsTopicsRequest) GetPage() int32
- func (x *APIGetForumsTopicsRequest) GetSubscription() bool
- func (x *APIGetForumsTopicsRequest) GetThemeId() int64
- func (*APIGetForumsTopicsRequest) ProtoMessage()
- func (x *APIGetForumsTopicsRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetForumsTopicsRequest) Reset()
- func (x *APIGetForumsTopicsRequest) String() string
- type APIGetIPRequest
- func (*APIGetIPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetIPRequest) GetFields() []string
- func (x *APIGetIPRequest) GetIp() string
- func (*APIGetIPRequest) ProtoMessage()
- func (x *APIGetIPRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetIPRequest) Reset()
- func (x *APIGetIPRequest) String() string
- type APIGetItemLanguagesRequest
- func (*APIGetItemLanguagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetItemLanguagesRequest) GetItemId() int64
- func (*APIGetItemLanguagesRequest) ProtoMessage()
- func (x *APIGetItemLanguagesRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetItemLanguagesRequest) Reset()
- func (x *APIGetItemLanguagesRequest) String() string
- type APIGetItemLinksRequest
- func (*APIGetItemLinksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetItemLinksRequest) GetItemId() int64
- func (*APIGetItemLinksRequest) ProtoMessage()
- func (x *APIGetItemLinksRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetItemLinksRequest) Reset()
- func (x *APIGetItemLinksRequest) String() string
- type APIGetItemParentLanguagesRequest
- func (*APIGetItemParentLanguagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetItemParentLanguagesRequest) GetItemId() int64
- func (x *APIGetItemParentLanguagesRequest) GetParentId() int64
- func (*APIGetItemParentLanguagesRequest) ProtoMessage()
- func (x *APIGetItemParentLanguagesRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetItemParentLanguagesRequest) Reset()
- func (x *APIGetItemParentLanguagesRequest) String() string
- type APIGetItemVehicleTypesRequest
- func (*APIGetItemVehicleTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetItemVehicleTypesRequest) GetItemId() int64
- func (x *APIGetItemVehicleTypesRequest) GetVehicleTypeId() int64
- func (*APIGetItemVehicleTypesRequest) ProtoMessage()
- func (x *APIGetItemVehicleTypesRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetItemVehicleTypesRequest) Reset()
- func (x *APIGetItemVehicleTypesRequest) String() string
- type APIGetItemVehicleTypesResponse
- func (*APIGetItemVehicleTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetItemVehicleTypesResponse) GetItems() []*APIItemVehicleType
- func (*APIGetItemVehicleTypesResponse) ProtoMessage()
- func (x *APIGetItemVehicleTypesResponse) ProtoReflect() protoreflect.Message
- func (x *APIGetItemVehicleTypesResponse) Reset()
- func (x *APIGetItemVehicleTypesResponse) String() string
- type APIGetTextRequest
- func (*APIGetTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetTextRequest) GetId() int64
- func (x *APIGetTextRequest) GetRevision() int64
- func (*APIGetTextRequest) ProtoMessage()
- func (x *APIGetTextRequest) ProtoReflect() protoreflect.Message
- func (x *APIGetTextRequest) Reset()
- func (x *APIGetTextRequest) String() string
- type APIGetTextResponse
- func (*APIGetTextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIGetTextResponse) GetCurrent() *TextRevision
- func (x *APIGetTextResponse) GetNext() *TextRevision
- func (x *APIGetTextResponse) GetPrev() *TextRevision
- func (*APIGetTextResponse) ProtoMessage()
- func (x *APIGetTextResponse) ProtoReflect() protoreflect.Message
- func (x *APIGetTextResponse) Reset()
- func (x *APIGetTextResponse) String() string
- type APIGetUserRequest
- type APIIP
- func (*APIIP) Descriptor() ([]byte, []int)deprecated
- func (x *APIIP) GetAddress() string
- func (x *APIIP) GetBlacklist() *APIBanItem
- func (x *APIIP) GetHostname() string
- func (x *APIIP) GetRights() *APIIPRights
- func (*APIIP) ProtoMessage()
- func (x *APIIP) ProtoReflect() protoreflect.Message
- func (x *APIIP) Reset()
- func (x *APIIP) String() string
- type APIIPRights
- func (*APIIPRights) Descriptor() ([]byte, []int)deprecated
- func (x *APIIPRights) GetAddToBlacklist() bool
- func (x *APIIPRights) GetRemoveFromBlacklist() bool
- func (*APIIPRights) ProtoMessage()
- func (x *APIIPRights) ProtoReflect() protoreflect.Message
- func (x *APIIPRights) Reset()
- func (x *APIIPRights) String() string
- type APIImage
- func (*APIImage) Descriptor() ([]byte, []int)deprecated
- func (x *APIImage) GetFilesize() int32
- func (x *APIImage) GetHeight() int32
- func (x *APIImage) GetId() int32
- func (x *APIImage) GetSrc() string
- func (x *APIImage) GetWidth() int32
- func (*APIImage) ProtoMessage()
- func (x *APIImage) ProtoReflect() protoreflect.Message
- func (x *APIImage) Reset()
- func (x *APIImage) String() string
- type APIItem
- func (*APIItem) Descriptor() ([]byte, []int)deprecated
- func (x *APIItem) GetCatname() string
- func (x *APIItem) GetChildsCount() int32
- func (x *APIItem) GetCommentsAttentionsCount() int32
- func (x *APIItem) GetCurrentPicturesCount() int32
- func (x *APIItem) GetDescendantTwinsGroupsCount() int32
- func (x *APIItem) GetDescendantsCount() int32
- func (x *APIItem) GetDescription() string
- func (x *APIItem) GetEngineItemId() int64
- func (x *APIItem) GetFullName() string
- func (x *APIItem) GetFullText() string
- func (x *APIItem) GetId() int64
- func (x *APIItem) GetInboxPicturesCount() int32
- func (x *APIItem) GetIsCompilesItemOfDay() bool
- func (x *APIItem) GetIsConcept() bool
- func (x *APIItem) GetIsConceptInherit() bool
- func (x *APIItem) GetItemTypeId() ItemType
- func (x *APIItem) GetLogo120() *APIImage
- func (x *APIItem) GetMostsActive() bool
- func (x *APIItem) GetNameHtml() string
- func (x *APIItem) GetNameOnly() string
- func (x *APIItem) GetNameText() string
- func (x *APIItem) GetSpecId() int64
- func (*APIItem) ProtoMessage()
- func (x *APIItem) ProtoReflect() protoreflect.Message
- func (x *APIItem) Reset()
- func (x *APIItem) String() string
- type APIItemLink
- func (*APIItemLink) Descriptor() ([]byte, []int)deprecated
- func (x *APIItemLink) GetId() int64
- func (x *APIItemLink) GetItemId() int64
- func (x *APIItemLink) GetName() string
- func (x *APIItemLink) GetType() string
- func (x *APIItemLink) GetUrl() string
- func (*APIItemLink) ProtoMessage()
- func (x *APIItemLink) ProtoReflect() protoreflect.Message
- func (x *APIItemLink) Reset()
- func (x *APIItemLink) String() string
- func (s *APIItemLink) Validate() ([]*errdetails.BadRequest_FieldViolation, error)
- type APIItemLinkRequest
- type APIItemLinksResponse
- func (*APIItemLinksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIItemLinksResponse) GetItems() []*APIItemLink
- func (*APIItemLinksResponse) ProtoMessage()
- func (x *APIItemLinksResponse) ProtoReflect() protoreflect.Message
- func (x *APIItemLinksResponse) Reset()
- func (x *APIItemLinksResponse) String() string
- type APIItemList
- func (*APIItemList) Descriptor() ([]byte, []int)deprecated
- func (x *APIItemList) GetItems() []*APIItem
- func (x *APIItemList) GetPaginator() *Pages
- func (*APIItemList) ProtoMessage()
- func (x *APIItemList) ProtoReflect() protoreflect.Message
- func (x *APIItemList) Reset()
- func (x *APIItemList) String() string
- type APIItemVehicleType
- func (*APIItemVehicleType) Descriptor() ([]byte, []int)deprecated
- func (x *APIItemVehicleType) GetItemId() int64
- func (x *APIItemVehicleType) GetVehicleTypeId() int64
- func (*APIItemVehicleType) ProtoMessage()
- func (x *APIItemVehicleType) ProtoReflect() protoreflect.Message
- func (x *APIItemVehicleType) Reset()
- func (x *APIItemVehicleType) String() string
- type APIItemVehicleTypeRequest
- func (*APIItemVehicleTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIItemVehicleTypeRequest) GetItemId() int64
- func (x *APIItemVehicleTypeRequest) GetVehicleTypeId() int64
- func (*APIItemVehicleTypeRequest) ProtoMessage()
- func (x *APIItemVehicleTypeRequest) ProtoReflect() protoreflect.Message
- func (x *APIItemVehicleTypeRequest) Reset()
- func (x *APIItemVehicleTypeRequest) String() string
- type APIMeRequest
- type APIMessage
- func (*APIMessage) Descriptor() ([]byte, []int)deprecated
- func (x *APIMessage) GetAllMessagesLink() bool
- func (x *APIMessage) GetAuthorId() int64
- func (x *APIMessage) GetCanDelete() bool
- func (x *APIMessage) GetCanReply() bool
- func (x *APIMessage) GetDate() *timestamppb.Timestamp
- func (x *APIMessage) GetDialogCount() int32
- func (x *APIMessage) GetDialogWithUserId() int64
- func (x *APIMessage) GetId() int64
- func (x *APIMessage) GetIsNew() bool
- func (x *APIMessage) GetText() string
- func (x *APIMessage) GetToUserId() int64
- func (*APIMessage) ProtoMessage()
- func (x *APIMessage) ProtoReflect() protoreflect.Message
- func (x *APIMessage) Reset()
- func (x *APIMessage) String() string
- type APIMessageNewCount
- func (*APIMessageNewCount) Descriptor() ([]byte, []int)deprecated
- func (x *APIMessageNewCount) GetCount() int32
- func (*APIMessageNewCount) ProtoMessage()
- func (x *APIMessageNewCount) ProtoReflect() protoreflect.Message
- func (x *APIMessageNewCount) Reset()
- func (x *APIMessageNewCount) String() string
- type APIMessageSummary
- func (*APIMessageSummary) Descriptor() ([]byte, []int)deprecated
- func (x *APIMessageSummary) GetInboxCount() int32
- func (x *APIMessageSummary) GetInboxNewCount() int32
- func (x *APIMessageSummary) GetSentCount() int32
- func (x *APIMessageSummary) GetSystemCount() int32
- func (x *APIMessageSummary) GetSystemNewCount() int32
- func (*APIMessageSummary) ProtoMessage()
- func (x *APIMessageSummary) ProtoReflect() protoreflect.Message
- func (x *APIMessageSummary) Reset()
- func (x *APIMessageSummary) String() string
- type APIMoveTopicRequest
- func (*APIMoveTopicRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIMoveTopicRequest) GetId() int64
- func (x *APIMoveTopicRequest) GetThemeId() int64
- func (*APIMoveTopicRequest) ProtoMessage()
- func (x *APIMoveTopicRequest) ProtoReflect() protoreflect.Message
- func (x *APIMoveTopicRequest) Reset()
- func (x *APIMoveTopicRequest) String() string
- type APISetTopicStatusRequest
- func (*APISetTopicStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APISetTopicStatusRequest) GetId() int64
- func (*APISetTopicStatusRequest) ProtoMessage()
- func (x *APISetTopicStatusRequest) ProtoReflect() protoreflect.Message
- func (x *APISetTopicStatusRequest) Reset()
- func (x *APISetTopicStatusRequest) String() string
- type APITopBrandsList
- func (*APITopBrandsList) Descriptor() ([]byte, []int)deprecated
- func (x *APITopBrandsList) GetBrands() []*APITopBrandsListItem
- func (x *APITopBrandsList) GetTotal() int32
- func (*APITopBrandsList) ProtoMessage()
- func (x *APITopBrandsList) ProtoReflect() protoreflect.Message
- func (x *APITopBrandsList) Reset()
- func (x *APITopBrandsList) String() string
- type APITopBrandsListItem
- func (*APITopBrandsListItem) Descriptor() ([]byte, []int)deprecated
- func (x *APITopBrandsListItem) GetCatname() string
- func (x *APITopBrandsListItem) GetId() int64
- func (x *APITopBrandsListItem) GetItemsCount() int32
- func (x *APITopBrandsListItem) GetName() string
- func (x *APITopBrandsListItem) GetNewItemsCount() int32
- func (*APITopBrandsListItem) ProtoMessage()
- func (x *APITopBrandsListItem) ProtoReflect() protoreflect.Message
- func (x *APITopBrandsListItem) Reset()
- func (x *APITopBrandsListItem) String() string
- type APITopCategoriesList
- func (*APITopCategoriesList) Descriptor() ([]byte, []int)deprecated
- func (x *APITopCategoriesList) GetItems() []*APITopCategoriesListItem
- func (*APITopCategoriesList) ProtoMessage()
- func (x *APITopCategoriesList) ProtoReflect() protoreflect.Message
- func (x *APITopCategoriesList) Reset()
- func (x *APITopCategoriesList) String() string
- type APITopCategoriesListItem
- func (*APITopCategoriesListItem) Descriptor() ([]byte, []int)deprecated
- func (x *APITopCategoriesListItem) GetCatname() string
- func (x *APITopCategoriesListItem) GetCount() int32
- func (x *APITopCategoriesListItem) GetId() int64
- func (x *APITopCategoriesListItem) GetName() string
- func (x *APITopCategoriesListItem) GetNewCount() int32
- func (*APITopCategoriesListItem) ProtoMessage()
- func (x *APITopCategoriesListItem) ProtoReflect() protoreflect.Message
- func (x *APITopCategoriesListItem) Reset()
- func (x *APITopCategoriesListItem) String() string
- type APITopFactoriesList
- func (*APITopFactoriesList) Descriptor() ([]byte, []int)deprecated
- func (x *APITopFactoriesList) GetItems() []*APITopFactoriesListItem
- func (*APITopFactoriesList) ProtoMessage()
- func (x *APITopFactoriesList) ProtoReflect() protoreflect.Message
- func (x *APITopFactoriesList) Reset()
- func (x *APITopFactoriesList) String() string
- type APITopFactoriesListItem
- func (*APITopFactoriesListItem) Descriptor() ([]byte, []int)deprecated
- func (x *APITopFactoriesListItem) GetCount() int32
- func (x *APITopFactoriesListItem) GetId() int64
- func (x *APITopFactoriesListItem) GetName() string
- func (x *APITopFactoriesListItem) GetNewCount() int32
- func (*APITopFactoriesListItem) ProtoMessage()
- func (x *APITopFactoriesListItem) ProtoReflect() protoreflect.Message
- func (x *APITopFactoriesListItem) Reset()
- func (x *APITopFactoriesListItem) String() string
- type APITopPersonsList
- func (*APITopPersonsList) Descriptor() ([]byte, []int)deprecated
- func (x *APITopPersonsList) GetItems() []*APITopPersonsListItem
- func (*APITopPersonsList) ProtoMessage()
- func (x *APITopPersonsList) ProtoReflect() protoreflect.Message
- func (x *APITopPersonsList) Reset()
- func (x *APITopPersonsList) String() string
- type APITopPersonsListItem
- func (*APITopPersonsListItem) Descriptor() ([]byte, []int)deprecated
- func (x *APITopPersonsListItem) GetId() int64
- func (x *APITopPersonsListItem) GetName() string
- func (*APITopPersonsListItem) ProtoMessage()
- func (x *APITopPersonsListItem) ProtoReflect() protoreflect.Message
- func (x *APITopPersonsListItem) Reset()
- func (x *APITopPersonsListItem) String() string
- type APITopTwinsBrandsList
- func (*APITopTwinsBrandsList) Descriptor() ([]byte, []int)deprecated
- func (x *APITopTwinsBrandsList) GetCount() int32
- func (x *APITopTwinsBrandsList) GetItems() []*APITwinsBrandsListItem
- func (*APITopTwinsBrandsList) ProtoMessage()
- func (x *APITopTwinsBrandsList) ProtoReflect() protoreflect.Message
- func (x *APITopTwinsBrandsList) Reset()
- func (x *APITopTwinsBrandsList) String() string
- type APITrafficTopItem
- func (*APITrafficTopItem) Descriptor() ([]byte, []int)deprecated
- func (x *APITrafficTopItem) GetBan() *APIBanItem
- func (x *APITrafficTopItem) GetCount() int32
- func (x *APITrafficTopItem) GetInWhitelist() bool
- func (x *APITrafficTopItem) GetIp() string
- func (x *APITrafficTopItem) GetWhoisUrl() string
- func (*APITrafficTopItem) ProtoMessage()
- func (x *APITrafficTopItem) ProtoReflect() protoreflect.Message
- func (x *APITrafficTopItem) Reset()
- func (x *APITrafficTopItem) String() string
- type APITrafficTopResponse
- func (*APITrafficTopResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APITrafficTopResponse) GetItems() []*APITrafficTopItem
- func (*APITrafficTopResponse) ProtoMessage()
- func (x *APITrafficTopResponse) ProtoReflect() protoreflect.Message
- func (x *APITrafficTopResponse) Reset()
- func (x *APITrafficTopResponse) String() string
- type APITrafficWhitelistItem
- func (*APITrafficWhitelistItem) Descriptor() ([]byte, []int)deprecated
- func (x *APITrafficWhitelistItem) GetDescription() string
- func (x *APITrafficWhitelistItem) GetIp() string
- func (*APITrafficWhitelistItem) ProtoMessage()
- func (x *APITrafficWhitelistItem) ProtoReflect() protoreflect.Message
- func (x *APITrafficWhitelistItem) Reset()
- func (x *APITrafficWhitelistItem) String() string
- type APITrafficWhitelistItems
- func (*APITrafficWhitelistItems) Descriptor() ([]byte, []int)deprecated
- func (x *APITrafficWhitelistItems) GetItems() []*APITrafficWhitelistItem
- func (*APITrafficWhitelistItems) ProtoMessage()
- func (x *APITrafficWhitelistItems) ProtoReflect() protoreflect.Message
- func (x *APITrafficWhitelistItems) Reset()
- func (x *APITrafficWhitelistItems) String() string
- type APITreeItem
- func (*APITreeItem) Descriptor() ([]byte, []int)deprecated
- func (x *APITreeItem) GetChilds() []*APITreeItem
- func (x *APITreeItem) GetId() string
- func (x *APITreeItem) GetName() string
- func (x *APITreeItem) GetType() int32
- func (*APITreeItem) ProtoMessage()
- func (x *APITreeItem) ProtoReflect() protoreflect.Message
- func (x *APITreeItem) Reset()
- func (x *APITreeItem) String() string
- type APITwinsBrandsList
- func (*APITwinsBrandsList) Descriptor() ([]byte, []int)deprecated
- func (x *APITwinsBrandsList) GetItems() []*APITwinsBrandsListItem
- func (*APITwinsBrandsList) ProtoMessage()
- func (x *APITwinsBrandsList) ProtoReflect() protoreflect.Message
- func (x *APITwinsBrandsList) Reset()
- func (x *APITwinsBrandsList) String() string
- type APITwinsBrandsListItem
- func (*APITwinsBrandsListItem) Descriptor() ([]byte, []int)deprecated
- func (x *APITwinsBrandsListItem) GetCatname() string
- func (x *APITwinsBrandsListItem) GetCount() int32
- func (x *APITwinsBrandsListItem) GetId() int64
- func (x *APITwinsBrandsListItem) GetName() string
- func (x *APITwinsBrandsListItem) GetNewCount() int32
- func (*APITwinsBrandsListItem) ProtoMessage()
- func (x *APITwinsBrandsListItem) ProtoReflect() protoreflect.Message
- func (x *APITwinsBrandsListItem) Reset()
- func (x *APITwinsBrandsListItem) String() string
- type APIUser
- func (*APIUser) Descriptor() ([]byte, []int)deprecated
- func (x *APIUser) GetAvatar() *APIImage
- func (x *APIUser) GetDeleted() bool
- func (x *APIUser) GetGravatar() string
- func (x *APIUser) GetGreen() bool
- func (x *APIUser) GetId() int64
- func (x *APIUser) GetIdentity() string
- func (x *APIUser) GetLastOnline() *timestamppb.Timestamp
- func (x *APIUser) GetLongAway() bool
- func (x *APIUser) GetName() string
- func (x *APIUser) GetRoute() []string
- func (x *APIUser) GetSpecsWeight() float64
- func (*APIUser) ProtoMessage()
- func (x *APIUser) ProtoReflect() protoreflect.Message
- func (x *APIUser) Reset()
- func (x *APIUser) String() string
- type APIUserPreferencesRequest
- func (*APIUserPreferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIUserPreferencesRequest) GetUserId() int64
- func (*APIUserPreferencesRequest) ProtoMessage()
- func (x *APIUserPreferencesRequest) ProtoReflect() protoreflect.Message
- func (x *APIUserPreferencesRequest) Reset()
- func (x *APIUserPreferencesRequest) String() string
- type APIUserPreferencesResponse
- func (*APIUserPreferencesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIUserPreferencesResponse) GetDisableCommentsNotifications() bool
- func (*APIUserPreferencesResponse) ProtoMessage()
- func (x *APIUserPreferencesResponse) ProtoReflect() protoreflect.Message
- func (x *APIUserPreferencesResponse) Reset()
- func (x *APIUserPreferencesResponse) String() string
- type APIUsersRatingResponse
- func (*APIUsersRatingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIUsersRatingResponse) GetUsers() []*APIUsersRatingUser
- func (*APIUsersRatingResponse) ProtoMessage()
- func (x *APIUsersRatingResponse) ProtoReflect() protoreflect.Message
- func (x *APIUsersRatingResponse) Reset()
- func (x *APIUsersRatingResponse) String() string
- type APIUsersRatingUser
- func (*APIUsersRatingUser) Descriptor() ([]byte, []int)deprecated
- func (x *APIUsersRatingUser) GetUserId() int64
- func (x *APIUsersRatingUser) GetVolume() int64
- func (x *APIUsersRatingUser) GetWeight() float64
- func (*APIUsersRatingUser) ProtoMessage()
- func (x *APIUsersRatingUser) ProtoReflect() protoreflect.Message
- func (x *APIUsersRatingUser) Reset()
- func (x *APIUsersRatingUser) String() string
- type APIUsersRatingUserBrand
- func (*APIUsersRatingUserBrand) Descriptor() ([]byte, []int)deprecated
- func (x *APIUsersRatingUserBrand) GetName() string
- func (x *APIUsersRatingUserBrand) GetRoute() []string
- func (x *APIUsersRatingUserBrand) GetVolume() int64
- func (*APIUsersRatingUserBrand) ProtoMessage()
- func (x *APIUsersRatingUserBrand) ProtoReflect() protoreflect.Message
- func (x *APIUsersRatingUserBrand) Reset()
- func (x *APIUsersRatingUserBrand) String() string
- type APIUsersRatingUserFan
- func (*APIUsersRatingUserFan) Descriptor() ([]byte, []int)deprecated
- func (x *APIUsersRatingUserFan) GetUserId() int64
- func (x *APIUsersRatingUserFan) GetVolume() int64
- func (*APIUsersRatingUserFan) ProtoMessage()
- func (x *APIUsersRatingUserFan) ProtoReflect() protoreflect.Message
- func (x *APIUsersRatingUserFan) Reset()
- func (x *APIUsersRatingUserFan) String() string
- type APIUsersRequest
- func (*APIUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIUsersRequest) GetIsOnline() bool
- func (x *APIUsersRequest) GetLimit() uint64
- func (x *APIUsersRequest) GetPage() uint64
- func (*APIUsersRequest) ProtoMessage()
- func (x *APIUsersRequest) ProtoReflect() protoreflect.Message
- func (x *APIUsersRequest) Reset()
- func (x *APIUsersRequest) String() string
- type APIUsersResponse
- func (*APIUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIUsersResponse) GetItems() []*APIUser
- func (x *APIUsersResponse) GetPaginator() *Pages
- func (*APIUsersResponse) ProtoMessage()
- func (x *APIUsersResponse) ProtoReflect() protoreflect.Message
- func (x *APIUsersResponse) Reset()
- func (x *APIUsersResponse) String() string
- type AboutDataResponse
- func (*AboutDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AboutDataResponse) GetBeTranslator() string
- func (x *AboutDataResponse) GetContributors() []string
- func (x *AboutDataResponse) GetDeveloper() string
- func (x *AboutDataResponse) GetFrTranslator() string
- func (x *AboutDataResponse) GetPicturesSize() int32
- func (x *AboutDataResponse) GetPtBrTranslator() string
- func (x *AboutDataResponse) GetTotalComments() int32
- func (x *AboutDataResponse) GetTotalItems() int32
- func (x *AboutDataResponse) GetTotalPictures() int32
- func (x *AboutDataResponse) GetTotalUsers() int32
- func (x *AboutDataResponse) GetZhTranslator() string
- func (*AboutDataResponse) ProtoMessage()
- func (x *AboutDataResponse) ProtoReflect() protoreflect.Message
- func (x *AboutDataResponse) Reset()
- func (x *AboutDataResponse) String() string
- type AclEnforceRequest
- func (*AclEnforceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AclEnforceRequest) GetPrivilege() string
- func (x *AclEnforceRequest) GetResource() string
- func (*AclEnforceRequest) ProtoMessage()
- func (x *AclEnforceRequest) ProtoReflect() protoreflect.Message
- func (x *AclEnforceRequest) Reset()
- func (x *AclEnforceRequest) String() string
- type AclEnforceResult
- type AddCommentRequest
- func (*AddCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddCommentRequest) GetItemId() int64
- func (x *AddCommentRequest) GetMessage() string
- func (x *AddCommentRequest) GetModeratorAttention() bool
- func (x *AddCommentRequest) GetParentId() int64
- func (x *AddCommentRequest) GetResolve() bool
- func (x *AddCommentRequest) GetTypeId() CommentsType
- func (*AddCommentRequest) ProtoMessage()
- func (x *AddCommentRequest) ProtoReflect() protoreflect.Message
- func (x *AddCommentRequest) Reset()
- func (x *AddCommentRequest) String() string
- func (s *AddCommentRequest) Validate(ctx context.Context, repository *comments.Repository, userID int64) ([]*errdetails.BadRequest_FieldViolation, error)
- type AddCommentResponse
- type AddToTrafficBlacklistRequest
- func (*AddToTrafficBlacklistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddToTrafficBlacklistRequest) GetIp() string
- func (x *AddToTrafficBlacklistRequest) GetPeriod() int32
- func (x *AddToTrafficBlacklistRequest) GetReason() string
- func (*AddToTrafficBlacklistRequest) ProtoMessage()
- func (x *AddToTrafficBlacklistRequest) ProtoReflect() protoreflect.Message
- func (x *AddToTrafficBlacklistRequest) Reset()
- func (x *AddToTrafficBlacklistRequest) String() string
- type AddToTrafficWhitelistRequest
- func (*AddToTrafficWhitelistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddToTrafficWhitelistRequest) GetIp() string
- func (*AddToTrafficWhitelistRequest) ProtoMessage()
- func (x *AddToTrafficWhitelistRequest) ProtoReflect() protoreflect.Message
- func (x *AddToTrafficWhitelistRequest) Reset()
- func (x *AddToTrafficWhitelistRequest) String() string
- type Application
- func (s *Application) Autoban(ctx context.Context, quit chan bool) error
- func (s *Application) Close() error
- func (s *Application) ExportUsersToKeycloak(ctx context.Context) error
- func (s *Application) GenerateIndexCache(ctx context.Context) error
- func (s *Application) ImageStorageGetFormattedImage(ctx context.Context, imageID int, format string) (*APIImage, error)
- func (s *Application) ImageStorageGetImage(ctx context.Context, imageID int) (*APIImage, error)
- func (s *Application) ImageStorageListBrokenImages(ctx context.Context, dir string) error
- func (s *Application) ImageStorageListUnlinkedObjects(ctx context.Context, dir string) error
- func (s *Application) ListenDuplicateFinderAMQP(ctx context.Context, quit chan bool) error
- func (s *Application) ListenMonitoringAMQP(ctx context.Context, quit chan bool) error
- func (s *Application) MigrateAutowp(_ context.Context) error
- func (s *Application) MigratePostgres(_ context.Context) error
- func (s *Application) SchedulerDaily(ctx context.Context) error
- func (s *Application) SchedulerHourly(ctx context.Context) error
- func (s *Application) SchedulerMidnight(ctx context.Context) error
- func (s *Application) ServeGRPC(quit chan bool) error
- func (s *Application) ServePrivate(ctx context.Context, quit chan bool) error
- func (s *Application) ServePublic(ctx context.Context, quit chan bool) error
- type Article
- func (*Article) Descriptor() ([]byte, []int)deprecated
- func (x *Article) GetAuthorId() int64
- func (x *Article) GetCatname() string
- func (x *Article) GetDate() *timestamppb.Timestamp
- func (x *Article) GetDescription() string
- func (x *Article) GetHtml() string
- func (x *Article) GetId() int64
- func (x *Article) GetName() string
- func (x *Article) GetPreviewUrl() string
- func (*Article) ProtoMessage()
- func (x *Article) ProtoReflect() protoreflect.Message
- func (x *Article) Reset()
- func (x *Article) String() string
- type ArticleByCatnameRequest
- func (*ArticleByCatnameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArticleByCatnameRequest) GetCatname() string
- func (*ArticleByCatnameRequest) ProtoMessage()
- func (x *ArticleByCatnameRequest) ProtoReflect() protoreflect.Message
- func (x *ArticleByCatnameRequest) Reset()
- func (x *ArticleByCatnameRequest) String() string
- type ArticlesClient
- type ArticlesGRPCServer
- type ArticlesRequest
- func (*ArticlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArticlesRequest) GetLimit() uint64
- func (x *ArticlesRequest) GetPage() uint64
- func (*ArticlesRequest) ProtoMessage()
- func (x *ArticlesRequest) ProtoReflect() protoreflect.Message
- func (x *ArticlesRequest) Reset()
- func (x *ArticlesRequest) String() string
- type ArticlesResponse
- func (*ArticlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArticlesResponse) GetItems() []*Article
- func (x *ArticlesResponse) GetPaginator() *Pages
- func (*ArticlesResponse) ProtoMessage()
- func (x *ArticlesResponse) ProtoReflect() protoreflect.Message
- func (x *ArticlesResponse) Reset()
- func (x *ArticlesResponse) String() string
- type ArticlesServer
- type AttrAttribute
- func (*AttrAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *AttrAttribute) GetDescription() string
- func (x *AttrAttribute) GetId() int64
- func (x *AttrAttribute) GetIsMultiple() bool
- func (x *AttrAttribute) GetName() string
- func (x *AttrAttribute) GetParentId() int64
- func (x *AttrAttribute) GetPrecision() int32
- func (x *AttrAttribute) GetTypeId() AttrAttributeType_ID
- func (x *AttrAttribute) GetUnitId() int64
- func (*AttrAttribute) ProtoMessage()
- func (x *AttrAttribute) ProtoReflect() protoreflect.Message
- func (x *AttrAttribute) Reset()
- func (x *AttrAttribute) String() string
- type AttrAttributeID
- type AttrAttributeType
- func (*AttrAttributeType) Descriptor() ([]byte, []int)deprecated
- func (x *AttrAttributeType) GetId() AttrAttributeType_ID
- func (x *AttrAttributeType) GetName() string
- func (*AttrAttributeType) ProtoMessage()
- func (x *AttrAttributeType) ProtoReflect() protoreflect.Message
- func (x *AttrAttributeType) Reset()
- func (x *AttrAttributeType) String() string
- type AttrAttributeType_ID
- func (AttrAttributeType_ID) Descriptor() protoreflect.EnumDescriptor
- func (x AttrAttributeType_ID) Enum() *AttrAttributeType_ID
- func (AttrAttributeType_ID) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttrAttributeType_ID) Number() protoreflect.EnumNumber
- func (x AttrAttributeType_ID) String() string
- func (AttrAttributeType_ID) Type() protoreflect.EnumType
- type AttrAttributeTypesResponse
- func (*AttrAttributeTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttrAttributeTypesResponse) GetItems() []*AttrAttributeType
- func (*AttrAttributeTypesResponse) ProtoMessage()
- func (x *AttrAttributeTypesResponse) ProtoReflect() protoreflect.Message
- func (x *AttrAttributeTypesResponse) Reset()
- func (x *AttrAttributeTypesResponse) String() string
- type AttrAttributesRequest
- func (*AttrAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttrAttributesRequest) GetParentId() int64
- func (x *AttrAttributesRequest) GetZoneId() int64
- func (*AttrAttributesRequest) ProtoMessage()
- func (x *AttrAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *AttrAttributesRequest) Reset()
- func (x *AttrAttributesRequest) String() string
- type AttrAttributesResponse
- func (*AttrAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttrAttributesResponse) GetItems() []*AttrAttribute
- func (*AttrAttributesResponse) ProtoMessage()
- func (x *AttrAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *AttrAttributesResponse) Reset()
- func (x *AttrAttributesResponse) String() string
- type AttrListOption
- func (*AttrListOption) Descriptor() ([]byte, []int)deprecated
- func (x *AttrListOption) GetAttributeId() int64
- func (x *AttrListOption) GetId() int64
- func (x *AttrListOption) GetName() string
- func (x *AttrListOption) GetParentId() int64
- func (*AttrListOption) ProtoMessage()
- func (x *AttrListOption) ProtoReflect() protoreflect.Message
- func (x *AttrListOption) Reset()
- func (x *AttrListOption) String() string
- type AttrListOptionsRequest
- func (*AttrListOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttrListOptionsRequest) GetAttributeId() int64
- func (*AttrListOptionsRequest) ProtoMessage()
- func (x *AttrListOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *AttrListOptionsRequest) Reset()
- func (x *AttrListOptionsRequest) String() string
- type AttrListOptionsResponse
- func (*AttrListOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttrListOptionsResponse) GetItems() []*AttrListOption
- func (*AttrListOptionsResponse) ProtoMessage()
- func (x *AttrListOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *AttrListOptionsResponse) Reset()
- func (x *AttrListOptionsResponse) String() string
- type AttrUnit
- func (*AttrUnit) Descriptor() ([]byte, []int)deprecated
- func (x *AttrUnit) GetAbbr() string
- func (x *AttrUnit) GetId() int64
- func (x *AttrUnit) GetName() string
- func (*AttrUnit) ProtoMessage()
- func (x *AttrUnit) ProtoReflect() protoreflect.Message
- func (x *AttrUnit) Reset()
- func (x *AttrUnit) String() string
- type AttrUnitsResponse
- func (*AttrUnitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttrUnitsResponse) GetItems() []*AttrUnit
- func (*AttrUnitsResponse) ProtoMessage()
- func (x *AttrUnitsResponse) ProtoReflect() protoreflect.Message
- func (x *AttrUnitsResponse) Reset()
- func (x *AttrUnitsResponse) String() string
- type AttrZone
- type AttrZoneAttribute
- func (*AttrZoneAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *AttrZoneAttribute) GetAttributeId() int64
- func (x *AttrZoneAttribute) GetZoneId() int64
- func (*AttrZoneAttribute) ProtoMessage()
- func (x *AttrZoneAttribute) ProtoReflect() protoreflect.Message
- func (x *AttrZoneAttribute) Reset()
- func (x *AttrZoneAttribute) String() string
- type AttrZoneAttributesRequest
- func (*AttrZoneAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttrZoneAttributesRequest) GetZoneId() int64
- func (*AttrZoneAttributesRequest) ProtoMessage()
- func (x *AttrZoneAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *AttrZoneAttributesRequest) Reset()
- func (x *AttrZoneAttributesRequest) String() string
- type AttrZoneAttributesResponse
- func (*AttrZoneAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttrZoneAttributesResponse) GetItems() []*AttrZoneAttribute
- func (*AttrZoneAttributesResponse) ProtoMessage()
- func (x *AttrZoneAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *AttrZoneAttributesResponse) Reset()
- func (x *AttrZoneAttributesResponse) String() string
- type AttrZonesResponse
- func (*AttrZonesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttrZonesResponse) GetItems() []*AttrZone
- func (*AttrZonesResponse) ProtoMessage()
- func (x *AttrZonesResponse) ProtoReflect() protoreflect.Message
- func (x *AttrZonesResponse) Reset()
- func (x *AttrZonesResponse) String() string
- type AttrsClient
- type AttrsGRPCServer
- func (s *AttrsGRPCServer) GetAttribute(ctx context.Context, in *AttrAttributeID) (*AttrAttribute, error)
- func (s *AttrsGRPCServer) GetAttributeTypes(ctx context.Context, _ *emptypb.Empty) (*AttrAttributeTypesResponse, error)
- func (s *AttrsGRPCServer) GetAttributes(ctx context.Context, in *AttrAttributesRequest) (*AttrAttributesResponse, error)
- func (s *AttrsGRPCServer) GetListOptions(ctx context.Context, in *AttrListOptionsRequest) (*AttrListOptionsResponse, error)
- func (s *AttrsGRPCServer) GetUnits(ctx context.Context, _ *emptypb.Empty) (*AttrUnitsResponse, error)
- func (s *AttrsGRPCServer) GetZoneAttributes(ctx context.Context, in *AttrZoneAttributesRequest) (*AttrZoneAttributesResponse, error)
- func (s *AttrsGRPCServer) GetZones(ctx context.Context, _ *emptypb.Empty) (*AttrZonesResponse, error)
- type AttrsServer
- type Auth
- type AutowpClient
- type AutowpServer
- type BrandIcons
- type BrandVehicleType
- func (*BrandVehicleType) Descriptor() ([]byte, []int)deprecated
- func (x *BrandVehicleType) GetCatname() string
- func (x *BrandVehicleType) GetId() int32
- func (x *BrandVehicleType) GetItemsCount() string
- func (x *BrandVehicleType) GetName() string
- func (*BrandVehicleType) ProtoMessage()
- func (x *BrandVehicleType) ProtoReflect() protoreflect.Message
- func (x *BrandVehicleType) Reset()
- func (x *BrandVehicleType) String() string
- type BrandVehicleTypeItems
- func (*BrandVehicleTypeItems) Descriptor() ([]byte, []int)deprecated
- func (x *BrandVehicleTypeItems) GetItems() []*BrandVehicleType
- func (*BrandVehicleTypeItems) ProtoMessage()
- func (x *BrandVehicleTypeItems) ProtoReflect() protoreflect.Message
- func (x *BrandVehicleTypeItems) Reset()
- func (x *BrandVehicleTypeItems) String() string
- type Catalogue
- type CommentMessage
- type CommentMessageFields
- func (*CommentMessageFields) Descriptor() ([]byte, []int)deprecated
- func (x *CommentMessageFields) GetIsNew() bool
- func (x *CommentMessageFields) GetPreview() bool
- func (x *CommentMessageFields) GetReplies() bool
- func (x *CommentMessageFields) GetRoute() bool
- func (x *CommentMessageFields) GetStatus() bool
- func (x *CommentMessageFields) GetText() bool
- func (x *CommentMessageFields) GetUserVote() bool
- func (x *CommentMessageFields) GetVote() bool
- func (*CommentMessageFields) ProtoMessage()
- func (x *CommentMessageFields) ProtoReflect() protoreflect.Message
- func (x *CommentMessageFields) Reset()
- func (x *CommentMessageFields) String() string
- type CommentVote
- func (*CommentVote) Descriptor() ([]byte, []int)deprecated
- func (x *CommentVote) GetUser() *APIUser
- func (x *CommentVote) GetValue() CommentVote_VoteValue
- func (*CommentVote) ProtoMessage()
- func (x *CommentVote) ProtoReflect() protoreflect.Message
- func (x *CommentVote) Reset()
- func (x *CommentVote) String() string
- type CommentVoteItems
- type CommentVote_VoteValue
- func (CommentVote_VoteValue) Descriptor() protoreflect.EnumDescriptor
- func (x CommentVote_VoteValue) Enum() *CommentVote_VoteValue
- func (CommentVote_VoteValue) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommentVote_VoteValue) Number() protoreflect.EnumNumber
- func (x CommentVote_VoteValue) String() string
- func (CommentVote_VoteValue) Type() protoreflect.EnumType
- type CommentsClient
- type CommentsGRPCServer
- func (s *CommentsGRPCServer) Add(ctx context.Context, in *AddCommentRequest) (*AddCommentResponse, error)
- func (s *CommentsGRPCServer) GetCommentVotes(ctx context.Context, in *GetCommentVotesRequest) (*CommentVoteItems, error)
- func (s *CommentsGRPCServer) GetMessage(ctx context.Context, in *GetMessageRequest) (*APICommentsMessage, error)
- func (s *CommentsGRPCServer) GetMessagePage(ctx context.Context, in *GetMessagePageRequest) (*APICommentsMessagePage, error)
- func (s *CommentsGRPCServer) GetMessages(ctx context.Context, in *GetMessagesRequest) (*APICommentsMessages, error)
- func (s *CommentsGRPCServer) MoveComment(ctx context.Context, in *CommentsMoveCommentRequest) (*emptypb.Empty, error)
- func (s *CommentsGRPCServer) SetDeleted(ctx context.Context, in *CommentsSetDeletedRequest) (*emptypb.Empty, error)
- func (s *CommentsGRPCServer) Subscribe(ctx context.Context, in *CommentsSubscribeRequest) (*emptypb.Empty, error)
- func (s *CommentsGRPCServer) UnSubscribe(ctx context.Context, in *CommentsUnSubscribeRequest) (*emptypb.Empty, error)
- func (s *CommentsGRPCServer) View(ctx context.Context, in *CommentsViewRequest) (*emptypb.Empty, error)
- func (s *CommentsGRPCServer) VoteComment(ctx context.Context, in *CommentsVoteCommentRequest) (*CommentsVoteCommentResponse, error)
- type CommentsMoveCommentRequest
- func (*CommentsMoveCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommentsMoveCommentRequest) GetCommentId() int64
- func (x *CommentsMoveCommentRequest) GetItemId() int64
- func (x *CommentsMoveCommentRequest) GetTypeId() CommentsType
- func (*CommentsMoveCommentRequest) ProtoMessage()
- func (x *CommentsMoveCommentRequest) ProtoReflect() protoreflect.Message
- func (x *CommentsMoveCommentRequest) Reset()
- func (x *CommentsMoveCommentRequest) String() string
- type CommentsServer
- type CommentsSetDeletedRequest
- func (*CommentsSetDeletedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommentsSetDeletedRequest) GetCommentId() int64
- func (x *CommentsSetDeletedRequest) GetDeleted() bool
- func (*CommentsSetDeletedRequest) ProtoMessage()
- func (x *CommentsSetDeletedRequest) ProtoReflect() protoreflect.Message
- func (x *CommentsSetDeletedRequest) Reset()
- func (x *CommentsSetDeletedRequest) String() string
- type CommentsSubscribeRequest
- func (*CommentsSubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommentsSubscribeRequest) GetItemId() int64
- func (x *CommentsSubscribeRequest) GetTypeId() CommentsType
- func (*CommentsSubscribeRequest) ProtoMessage()
- func (x *CommentsSubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *CommentsSubscribeRequest) Reset()
- func (x *CommentsSubscribeRequest) String() string
- type CommentsType
- func (CommentsType) Descriptor() protoreflect.EnumDescriptor
- func (x CommentsType) Enum() *CommentsType
- func (CommentsType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommentsType) Number() protoreflect.EnumNumber
- func (x CommentsType) String() string
- func (CommentsType) Type() protoreflect.EnumType
- type CommentsUnSubscribeRequest
- func (*CommentsUnSubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommentsUnSubscribeRequest) GetItemId() int64
- func (x *CommentsUnSubscribeRequest) GetTypeId() CommentsType
- func (*CommentsUnSubscribeRequest) ProtoMessage()
- func (x *CommentsUnSubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *CommentsUnSubscribeRequest) Reset()
- func (x *CommentsUnSubscribeRequest) String() string
- type CommentsViewRequest
- func (*CommentsViewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommentsViewRequest) GetItemId() int64
- func (x *CommentsViewRequest) GetTypeId() CommentsType
- func (*CommentsViewRequest) ProtoMessage()
- func (x *CommentsViewRequest) ProtoReflect() protoreflect.Message
- func (x *CommentsViewRequest) Reset()
- func (x *CommentsViewRequest) String() string
- type CommentsVoteCommentRequest
- func (*CommentsVoteCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommentsVoteCommentRequest) GetCommentId() int64
- func (x *CommentsVoteCommentRequest) GetVote() int32
- func (*CommentsVoteCommentRequest) ProtoMessage()
- func (x *CommentsVoteCommentRequest) ProtoReflect() protoreflect.Message
- func (x *CommentsVoteCommentRequest) Reset()
- func (x *CommentsVoteCommentRequest) String() string
- type CommentsVoteCommentResponse
- func (*CommentsVoteCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommentsVoteCommentResponse) GetVotes() int32
- func (*CommentsVoteCommentResponse) ProtoMessage()
- func (x *CommentsVoteCommentResponse) ProtoReflect() protoreflect.Message
- func (x *CommentsVoteCommentResponse) Reset()
- func (x *CommentsVoteCommentResponse) String() string
- type Contact
- type ContactItems
- type ContactsClient
- type ContactsGRPCServer
- func (s *ContactsGRPCServer) CreateContact(ctx context.Context, in *CreateContactRequest) (*emptypb.Empty, error)
- func (s *ContactsGRPCServer) DeleteContact(ctx context.Context, in *DeleteContactRequest) (*emptypb.Empty, error)
- func (s *ContactsGRPCServer) GetContact(ctx context.Context, in *GetContactRequest) (*Contact, error)
- func (s *ContactsGRPCServer) GetContacts(ctx context.Context, _ *GetContactsRequest) (*ContactItems, error)
- type ContactsRepository
- type ContactsServer
- type Container
- func (s *Container) ArticlesGRPCServer() (*ArticlesGRPCServer, error)
- func (s *Container) AttrsGRPCServer() (*AttrsGRPCServer, error)
- func (s *Container) AttrsRepository() (*attrs.Repository, error)
- func (s *Container) Auth() (*Auth, error)
- func (s *Container) AutowpDB() (*sql.DB, error)
- func (s *Container) BanRepository() (*ban.Repository, error)
- func (s *Container) Catalogue() (*Catalogue, error)
- func (s *Container) Close() error
- func (s *Container) CommentsGRPCServer() (*CommentsGRPCServer, error)
- func (s *Container) CommentsRepository() (*comments.Repository, error)
- func (s *Container) Config() config.Config
- func (s *Container) ContactsGRPCServer() (*ContactsGRPCServer, error)
- func (s *Container) ContactsRepository() (*ContactsRepository, error)
- func (s *Container) DonationsGRPCServer() (*DonationsGRPCServer, error)
- func (s *Container) DuplicateFinder() (*DuplicateFinder, error)
- func (s *Container) EmailSender() email.Sender
- func (s *Container) Enforcer() *casbin.Enforcer
- func (s *Container) Events() (*Events, error)
- func (s *Container) Feedback() (*Feedback, error)
- func (s *Container) Forums() (*Forums, error)
- func (s *Container) ForumsGRPCServer() (*ForumsGRPCServer, error)
- func (s *Container) GRPCServer() (*GRPCServer, error)
- func (s *Container) GRPCServerWithServices() (*grpc.Server, error)
- func (s *Container) GoquDB() (*goqu.Database, error)
- func (s *Container) GoquPostgresDB() (*goqu.Database, error)
- func (s *Container) HostsManager() *hosts.Manager
- func (s *Container) I18n() (*i18nbundle.I18n, error)
- func (s *Container) IPExtractor() (*IPExtractor, error)
- func (s *Container) ImageStorage() (*storage.Storage, error)
- func (s *Container) Index() (*index.Index, error)
- func (s *Container) ItemExtractor() (*ItemExtractor, error)
- func (s *Container) ItemOfDayRepository() (*itemofday.Repository, error)
- func (s *Container) ItemsGRPCServer() (*ItemsGRPCServer, error)
- func (s *Container) ItemsRepository() (*items.Repository, error)
- func (s *Container) Keycloak() *gocloak.GoCloak
- func (s *Container) Location() (*time.Location, error)
- func (s *Container) MapGRPCServer() (*MapGRPCServer, error)
- func (s *Container) MessagingGRPCServer() (*MessagingGRPCServer, error)
- func (s *Container) MessagingRepository() (*messaging.Repository, error)
- func (s *Container) PicturesGRPCServer() (*PicturesGRPCServer, error)
- func (s *Container) PicturesRepository() (*pictures.Repository, error)
- func (s *Container) PrivateHTTPServer(ctx context.Context) (*http.Server, error)
- func (s *Container) PrivateRouter(ctx context.Context) (*gin.Engine, error)
- func (s *Container) PublicHTTPServer(ctx context.Context) (*http.Server, error)
- func (s *Container) PublicRouter(ctx context.Context) (http.HandlerFunc, error)
- func (s *Container) RatingGRPCServer() (*RatingGRPCServer, error)
- func (s *Container) Redis() (*redis.Client, error)
- func (s *Container) SetEmailSender(emailSender email.Sender)
- func (s *Container) StatisticsGRPCServer() (*StatisticsGRPCServer, error)
- func (s *Container) TelegramService() (*telegram.Service, error)
- func (s *Container) TextGRPCServer() (*TextGRPCServer, error)
- func (s *Container) TextStorageRepository() (*textstorage.Repository, error)
- func (s *Container) Traffic() (*traffic.Traffic, error)
- func (s *Container) TrafficGRPCServer() (*TrafficGRPCServer, error)
- func (s *Container) UserExtractor() (*UserExtractor, error)
- func (s *Container) UsersGRPCServer() (*UsersGRPCServer, error)
- func (s *Container) UsersRepository() (*users.Repository, error)
- func (s *Container) YoomoneyHandler() (*YoomoneyHandler, error)
- type CreateContactRequest
- func (*CreateContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContactRequest) GetUserId() int64
- func (*CreateContactRequest) ProtoMessage()
- func (x *CreateContactRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContactRequest) Reset()
- func (x *CreateContactRequest) String() string
- type CreateFeedbackRequest
- type DeleteContactRequest
- func (*DeleteContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteContactRequest) GetUserId() int64
- func (*DeleteContactRequest) ProtoMessage()
- func (x *DeleteContactRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteContactRequest) Reset()
- func (x *DeleteContactRequest) String() string
- type DeleteFromTrafficBlacklistRequest
- func (*DeleteFromTrafficBlacklistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFromTrafficBlacklistRequest) GetIp() string
- func (*DeleteFromTrafficBlacklistRequest) ProtoMessage()
- func (x *DeleteFromTrafficBlacklistRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFromTrafficBlacklistRequest) Reset()
- func (x *DeleteFromTrafficBlacklistRequest) String() string
- type DeleteFromTrafficWhitelistRequest
- func (*DeleteFromTrafficWhitelistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFromTrafficWhitelistRequest) GetIp() string
- func (*DeleteFromTrafficWhitelistRequest) ProtoMessage()
- func (x *DeleteFromTrafficWhitelistRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFromTrafficWhitelistRequest) Reset()
- func (x *DeleteFromTrafficWhitelistRequest) String() string
- type DeleteModerVoteTemplateRequest
- func (*DeleteModerVoteTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteModerVoteTemplateRequest) GetId() int64
- func (*DeleteModerVoteTemplateRequest) ProtoMessage()
- func (x *DeleteModerVoteTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteModerVoteTemplateRequest) Reset()
- func (x *DeleteModerVoteTemplateRequest) String() string
- type DonationsClient
- type DonationsGRPCServer
- type DonationsServer
- type DuplicateFinder
- type DuplicateFinderInputMessage
- type ErrorDetails
- func (*ErrorDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorDetails) GetBadRequest() *errdetails.BadRequest
- func (x *ErrorDetails) GetDebugInfo() *errdetails.DebugInfo
- func (x *ErrorDetails) GetHelp() *errdetails.Help
- func (x *ErrorDetails) GetLocalizedMessage() *errdetails.LocalizedMessage
- func (x *ErrorDetails) GetPreconditionFailure() *errdetails.PreconditionFailure
- func (x *ErrorDetails) GetQuotaFailure() *errdetails.QuotaFailure
- func (x *ErrorDetails) GetRequestInfo() *errdetails.RequestInfo
- func (x *ErrorDetails) GetRetryInfo() *errdetails.RetryInfo
- func (*ErrorDetails) ProtoMessage()
- func (x *ErrorDetails) ProtoReflect() protoreflect.Message
- func (x *ErrorDetails) Reset()
- func (x *ErrorDetails) String() string
- type Event
- type Events
- type Feedback
- type Forums
- func (s *Forums) AddTopic(ctx context.Context, themeID int64, name string, userID int64, ...) (int64, error)
- func (s *Forums) Close(ctx context.Context, id int64) error
- func (s *Forums) Delete(ctx context.Context, id int64) error
- func (s *Forums) GetUserSummary(ctx context.Context, userID int64) (int, error)
- func (s *Forums) LastMessage(ctx context.Context, topicID int64, isModerator bool) (*CommentMessage, error)
- func (s *Forums) LastTopic(ctx context.Context, themeID int64, userID int64, isModerator bool) (*ForumsTopic, error)
- func (s *Forums) MoveTopic(ctx context.Context, id int64, themeID int64) error
- func (s *Forums) Open(ctx context.Context, id int64) error
- func (s *Forums) Theme(ctx context.Context, themeID int64, isModerator bool) (*ForumsTheme, error)
- func (s *Forums) Themes(ctx context.Context, themeID int64, isModerator bool) ([]*ForumsTheme, error)
- func (s *Forums) Topic(ctx context.Context, topicID int64, userID int64, isModerator bool) (*ForumsTopic, error)
- func (s *Forums) Topics(ctx context.Context, themeID int64, userID int64, isModerator bool, ...) ([]*ForumsTopic, *util.Pages, error)
- type ForumsClient
- type ForumsGRPCServer
- func (s *ForumsGRPCServer) CloseTopic(ctx context.Context, in *APISetTopicStatusRequest) (*emptypb.Empty, error)
- func (s *ForumsGRPCServer) CreateTopic(ctx context.Context, in *APICreateTopicRequest) (*APICreateTopicResponse, error)
- func (s *ForumsGRPCServer) DeleteTopic(ctx context.Context, in *APISetTopicStatusRequest) (*emptypb.Empty, error)
- func (s *ForumsGRPCServer) GetLastMessage(ctx context.Context, in *APIGetForumsTopicRequest) (*APICommentMessage, error)
- func (s *ForumsGRPCServer) GetLastTopic(ctx context.Context, in *APIGetForumsThemeRequest) (*APIForumsTopic, error)
- func (s *ForumsGRPCServer) GetTheme(ctx context.Context, in *APIGetForumsThemeRequest) (*APIForumsTheme, error)
- func (s *ForumsGRPCServer) GetThemes(ctx context.Context, in *APIGetForumsThemesRequest) (*APIForumsThemes, error)
- func (s *ForumsGRPCServer) GetTopic(ctx context.Context, in *APIGetForumsTopicRequest) (*APIForumsTopic, error)
- func (s *ForumsGRPCServer) GetTopics(ctx context.Context, in *APIGetForumsTopicsRequest) (*APIForumsTopics, error)
- func (s *ForumsGRPCServer) GetUserSummary(ctx context.Context, _ *emptypb.Empty) (*APIForumsUserSummary, error)
- func (s *ForumsGRPCServer) MoveTopic(ctx context.Context, in *APIMoveTopicRequest) (*emptypb.Empty, error)
- func (s *ForumsGRPCServer) OpenTopic(ctx context.Context, in *APISetTopicStatusRequest) (*emptypb.Empty, error)
- type ForumsServer
- type ForumsTheme
- type ForumsTopic
- type GRPCServer
- func (s *GRPCServer) AclEnforce(ctx context.Context, in *AclEnforceRequest) (*AclEnforceResult, error)
- func (s *GRPCServer) CreateFeedback(ctx context.Context, in *APICreateFeedbackRequest) (*emptypb.Empty, error)
- func (s *GRPCServer) GetBrandIcons(context.Context, *emptypb.Empty) (*BrandIcons, error)
- func (s *GRPCServer) GetBrandVehicleTypes(ctx context.Context, in *GetBrandVehicleTypesRequest) (*BrandVehicleTypeItems, error)
- func (s *GRPCServer) GetIP(ctx context.Context, in *APIGetIPRequest) (*APIIP, error)
- func (s *GRPCServer) GetPerspectivePages(ctx context.Context, _ *emptypb.Empty) (*PerspectivePagesItems, error)
- func (s *GRPCServer) GetPerspectives(ctx context.Context, _ *emptypb.Empty) (*PerspectivesItems, error)
- func (s *GRPCServer) GetReCaptchaConfig(context.Context, *emptypb.Empty) (*ReCaptchaConfig, error)
- func (s *GRPCServer) GetSpecs(ctx context.Context, _ *emptypb.Empty) (*SpecsItems, error)
- func (s *GRPCServer) GetVehicleTypes(ctx context.Context, _ *emptypb.Empty) (*VehicleTypeItems, error)
- type GetBrandVehicleTypesRequest
- func (*GetBrandVehicleTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBrandVehicleTypesRequest) GetBrandId() int32
- func (*GetBrandVehicleTypesRequest) ProtoMessage()
- func (x *GetBrandVehicleTypesRequest) ProtoReflect() protoreflect.Message
- func (x *GetBrandVehicleTypesRequest) Reset()
- func (x *GetBrandVehicleTypesRequest) String() string
- type GetCommentVotesRequest
- func (*GetCommentVotesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentVotesRequest) GetCommentId() int64
- func (*GetCommentVotesRequest) ProtoMessage()
- func (x *GetCommentVotesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommentVotesRequest) Reset()
- func (x *GetCommentVotesRequest) String() string
- type GetContactRequest
- type GetContactsRequest
- type GetMessagePageRequest
- func (*GetMessagePageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagePageRequest) GetMessageId() int64
- func (x *GetMessagePageRequest) GetPerPage() int32
- func (*GetMessagePageRequest) ProtoMessage()
- func (x *GetMessagePageRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessagePageRequest) Reset()
- func (x *GetMessagePageRequest) String() string
- type GetMessageRequest
- func (*GetMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessageRequest) GetFields() *CommentMessageFields
- func (x *GetMessageRequest) GetId() int64
- func (*GetMessageRequest) ProtoMessage()
- func (x *GetMessageRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessageRequest) Reset()
- func (x *GetMessageRequest) String() string
- type GetMessagesRequest
- func (*GetMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesRequest) GetFields() *CommentMessageFields
- func (x *GetMessagesRequest) GetItemId() int64
- func (x *GetMessagesRequest) GetLimit() int32
- func (x *GetMessagesRequest) GetModeratorAttention() ModeratorAttention
- func (x *GetMessagesRequest) GetNoParents() bool
- func (x *GetMessagesRequest) GetOrder() GetMessagesRequest_Order
- func (x *GetMessagesRequest) GetPage() int32
- func (x *GetMessagesRequest) GetParentId() int64
- func (x *GetMessagesRequest) GetPicturesOfItemId() int64
- func (x *GetMessagesRequest) GetTypeId() CommentsType
- func (x *GetMessagesRequest) GetUserId() int64
- func (x *GetMessagesRequest) GetUserIdentity() string
- func (*GetMessagesRequest) ProtoMessage()
- func (x *GetMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessagesRequest) Reset()
- func (x *GetMessagesRequest) String() string
- type GetMessagesRequest_Order
- func (GetMessagesRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x GetMessagesRequest_Order) Enum() *GetMessagesRequest_Order
- func (GetMessagesRequest_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetMessagesRequest_Order) Number() protoreflect.EnumNumber
- func (x GetMessagesRequest_Order) String() string
- func (GetMessagesRequest_Order) Type() protoreflect.EnumType
- type GetTopBrandsListRequest
- func (*GetTopBrandsListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTopBrandsListRequest) GetLanguage() string
- func (*GetTopBrandsListRequest) ProtoMessage()
- func (x *GetTopBrandsListRequest) ProtoReflect() protoreflect.Message
- func (x *GetTopBrandsListRequest) Reset()
- func (x *GetTopBrandsListRequest) String() string
- type GetTopCategoriesListRequest
- func (*GetTopCategoriesListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTopCategoriesListRequest) GetLanguage() string
- func (*GetTopCategoriesListRequest) ProtoMessage()
- func (x *GetTopCategoriesListRequest) ProtoReflect() protoreflect.Message
- func (x *GetTopCategoriesListRequest) Reset()
- func (x *GetTopCategoriesListRequest) String() string
- type GetTopFactoriesListRequest
- func (*GetTopFactoriesListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTopFactoriesListRequest) GetLanguage() string
- func (*GetTopFactoriesListRequest) ProtoMessage()
- func (x *GetTopFactoriesListRequest) ProtoReflect() protoreflect.Message
- func (x *GetTopFactoriesListRequest) Reset()
- func (x *GetTopFactoriesListRequest) String() string
- type GetTopPersonsListRequest
- func (*GetTopPersonsListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTopPersonsListRequest) GetLanguage() string
- func (x *GetTopPersonsListRequest) GetPictureItemType() PictureItemType
- func (*GetTopPersonsListRequest) ProtoMessage()
- func (x *GetTopPersonsListRequest) ProtoReflect() protoreflect.Message
- func (x *GetTopPersonsListRequest) Reset()
- func (x *GetTopPersonsListRequest) String() string
- type GetTopTwinsBrandsListRequest
- func (*GetTopTwinsBrandsListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTopTwinsBrandsListRequest) GetLanguage() string
- func (*GetTopTwinsBrandsListRequest) ProtoMessage()
- func (x *GetTopTwinsBrandsListRequest) ProtoReflect() protoreflect.Message
- func (x *GetTopTwinsBrandsListRequest) Reset()
- func (x *GetTopTwinsBrandsListRequest) String() string
- type GetTreeRequest
- type GetTwinsBrandsListRequest
- func (*GetTwinsBrandsListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTwinsBrandsListRequest) GetLanguage() string
- func (*GetTwinsBrandsListRequest) ProtoMessage()
- func (x *GetTwinsBrandsListRequest) ProtoReflect() protoreflect.Message
- func (x *GetTwinsBrandsListRequest) Reset()
- func (x *GetTwinsBrandsListRequest) String() string
- type GetUserRatingFansResponse
- func (*GetUserRatingFansResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRatingFansResponse) GetFans() []*APIUsersRatingUserFan
- func (*GetUserRatingFansResponse) ProtoMessage()
- func (x *GetUserRatingFansResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserRatingFansResponse) Reset()
- func (x *GetUserRatingFansResponse) String() string
- type IPExtractor
- type ItemExtractor
- type ItemFields
- func (*ItemFields) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFields) GetChildsCount() bool
- func (x *ItemFields) GetCommentsAttentionsCount() bool
- func (x *ItemFields) GetCurrentPicturesCount() bool
- func (x *ItemFields) GetDescendantTwinsGroupsCount() bool
- func (x *ItemFields) GetDescendantsCount() bool
- func (x *ItemFields) GetDescription() bool
- func (x *ItemFields) GetFullName() bool
- func (x *ItemFields) GetHasText() bool
- func (x *ItemFields) GetInboxPicturesCount() bool
- func (x *ItemFields) GetIsCompilesItemOfDay() bool
- func (x *ItemFields) GetLogo120() bool
- func (x *ItemFields) GetMostsActive() bool
- func (x *ItemFields) GetNameDefault() bool
- func (x *ItemFields) GetNameHtml() bool
- func (x *ItemFields) GetNameOnly() bool
- func (x *ItemFields) GetNameText() bool
- func (x *ItemFields) GetPreviewPictures() *PreviewPicturesFields
- func (x *ItemFields) GetTotalPictures() bool
- func (*ItemFields) ProtoMessage()
- func (x *ItemFields) ProtoReflect() protoreflect.Message
- func (x *ItemFields) Reset()
- func (x *ItemFields) String() string
- type ItemLanguage
- func (*ItemLanguage) Descriptor() ([]byte, []int)deprecated
- func (x *ItemLanguage) GetFullText() string
- func (x *ItemLanguage) GetFullTextId() int64
- func (x *ItemLanguage) GetItemId() int64
- func (x *ItemLanguage) GetLanguage() string
- func (x *ItemLanguage) GetName() string
- func (x *ItemLanguage) GetText() string
- func (x *ItemLanguage) GetTextId() int64
- func (*ItemLanguage) ProtoMessage()
- func (x *ItemLanguage) ProtoReflect() protoreflect.Message
- func (x *ItemLanguage) Reset()
- func (x *ItemLanguage) String() string
- type ItemLanguages
- type ItemParentLanguage
- func (*ItemParentLanguage) Descriptor() ([]byte, []int)deprecated
- func (x *ItemParentLanguage) GetItemId() int64
- func (x *ItemParentLanguage) GetLanguage() string
- func (x *ItemParentLanguage) GetName() string
- func (x *ItemParentLanguage) GetParentId() int64
- func (*ItemParentLanguage) ProtoMessage()
- func (x *ItemParentLanguage) ProtoReflect() protoreflect.Message
- func (x *ItemParentLanguage) Reset()
- func (x *ItemParentLanguage) String() string
- type ItemParentLanguages
- func (*ItemParentLanguages) Descriptor() ([]byte, []int)deprecated
- func (x *ItemParentLanguages) GetItems() []*ItemParentLanguage
- func (*ItemParentLanguages) ProtoMessage()
- func (x *ItemParentLanguages) ProtoReflect() protoreflect.Message
- func (x *ItemParentLanguages) Reset()
- func (x *ItemParentLanguages) String() string
- type ItemPictureType
- func (ItemPictureType) Descriptor() protoreflect.EnumDescriptor
- func (x ItemPictureType) Enum() *ItemPictureType
- func (ItemPictureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ItemPictureType) Number() protoreflect.EnumNumber
- func (x ItemPictureType) String() string
- func (ItemPictureType) Type() protoreflect.EnumType
- type ItemPicturesRequest
- func (*ItemPicturesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ItemPicturesRequest) GetPerspectiveId() int32
- func (x *ItemPicturesRequest) GetPictures() *PicturesRequest
- func (x *ItemPicturesRequest) GetTypeId() ItemPictureType
- func (*ItemPicturesRequest) ProtoMessage()
- func (x *ItemPicturesRequest) ProtoReflect() protoreflect.Message
- func (x *ItemPicturesRequest) Reset()
- func (x *ItemPicturesRequest) String() string
- type ItemRequest
- func (*ItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ItemRequest) GetFields() *ItemFields
- func (x *ItemRequest) GetId() int64
- func (x *ItemRequest) GetLanguage() string
- func (*ItemRequest) ProtoMessage()
- func (x *ItemRequest) ProtoReflect() protoreflect.Message
- func (x *ItemRequest) Reset()
- func (x *ItemRequest) String() string
- type ItemType
- type ItemsClient
- type ItemsGRPCServer
- func (s *ItemsGRPCServer) CreateItemLink(ctx context.Context, in *APIItemLink) (*APICreateItemLinkResponse, error)
- func (s *ItemsGRPCServer) CreateItemVehicleType(ctx context.Context, in *APIItemVehicleType) (*emptypb.Empty, error)
- func (s *ItemsGRPCServer) DeleteItemLink(ctx context.Context, in *APIItemLinkRequest) (*emptypb.Empty, error)
- func (s *ItemsGRPCServer) DeleteItemVehicleType(ctx context.Context, in *APIItemVehicleTypeRequest) (*emptypb.Empty, error)
- func (s *ItemsGRPCServer) GetContentLanguages(_ context.Context, _ *emptypb.Empty) (*APIContentLanguages, error)
- func (s *ItemsGRPCServer) GetItemLanguages(ctx context.Context, in *APIGetItemLanguagesRequest) (*ItemLanguages, error)
- func (s *ItemsGRPCServer) GetItemLink(ctx context.Context, in *APIItemLinkRequest) (*APIItemLink, error)
- func (s *ItemsGRPCServer) GetItemLinks(ctx context.Context, in *APIGetItemLinksRequest) (*APIItemLinksResponse, error)
- func (s *ItemsGRPCServer) GetItemParentLanguages(ctx context.Context, in *APIGetItemParentLanguagesRequest) (*ItemParentLanguages, error)
- func (s *ItemsGRPCServer) GetItemVehicleType(ctx context.Context, in *APIItemVehicleTypeRequest) (*APIItemVehicleType, error)
- func (s *ItemsGRPCServer) GetItemVehicleTypes(ctx context.Context, in *APIGetItemVehicleTypesRequest) (*APIGetItemVehicleTypesResponse, error)
- func (s *ItemsGRPCServer) GetStats(ctx context.Context, _ *emptypb.Empty) (*StatsResponse, error)
- func (s *ItemsGRPCServer) GetTopBrandsList(ctx context.Context, in *GetTopBrandsListRequest) (*APITopBrandsList, error)
- func (s *ItemsGRPCServer) GetTopCategoriesList(ctx context.Context, in *GetTopCategoriesListRequest) (*APITopCategoriesList, error)
- func (s *ItemsGRPCServer) GetTopFactoriesList(ctx context.Context, in *GetTopFactoriesListRequest) (*APITopFactoriesList, error)
- func (s *ItemsGRPCServer) GetTopPersonsList(ctx context.Context, in *GetTopPersonsListRequest) (*APITopPersonsList, error)
- func (s *ItemsGRPCServer) GetTopTwinsBrandsList(ctx context.Context, in *GetTopTwinsBrandsListRequest) (*APITopTwinsBrandsList, error)
- func (s *ItemsGRPCServer) GetTwinsBrandsList(ctx context.Context, in *GetTwinsBrandsListRequest) (*APITwinsBrandsList, error)
- func (s *ItemsGRPCServer) Item(ctx context.Context, in *ItemRequest) (*APIItem, error)
- func (s *ItemsGRPCServer) List(ctx context.Context, in *ListItemsRequest) (*APIItemList, error)
- func (s *ItemsGRPCServer) UpdateItemLink(ctx context.Context, in *APIItemLink) (*emptypb.Empty, error)
- type ItemsServer
- type ListItemsRequest
- func (*ListItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListItemsRequest) GetAncestorId() int64
- func (x *ListItemsRequest) GetCatname() string
- func (x *ListItemsRequest) GetDescendant() *ListItemsRequest
- func (x *ListItemsRequest) GetDescendantPictures() *ItemPicturesRequest
- func (x *ListItemsRequest) GetEngineId() int64
- func (x *ListItemsRequest) GetFields() *ItemFields
- func (x *ListItemsRequest) GetId() int64
- func (x *ListItemsRequest) GetIsConcept() bool
- func (x *ListItemsRequest) GetLanguage() string
- func (x *ListItemsRequest) GetLimit() uint32
- func (x *ListItemsRequest) GetName() string
- func (x *ListItemsRequest) GetNoParent() bool
- func (x *ListItemsRequest) GetOrder() ListItemsRequest_Order
- func (x *ListItemsRequest) GetPage() uint32
- func (x *ListItemsRequest) GetParent() *ListItemsRequest
- func (x *ListItemsRequest) GetPreviewPictures() *ItemPicturesRequest
- func (x *ListItemsRequest) GetTypeId() ItemType
- func (*ListItemsRequest) ProtoMessage()
- func (x *ListItemsRequest) ProtoReflect() protoreflect.Message
- func (x *ListItemsRequest) Reset()
- func (x *ListItemsRequest) String() string
- type ListItemsRequest_Order
- func (ListItemsRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x ListItemsRequest_Order) Enum() *ListItemsRequest_Order
- func (ListItemsRequest_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListItemsRequest_Order) Number() protoreflect.EnumNumber
- func (x ListItemsRequest_Order) String() string
- func (ListItemsRequest_Order) Type() protoreflect.EnumType
- type MapClient
- type MapGRPCServer
- type MapGetPointsRequest
- func (*MapGetPointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MapGetPointsRequest) GetBounds() string
- func (x *MapGetPointsRequest) GetLanguage() string
- func (x *MapGetPointsRequest) GetPointsOnly() bool
- func (*MapGetPointsRequest) ProtoMessage()
- func (x *MapGetPointsRequest) ProtoReflect() protoreflect.Message
- func (x *MapGetPointsRequest) Reset()
- func (x *MapGetPointsRequest) String() string
- type MapPoint
- func (*MapPoint) Descriptor() ([]byte, []int)deprecated
- func (x *MapPoint) GetId() string
- func (x *MapPoint) GetImage() *APIImage
- func (x *MapPoint) GetLocation() *Point
- func (x *MapPoint) GetName() string
- func (x *MapPoint) GetUrl() []string
- func (*MapPoint) ProtoMessage()
- func (x *MapPoint) ProtoReflect() protoreflect.Message
- func (x *MapPoint) Reset()
- func (x *MapPoint) String() string
- type MapPoints
- type MapServer
- type MessagingClearFolder
- func (*MessagingClearFolder) Descriptor() ([]byte, []int)deprecated
- func (x *MessagingClearFolder) GetFolder() string
- func (*MessagingClearFolder) ProtoMessage()
- func (x *MessagingClearFolder) ProtoReflect() protoreflect.Message
- func (x *MessagingClearFolder) Reset()
- func (x *MessagingClearFolder) String() string
- type MessagingClient
- type MessagingCreateMessage
- func (*MessagingCreateMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MessagingCreateMessage) GetText() string
- func (x *MessagingCreateMessage) GetUserId() int64
- func (*MessagingCreateMessage) ProtoMessage()
- func (x *MessagingCreateMessage) ProtoReflect() protoreflect.Message
- func (x *MessagingCreateMessage) Reset()
- func (x *MessagingCreateMessage) String() string
- type MessagingDeleteMessage
- func (*MessagingDeleteMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MessagingDeleteMessage) GetMessageId() int64
- func (*MessagingDeleteMessage) ProtoMessage()
- func (x *MessagingDeleteMessage) ProtoReflect() protoreflect.Message
- func (x *MessagingDeleteMessage) Reset()
- func (x *MessagingDeleteMessage) String() string
- type MessagingGRPCServer
- func (s *MessagingGRPCServer) ClearFolder(ctx context.Context, in *MessagingClearFolder) (*emptypb.Empty, error)
- func (s *MessagingGRPCServer) CreateMessage(ctx context.Context, in *MessagingCreateMessage) (*emptypb.Empty, error)
- func (s *MessagingGRPCServer) DeleteMessage(ctx context.Context, in *MessagingDeleteMessage) (*emptypb.Empty, error)
- func (s *MessagingGRPCServer) GetMessages(ctx context.Context, in *MessagingGetMessagesRequest) (*MessagingGetMessagesResponse, error)
- func (s *MessagingGRPCServer) GetMessagesNewCount(ctx context.Context, _ *emptypb.Empty) (*APIMessageNewCount, error)
- func (s *MessagingGRPCServer) GetMessagesSummary(ctx context.Context, _ *emptypb.Empty) (*APIMessageSummary, error)
- type MessagingGetMessagesRequest
- func (*MessagingGetMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessagingGetMessagesRequest) GetFolder() string
- func (x *MessagingGetMessagesRequest) GetPage() int32
- func (x *MessagingGetMessagesRequest) GetUserId() int64
- func (*MessagingGetMessagesRequest) ProtoMessage()
- func (x *MessagingGetMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *MessagingGetMessagesRequest) Reset()
- func (x *MessagingGetMessagesRequest) String() string
- type MessagingGetMessagesResponse
- func (*MessagingGetMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessagingGetMessagesResponse) GetItems() []*APIMessage
- func (x *MessagingGetMessagesResponse) GetPaginator() *Pages
- func (*MessagingGetMessagesResponse) ProtoMessage()
- func (x *MessagingGetMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *MessagingGetMessagesResponse) Reset()
- func (x *MessagingGetMessagesResponse) String() string
- type MessagingServer
- type ModerVoteTemplate
- func (*ModerVoteTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *ModerVoteTemplate) GetId() int64
- func (x *ModerVoteTemplate) GetMessage() string
- func (x *ModerVoteTemplate) GetUserId() int64
- func (x *ModerVoteTemplate) GetVote() int32
- func (*ModerVoteTemplate) ProtoMessage()
- func (x *ModerVoteTemplate) ProtoReflect() protoreflect.Message
- func (x *ModerVoteTemplate) Reset()
- func (x *ModerVoteTemplate) String() string
- type ModerVoteTemplates
- func (*ModerVoteTemplates) Descriptor() ([]byte, []int)deprecated
- func (x *ModerVoteTemplates) GetItems() []*ModerVoteTemplate
- func (*ModerVoteTemplates) ProtoMessage()
- func (x *ModerVoteTemplates) ProtoReflect() protoreflect.Message
- func (x *ModerVoteTemplates) Reset()
- func (x *ModerVoteTemplates) String() string
- type ModeratorAttention
- func (ModeratorAttention) Descriptor() protoreflect.EnumDescriptor
- func (x ModeratorAttention) Enum() *ModeratorAttention
- func (ModeratorAttention) EnumDescriptor() ([]byte, []int)deprecated
- func (x ModeratorAttention) Number() protoreflect.EnumNumber
- func (x ModeratorAttention) String() string
- func (ModeratorAttention) Type() protoreflect.EnumType
- type Pages
- func (*Pages) Descriptor() ([]byte, []int)deprecated
- func (x *Pages) GetCurrent() int32
- func (x *Pages) GetFirst() int32
- func (x *Pages) GetFirstPageInRange() int32
- func (x *Pages) GetLastPageInRange() int32
- func (x *Pages) GetNext() int32
- func (x *Pages) GetPageCount() int32
- func (x *Pages) GetPagesInRange() []int32
- func (x *Pages) GetPrevious() int32
- func (x *Pages) GetTotalItemCount() int32
- func (*Pages) ProtoMessage()
- func (x *Pages) ProtoReflect() protoreflect.Message
- func (x *Pages) Reset()
- func (x *Pages) String() string
- type Perspective
- type PerspectiveGroup
- func (*PerspectiveGroup) Descriptor() ([]byte, []int)deprecated
- func (x *PerspectiveGroup) GetId() int32
- func (x *PerspectiveGroup) GetName() string
- func (x *PerspectiveGroup) GetPerspectives() []*Perspective
- func (*PerspectiveGroup) ProtoMessage()
- func (x *PerspectiveGroup) ProtoReflect() protoreflect.Message
- func (x *PerspectiveGroup) Reset()
- func (x *PerspectiveGroup) String() string
- type PerspectivePage
- func (*PerspectivePage) Descriptor() ([]byte, []int)deprecated
- func (x *PerspectivePage) GetGroups() []*PerspectiveGroup
- func (x *PerspectivePage) GetId() int32
- func (x *PerspectivePage) GetName() string
- func (*PerspectivePage) ProtoMessage()
- func (x *PerspectivePage) ProtoReflect() protoreflect.Message
- func (x *PerspectivePage) Reset()
- func (x *PerspectivePage) String() string
- type PerspectivePagesItems
- func (*PerspectivePagesItems) Descriptor() ([]byte, []int)deprecated
- func (x *PerspectivePagesItems) GetItems() []*PerspectivePage
- func (*PerspectivePagesItems) ProtoMessage()
- func (x *PerspectivePagesItems) ProtoReflect() protoreflect.Message
- func (x *PerspectivePagesItems) Reset()
- func (x *PerspectivePagesItems) String() string
- type PerspectivesItems
- func (*PerspectivesItems) Descriptor() ([]byte, []int)deprecated
- func (x *PerspectivesItems) GetItems() []*Perspective
- func (*PerspectivesItems) ProtoMessage()
- func (x *PerspectivesItems) ProtoReflect() protoreflect.Message
- func (x *PerspectivesItems) Reset()
- func (x *PerspectivesItems) String() string
- type PictureFields
- type PictureItemType
- func (PictureItemType) Descriptor() protoreflect.EnumDescriptor
- func (x PictureItemType) Enum() *PictureItemType
- func (PictureItemType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PictureItemType) Number() protoreflect.EnumNumber
- func (x PictureItemType) String() string
- func (PictureItemType) Type() protoreflect.EnumType
- type PictureStatus
- func (PictureStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PictureStatus) Enum() *PictureStatus
- func (PictureStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PictureStatus) Number() protoreflect.EnumNumber
- func (x PictureStatus) String() string
- func (PictureStatus) Type() protoreflect.EnumType
- type PicturesClient
- type PicturesGRPCServer
- func (s *PicturesGRPCServer) CreateModerVoteTemplate(ctx context.Context, in *ModerVoteTemplate) (*ModerVoteTemplate, error)
- func (s *PicturesGRPCServer) DeleteModerVoteTemplate(ctx context.Context, in *DeleteModerVoteTemplateRequest) (*emptypb.Empty, error)
- func (s *PicturesGRPCServer) GetModerVoteTemplates(ctx context.Context, _ *emptypb.Empty) (*ModerVoteTemplates, error)
- func (s *PicturesGRPCServer) View(ctx context.Context, in *PicturesViewRequest) (*emptypb.Empty, error)
- func (s *PicturesGRPCServer) Vote(ctx context.Context, in *PicturesVoteRequest) (*PicturesVoteSummary, error)
- type PicturesRequest
- func (*PicturesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PicturesRequest) GetItemPicture() *ItemPicturesRequest
- func (x *PicturesRequest) GetOwnerId() int64
- func (x *PicturesRequest) GetStatus() PictureStatus
- func (*PicturesRequest) ProtoMessage()
- func (x *PicturesRequest) ProtoReflect() protoreflect.Message
- func (x *PicturesRequest) Reset()
- func (x *PicturesRequest) String() string
- type PicturesServer
- type PicturesViewRequest
- func (*PicturesViewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PicturesViewRequest) GetPictureId() int64
- func (*PicturesViewRequest) ProtoMessage()
- func (x *PicturesViewRequest) ProtoReflect() protoreflect.Message
- func (x *PicturesViewRequest) Reset()
- func (x *PicturesViewRequest) String() string
- type PicturesVoteRequest
- func (*PicturesVoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PicturesVoteRequest) GetPictureId() int64
- func (x *PicturesVoteRequest) GetValue() int32
- func (*PicturesVoteRequest) ProtoMessage()
- func (x *PicturesVoteRequest) ProtoReflect() protoreflect.Message
- func (x *PicturesVoteRequest) Reset()
- func (x *PicturesVoteRequest) String() string
- type PicturesVoteSummary
- func (*PicturesVoteSummary) Descriptor() ([]byte, []int)deprecated
- func (x *PicturesVoteSummary) GetNegative() int32
- func (x *PicturesVoteSummary) GetPositive() int32
- func (x *PicturesVoteSummary) GetValue() int32
- func (*PicturesVoteSummary) ProtoMessage()
- func (x *PicturesVoteSummary) ProtoReflect() protoreflect.Message
- func (x *PicturesVoteSummary) Reset()
- func (x *PicturesVoteSummary) String() string
- type Point
- type PreviewPicturesFields
- func (*PreviewPicturesFields) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewPicturesFields) GetPicture() *PictureFields
- func (x *PreviewPicturesFields) GetRoute() bool
- func (*PreviewPicturesFields) ProtoMessage()
- func (x *PreviewPicturesFields) ProtoReflect() protoreflect.Message
- func (x *PreviewPicturesFields) Reset()
- func (x *PreviewPicturesFields) String() string
- type PulseGrid
- func (*PulseGrid) Descriptor() ([]byte, []int)deprecated
- func (x *PulseGrid) GetColor() string
- func (x *PulseGrid) GetLine() []float32
- func (x *PulseGrid) GetUserId() int64
- func (*PulseGrid) ProtoMessage()
- func (x *PulseGrid) ProtoReflect() protoreflect.Message
- func (x *PulseGrid) Reset()
- func (x *PulseGrid) String() string
- type PulseLegend
- type PulseRequest
- type PulseRequest_Period
- func (PulseRequest_Period) Descriptor() protoreflect.EnumDescriptor
- func (x PulseRequest_Period) Enum() *PulseRequest_Period
- func (PulseRequest_Period) EnumDescriptor() ([]byte, []int)deprecated
- func (x PulseRequest_Period) Number() protoreflect.EnumNumber
- func (x PulseRequest_Period) String() string
- func (PulseRequest_Period) Type() protoreflect.EnumType
- type PulseResponse
- func (*PulseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PulseResponse) GetGrid() []*PulseGrid
- func (x *PulseResponse) GetLabels() []string
- func (x *PulseResponse) GetLegend() []*PulseLegend
- func (*PulseResponse) ProtoMessage()
- func (x *PulseResponse) ProtoReflect() protoreflect.Message
- func (x *PulseResponse) Reset()
- func (x *PulseResponse) String() string
- type RatingClient
- type RatingGRPCServer
- func (s *RatingGRPCServer) GetUserCommentsRating(ctx context.Context, _ *emptypb.Empty) (*APIUsersRatingResponse, error)
- func (s *RatingGRPCServer) GetUserCommentsRatingFans(ctx context.Context, in *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error)
- func (s *RatingGRPCServer) GetUserPictureLikesRating(ctx context.Context, _ *emptypb.Empty) (*APIUsersRatingResponse, error)
- func (s *RatingGRPCServer) GetUserPictureLikesRatingFans(ctx context.Context, in *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error)
- func (s *RatingGRPCServer) GetUserPicturesRating(ctx context.Context, _ *emptypb.Empty) (*APIUsersRatingResponse, error)
- func (s *RatingGRPCServer) GetUserPicturesRatingBrands(ctx context.Context, in *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error)
- func (s *RatingGRPCServer) GetUserSpecsRating(ctx context.Context, _ *emptypb.Empty) (*APIUsersRatingResponse, error)
- func (s *RatingGRPCServer) GetUserSpecsRatingBrands(ctx context.Context, in *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error)
- type RatingServer
- type ReCaptchaConfig
- type Spec
- func (*Spec) Descriptor() ([]byte, []int)deprecated
- func (x *Spec) GetChilds() []*Spec
- func (x *Spec) GetId() int32
- func (x *Spec) GetName() string
- func (x *Spec) GetShortName() string
- func (*Spec) ProtoMessage()
- func (x *Spec) ProtoReflect() protoreflect.Message
- func (x *Spec) Reset()
- func (x *Spec) String() string
- type SpecsItems
- type StatisticsClient
- type StatisticsGRPCServer
- type StatisticsServer
- type StatsResponse
- type StatsValue
- func (*StatsValue) Descriptor() ([]byte, []int)deprecated
- func (x *StatsValue) GetName() string
- func (x *StatsValue) GetTotal() int32
- func (x *StatsValue) GetValue() int32
- func (*StatsValue) ProtoMessage()
- func (x *StatsValue) ProtoReflect() protoreflect.Message
- func (x *StatsValue) Reset()
- func (x *StatsValue) String() string
- type TextClient
- type TextGRPCServer
- type TextRevision
- func (*TextRevision) Descriptor() ([]byte, []int)deprecated
- func (x *TextRevision) GetRevision() int64
- func (x *TextRevision) GetText() string
- func (x *TextRevision) GetUserId() int64
- func (*TextRevision) ProtoMessage()
- func (x *TextRevision) ProtoReflect() protoreflect.Message
- func (x *TextRevision) Reset()
- func (x *TextRevision) String() string
- type TextServer
- type TokenForm
- type TrafficClient
- type TrafficGRPCServer
- func (s *TrafficGRPCServer) AddToBlacklist(ctx context.Context, in *AddToTrafficBlacklistRequest) (*emptypb.Empty, error)
- func (s *TrafficGRPCServer) AddToWhitelist(ctx context.Context, in *AddToTrafficWhitelistRequest) (*emptypb.Empty, error)
- func (s *TrafficGRPCServer) DeleteFromBlacklist(ctx context.Context, in *DeleteFromTrafficBlacklistRequest) (*emptypb.Empty, error)
- func (s *TrafficGRPCServer) DeleteFromWhitelist(ctx context.Context, in *DeleteFromTrafficWhitelistRequest) (*emptypb.Empty, error)
- func (s *TrafficGRPCServer) GetTop(ctx context.Context, _ *emptypb.Empty) (*APITrafficTopResponse, error)
- func (s *TrafficGRPCServer) GetTrafficWhitelist(ctx context.Context, _ *emptypb.Empty) (*APITrafficWhitelistItems, error)
- type TrafficServer
- type UnimplementedArticlesServer
- type UnimplementedAttrsServer
- func (UnimplementedAttrsServer) GetAttribute(context.Context, *AttrAttributeID) (*AttrAttribute, error)
- func (UnimplementedAttrsServer) GetAttributeTypes(context.Context, *emptypb.Empty) (*AttrAttributeTypesResponse, error)
- func (UnimplementedAttrsServer) GetAttributes(context.Context, *AttrAttributesRequest) (*AttrAttributesResponse, error)
- func (UnimplementedAttrsServer) GetListOptions(context.Context, *AttrListOptionsRequest) (*AttrListOptionsResponse, error)
- func (UnimplementedAttrsServer) GetUnits(context.Context, *emptypb.Empty) (*AttrUnitsResponse, error)
- func (UnimplementedAttrsServer) GetZoneAttributes(context.Context, *AttrZoneAttributesRequest) (*AttrZoneAttributesResponse, error)
- func (UnimplementedAttrsServer) GetZones(context.Context, *emptypb.Empty) (*AttrZonesResponse, error)
- type UnimplementedAutowpServer
- func (UnimplementedAutowpServer) AclEnforce(context.Context, *AclEnforceRequest) (*AclEnforceResult, error)
- func (UnimplementedAutowpServer) CreateFeedback(context.Context, *APICreateFeedbackRequest) (*emptypb.Empty, error)
- func (UnimplementedAutowpServer) GetBrandIcons(context.Context, *emptypb.Empty) (*BrandIcons, error)
- func (UnimplementedAutowpServer) GetBrandVehicleTypes(context.Context, *GetBrandVehicleTypesRequest) (*BrandVehicleTypeItems, error)
- func (UnimplementedAutowpServer) GetIP(context.Context, *APIGetIPRequest) (*APIIP, error)
- func (UnimplementedAutowpServer) GetPerspectivePages(context.Context, *emptypb.Empty) (*PerspectivePagesItems, error)
- func (UnimplementedAutowpServer) GetPerspectives(context.Context, *emptypb.Empty) (*PerspectivesItems, error)
- func (UnimplementedAutowpServer) GetReCaptchaConfig(context.Context, *emptypb.Empty) (*ReCaptchaConfig, error)
- func (UnimplementedAutowpServer) GetSpecs(context.Context, *emptypb.Empty) (*SpecsItems, error)
- func (UnimplementedAutowpServer) GetVehicleTypes(context.Context, *emptypb.Empty) (*VehicleTypeItems, error)
- type UnimplementedCommentsServer
- func (UnimplementedCommentsServer) Add(context.Context, *AddCommentRequest) (*AddCommentResponse, error)
- func (UnimplementedCommentsServer) GetCommentVotes(context.Context, *GetCommentVotesRequest) (*CommentVoteItems, error)
- func (UnimplementedCommentsServer) GetMessage(context.Context, *GetMessageRequest) (*APICommentsMessage, error)
- func (UnimplementedCommentsServer) GetMessagePage(context.Context, *GetMessagePageRequest) (*APICommentsMessagePage, error)
- func (UnimplementedCommentsServer) GetMessages(context.Context, *GetMessagesRequest) (*APICommentsMessages, error)
- func (UnimplementedCommentsServer) MoveComment(context.Context, *CommentsMoveCommentRequest) (*emptypb.Empty, error)
- func (UnimplementedCommentsServer) SetDeleted(context.Context, *CommentsSetDeletedRequest) (*emptypb.Empty, error)
- func (UnimplementedCommentsServer) Subscribe(context.Context, *CommentsSubscribeRequest) (*emptypb.Empty, error)
- func (UnimplementedCommentsServer) UnSubscribe(context.Context, *CommentsUnSubscribeRequest) (*emptypb.Empty, error)
- func (UnimplementedCommentsServer) View(context.Context, *CommentsViewRequest) (*emptypb.Empty, error)
- func (UnimplementedCommentsServer) VoteComment(context.Context, *CommentsVoteCommentRequest) (*CommentsVoteCommentResponse, error)
- type UnimplementedContactsServer
- func (UnimplementedContactsServer) CreateContact(context.Context, *CreateContactRequest) (*emptypb.Empty, error)
- func (UnimplementedContactsServer) DeleteContact(context.Context, *DeleteContactRequest) (*emptypb.Empty, error)
- func (UnimplementedContactsServer) GetContact(context.Context, *GetContactRequest) (*Contact, error)
- func (UnimplementedContactsServer) GetContacts(context.Context, *GetContactsRequest) (*ContactItems, error)
- type UnimplementedDonationsServer
- type UnimplementedForumsServer
- func (UnimplementedForumsServer) CloseTopic(context.Context, *APISetTopicStatusRequest) (*emptypb.Empty, error)
- func (UnimplementedForumsServer) CreateTopic(context.Context, *APICreateTopicRequest) (*APICreateTopicResponse, error)
- func (UnimplementedForumsServer) DeleteTopic(context.Context, *APISetTopicStatusRequest) (*emptypb.Empty, error)
- func (UnimplementedForumsServer) GetLastMessage(context.Context, *APIGetForumsTopicRequest) (*APICommentMessage, error)
- func (UnimplementedForumsServer) GetLastTopic(context.Context, *APIGetForumsThemeRequest) (*APIForumsTopic, error)
- func (UnimplementedForumsServer) GetTheme(context.Context, *APIGetForumsThemeRequest) (*APIForumsTheme, error)
- func (UnimplementedForumsServer) GetThemes(context.Context, *APIGetForumsThemesRequest) (*APIForumsThemes, error)
- func (UnimplementedForumsServer) GetTopic(context.Context, *APIGetForumsTopicRequest) (*APIForumsTopic, error)
- func (UnimplementedForumsServer) GetTopics(context.Context, *APIGetForumsTopicsRequest) (*APIForumsTopics, error)
- func (UnimplementedForumsServer) GetUserSummary(context.Context, *emptypb.Empty) (*APIForumsUserSummary, error)
- func (UnimplementedForumsServer) MoveTopic(context.Context, *APIMoveTopicRequest) (*emptypb.Empty, error)
- func (UnimplementedForumsServer) OpenTopic(context.Context, *APISetTopicStatusRequest) (*emptypb.Empty, error)
- type UnimplementedItemsServer
- func (UnimplementedItemsServer) CreateItemLink(context.Context, *APIItemLink) (*APICreateItemLinkResponse, error)
- func (UnimplementedItemsServer) CreateItemVehicleType(context.Context, *APIItemVehicleType) (*emptypb.Empty, error)
- func (UnimplementedItemsServer) DeleteItemLink(context.Context, *APIItemLinkRequest) (*emptypb.Empty, error)
- func (UnimplementedItemsServer) DeleteItemVehicleType(context.Context, *APIItemVehicleTypeRequest) (*emptypb.Empty, error)
- func (UnimplementedItemsServer) GetContentLanguages(context.Context, *emptypb.Empty) (*APIContentLanguages, error)
- func (UnimplementedItemsServer) GetItemLanguages(context.Context, *APIGetItemLanguagesRequest) (*ItemLanguages, error)
- func (UnimplementedItemsServer) GetItemLink(context.Context, *APIItemLinkRequest) (*APIItemLink, error)
- func (UnimplementedItemsServer) GetItemLinks(context.Context, *APIGetItemLinksRequest) (*APIItemLinksResponse, error)
- func (UnimplementedItemsServer) GetItemParentLanguages(context.Context, *APIGetItemParentLanguagesRequest) (*ItemParentLanguages, error)
- func (UnimplementedItemsServer) GetItemVehicleType(context.Context, *APIItemVehicleTypeRequest) (*APIItemVehicleType, error)
- func (UnimplementedItemsServer) GetItemVehicleTypes(context.Context, *APIGetItemVehicleTypesRequest) (*APIGetItemVehicleTypesResponse, error)
- func (UnimplementedItemsServer) GetStats(context.Context, *emptypb.Empty) (*StatsResponse, error)
- func (UnimplementedItemsServer) GetTopBrandsList(context.Context, *GetTopBrandsListRequest) (*APITopBrandsList, error)
- func (UnimplementedItemsServer) GetTopCategoriesList(context.Context, *GetTopCategoriesListRequest) (*APITopCategoriesList, error)
- func (UnimplementedItemsServer) GetTopFactoriesList(context.Context, *GetTopFactoriesListRequest) (*APITopFactoriesList, error)
- func (UnimplementedItemsServer) GetTopPersonsList(context.Context, *GetTopPersonsListRequest) (*APITopPersonsList, error)
- func (UnimplementedItemsServer) GetTopTwinsBrandsList(context.Context, *GetTopTwinsBrandsListRequest) (*APITopTwinsBrandsList, error)
- func (UnimplementedItemsServer) GetTree(context.Context, *GetTreeRequest) (*APITreeItem, error)
- func (UnimplementedItemsServer) GetTwinsBrandsList(context.Context, *GetTwinsBrandsListRequest) (*APITwinsBrandsList, error)
- func (UnimplementedItemsServer) Item(context.Context, *ItemRequest) (*APIItem, error)
- func (UnimplementedItemsServer) List(context.Context, *ListItemsRequest) (*APIItemList, error)
- func (UnimplementedItemsServer) UpdateItemLink(context.Context, *APIItemLink) (*emptypb.Empty, error)
- type UnimplementedMapServer
- type UnimplementedMessagingServer
- func (UnimplementedMessagingServer) ClearFolder(context.Context, *MessagingClearFolder) (*emptypb.Empty, error)
- func (UnimplementedMessagingServer) CreateMessage(context.Context, *MessagingCreateMessage) (*emptypb.Empty, error)
- func (UnimplementedMessagingServer) DeleteMessage(context.Context, *MessagingDeleteMessage) (*emptypb.Empty, error)
- func (UnimplementedMessagingServer) GetMessages(context.Context, *MessagingGetMessagesRequest) (*MessagingGetMessagesResponse, error)
- func (UnimplementedMessagingServer) GetMessagesNewCount(context.Context, *emptypb.Empty) (*APIMessageNewCount, error)
- func (UnimplementedMessagingServer) GetMessagesSummary(context.Context, *emptypb.Empty) (*APIMessageSummary, error)
- type UnimplementedPicturesServer
- func (UnimplementedPicturesServer) CreateModerVoteTemplate(context.Context, *ModerVoteTemplate) (*ModerVoteTemplate, error)
- func (UnimplementedPicturesServer) DeleteModerVoteTemplate(context.Context, *DeleteModerVoteTemplateRequest) (*emptypb.Empty, error)
- func (UnimplementedPicturesServer) GetModerVoteTemplates(context.Context, *emptypb.Empty) (*ModerVoteTemplates, error)
- func (UnimplementedPicturesServer) View(context.Context, *PicturesViewRequest) (*emptypb.Empty, error)
- func (UnimplementedPicturesServer) Vote(context.Context, *PicturesVoteRequest) (*PicturesVoteSummary, error)
- type UnimplementedRatingServer
- func (UnimplementedRatingServer) GetUserCommentsRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
- func (UnimplementedRatingServer) GetUserCommentsRatingFans(context.Context, *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error)
- func (UnimplementedRatingServer) GetUserPictureLikesRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
- func (UnimplementedRatingServer) GetUserPictureLikesRatingFans(context.Context, *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error)
- func (UnimplementedRatingServer) GetUserPicturesRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
- func (UnimplementedRatingServer) GetUserPicturesRatingBrands(context.Context, *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error)
- func (UnimplementedRatingServer) GetUserSpecsRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
- func (UnimplementedRatingServer) GetUserSpecsRatingBrands(context.Context, *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error)
- type UnimplementedStatisticsServer
- type UnimplementedTextServer
- type UnimplementedTrafficServer
- func (UnimplementedTrafficServer) AddToBlacklist(context.Context, *AddToTrafficBlacklistRequest) (*emptypb.Empty, error)
- func (UnimplementedTrafficServer) AddToWhitelist(context.Context, *AddToTrafficWhitelistRequest) (*emptypb.Empty, error)
- func (UnimplementedTrafficServer) DeleteFromBlacklist(context.Context, *DeleteFromTrafficBlacklistRequest) (*emptypb.Empty, error)
- func (UnimplementedTrafficServer) DeleteFromWhitelist(context.Context, *DeleteFromTrafficWhitelistRequest) (*emptypb.Empty, error)
- func (UnimplementedTrafficServer) GetTop(context.Context, *emptypb.Empty) (*APITrafficTopResponse, error)
- func (UnimplementedTrafficServer) GetWhitelist(context.Context, *emptypb.Empty) (*APITrafficWhitelistItems, error)
- type UnimplementedUsersServer
- func (UnimplementedUsersServer) DeleteUser(context.Context, *APIDeleteUserRequest) (*emptypb.Empty, error)
- func (UnimplementedUsersServer) DisableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error)
- func (UnimplementedUsersServer) EnableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error)
- func (UnimplementedUsersServer) GetUser(context.Context, *APIGetUserRequest) (*APIUser, error)
- func (UnimplementedUsersServer) GetUserPreferences(context.Context, *APIUserPreferencesRequest) (*APIUserPreferencesResponse, error)
- func (UnimplementedUsersServer) GetUsers(context.Context, *APIUsersRequest) (*APIUsersResponse, error)
- func (UnimplementedUsersServer) Me(context.Context, *APIMeRequest) (*APIUser, error)
- type UnsafeArticlesServer
- type UnsafeAttrsServer
- type UnsafeAutowpServer
- type UnsafeCommentsServer
- type UnsafeContactsServer
- type UnsafeDonationsServer
- type UnsafeForumsServer
- type UnsafeItemsServer
- type UnsafeMapServer
- type UnsafeMessagingServer
- type UnsafePicturesServer
- type UnsafeRatingServer
- type UnsafeStatisticsServer
- type UnsafeTextServer
- type UnsafeTrafficServer
- type UnsafeUsersServer
- type UserExtractor
- type UserRatingBrandsResponse
- func (*UserRatingBrandsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserRatingBrandsResponse) GetBrands() []*APIUsersRatingUserBrand
- func (*UserRatingBrandsResponse) ProtoMessage()
- func (x *UserRatingBrandsResponse) ProtoReflect() protoreflect.Message
- func (x *UserRatingBrandsResponse) Reset()
- func (x *UserRatingBrandsResponse) String() string
- type UserRatingDetailsRequest
- func (*UserRatingDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRatingDetailsRequest) GetLanguage() string
- func (x *UserRatingDetailsRequest) GetUserId() int64
- func (*UserRatingDetailsRequest) ProtoMessage()
- func (x *UserRatingDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *UserRatingDetailsRequest) Reset()
- func (x *UserRatingDetailsRequest) String() string
- type UsersClient
- type UsersGRPCServer
- func (s *UsersGRPCServer) DeleteUser(ctx context.Context, in *APIDeleteUserRequest) (*emptypb.Empty, error)
- func (s *UsersGRPCServer) DisableUserCommentsNotifications(ctx context.Context, in *APIUserPreferencesRequest) (*emptypb.Empty, error)
- func (s *UsersGRPCServer) EnableUserCommentsNotifications(ctx context.Context, in *APIUserPreferencesRequest) (*emptypb.Empty, error)
- func (s *UsersGRPCServer) GetUser(ctx context.Context, in *APIGetUserRequest) (*APIUser, error)
- func (s *UsersGRPCServer) GetUserPreferences(ctx context.Context, in *APIUserPreferencesRequest) (*APIUserPreferencesResponse, error)
- func (s *UsersGRPCServer) GetUsers(ctx context.Context, in *APIUsersRequest) (*APIUsersResponse, error)
- func (s *UsersGRPCServer) Me(ctx context.Context, _ *APIMeRequest) (*APIUser, error)
- type UsersServer
- type VODDataDate
- func (*VODDataDate) Descriptor() ([]byte, []int)deprecated
- func (x *VODDataDate) GetDate() *timestamppb.Timestamp
- func (x *VODDataDate) GetFree() bool
- func (*VODDataDate) ProtoMessage()
- func (x *VODDataDate) ProtoReflect() protoreflect.Message
- func (x *VODDataDate) Reset()
- func (x *VODDataDate) String() string
- type VODDataResponse
- func (*VODDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VODDataResponse) GetDates() []*VODDataDate
- func (x *VODDataResponse) GetSum() int32
- func (*VODDataResponse) ProtoMessage()
- func (x *VODDataResponse) ProtoReflect() protoreflect.Message
- func (x *VODDataResponse) Reset()
- func (x *VODDataResponse) String() string
- type VehicleType
- func (*VehicleType) Descriptor() ([]byte, []int)deprecated
- func (x *VehicleType) GetChilds() []*VehicleType
- func (x *VehicleType) GetId() int32
- func (x *VehicleType) GetName() string
- func (*VehicleType) ProtoMessage()
- func (x *VehicleType) ProtoReflect() protoreflect.Message
- func (x *VehicleType) Reset()
- func (x *VehicleType) String() string
- type VehicleTypeItems
- type YoomoneyHandler
- type YoomoneyWebhook
Constants ¶
const ( TopicStatusNormal = "normal" TopicStatusClosed = "closed" TopicStatusDeleted = "deleted" )
const ArticlesPreviewBaseURL = "/img/articles/preview/"
const MaxReplies = 500
const MaxTopicNameLength = 100
const RUB = "643"
Variables ¶
var ( PictureItemType_name = map[int32]string{ 0: "PICTURE_UNKNOWN", 1: "PICTURE_CONTENT", 2: "PICTURE_AUTHOR", 3: "PICTURE_COPYRIGHTS", } PictureItemType_value = map[string]int32{ "PICTURE_UNKNOWN": 0, "PICTURE_CONTENT": 1, "PICTURE_AUTHOR": 2, "PICTURE_COPYRIGHTS": 3, } )
Enum value maps for PictureItemType.
var ( ItemType_name = map[int32]string{ 0: "ITEM_TYPE_UNKNOWN", 1: "ITEM_TYPE_VEHICLE", 2: "ITEM_TYPE_ENGINE", 3: "ITEM_TYPE_CATEGORY", 4: "ITEM_TYPE_TWINS", 5: "ITEM_TYPE_BRAND", 6: "ITEM_TYPE_FACTORY", 7: "ITEM_TYPE_MUSEUM", 8: "ITEM_TYPE_PERSON", 9: "ITEM_TYPE_COPYRIGHT", } ItemType_value = map[string]int32{ "ITEM_TYPE_UNKNOWN": 0, "ITEM_TYPE_VEHICLE": 1, "ITEM_TYPE_ENGINE": 2, "ITEM_TYPE_CATEGORY": 3, "ITEM_TYPE_TWINS": 4, "ITEM_TYPE_BRAND": 5, "ITEM_TYPE_FACTORY": 6, "ITEM_TYPE_MUSEUM": 7, "ITEM_TYPE_PERSON": 8, "ITEM_TYPE_COPYRIGHT": 9, } )
Enum value maps for ItemType.
var ( PictureStatus_name = map[int32]string{ 0: "PICTURE_STATUS_UNKNOWN", 1: "PICTURE_STATUS_ACCEPTED", 2: "PICTURE_STATUS_REMOVING", 3: "PICTURE_STATUS_REMOVED", 4: "PICTURE_STATUS_INBOX", } PictureStatus_value = map[string]int32{ "PICTURE_STATUS_UNKNOWN": 0, "PICTURE_STATUS_ACCEPTED": 1, "PICTURE_STATUS_REMOVING": 2, "PICTURE_STATUS_REMOVED": 3, "PICTURE_STATUS_INBOX": 4, } )
Enum value maps for PictureStatus.
var ( ItemPictureType_name = map[int32]string{ 0: "ITEM_PICTURE_UNKNOWN", 1: "ITEM_PICTURE_CONTENT", 2: "ITEM_PICTURE_AUTHOR", 3: "ITEM_PICTURE_COPYRIGHTS", } ItemPictureType_value = map[string]int32{ "ITEM_PICTURE_UNKNOWN": 0, "ITEM_PICTURE_CONTENT": 1, "ITEM_PICTURE_AUTHOR": 2, "ITEM_PICTURE_COPYRIGHTS": 3, } )
Enum value maps for ItemPictureType.
var ( CommentsType_name = map[int32]string{ 0: "UNKNOWN", 1: "PICTURES_TYPE_ID", 2: "ITEM_TYPE_ID", 3: "VOTINGS_TYPE_ID", 4: "ARTICLES_TYPE_ID", 5: "FORUMS_TYPE_ID", } CommentsType_value = map[string]int32{ "UNKNOWN": 0, "PICTURES_TYPE_ID": 1, "ITEM_TYPE_ID": 2, "VOTINGS_TYPE_ID": 3, "ARTICLES_TYPE_ID": 4, "FORUMS_TYPE_ID": 5, } )
Enum value maps for CommentsType.
var ( ModeratorAttention_name = map[int32]string{ 0: "NONE", 1: "REQUIRED", 2: "COMPLETE", } ModeratorAttention_value = map[string]int32{ "NONE": 0, "REQUIRED": 1, "COMPLETE": 2, } )
Enum value maps for ModeratorAttention.
var ( AttrAttributeType_ID_name = map[int32]string{ 0: "UNKNOWN", 1: "STRING", 2: "INTEGER", 3: "FLOAT", 4: "TEXT", 5: "BOOLEAN", 6: "LIST", 7: "TREE", } AttrAttributeType_ID_value = map[string]int32{ "UNKNOWN": 0, "STRING": 1, "INTEGER": 2, "FLOAT": 3, "TEXT": 4, "BOOLEAN": 5, "LIST": 6, "TREE": 7, } )
Enum value maps for AttrAttributeType_ID.
var ( PulseRequest_Period_name = map[int32]string{ 0: "DEFAULT", 1: "YEAR", 2: "MONTH", } PulseRequest_Period_value = map[string]int32{ "DEFAULT": 0, "YEAR": 1, "MONTH": 2, } )
Enum value maps for PulseRequest_Period.
var ( CommentVote_VoteValue_name = map[int32]string{ 0: "UNKNOWN", -1: "POSITIVE", 1: "NEGATIVE", } CommentVote_VoteValue_value = map[string]int32{ "UNKNOWN": 0, "POSITIVE": -1, "NEGATIVE": 1, } )
Enum value maps for CommentVote_VoteValue.
var ( ListItemsRequest_Order_name = map[int32]string{ 0: "DEFAULT", 1: "NAME_NAT", 2: "NAME", } ListItemsRequest_Order_value = map[string]int32{ "DEFAULT": 0, "NAME_NAT": 1, "NAME": 2, } )
Enum value maps for ListItemsRequest_Order.
var ( GetMessagesRequest_Order_name = map[int32]string{ 0: "DEFAULT", 1: "VOTE_DESC", 2: "VOTE_ASC", 3: "DATE_DESC", 4: "DATE_ASC", } GetMessagesRequest_Order_value = map[string]int32{ "DEFAULT": 0, "VOTE_DESC": 1, "VOTE_ASC": 2, "DATE_DESC": 3, "DATE_ASC": 4, } )
Enum value maps for GetMessagesRequest_Order.
var Articles_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Articles", HandlerType: (*ArticlesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetList", Handler: _Articles_GetList_Handler, }, { MethodName: "GetItemByCatname", Handler: _Articles_GetItemByCatname_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Articles_ServiceDesc is the grpc.ServiceDesc for Articles service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Attrs_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Attrs", HandlerType: (*AttrsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAttribute", Handler: _Attrs_GetAttribute_Handler, }, { MethodName: "GetAttributes", Handler: _Attrs_GetAttributes_Handler, }, { MethodName: "GetAttributeTypes", Handler: _Attrs_GetAttributeTypes_Handler, }, { MethodName: "GetListOptions", Handler: _Attrs_GetListOptions_Handler, }, { MethodName: "GetUnits", Handler: _Attrs_GetUnits_Handler, }, { MethodName: "GetZoneAttributes", Handler: _Attrs_GetZoneAttributes_Handler, }, { MethodName: "GetZones", Handler: _Attrs_GetZones_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Attrs_ServiceDesc is the grpc.ServiceDesc for Attrs service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Autowp_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Autowp", HandlerType: (*AutowpServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AclEnforce", Handler: _Autowp_AclEnforce_Handler, }, { MethodName: "CreateFeedback", Handler: _Autowp_CreateFeedback_Handler, }, { MethodName: "GetBrandIcons", Handler: _Autowp_GetBrandIcons_Handler, }, { MethodName: "GetBrandVehicleTypes", Handler: _Autowp_GetBrandVehicleTypes_Handler, }, { MethodName: "GetIP", Handler: _Autowp_GetIP_Handler, }, { MethodName: "GetPerspectives", Handler: _Autowp_GetPerspectives_Handler, }, { MethodName: "GetPerspectivePages", Handler: _Autowp_GetPerspectivePages_Handler, }, { MethodName: "GetReCaptchaConfig", Handler: _Autowp_GetReCaptchaConfig_Handler, }, { MethodName: "GetSpecs", Handler: _Autowp_GetSpecs_Handler, }, { MethodName: "GetVehicleTypes", Handler: _Autowp_GetVehicleTypes_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Autowp_ServiceDesc is the grpc.ServiceDesc for Autowp service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Comments_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Comments", HandlerType: (*CommentsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCommentVotes", Handler: _Comments_GetCommentVotes_Handler, }, { MethodName: "Subscribe", Handler: _Comments_Subscribe_Handler, }, { MethodName: "UnSubscribe", Handler: _Comments_UnSubscribe_Handler, }, { MethodName: "View", Handler: _Comments_View_Handler, }, { MethodName: "SetDeleted", Handler: _Comments_SetDeleted_Handler, }, { MethodName: "MoveComment", Handler: _Comments_MoveComment_Handler, }, { MethodName: "VoteComment", Handler: _Comments_VoteComment_Handler, }, { MethodName: "Add", Handler: _Comments_Add_Handler, }, { MethodName: "GetMessagePage", Handler: _Comments_GetMessagePage_Handler, }, { MethodName: "GetMessage", Handler: _Comments_GetMessage_Handler, }, { MethodName: "GetMessages", Handler: _Comments_GetMessages_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Comments_ServiceDesc is the grpc.ServiceDesc for Comments service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Contacts_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Contacts", HandlerType: (*ContactsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateContact", Handler: _Contacts_CreateContact_Handler, }, { MethodName: "DeleteContact", Handler: _Contacts_DeleteContact_Handler, }, { MethodName: "GetContact", Handler: _Contacts_GetContact_Handler, }, { MethodName: "GetContacts", Handler: _Contacts_GetContacts_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Contacts_ServiceDesc is the grpc.ServiceDesc for Contacts service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Donations_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Donations", HandlerType: (*DonationsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVODData", Handler: _Donations_GetVODData_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Donations_ServiceDesc is the grpc.ServiceDesc for Donations service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ErrUserNotFound = errors.New("user not found")
var File_spec_proto protoreflect.FileDescriptor
var Forums_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Forums", HandlerType: (*ForumsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserSummary", Handler: _Forums_GetUserSummary_Handler, }, { MethodName: "CreateTopic", Handler: _Forums_CreateTopic_Handler, }, { MethodName: "CloseTopic", Handler: _Forums_CloseTopic_Handler, }, { MethodName: "OpenTopic", Handler: _Forums_OpenTopic_Handler, }, { MethodName: "DeleteTopic", Handler: _Forums_DeleteTopic_Handler, }, { MethodName: "MoveTopic", Handler: _Forums_MoveTopic_Handler, }, { MethodName: "GetTheme", Handler: _Forums_GetTheme_Handler, }, { MethodName: "GetThemes", Handler: _Forums_GetThemes_Handler, }, { MethodName: "GetTopic", Handler: _Forums_GetTopic_Handler, }, { MethodName: "GetLastTopic", Handler: _Forums_GetLastTopic_Handler, }, { MethodName: "GetLastMessage", Handler: _Forums_GetLastMessage_Handler, }, { MethodName: "GetTopics", Handler: _Forums_GetTopics_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Forums_ServiceDesc is the grpc.ServiceDesc for Forums service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Items_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Items", HandlerType: (*ItemsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTopBrandsList", Handler: _Items_GetTopBrandsList_Handler, }, { MethodName: "GetTopPersonsList", Handler: _Items_GetTopPersonsList_Handler, }, { MethodName: "GetTopFactoriesList", Handler: _Items_GetTopFactoriesList_Handler, }, { MethodName: "GetTopCategoriesList", Handler: _Items_GetTopCategoriesList_Handler, }, { MethodName: "GetTwinsBrandsList", Handler: _Items_GetTwinsBrandsList_Handler, }, { MethodName: "GetTopTwinsBrandsList", Handler: _Items_GetTopTwinsBrandsList_Handler, }, { MethodName: "Item", Handler: _Items_Item_Handler, }, { MethodName: "List", Handler: _Items_List_Handler, }, { MethodName: "GetTree", Handler: _Items_GetTree_Handler, }, { MethodName: "GetContentLanguages", Handler: _Items_GetContentLanguages_Handler, }, { MethodName: "GetItemLink", Handler: _Items_GetItemLink_Handler, }, { MethodName: "GetItemLinks", Handler: _Items_GetItemLinks_Handler, }, { MethodName: "DeleteItemLink", Handler: _Items_DeleteItemLink_Handler, }, { MethodName: "CreateItemLink", Handler: _Items_CreateItemLink_Handler, }, { MethodName: "UpdateItemLink", Handler: _Items_UpdateItemLink_Handler, }, { MethodName: "GetItemVehicleTypes", Handler: _Items_GetItemVehicleTypes_Handler, }, { MethodName: "GetItemVehicleType", Handler: _Items_GetItemVehicleType_Handler, }, { MethodName: "CreateItemVehicleType", Handler: _Items_CreateItemVehicleType_Handler, }, { MethodName: "DeleteItemVehicleType", Handler: _Items_DeleteItemVehicleType_Handler, }, { MethodName: "GetItemLanguages", Handler: _Items_GetItemLanguages_Handler, }, { MethodName: "GetItemParentLanguages", Handler: _Items_GetItemParentLanguages_Handler, }, { MethodName: "GetStats", Handler: _Items_GetStats_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Items_ServiceDesc is the grpc.ServiceDesc for Items service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Map_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Map", HandlerType: (*MapServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPoints", Handler: _Map_GetPoints_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Map_ServiceDesc is the grpc.ServiceDesc for Map service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Messaging_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Messaging", HandlerType: (*MessagingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMessagesNewCount", Handler: _Messaging_GetMessagesNewCount_Handler, }, { MethodName: "GetMessagesSummary", Handler: _Messaging_GetMessagesSummary_Handler, }, { MethodName: "DeleteMessage", Handler: _Messaging_DeleteMessage_Handler, }, { MethodName: "ClearFolder", Handler: _Messaging_ClearFolder_Handler, }, { MethodName: "CreateMessage", Handler: _Messaging_CreateMessage_Handler, }, { MethodName: "GetMessages", Handler: _Messaging_GetMessages_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Messaging_ServiceDesc is the grpc.ServiceDesc for Messaging service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Pictures_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Pictures", HandlerType: (*PicturesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "View", Handler: _Pictures_View_Handler, }, { MethodName: "Vote", Handler: _Pictures_Vote_Handler, }, { MethodName: "CreateModerVoteTemplate", Handler: _Pictures_CreateModerVoteTemplate_Handler, }, { MethodName: "DeleteModerVoteTemplate", Handler: _Pictures_DeleteModerVoteTemplate_Handler, }, { MethodName: "GetModerVoteTemplates", Handler: _Pictures_GetModerVoteTemplates_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Pictures_ServiceDesc is the grpc.ServiceDesc for Pictures service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Rating_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Rating", HandlerType: (*RatingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserPicturesRating", Handler: _Rating_GetUserPicturesRating_Handler, }, { MethodName: "GetUserPicturesRatingBrands", Handler: _Rating_GetUserPicturesRatingBrands_Handler, }, { MethodName: "GetUserCommentsRating", Handler: _Rating_GetUserCommentsRating_Handler, }, { MethodName: "GetUserCommentsRatingFans", Handler: _Rating_GetUserCommentsRatingFans_Handler, }, { MethodName: "GetUserPictureLikesRating", Handler: _Rating_GetUserPictureLikesRating_Handler, }, { MethodName: "GetUserPictureLikesRatingFans", Handler: _Rating_GetUserPictureLikesRatingFans_Handler, }, { MethodName: "GetUserSpecsRating", Handler: _Rating_GetUserSpecsRating_Handler, }, { MethodName: "GetUserSpecsRatingBrands", Handler: _Rating_GetUserSpecsRatingBrands_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Rating_ServiceDesc is the grpc.ServiceDesc for Rating service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Statistics_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Statistics", HandlerType: (*StatisticsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPulse", Handler: _Statistics_GetPulse_Handler, }, { MethodName: "GetAboutData", Handler: _Statistics_GetAboutData_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Statistics_ServiceDesc is the grpc.ServiceDesc for Statistics service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Text_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Text", HandlerType: (*TextServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetText", Handler: _Text_GetText_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Text_ServiceDesc is the grpc.ServiceDesc for Text service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Traffic_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Traffic", HandlerType: (*TrafficServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddToBlacklist", Handler: _Traffic_AddToBlacklist_Handler, }, { MethodName: "AddToWhitelist", Handler: _Traffic_AddToWhitelist_Handler, }, { MethodName: "DeleteFromBlacklist", Handler: _Traffic_DeleteFromBlacklist_Handler, }, { MethodName: "DeleteFromWhitelist", Handler: _Traffic_DeleteFromWhitelist_Handler, }, { MethodName: "GetTop", Handler: _Traffic_GetTop_Handler, }, { MethodName: "GetWhitelist", Handler: _Traffic_GetWhitelist_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Traffic_ServiceDesc is the grpc.ServiceDesc for Traffic service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Users_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goautowp.Users", HandlerType: (*UsersServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DeleteUser", Handler: _Users_DeleteUser_Handler, }, { MethodName: "GetUser", Handler: _Users_GetUser_Handler, }, { MethodName: "Me", Handler: _Users_Me_Handler, }, { MethodName: "GetUserPreferences", Handler: _Users_GetUserPreferences_Handler, }, { MethodName: "DisableUserCommentsNotifications", Handler: _Users_DisableUserCommentsNotifications_Handler, }, { MethodName: "EnableUserCommentsNotifications", Handler: _Users_EnableUserCommentsNotifications_Handler, }, { MethodName: "GetUsers", Handler: _Users_GetUsers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spec.proto", }
Users_ServiceDesc is the grpc.ServiceDesc for Users service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterArticlesServer ¶ added in v1.7.0
func RegisterArticlesServer(s grpc.ServiceRegistrar, srv ArticlesServer)
func RegisterAttrsServer ¶ added in v1.43.0
func RegisterAttrsServer(s grpc.ServiceRegistrar, srv AttrsServer)
func RegisterAutowpServer ¶
func RegisterAutowpServer(s grpc.ServiceRegistrar, srv AutowpServer)
func RegisterCommentsServer ¶
func RegisterCommentsServer(s grpc.ServiceRegistrar, srv CommentsServer)
func RegisterContactsServer ¶
func RegisterContactsServer(s grpc.ServiceRegistrar, srv ContactsServer)
func RegisterDonationsServer ¶
func RegisterDonationsServer(s grpc.ServiceRegistrar, srv DonationsServer)
func RegisterForumsServer ¶ added in v1.23.0
func RegisterForumsServer(s grpc.ServiceRegistrar, srv ForumsServer)
func RegisterItemsServer ¶
func RegisterItemsServer(s grpc.ServiceRegistrar, srv ItemsServer)
func RegisterMapServer ¶
func RegisterMapServer(s grpc.ServiceRegistrar, srv MapServer)
func RegisterMessagingServer ¶
func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)
func RegisterPicturesServer ¶
func RegisterPicturesServer(s grpc.ServiceRegistrar, srv PicturesServer)
func RegisterRatingServer ¶ added in v1.76.0
func RegisterRatingServer(s grpc.ServiceRegistrar, srv RatingServer)
func RegisterStatisticsServer ¶
func RegisterStatisticsServer(s grpc.ServiceRegistrar, srv StatisticsServer)
func RegisterTextServer ¶ added in v1.30.0
func RegisterTextServer(s grpc.ServiceRegistrar, srv TextServer)
func RegisterTrafficServer ¶
func RegisterTrafficServer(s grpc.ServiceRegistrar, srv TrafficServer)
func RegisterUsersServer ¶
func RegisterUsersServer(s grpc.ServiceRegistrar, srv UsersServer)
Types ¶
type APIBanItem ¶
type APIBanItem struct { Until *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=until,proto3" json:"until,omitempty"` ByUserId int64 `protobuf:"varint,2,opt,name=by_user_id,json=byUserId,proto3" json:"by_user_id,omitempty"` ByUser *APIUser `protobuf:"bytes,3,opt,name=by_user,json=byUser,proto3" json:"by_user,omitempty"` Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*APIBanItem) Descriptor
deprecated
func (*APIBanItem) Descriptor() ([]byte, []int)
Deprecated: Use APIBanItem.ProtoReflect.Descriptor instead.
func (*APIBanItem) GetByUser ¶
func (x *APIBanItem) GetByUser() *APIUser
func (*APIBanItem) GetByUserId ¶
func (x *APIBanItem) GetByUserId() int64
func (*APIBanItem) GetReason ¶
func (x *APIBanItem) GetReason() string
func (*APIBanItem) GetUntil ¶
func (x *APIBanItem) GetUntil() *timestamppb.Timestamp
func (*APIBanItem) ProtoMessage ¶
func (*APIBanItem) ProtoMessage()
func (*APIBanItem) ProtoReflect ¶
func (x *APIBanItem) ProtoReflect() protoreflect.Message
func (*APIBanItem) Reset ¶
func (x *APIBanItem) Reset()
func (*APIBanItem) String ¶
func (x *APIBanItem) String() string
type APICommentMessage ¶ added in v1.37.0
type APICommentMessage struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*APICommentMessage) Descriptor
deprecated
added in
v1.37.0
func (*APICommentMessage) Descriptor() ([]byte, []int)
Deprecated: Use APICommentMessage.ProtoReflect.Descriptor instead.
func (*APICommentMessage) GetCreatedAt ¶ added in v1.37.0
func (x *APICommentMessage) GetCreatedAt() *timestamppb.Timestamp
func (*APICommentMessage) GetId ¶ added in v1.37.0
func (x *APICommentMessage) GetId() int64
func (*APICommentMessage) GetUserId ¶ added in v1.37.0
func (x *APICommentMessage) GetUserId() int64
func (*APICommentMessage) ProtoMessage ¶ added in v1.37.0
func (*APICommentMessage) ProtoMessage()
func (*APICommentMessage) ProtoReflect ¶ added in v1.37.0
func (x *APICommentMessage) ProtoReflect() protoreflect.Message
func (*APICommentMessage) Reset ¶ added in v1.37.0
func (x *APICommentMessage) Reset()
func (*APICommentMessage) String ¶ added in v1.37.0
func (x *APICommentMessage) String() string
type APICommentsMessage ¶ added in v1.41.0
type APICommentsMessage struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TypeId CommentsType `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"` ItemId int64 `protobuf:"varint,3,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` ParentId int64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"` ModeratorAttention ModeratorAttention `` /* 149-byte string literal not displayed */ IsNew bool `protobuf:"varint,8,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` AuthorId int64 `protobuf:"varint,9,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"` Ip string `protobuf:"bytes,10,opt,name=ip,proto3" json:"ip,omitempty"` Text string `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"` Vote int32 `protobuf:"varint,12,opt,name=vote,proto3" json:"vote,omitempty"` Preview string `protobuf:"bytes,13,opt,name=preview,proto3" json:"preview,omitempty"` Route []string `protobuf:"bytes,14,rep,name=route,proto3" json:"route,omitempty"` UserVote int32 `protobuf:"varint,15,opt,name=userVote,proto3" json:"userVote,omitempty"` Replies []*APICommentsMessage `protobuf:"bytes,16,rep,name=replies,proto3" json:"replies,omitempty"` PictureStatus PictureStatus `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*APICommentsMessage) Descriptor
deprecated
added in
v1.41.0
func (*APICommentsMessage) Descriptor() ([]byte, []int)
Deprecated: Use APICommentsMessage.ProtoReflect.Descriptor instead.
func (*APICommentsMessage) GetAuthorId ¶ added in v1.41.0
func (x *APICommentsMessage) GetAuthorId() int64
func (*APICommentsMessage) GetCreatedAt ¶ added in v1.41.0
func (x *APICommentsMessage) GetCreatedAt() *timestamppb.Timestamp
func (*APICommentsMessage) GetDeleted ¶ added in v1.41.0
func (x *APICommentsMessage) GetDeleted() bool
func (*APICommentsMessage) GetId ¶ added in v1.41.0
func (x *APICommentsMessage) GetId() int64
func (*APICommentsMessage) GetIp ¶ added in v1.41.0
func (x *APICommentsMessage) GetIp() string
func (*APICommentsMessage) GetIsNew ¶ added in v1.41.0
func (x *APICommentsMessage) GetIsNew() bool
func (*APICommentsMessage) GetItemId ¶ added in v1.41.0
func (x *APICommentsMessage) GetItemId() int64
func (*APICommentsMessage) GetModeratorAttention ¶ added in v1.41.0
func (x *APICommentsMessage) GetModeratorAttention() ModeratorAttention
func (*APICommentsMessage) GetParentId ¶ added in v1.41.0
func (x *APICommentsMessage) GetParentId() int64
func (*APICommentsMessage) GetPictureStatus ¶ added in v1.41.0
func (x *APICommentsMessage) GetPictureStatus() PictureStatus
func (*APICommentsMessage) GetPreview ¶ added in v1.41.0
func (x *APICommentsMessage) GetPreview() string
func (*APICommentsMessage) GetReplies ¶ added in v1.41.0
func (x *APICommentsMessage) GetReplies() []*APICommentsMessage
func (*APICommentsMessage) GetRoute ¶ added in v1.41.0
func (x *APICommentsMessage) GetRoute() []string
func (*APICommentsMessage) GetText ¶ added in v1.41.0
func (x *APICommentsMessage) GetText() string
func (*APICommentsMessage) GetTypeId ¶ added in v1.41.0
func (x *APICommentsMessage) GetTypeId() CommentsType
func (*APICommentsMessage) GetUserVote ¶ added in v1.41.0
func (x *APICommentsMessage) GetUserVote() int32
func (*APICommentsMessage) GetVote ¶ added in v1.41.0
func (x *APICommentsMessage) GetVote() int32
func (*APICommentsMessage) ProtoMessage ¶ added in v1.41.0
func (*APICommentsMessage) ProtoMessage()
func (*APICommentsMessage) ProtoReflect ¶ added in v1.41.0
func (x *APICommentsMessage) ProtoReflect() protoreflect.Message
func (*APICommentsMessage) Reset ¶ added in v1.41.0
func (x *APICommentsMessage) Reset()
func (*APICommentsMessage) String ¶ added in v1.41.0
func (x *APICommentsMessage) String() string
type APICommentsMessagePage ¶ added in v1.38.0
type APICommentsMessagePage struct { TypeId CommentsType `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"` ItemId int64 `protobuf:"varint,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*APICommentsMessagePage) Descriptor
deprecated
added in
v1.38.0
func (*APICommentsMessagePage) Descriptor() ([]byte, []int)
Deprecated: Use APICommentsMessagePage.ProtoReflect.Descriptor instead.
func (*APICommentsMessagePage) GetItemId ¶ added in v1.38.0
func (x *APICommentsMessagePage) GetItemId() int64
func (*APICommentsMessagePage) GetPage ¶ added in v1.38.0
func (x *APICommentsMessagePage) GetPage() int32
func (*APICommentsMessagePage) GetTypeId ¶ added in v1.38.0
func (x *APICommentsMessagePage) GetTypeId() CommentsType
func (*APICommentsMessagePage) ProtoMessage ¶ added in v1.38.0
func (*APICommentsMessagePage) ProtoMessage()
func (*APICommentsMessagePage) ProtoReflect ¶ added in v1.38.0
func (x *APICommentsMessagePage) ProtoReflect() protoreflect.Message
func (*APICommentsMessagePage) Reset ¶ added in v1.38.0
func (x *APICommentsMessagePage) Reset()
func (*APICommentsMessagePage) String ¶ added in v1.38.0
func (x *APICommentsMessagePage) String() string
type APICommentsMessages ¶ added in v1.41.0
type APICommentsMessages struct { Items []*APICommentsMessage `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Paginator *Pages `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"` // contains filtered or unexported fields }
func (*APICommentsMessages) Descriptor
deprecated
added in
v1.41.0
func (*APICommentsMessages) Descriptor() ([]byte, []int)
Deprecated: Use APICommentsMessages.ProtoReflect.Descriptor instead.
func (*APICommentsMessages) GetItems ¶ added in v1.41.0
func (x *APICommentsMessages) GetItems() []*APICommentsMessage
func (*APICommentsMessages) GetPaginator ¶ added in v1.41.0
func (x *APICommentsMessages) GetPaginator() *Pages
func (*APICommentsMessages) ProtoMessage ¶ added in v1.41.0
func (*APICommentsMessages) ProtoMessage()
func (*APICommentsMessages) ProtoReflect ¶ added in v1.41.0
func (x *APICommentsMessages) ProtoReflect() protoreflect.Message
func (*APICommentsMessages) Reset ¶ added in v1.41.0
func (x *APICommentsMessages) Reset()
func (*APICommentsMessages) String ¶ added in v1.41.0
func (x *APICommentsMessages) String() string
type APIContentLanguages ¶ added in v1.11.0
type APIContentLanguages struct { Languages []string `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` // contains filtered or unexported fields }
func (*APIContentLanguages) Descriptor
deprecated
added in
v1.11.0
func (*APIContentLanguages) Descriptor() ([]byte, []int)
Deprecated: Use APIContentLanguages.ProtoReflect.Descriptor instead.
func (*APIContentLanguages) GetLanguages ¶ added in v1.11.0
func (x *APIContentLanguages) GetLanguages() []string
func (*APIContentLanguages) ProtoMessage ¶ added in v1.11.0
func (*APIContentLanguages) ProtoMessage()
func (*APIContentLanguages) ProtoReflect ¶ added in v1.11.0
func (x *APIContentLanguages) ProtoReflect() protoreflect.Message
func (*APIContentLanguages) Reset ¶ added in v1.11.0
func (x *APIContentLanguages) Reset()
func (*APIContentLanguages) String ¶ added in v1.11.0
func (x *APIContentLanguages) String() string
type APICreateFeedbackRequest ¶
type APICreateFeedbackRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Captcha string `protobuf:"bytes,4,opt,name=captcha,proto3" json:"captcha,omitempty"` // contains filtered or unexported fields }
func (*APICreateFeedbackRequest) Descriptor
deprecated
func (*APICreateFeedbackRequest) Descriptor() ([]byte, []int)
Deprecated: Use APICreateFeedbackRequest.ProtoReflect.Descriptor instead.
func (*APICreateFeedbackRequest) GetCaptcha ¶
func (x *APICreateFeedbackRequest) GetCaptcha() string
func (*APICreateFeedbackRequest) GetEmail ¶
func (x *APICreateFeedbackRequest) GetEmail() string
func (*APICreateFeedbackRequest) GetMessage ¶
func (x *APICreateFeedbackRequest) GetMessage() string
func (*APICreateFeedbackRequest) GetName ¶
func (x *APICreateFeedbackRequest) GetName() string
func (*APICreateFeedbackRequest) ProtoMessage ¶
func (*APICreateFeedbackRequest) ProtoMessage()
func (*APICreateFeedbackRequest) ProtoReflect ¶
func (x *APICreateFeedbackRequest) ProtoReflect() protoreflect.Message
func (*APICreateFeedbackRequest) Reset ¶
func (x *APICreateFeedbackRequest) Reset()
func (*APICreateFeedbackRequest) String ¶
func (x *APICreateFeedbackRequest) String() string
type APICreateItemLinkResponse ¶ added in v1.28.0
type APICreateItemLinkResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*APICreateItemLinkResponse) Descriptor
deprecated
added in
v1.28.0
func (*APICreateItemLinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use APICreateItemLinkResponse.ProtoReflect.Descriptor instead.
func (*APICreateItemLinkResponse) GetId ¶ added in v1.28.0
func (x *APICreateItemLinkResponse) GetId() int64
func (*APICreateItemLinkResponse) ProtoMessage ¶ added in v1.28.0
func (*APICreateItemLinkResponse) ProtoMessage()
func (*APICreateItemLinkResponse) ProtoReflect ¶ added in v1.28.0
func (x *APICreateItemLinkResponse) ProtoReflect() protoreflect.Message
func (*APICreateItemLinkResponse) Reset ¶ added in v1.28.0
func (x *APICreateItemLinkResponse) Reset()
func (*APICreateItemLinkResponse) String ¶ added in v1.28.0
func (x *APICreateItemLinkResponse) String() string
type APICreateTopicRequest ¶ added in v1.23.0
type APICreateTopicRequest struct { ThemeId int64 `protobuf:"varint,1,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` ModeratorAttention bool `protobuf:"varint,4,opt,name=moderator_attention,json=moderatorAttention,proto3" json:"moderator_attention,omitempty"` Subscription bool `protobuf:"varint,5,opt,name=subscription,proto3" json:"subscription,omitempty"` // contains filtered or unexported fields }
func (*APICreateTopicRequest) Descriptor
deprecated
added in
v1.23.0
func (*APICreateTopicRequest) Descriptor() ([]byte, []int)
Deprecated: Use APICreateTopicRequest.ProtoReflect.Descriptor instead.
func (*APICreateTopicRequest) GetMessage ¶ added in v1.23.0
func (x *APICreateTopicRequest) GetMessage() string
func (*APICreateTopicRequest) GetModeratorAttention ¶ added in v1.23.0
func (x *APICreateTopicRequest) GetModeratorAttention() bool
func (*APICreateTopicRequest) GetName ¶ added in v1.23.0
func (x *APICreateTopicRequest) GetName() string
func (*APICreateTopicRequest) GetSubscription ¶ added in v1.23.0
func (x *APICreateTopicRequest) GetSubscription() bool
func (*APICreateTopicRequest) GetThemeId ¶ added in v1.23.0
func (x *APICreateTopicRequest) GetThemeId() int64
func (*APICreateTopicRequest) ProtoMessage ¶ added in v1.23.0
func (*APICreateTopicRequest) ProtoMessage()
func (*APICreateTopicRequest) ProtoReflect ¶ added in v1.23.0
func (x *APICreateTopicRequest) ProtoReflect() protoreflect.Message
func (*APICreateTopicRequest) Reset ¶ added in v1.23.0
func (x *APICreateTopicRequest) Reset()
func (*APICreateTopicRequest) String ¶ added in v1.23.0
func (x *APICreateTopicRequest) String() string
func (*APICreateTopicRequest) Validate ¶ added in v1.23.0
func (s *APICreateTopicRequest) Validate( ctx context.Context, commentsRepository *comments.Repository, userID int64, ) ([]*errdetails.BadRequest_FieldViolation, error)
type APICreateTopicResponse ¶ added in v1.23.0
type APICreateTopicResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*APICreateTopicResponse) Descriptor
deprecated
added in
v1.23.0
func (*APICreateTopicResponse) Descriptor() ([]byte, []int)
Deprecated: Use APICreateTopicResponse.ProtoReflect.Descriptor instead.
func (*APICreateTopicResponse) GetId ¶ added in v1.23.0
func (x *APICreateTopicResponse) GetId() int64
func (*APICreateTopicResponse) ProtoMessage ¶ added in v1.23.0
func (*APICreateTopicResponse) ProtoMessage()
func (*APICreateTopicResponse) ProtoReflect ¶ added in v1.23.0
func (x *APICreateTopicResponse) ProtoReflect() protoreflect.Message
func (*APICreateTopicResponse) Reset ¶ added in v1.23.0
func (x *APICreateTopicResponse) Reset()
func (*APICreateTopicResponse) String ¶ added in v1.23.0
func (x *APICreateTopicResponse) String() string
type APIDeleteUserRequest ¶
type APIDeleteUserRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*APIDeleteUserRequest) Descriptor
deprecated
func (*APIDeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIDeleteUserRequest.ProtoReflect.Descriptor instead.
func (*APIDeleteUserRequest) GetPassword ¶
func (x *APIDeleteUserRequest) GetPassword() string
func (*APIDeleteUserRequest) GetUserId ¶
func (x *APIDeleteUserRequest) GetUserId() int64
func (*APIDeleteUserRequest) ProtoMessage ¶
func (*APIDeleteUserRequest) ProtoMessage()
func (*APIDeleteUserRequest) ProtoReflect ¶
func (x *APIDeleteUserRequest) ProtoReflect() protoreflect.Message
func (*APIDeleteUserRequest) Reset ¶
func (x *APIDeleteUserRequest) Reset()
func (*APIDeleteUserRequest) String ¶
func (x *APIDeleteUserRequest) String() string
type APIForumsTheme ¶ added in v1.37.0
type APIForumsTheme struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` TopicsCount int32 `protobuf:"varint,3,opt,name=topics_count,json=topicsCount,proto3" json:"topics_count,omitempty"` MessagesCount int32 `protobuf:"varint,4,opt,name=messages_count,json=messagesCount,proto3" json:"messages_count,omitempty"` DisableTopics bool `protobuf:"varint,5,opt,name=disable_topics,json=disableTopics,proto3" json:"disable_topics,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*APIForumsTheme) Descriptor
deprecated
added in
v1.37.0
func (*APIForumsTheme) Descriptor() ([]byte, []int)
Deprecated: Use APIForumsTheme.ProtoReflect.Descriptor instead.
func (*APIForumsTheme) GetDescription ¶ added in v1.37.0
func (x *APIForumsTheme) GetDescription() string
func (*APIForumsTheme) GetDisableTopics ¶ added in v1.37.0
func (x *APIForumsTheme) GetDisableTopics() bool
func (*APIForumsTheme) GetId ¶ added in v1.37.0
func (x *APIForumsTheme) GetId() int64
func (*APIForumsTheme) GetMessagesCount ¶ added in v1.37.0
func (x *APIForumsTheme) GetMessagesCount() int32
func (*APIForumsTheme) GetName ¶ added in v1.37.0
func (x *APIForumsTheme) GetName() string
func (*APIForumsTheme) GetTopicsCount ¶ added in v1.37.0
func (x *APIForumsTheme) GetTopicsCount() int32
func (*APIForumsTheme) ProtoMessage ¶ added in v1.37.0
func (*APIForumsTheme) ProtoMessage()
func (*APIForumsTheme) ProtoReflect ¶ added in v1.37.0
func (x *APIForumsTheme) ProtoReflect() protoreflect.Message
func (*APIForumsTheme) Reset ¶ added in v1.37.0
func (x *APIForumsTheme) Reset()
func (*APIForumsTheme) String ¶ added in v1.37.0
func (x *APIForumsTheme) String() string
type APIForumsThemes ¶ added in v1.37.0
type APIForumsThemes struct { Items []*APIForumsTheme `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*APIForumsThemes) Descriptor
deprecated
added in
v1.37.0
func (*APIForumsThemes) Descriptor() ([]byte, []int)
Deprecated: Use APIForumsThemes.ProtoReflect.Descriptor instead.
func (*APIForumsThemes) GetItems ¶ added in v1.37.0
func (x *APIForumsThemes) GetItems() []*APIForumsTheme
func (*APIForumsThemes) ProtoMessage ¶ added in v1.37.0
func (*APIForumsThemes) ProtoMessage()
func (*APIForumsThemes) ProtoReflect ¶ added in v1.37.0
func (x *APIForumsThemes) ProtoReflect() protoreflect.Message
func (*APIForumsThemes) Reset ¶ added in v1.37.0
func (x *APIForumsThemes) Reset()
func (*APIForumsThemes) String ¶ added in v1.37.0
func (x *APIForumsThemes) String() string
type APIForumsTopic ¶ added in v1.37.0
type APIForumsTopic struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` OldMessages int32 `protobuf:"varint,4,opt,name=old_messages,json=oldMessages,proto3" json:"old_messages,omitempty"` NewMessages int32 `protobuf:"varint,5,opt,name=new_messages,json=newMessages,proto3" json:"new_messages,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UserId int64 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ThemeId int64 `protobuf:"varint,8,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"` Subscription bool `protobuf:"varint,9,opt,name=subscription,proto3" json:"subscription,omitempty"` // contains filtered or unexported fields }
func (*APIForumsTopic) Descriptor
deprecated
added in
v1.37.0
func (*APIForumsTopic) Descriptor() ([]byte, []int)
Deprecated: Use APIForumsTopic.ProtoReflect.Descriptor instead.
func (*APIForumsTopic) GetCreatedAt ¶ added in v1.37.0
func (x *APIForumsTopic) GetCreatedAt() *timestamppb.Timestamp
func (*APIForumsTopic) GetId ¶ added in v1.37.0
func (x *APIForumsTopic) GetId() int64
func (*APIForumsTopic) GetName ¶ added in v1.37.0
func (x *APIForumsTopic) GetName() string
func (*APIForumsTopic) GetNewMessages ¶ added in v1.37.0
func (x *APIForumsTopic) GetNewMessages() int32
func (*APIForumsTopic) GetOldMessages ¶ added in v1.37.0
func (x *APIForumsTopic) GetOldMessages() int32
func (*APIForumsTopic) GetStatus ¶ added in v1.37.0
func (x *APIForumsTopic) GetStatus() string
func (*APIForumsTopic) GetSubscription ¶ added in v1.37.0
func (x *APIForumsTopic) GetSubscription() bool
func (*APIForumsTopic) GetThemeId ¶ added in v1.37.0
func (x *APIForumsTopic) GetThemeId() int64
func (*APIForumsTopic) GetUserId ¶ added in v1.37.0
func (x *APIForumsTopic) GetUserId() int64
func (*APIForumsTopic) ProtoMessage ¶ added in v1.37.0
func (*APIForumsTopic) ProtoMessage()
func (*APIForumsTopic) ProtoReflect ¶ added in v1.37.0
func (x *APIForumsTopic) ProtoReflect() protoreflect.Message
func (*APIForumsTopic) Reset ¶ added in v1.37.0
func (x *APIForumsTopic) Reset()
func (*APIForumsTopic) String ¶ added in v1.37.0
func (x *APIForumsTopic) String() string
type APIForumsTopics ¶ added in v1.37.0
type APIForumsTopics struct { Items []*APIForumsTopic `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Paginator *Pages `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"` // contains filtered or unexported fields }
func (*APIForumsTopics) Descriptor
deprecated
added in
v1.37.0
func (*APIForumsTopics) Descriptor() ([]byte, []int)
Deprecated: Use APIForumsTopics.ProtoReflect.Descriptor instead.
func (*APIForumsTopics) GetItems ¶ added in v1.37.0
func (x *APIForumsTopics) GetItems() []*APIForumsTopic
func (*APIForumsTopics) GetPaginator ¶ added in v1.37.0
func (x *APIForumsTopics) GetPaginator() *Pages
func (*APIForumsTopics) ProtoMessage ¶ added in v1.37.0
func (*APIForumsTopics) ProtoMessage()
func (*APIForumsTopics) ProtoReflect ¶ added in v1.37.0
func (x *APIForumsTopics) ProtoReflect() protoreflect.Message
func (*APIForumsTopics) Reset ¶ added in v1.37.0
func (x *APIForumsTopics) Reset()
func (*APIForumsTopics) String ¶ added in v1.37.0
func (x *APIForumsTopics) String() string
type APIForumsUserSummary ¶
type APIForumsUserSummary struct { SubscriptionsCount int32 `protobuf:"varint,1,opt,name=subscriptionsCount,proto3" json:"subscriptionsCount,omitempty"` // contains filtered or unexported fields }
func (*APIForumsUserSummary) Descriptor
deprecated
func (*APIForumsUserSummary) Descriptor() ([]byte, []int)
Deprecated: Use APIForumsUserSummary.ProtoReflect.Descriptor instead.
func (*APIForumsUserSummary) GetSubscriptionsCount ¶
func (x *APIForumsUserSummary) GetSubscriptionsCount() int32
func (*APIForumsUserSummary) ProtoMessage ¶
func (*APIForumsUserSummary) ProtoMessage()
func (*APIForumsUserSummary) ProtoReflect ¶
func (x *APIForumsUserSummary) ProtoReflect() protoreflect.Message
func (*APIForumsUserSummary) Reset ¶
func (x *APIForumsUserSummary) Reset()
func (*APIForumsUserSummary) String ¶
func (x *APIForumsUserSummary) String() string
type APIGetForumsThemeRequest ¶ added in v1.37.0
type APIGetForumsThemeRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*APIGetForumsThemeRequest) Descriptor
deprecated
added in
v1.37.0
func (*APIGetForumsThemeRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetForumsThemeRequest.ProtoReflect.Descriptor instead.
func (*APIGetForumsThemeRequest) GetId ¶ added in v1.37.0
func (x *APIGetForumsThemeRequest) GetId() int64
func (*APIGetForumsThemeRequest) ProtoMessage ¶ added in v1.37.0
func (*APIGetForumsThemeRequest) ProtoMessage()
func (*APIGetForumsThemeRequest) ProtoReflect ¶ added in v1.37.0
func (x *APIGetForumsThemeRequest) ProtoReflect() protoreflect.Message
func (*APIGetForumsThemeRequest) Reset ¶ added in v1.37.0
func (x *APIGetForumsThemeRequest) Reset()
func (*APIGetForumsThemeRequest) String ¶ added in v1.37.0
func (x *APIGetForumsThemeRequest) String() string
type APIGetForumsThemesRequest ¶ added in v1.37.0
type APIGetForumsThemesRequest struct { ThemeId int64 `protobuf:"varint,1,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"` // contains filtered or unexported fields }
func (*APIGetForumsThemesRequest) Descriptor
deprecated
added in
v1.37.0
func (*APIGetForumsThemesRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetForumsThemesRequest.ProtoReflect.Descriptor instead.
func (*APIGetForumsThemesRequest) GetThemeId ¶ added in v1.37.0
func (x *APIGetForumsThemesRequest) GetThemeId() int64
func (*APIGetForumsThemesRequest) ProtoMessage ¶ added in v1.37.0
func (*APIGetForumsThemesRequest) ProtoMessage()
func (*APIGetForumsThemesRequest) ProtoReflect ¶ added in v1.37.0
func (x *APIGetForumsThemesRequest) ProtoReflect() protoreflect.Message
func (*APIGetForumsThemesRequest) Reset ¶ added in v1.37.0
func (x *APIGetForumsThemesRequest) Reset()
func (*APIGetForumsThemesRequest) String ¶ added in v1.37.0
func (x *APIGetForumsThemesRequest) String() string
type APIGetForumsTopicRequest ¶ added in v1.37.0
type APIGetForumsTopicRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*APIGetForumsTopicRequest) Descriptor
deprecated
added in
v1.37.0
func (*APIGetForumsTopicRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetForumsTopicRequest.ProtoReflect.Descriptor instead.
func (*APIGetForumsTopicRequest) GetId ¶ added in v1.37.0
func (x *APIGetForumsTopicRequest) GetId() int64
func (*APIGetForumsTopicRequest) ProtoMessage ¶ added in v1.37.0
func (*APIGetForumsTopicRequest) ProtoMessage()
func (*APIGetForumsTopicRequest) ProtoReflect ¶ added in v1.37.0
func (x *APIGetForumsTopicRequest) ProtoReflect() protoreflect.Message
func (*APIGetForumsTopicRequest) Reset ¶ added in v1.37.0
func (x *APIGetForumsTopicRequest) Reset()
func (*APIGetForumsTopicRequest) String ¶ added in v1.37.0
func (x *APIGetForumsTopicRequest) String() string
type APIGetForumsTopicsRequest ¶ added in v1.37.0
type APIGetForumsTopicsRequest struct { ThemeId int64 `protobuf:"varint,1,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Subscription bool `protobuf:"varint,3,opt,name=subscription,proto3" json:"subscription,omitempty"` // contains filtered or unexported fields }
func (*APIGetForumsTopicsRequest) Descriptor
deprecated
added in
v1.37.0
func (*APIGetForumsTopicsRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetForumsTopicsRequest.ProtoReflect.Descriptor instead.
func (*APIGetForumsTopicsRequest) GetPage ¶ added in v1.37.0
func (x *APIGetForumsTopicsRequest) GetPage() int32
func (*APIGetForumsTopicsRequest) GetSubscription ¶ added in v1.37.0
func (x *APIGetForumsTopicsRequest) GetSubscription() bool
func (*APIGetForumsTopicsRequest) GetThemeId ¶ added in v1.37.0
func (x *APIGetForumsTopicsRequest) GetThemeId() int64
func (*APIGetForumsTopicsRequest) ProtoMessage ¶ added in v1.37.0
func (*APIGetForumsTopicsRequest) ProtoMessage()
func (*APIGetForumsTopicsRequest) ProtoReflect ¶ added in v1.37.0
func (x *APIGetForumsTopicsRequest) ProtoReflect() protoreflect.Message
func (*APIGetForumsTopicsRequest) Reset ¶ added in v1.37.0
func (x *APIGetForumsTopicsRequest) Reset()
func (*APIGetForumsTopicsRequest) String ¶ added in v1.37.0
func (x *APIGetForumsTopicsRequest) String() string
type APIGetIPRequest ¶
type APIGetIPRequest struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*APIGetIPRequest) Descriptor
deprecated
func (*APIGetIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetIPRequest.ProtoReflect.Descriptor instead.
func (*APIGetIPRequest) GetFields ¶
func (x *APIGetIPRequest) GetFields() []string
func (*APIGetIPRequest) GetIp ¶
func (x *APIGetIPRequest) GetIp() string
func (*APIGetIPRequest) ProtoMessage ¶
func (*APIGetIPRequest) ProtoMessage()
func (*APIGetIPRequest) ProtoReflect ¶
func (x *APIGetIPRequest) ProtoReflect() protoreflect.Message
func (*APIGetIPRequest) Reset ¶
func (x *APIGetIPRequest) Reset()
func (*APIGetIPRequest) String ¶
func (x *APIGetIPRequest) String() string
type APIGetItemLanguagesRequest ¶ added in v1.50.0
type APIGetItemLanguagesRequest struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` // contains filtered or unexported fields }
func (*APIGetItemLanguagesRequest) Descriptor
deprecated
added in
v1.50.0
func (*APIGetItemLanguagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetItemLanguagesRequest.ProtoReflect.Descriptor instead.
func (*APIGetItemLanguagesRequest) GetItemId ¶ added in v1.50.0
func (x *APIGetItemLanguagesRequest) GetItemId() int64
func (*APIGetItemLanguagesRequest) ProtoMessage ¶ added in v1.50.0
func (*APIGetItemLanguagesRequest) ProtoMessage()
func (*APIGetItemLanguagesRequest) ProtoReflect ¶ added in v1.50.0
func (x *APIGetItemLanguagesRequest) ProtoReflect() protoreflect.Message
func (*APIGetItemLanguagesRequest) Reset ¶ added in v1.50.0
func (x *APIGetItemLanguagesRequest) Reset()
func (*APIGetItemLanguagesRequest) String ¶ added in v1.50.0
func (x *APIGetItemLanguagesRequest) String() string
type APIGetItemLinksRequest ¶ added in v1.28.0
type APIGetItemLinksRequest struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` // contains filtered or unexported fields }
func (*APIGetItemLinksRequest) Descriptor
deprecated
added in
v1.28.0
func (*APIGetItemLinksRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetItemLinksRequest.ProtoReflect.Descriptor instead.
func (*APIGetItemLinksRequest) GetItemId ¶ added in v1.28.0
func (x *APIGetItemLinksRequest) GetItemId() int64
func (*APIGetItemLinksRequest) ProtoMessage ¶ added in v1.28.0
func (*APIGetItemLinksRequest) ProtoMessage()
func (*APIGetItemLinksRequest) ProtoReflect ¶ added in v1.28.0
func (x *APIGetItemLinksRequest) ProtoReflect() protoreflect.Message
func (*APIGetItemLinksRequest) Reset ¶ added in v1.28.0
func (x *APIGetItemLinksRequest) Reset()
func (*APIGetItemLinksRequest) String ¶ added in v1.28.0
func (x *APIGetItemLinksRequest) String() string
type APIGetItemParentLanguagesRequest ¶ added in v1.49.0
type APIGetItemParentLanguagesRequest struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // contains filtered or unexported fields }
func (*APIGetItemParentLanguagesRequest) Descriptor
deprecated
added in
v1.49.0
func (*APIGetItemParentLanguagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetItemParentLanguagesRequest.ProtoReflect.Descriptor instead.
func (*APIGetItemParentLanguagesRequest) GetItemId ¶ added in v1.49.0
func (x *APIGetItemParentLanguagesRequest) GetItemId() int64
func (*APIGetItemParentLanguagesRequest) GetParentId ¶ added in v1.49.0
func (x *APIGetItemParentLanguagesRequest) GetParentId() int64
func (*APIGetItemParentLanguagesRequest) ProtoMessage ¶ added in v1.49.0
func (*APIGetItemParentLanguagesRequest) ProtoMessage()
func (*APIGetItemParentLanguagesRequest) ProtoReflect ¶ added in v1.49.0
func (x *APIGetItemParentLanguagesRequest) ProtoReflect() protoreflect.Message
func (*APIGetItemParentLanguagesRequest) Reset ¶ added in v1.49.0
func (x *APIGetItemParentLanguagesRequest) Reset()
func (*APIGetItemParentLanguagesRequest) String ¶ added in v1.49.0
func (x *APIGetItemParentLanguagesRequest) String() string
type APIGetItemVehicleTypesRequest ¶ added in v1.29.0
type APIGetItemVehicleTypesRequest struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` VehicleTypeId int64 `protobuf:"varint,2,opt,name=vehicle_type_id,json=vehicleTypeId,proto3" json:"vehicle_type_id,omitempty"` // contains filtered or unexported fields }
func (*APIGetItemVehicleTypesRequest) Descriptor
deprecated
added in
v1.29.0
func (*APIGetItemVehicleTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetItemVehicleTypesRequest.ProtoReflect.Descriptor instead.
func (*APIGetItemVehicleTypesRequest) GetItemId ¶ added in v1.29.0
func (x *APIGetItemVehicleTypesRequest) GetItemId() int64
func (*APIGetItemVehicleTypesRequest) GetVehicleTypeId ¶ added in v1.29.0
func (x *APIGetItemVehicleTypesRequest) GetVehicleTypeId() int64
func (*APIGetItemVehicleTypesRequest) ProtoMessage ¶ added in v1.29.0
func (*APIGetItemVehicleTypesRequest) ProtoMessage()
func (*APIGetItemVehicleTypesRequest) ProtoReflect ¶ added in v1.29.0
func (x *APIGetItemVehicleTypesRequest) ProtoReflect() protoreflect.Message
func (*APIGetItemVehicleTypesRequest) Reset ¶ added in v1.29.0
func (x *APIGetItemVehicleTypesRequest) Reset()
func (*APIGetItemVehicleTypesRequest) String ¶ added in v1.29.0
func (x *APIGetItemVehicleTypesRequest) String() string
type APIGetItemVehicleTypesResponse ¶ added in v1.29.0
type APIGetItemVehicleTypesResponse struct { Items []*APIItemVehicleType `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*APIGetItemVehicleTypesResponse) Descriptor
deprecated
added in
v1.29.0
func (*APIGetItemVehicleTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIGetItemVehicleTypesResponse.ProtoReflect.Descriptor instead.
func (*APIGetItemVehicleTypesResponse) GetItems ¶ added in v1.29.0
func (x *APIGetItemVehicleTypesResponse) GetItems() []*APIItemVehicleType
func (*APIGetItemVehicleTypesResponse) ProtoMessage ¶ added in v1.29.0
func (*APIGetItemVehicleTypesResponse) ProtoMessage()
func (*APIGetItemVehicleTypesResponse) ProtoReflect ¶ added in v1.29.0
func (x *APIGetItemVehicleTypesResponse) ProtoReflect() protoreflect.Message
func (*APIGetItemVehicleTypesResponse) Reset ¶ added in v1.29.0
func (x *APIGetItemVehicleTypesResponse) Reset()
func (*APIGetItemVehicleTypesResponse) String ¶ added in v1.29.0
func (x *APIGetItemVehicleTypesResponse) String() string
type APIGetTextRequest ¶ added in v1.30.0
type APIGetTextRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Revision int64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*APIGetTextRequest) Descriptor
deprecated
added in
v1.30.0
func (*APIGetTextRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetTextRequest.ProtoReflect.Descriptor instead.
func (*APIGetTextRequest) GetId ¶ added in v1.30.0
func (x *APIGetTextRequest) GetId() int64
func (*APIGetTextRequest) GetRevision ¶ added in v1.30.0
func (x *APIGetTextRequest) GetRevision() int64
func (*APIGetTextRequest) ProtoMessage ¶ added in v1.30.0
func (*APIGetTextRequest) ProtoMessage()
func (*APIGetTextRequest) ProtoReflect ¶ added in v1.30.0
func (x *APIGetTextRequest) ProtoReflect() protoreflect.Message
func (*APIGetTextRequest) Reset ¶ added in v1.30.0
func (x *APIGetTextRequest) Reset()
func (*APIGetTextRequest) String ¶ added in v1.30.0
func (x *APIGetTextRequest) String() string
type APIGetTextResponse ¶ added in v1.30.0
type APIGetTextResponse struct { Current *TextRevision `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Prev *TextRevision `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"` Next *TextRevision `protobuf:"bytes,3,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
func (*APIGetTextResponse) Descriptor
deprecated
added in
v1.30.0
func (*APIGetTextResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIGetTextResponse.ProtoReflect.Descriptor instead.
func (*APIGetTextResponse) GetCurrent ¶ added in v1.30.0
func (x *APIGetTextResponse) GetCurrent() *TextRevision
func (*APIGetTextResponse) GetNext ¶ added in v1.30.0
func (x *APIGetTextResponse) GetNext() *TextRevision
func (*APIGetTextResponse) GetPrev ¶ added in v1.30.0
func (x *APIGetTextResponse) GetPrev() *TextRevision
func (*APIGetTextResponse) ProtoMessage ¶ added in v1.30.0
func (*APIGetTextResponse) ProtoMessage()
func (*APIGetTextResponse) ProtoReflect ¶ added in v1.30.0
func (x *APIGetTextResponse) ProtoReflect() protoreflect.Message
func (*APIGetTextResponse) Reset ¶ added in v1.30.0
func (x *APIGetTextResponse) Reset()
func (*APIGetTextResponse) String ¶ added in v1.30.0
func (x *APIGetTextResponse) String() string
type APIGetUserRequest ¶
type APIGetUserRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*APIGetUserRequest) Descriptor
deprecated
func (*APIGetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIGetUserRequest.ProtoReflect.Descriptor instead.
func (*APIGetUserRequest) GetUserId ¶
func (x *APIGetUserRequest) GetUserId() int64
func (*APIGetUserRequest) ProtoMessage ¶
func (*APIGetUserRequest) ProtoMessage()
func (*APIGetUserRequest) ProtoReflect ¶
func (x *APIGetUserRequest) ProtoReflect() protoreflect.Message
func (*APIGetUserRequest) Reset ¶
func (x *APIGetUserRequest) Reset()
func (*APIGetUserRequest) String ¶
func (x *APIGetUserRequest) String() string
type APIIP ¶
type APIIP struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` Blacklist *APIBanItem `protobuf:"bytes,3,opt,name=blacklist,proto3" json:"blacklist,omitempty"` Rights *APIIPRights `protobuf:"bytes,4,opt,name=rights,proto3" json:"rights,omitempty"` // contains filtered or unexported fields }
func (*APIIP) Descriptor
deprecated
func (*APIIP) GetAddress ¶
func (*APIIP) GetBlacklist ¶
func (x *APIIP) GetBlacklist() *APIBanItem
func (*APIIP) GetHostname ¶
func (*APIIP) GetRights ¶
func (x *APIIP) GetRights() *APIIPRights
func (*APIIP) ProtoMessage ¶
func (*APIIP) ProtoMessage()
func (*APIIP) ProtoReflect ¶
func (x *APIIP) ProtoReflect() protoreflect.Message
type APIIPRights ¶
type APIIPRights struct { AddToBlacklist bool `protobuf:"varint,1,opt,name=add_to_blacklist,json=addToBlacklist,proto3" json:"add_to_blacklist,omitempty"` RemoveFromBlacklist bool `protobuf:"varint,2,opt,name=remove_from_blacklist,json=removeFromBlacklist,proto3" json:"remove_from_blacklist,omitempty"` // contains filtered or unexported fields }
func (*APIIPRights) Descriptor
deprecated
func (*APIIPRights) Descriptor() ([]byte, []int)
Deprecated: Use APIIPRights.ProtoReflect.Descriptor instead.
func (*APIIPRights) GetAddToBlacklist ¶
func (x *APIIPRights) GetAddToBlacklist() bool
func (*APIIPRights) GetRemoveFromBlacklist ¶
func (x *APIIPRights) GetRemoveFromBlacklist() bool
func (*APIIPRights) ProtoMessage ¶
func (*APIIPRights) ProtoMessage()
func (*APIIPRights) ProtoReflect ¶
func (x *APIIPRights) ProtoReflect() protoreflect.Message
func (*APIIPRights) Reset ¶
func (x *APIIPRights) Reset()
func (*APIIPRights) String ¶
func (x *APIIPRights) String() string
type APIImage ¶
type APIImage struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Src string `protobuf:"bytes,2,opt,name=src,proto3" json:"src,omitempty"` Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Filesize int32 `protobuf:"varint,5,opt,name=filesize,proto3" json:"filesize,omitempty"` // contains filtered or unexported fields }
func APIImageToGRPC ¶
func (*APIImage) Descriptor
deprecated
func (*APIImage) GetFilesize ¶
func (*APIImage) ProtoMessage ¶
func (*APIImage) ProtoMessage()
func (*APIImage) ProtoReflect ¶
func (x *APIImage) ProtoReflect() protoreflect.Message
type APIItem ¶
type APIItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Catname string `protobuf:"bytes,2,opt,name=catname,proto3" json:"catname,omitempty"` NameOnly string `protobuf:"bytes,3,opt,name=name_only,json=nameOnly,proto3" json:"name_only,omitempty"` NameText string `protobuf:"bytes,4,opt,name=name_text,json=nameText,proto3" json:"name_text,omitempty"` NameHtml string `protobuf:"bytes,5,opt,name=name_html,json=nameHtml,proto3" json:"name_html,omitempty"` DescendantsCount int32 `protobuf:"varint,6,opt,name=descendants_count,json=descendantsCount,proto3" json:"descendants_count,omitempty"` EngineItemId int64 `protobuf:"varint,7,opt,name=engine_item_id,json=engineItemId,proto3" json:"engine_item_id,omitempty"` ItemTypeId ItemType `protobuf:"varint,8,opt,name=item_type_id,json=itemTypeId,proto3,enum=goautowp.ItemType" json:"item_type_id,omitempty"` Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` IsConcept bool `protobuf:"varint,10,opt,name=is_concept,json=isConcept,proto3" json:"is_concept,omitempty"` IsConceptInherit bool `protobuf:"varint,11,opt,name=is_concept_inherit,json=isConceptInherit,proto3" json:"is_concept_inherit,omitempty"` SpecId int64 `protobuf:"varint,12,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"` FullText string `protobuf:"bytes,13,opt,name=full_text,json=fullText,proto3" json:"full_text,omitempty"` CurrentPicturesCount int32 `protobuf:"varint,14,opt,name=current_pictures_count,json=currentPicturesCount,proto3" json:"current_pictures_count,omitempty"` ChildsCount int32 `protobuf:"varint,15,opt,name=childs_count,json=childsCount,proto3" json:"childs_count,omitempty"` DescendantTwinsGroupsCount int32 `` /* 145-byte string literal not displayed */ InboxPicturesCount int32 `protobuf:"varint,17,opt,name=inbox_pictures_count,json=inboxPicturesCount,proto3" json:"inbox_pictures_count,omitempty"` FullName string `protobuf:"bytes,18,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Logo120 *APIImage `protobuf:"bytes,19,opt,name=logo120,proto3" json:"logo120,omitempty"` MostsActive bool `protobuf:"varint,20,opt,name=mosts_active,json=mostsActive,proto3" json:"mosts_active,omitempty"` CommentsAttentionsCount int32 `` /* 134-byte string literal not displayed */ IsCompilesItemOfDay bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*APIItem) Descriptor
deprecated
func (*APIItem) GetCatname ¶
func (*APIItem) GetChildsCount ¶ added in v1.63.0
func (*APIItem) GetCommentsAttentionsCount ¶ added in v1.67.0
func (*APIItem) GetCurrentPicturesCount ¶ added in v1.57.0
func (*APIItem) GetDescendantTwinsGroupsCount ¶ added in v1.65.0
func (*APIItem) GetDescendantsCount ¶ added in v1.51.0
func (*APIItem) GetDescription ¶ added in v1.53.0
func (*APIItem) GetEngineItemId ¶ added in v1.52.2
func (*APIItem) GetFullName ¶ added in v1.65.0
func (*APIItem) GetFullText ¶ added in v1.54.0
func (*APIItem) GetInboxPicturesCount ¶ added in v1.65.0
func (*APIItem) GetIsCompilesItemOfDay ¶ added in v1.71.0
func (*APIItem) GetIsConcept ¶ added in v1.53.0
func (*APIItem) GetIsConceptInherit ¶ added in v1.53.0
func (*APIItem) GetItemTypeId ¶ added in v1.52.2
func (*APIItem) GetLogo120 ¶ added in v1.65.0
func (*APIItem) GetMostsActive ¶ added in v1.66.0
func (*APIItem) GetNameHtml ¶ added in v1.51.0
func (*APIItem) GetNameOnly ¶ added in v1.52.0
func (*APIItem) GetNameText ¶ added in v1.51.0
func (*APIItem) ProtoMessage ¶
func (*APIItem) ProtoMessage()
func (*APIItem) ProtoReflect ¶
func (x *APIItem) ProtoReflect() protoreflect.Message
type APIItemLink ¶ added in v1.28.0
type APIItemLink struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` ItemId int64 `protobuf:"varint,5,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` // contains filtered or unexported fields }
func (*APIItemLink) Descriptor
deprecated
added in
v1.28.0
func (*APIItemLink) Descriptor() ([]byte, []int)
Deprecated: Use APIItemLink.ProtoReflect.Descriptor instead.
func (*APIItemLink) GetId ¶ added in v1.28.0
func (x *APIItemLink) GetId() int64
func (*APIItemLink) GetItemId ¶ added in v1.28.0
func (x *APIItemLink) GetItemId() int64
func (*APIItemLink) GetName ¶ added in v1.28.0
func (x *APIItemLink) GetName() string
func (*APIItemLink) GetType ¶ added in v1.28.0
func (x *APIItemLink) GetType() string
func (*APIItemLink) GetUrl ¶ added in v1.28.0
func (x *APIItemLink) GetUrl() string
func (*APIItemLink) ProtoMessage ¶ added in v1.28.0
func (*APIItemLink) ProtoMessage()
func (*APIItemLink) ProtoReflect ¶ added in v1.28.0
func (x *APIItemLink) ProtoReflect() protoreflect.Message
func (*APIItemLink) Reset ¶ added in v1.28.0
func (x *APIItemLink) Reset()
func (*APIItemLink) String ¶ added in v1.28.0
func (x *APIItemLink) String() string
func (*APIItemLink) Validate ¶ added in v1.28.0
func (s *APIItemLink) Validate() ([]*errdetails.BadRequest_FieldViolation, error)
type APIItemLinkRequest ¶ added in v1.28.0
type APIItemLinkRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*APIItemLinkRequest) Descriptor
deprecated
added in
v1.28.0
func (*APIItemLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIItemLinkRequest.ProtoReflect.Descriptor instead.
func (*APIItemLinkRequest) GetId ¶ added in v1.28.0
func (x *APIItemLinkRequest) GetId() int64
func (*APIItemLinkRequest) ProtoMessage ¶ added in v1.28.0
func (*APIItemLinkRequest) ProtoMessage()
func (*APIItemLinkRequest) ProtoReflect ¶ added in v1.28.0
func (x *APIItemLinkRequest) ProtoReflect() protoreflect.Message
func (*APIItemLinkRequest) Reset ¶ added in v1.28.0
func (x *APIItemLinkRequest) Reset()
func (*APIItemLinkRequest) String ¶ added in v1.28.0
func (x *APIItemLinkRequest) String() string
type APIItemLinksResponse ¶ added in v1.28.0
type APIItemLinksResponse struct { Items []*APIItemLink `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*APIItemLinksResponse) Descriptor
deprecated
added in
v1.28.0
func (*APIItemLinksResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIItemLinksResponse.ProtoReflect.Descriptor instead.
func (*APIItemLinksResponse) GetItems ¶ added in v1.28.0
func (x *APIItemLinksResponse) GetItems() []*APIItemLink
func (*APIItemLinksResponse) ProtoMessage ¶ added in v1.28.0
func (*APIItemLinksResponse) ProtoMessage()
func (*APIItemLinksResponse) ProtoReflect ¶ added in v1.28.0
func (x *APIItemLinksResponse) ProtoReflect() protoreflect.Message
func (*APIItemLinksResponse) Reset ¶ added in v1.28.0
func (x *APIItemLinksResponse) Reset()
func (*APIItemLinksResponse) String ¶ added in v1.28.0
func (x *APIItemLinksResponse) String() string
type APIItemList ¶
type APIItemList struct { Items []*APIItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Paginator *Pages `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"` // contains filtered or unexported fields }
func (*APIItemList) Descriptor
deprecated
func (*APIItemList) Descriptor() ([]byte, []int)
Deprecated: Use APIItemList.ProtoReflect.Descriptor instead.
func (*APIItemList) GetItems ¶
func (x *APIItemList) GetItems() []*APIItem
func (*APIItemList) GetPaginator ¶ added in v1.58.0
func (x *APIItemList) GetPaginator() *Pages
func (*APIItemList) ProtoMessage ¶
func (*APIItemList) ProtoMessage()
func (*APIItemList) ProtoReflect ¶
func (x *APIItemList) ProtoReflect() protoreflect.Message
func (*APIItemList) Reset ¶
func (x *APIItemList) Reset()
func (*APIItemList) String ¶
func (x *APIItemList) String() string
type APIItemVehicleType ¶ added in v1.29.0
type APIItemVehicleType struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` VehicleTypeId int64 `protobuf:"varint,2,opt,name=vehicle_type_id,json=vehicleTypeId,proto3" json:"vehicle_type_id,omitempty"` // contains filtered or unexported fields }
func (*APIItemVehicleType) Descriptor
deprecated
added in
v1.29.0
func (*APIItemVehicleType) Descriptor() ([]byte, []int)
Deprecated: Use APIItemVehicleType.ProtoReflect.Descriptor instead.
func (*APIItemVehicleType) GetItemId ¶ added in v1.29.0
func (x *APIItemVehicleType) GetItemId() int64
func (*APIItemVehicleType) GetVehicleTypeId ¶ added in v1.29.0
func (x *APIItemVehicleType) GetVehicleTypeId() int64
func (*APIItemVehicleType) ProtoMessage ¶ added in v1.29.0
func (*APIItemVehicleType) ProtoMessage()
func (*APIItemVehicleType) ProtoReflect ¶ added in v1.29.0
func (x *APIItemVehicleType) ProtoReflect() protoreflect.Message
func (*APIItemVehicleType) Reset ¶ added in v1.29.0
func (x *APIItemVehicleType) Reset()
func (*APIItemVehicleType) String ¶ added in v1.29.0
func (x *APIItemVehicleType) String() string
type APIItemVehicleTypeRequest ¶ added in v1.29.0
type APIItemVehicleTypeRequest struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` VehicleTypeId int64 `protobuf:"varint,2,opt,name=vehicle_type_id,json=vehicleTypeId,proto3" json:"vehicle_type_id,omitempty"` // contains filtered or unexported fields }
func (*APIItemVehicleTypeRequest) Descriptor
deprecated
added in
v1.29.0
func (*APIItemVehicleTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIItemVehicleTypeRequest.ProtoReflect.Descriptor instead.
func (*APIItemVehicleTypeRequest) GetItemId ¶ added in v1.29.0
func (x *APIItemVehicleTypeRequest) GetItemId() int64
func (*APIItemVehicleTypeRequest) GetVehicleTypeId ¶ added in v1.29.0
func (x *APIItemVehicleTypeRequest) GetVehicleTypeId() int64
func (*APIItemVehicleTypeRequest) ProtoMessage ¶ added in v1.29.0
func (*APIItemVehicleTypeRequest) ProtoMessage()
func (*APIItemVehicleTypeRequest) ProtoReflect ¶ added in v1.29.0
func (x *APIItemVehicleTypeRequest) ProtoReflect() protoreflect.Message
func (*APIItemVehicleTypeRequest) Reset ¶ added in v1.29.0
func (x *APIItemVehicleTypeRequest) Reset()
func (*APIItemVehicleTypeRequest) String ¶ added in v1.29.0
func (x *APIItemVehicleTypeRequest) String() string
type APIMeRequest ¶
type APIMeRequest struct {
// contains filtered or unexported fields
}
func (*APIMeRequest) Descriptor
deprecated
func (*APIMeRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIMeRequest.ProtoReflect.Descriptor instead.
func (*APIMeRequest) ProtoMessage ¶
func (*APIMeRequest) ProtoMessage()
func (*APIMeRequest) ProtoReflect ¶
func (x *APIMeRequest) ProtoReflect() protoreflect.Message
func (*APIMeRequest) Reset ¶
func (x *APIMeRequest) Reset()
func (*APIMeRequest) String ¶
func (x *APIMeRequest) String() string
type APIMessage ¶
type APIMessage struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` IsNew bool `protobuf:"varint,3,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` CanDelete bool `protobuf:"varint,4,opt,name=can_delete,json=canDelete,proto3" json:"can_delete,omitempty"` CanReply bool `protobuf:"varint,5,opt,name=can_reply,json=canReply,proto3" json:"can_reply,omitempty"` Date *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"` AllMessagesLink bool `protobuf:"varint,7,opt,name=all_messages_link,json=allMessagesLink,proto3" json:"all_messages_link,omitempty"` DialogCount int32 `protobuf:"varint,8,opt,name=dialog_count,json=dialogCount,proto3" json:"dialog_count,omitempty"` AuthorId int64 `protobuf:"varint,9,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"` ToUserId int64 `protobuf:"varint,10,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` DialogWithUserId int64 `protobuf:"varint,11,opt,name=dialog_with_user_id,json=dialogWithUserId,proto3" json:"dialog_with_user_id,omitempty"` // contains filtered or unexported fields }
func (*APIMessage) Descriptor
deprecated
func (*APIMessage) Descriptor() ([]byte, []int)
Deprecated: Use APIMessage.ProtoReflect.Descriptor instead.
func (*APIMessage) GetAllMessagesLink ¶
func (x *APIMessage) GetAllMessagesLink() bool
func (*APIMessage) GetAuthorId ¶
func (x *APIMessage) GetAuthorId() int64
func (*APIMessage) GetCanDelete ¶
func (x *APIMessage) GetCanDelete() bool
func (*APIMessage) GetCanReply ¶
func (x *APIMessage) GetCanReply() bool
func (*APIMessage) GetDate ¶
func (x *APIMessage) GetDate() *timestamppb.Timestamp
func (*APIMessage) GetDialogCount ¶
func (x *APIMessage) GetDialogCount() int32
func (*APIMessage) GetDialogWithUserId ¶
func (x *APIMessage) GetDialogWithUserId() int64
func (*APIMessage) GetId ¶
func (x *APIMessage) GetId() int64
func (*APIMessage) GetIsNew ¶
func (x *APIMessage) GetIsNew() bool
func (*APIMessage) GetText ¶
func (x *APIMessage) GetText() string
func (*APIMessage) GetToUserId ¶
func (x *APIMessage) GetToUserId() int64
func (*APIMessage) ProtoMessage ¶
func (*APIMessage) ProtoMessage()
func (*APIMessage) ProtoReflect ¶
func (x *APIMessage) ProtoReflect() protoreflect.Message
func (*APIMessage) Reset ¶
func (x *APIMessage) Reset()
func (*APIMessage) String ¶
func (x *APIMessage) String() string
type APIMessageNewCount ¶
type APIMessageNewCount struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*APIMessageNewCount) Descriptor
deprecated
func (*APIMessageNewCount) Descriptor() ([]byte, []int)
Deprecated: Use APIMessageNewCount.ProtoReflect.Descriptor instead.
func (*APIMessageNewCount) GetCount ¶
func (x *APIMessageNewCount) GetCount() int32
func (*APIMessageNewCount) ProtoMessage ¶
func (*APIMessageNewCount) ProtoMessage()
func (*APIMessageNewCount) ProtoReflect ¶
func (x *APIMessageNewCount) ProtoReflect() protoreflect.Message
func (*APIMessageNewCount) Reset ¶
func (x *APIMessageNewCount) Reset()
func (*APIMessageNewCount) String ¶
func (x *APIMessageNewCount) String() string
type APIMessageSummary ¶
type APIMessageSummary struct { InboxCount int32 `protobuf:"varint,1,opt,name=inbox_count,json=inboxCount,proto3" json:"inbox_count,omitempty"` InboxNewCount int32 `protobuf:"varint,2,opt,name=inbox_new_count,json=inboxNewCount,proto3" json:"inbox_new_count,omitempty"` SentCount int32 `protobuf:"varint,3,opt,name=sent_count,json=sentCount,proto3" json:"sent_count,omitempty"` SystemCount int32 `protobuf:"varint,4,opt,name=system_count,json=systemCount,proto3" json:"system_count,omitempty"` SystemNewCount int32 `protobuf:"varint,5,opt,name=system_new_count,json=systemNewCount,proto3" json:"system_new_count,omitempty"` // contains filtered or unexported fields }
func (*APIMessageSummary) Descriptor
deprecated
func (*APIMessageSummary) Descriptor() ([]byte, []int)
Deprecated: Use APIMessageSummary.ProtoReflect.Descriptor instead.
func (*APIMessageSummary) GetInboxCount ¶
func (x *APIMessageSummary) GetInboxCount() int32
func (*APIMessageSummary) GetInboxNewCount ¶
func (x *APIMessageSummary) GetInboxNewCount() int32
func (*APIMessageSummary) GetSentCount ¶
func (x *APIMessageSummary) GetSentCount() int32
func (*APIMessageSummary) GetSystemCount ¶
func (x *APIMessageSummary) GetSystemCount() int32
func (*APIMessageSummary) GetSystemNewCount ¶
func (x *APIMessageSummary) GetSystemNewCount() int32
func (*APIMessageSummary) ProtoMessage ¶
func (*APIMessageSummary) ProtoMessage()
func (*APIMessageSummary) ProtoReflect ¶
func (x *APIMessageSummary) ProtoReflect() protoreflect.Message
func (*APIMessageSummary) Reset ¶
func (x *APIMessageSummary) Reset()
func (*APIMessageSummary) String ¶
func (x *APIMessageSummary) String() string
type APIMoveTopicRequest ¶ added in v1.25.0
type APIMoveTopicRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ThemeId int64 `protobuf:"varint,2,opt,name=theme_id,json=themeId,proto3" json:"theme_id,omitempty"` // contains filtered or unexported fields }
func (*APIMoveTopicRequest) Descriptor
deprecated
added in
v1.25.0
func (*APIMoveTopicRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIMoveTopicRequest.ProtoReflect.Descriptor instead.
func (*APIMoveTopicRequest) GetId ¶ added in v1.25.0
func (x *APIMoveTopicRequest) GetId() int64
func (*APIMoveTopicRequest) GetThemeId ¶ added in v1.25.0
func (x *APIMoveTopicRequest) GetThemeId() int64
func (*APIMoveTopicRequest) ProtoMessage ¶ added in v1.25.0
func (*APIMoveTopicRequest) ProtoMessage()
func (*APIMoveTopicRequest) ProtoReflect ¶ added in v1.25.0
func (x *APIMoveTopicRequest) ProtoReflect() protoreflect.Message
func (*APIMoveTopicRequest) Reset ¶ added in v1.25.0
func (x *APIMoveTopicRequest) Reset()
func (*APIMoveTopicRequest) String ¶ added in v1.25.0
func (x *APIMoveTopicRequest) String() string
type APISetTopicStatusRequest ¶ added in v1.24.0
type APISetTopicStatusRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*APISetTopicStatusRequest) Descriptor
deprecated
added in
v1.24.0
func (*APISetTopicStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use APISetTopicStatusRequest.ProtoReflect.Descriptor instead.
func (*APISetTopicStatusRequest) GetId ¶ added in v1.24.0
func (x *APISetTopicStatusRequest) GetId() int64
func (*APISetTopicStatusRequest) ProtoMessage ¶ added in v1.24.0
func (*APISetTopicStatusRequest) ProtoMessage()
func (*APISetTopicStatusRequest) ProtoReflect ¶ added in v1.24.0
func (x *APISetTopicStatusRequest) ProtoReflect() protoreflect.Message
func (*APISetTopicStatusRequest) Reset ¶ added in v1.24.0
func (x *APISetTopicStatusRequest) Reset()
func (*APISetTopicStatusRequest) String ¶ added in v1.24.0
func (x *APISetTopicStatusRequest) String() string
type APITopBrandsList ¶
type APITopBrandsList struct { Brands []*APITopBrandsListItem `protobuf:"bytes,1,rep,name=brands,proto3" json:"brands,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*APITopBrandsList) Descriptor
deprecated
func (*APITopBrandsList) Descriptor() ([]byte, []int)
Deprecated: Use APITopBrandsList.ProtoReflect.Descriptor instead.
func (*APITopBrandsList) GetBrands ¶
func (x *APITopBrandsList) GetBrands() []*APITopBrandsListItem
func (*APITopBrandsList) GetTotal ¶
func (x *APITopBrandsList) GetTotal() int32
func (*APITopBrandsList) ProtoMessage ¶
func (*APITopBrandsList) ProtoMessage()
func (*APITopBrandsList) ProtoReflect ¶
func (x *APITopBrandsList) ProtoReflect() protoreflect.Message
func (*APITopBrandsList) Reset ¶
func (x *APITopBrandsList) Reset()
func (*APITopBrandsList) String ¶
func (x *APITopBrandsList) String() string
type APITopBrandsListItem ¶
type APITopBrandsListItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Catname string `protobuf:"bytes,2,opt,name=catname,proto3" json:"catname,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` ItemsCount int32 `protobuf:"varint,4,opt,name=items_count,json=itemsCount,proto3" json:"items_count,omitempty"` NewItemsCount int32 `protobuf:"varint,5,opt,name=new_items_count,json=newItemsCount,proto3" json:"new_items_count,omitempty"` // contains filtered or unexported fields }
func (*APITopBrandsListItem) Descriptor
deprecated
func (*APITopBrandsListItem) Descriptor() ([]byte, []int)
Deprecated: Use APITopBrandsListItem.ProtoReflect.Descriptor instead.
func (*APITopBrandsListItem) GetCatname ¶
func (x *APITopBrandsListItem) GetCatname() string
func (*APITopBrandsListItem) GetId ¶
func (x *APITopBrandsListItem) GetId() int64
func (*APITopBrandsListItem) GetItemsCount ¶
func (x *APITopBrandsListItem) GetItemsCount() int32
func (*APITopBrandsListItem) GetName ¶
func (x *APITopBrandsListItem) GetName() string
func (*APITopBrandsListItem) GetNewItemsCount ¶
func (x *APITopBrandsListItem) GetNewItemsCount() int32
func (*APITopBrandsListItem) ProtoMessage ¶
func (*APITopBrandsListItem) ProtoMessage()
func (*APITopBrandsListItem) ProtoReflect ¶
func (x *APITopBrandsListItem) ProtoReflect() protoreflect.Message
func (*APITopBrandsListItem) Reset ¶
func (x *APITopBrandsListItem) Reset()
func (*APITopBrandsListItem) String ¶
func (x *APITopBrandsListItem) String() string
type APITopCategoriesList ¶
type APITopCategoriesList struct { Items []*APITopCategoriesListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*APITopCategoriesList) Descriptor
deprecated
func (*APITopCategoriesList) Descriptor() ([]byte, []int)
Deprecated: Use APITopCategoriesList.ProtoReflect.Descriptor instead.
func (*APITopCategoriesList) GetItems ¶
func (x *APITopCategoriesList) GetItems() []*APITopCategoriesListItem
func (*APITopCategoriesList) ProtoMessage ¶
func (*APITopCategoriesList) ProtoMessage()
func (*APITopCategoriesList) ProtoReflect ¶
func (x *APITopCategoriesList) ProtoReflect() protoreflect.Message
func (*APITopCategoriesList) Reset ¶
func (x *APITopCategoriesList) Reset()
func (*APITopCategoriesList) String ¶
func (x *APITopCategoriesList) String() string
type APITopCategoriesListItem ¶
type APITopCategoriesListItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Catname string `protobuf:"bytes,3,opt,name=catname,proto3" json:"catname,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` NewCount int32 `protobuf:"varint,5,opt,name=new_count,json=newCount,proto3" json:"new_count,omitempty"` // contains filtered or unexported fields }
func (*APITopCategoriesListItem) Descriptor
deprecated
func (*APITopCategoriesListItem) Descriptor() ([]byte, []int)
Deprecated: Use APITopCategoriesListItem.ProtoReflect.Descriptor instead.
func (*APITopCategoriesListItem) GetCatname ¶
func (x *APITopCategoriesListItem) GetCatname() string
func (*APITopCategoriesListItem) GetCount ¶
func (x *APITopCategoriesListItem) GetCount() int32
func (*APITopCategoriesListItem) GetId ¶
func (x *APITopCategoriesListItem) GetId() int64
func (*APITopCategoriesListItem) GetName ¶
func (x *APITopCategoriesListItem) GetName() string
func (*APITopCategoriesListItem) GetNewCount ¶
func (x *APITopCategoriesListItem) GetNewCount() int32
func (*APITopCategoriesListItem) ProtoMessage ¶
func (*APITopCategoriesListItem) ProtoMessage()
func (*APITopCategoriesListItem) ProtoReflect ¶
func (x *APITopCategoriesListItem) ProtoReflect() protoreflect.Message
func (*APITopCategoriesListItem) Reset ¶
func (x *APITopCategoriesListItem) Reset()
func (*APITopCategoriesListItem) String ¶
func (x *APITopCategoriesListItem) String() string
type APITopFactoriesList ¶
type APITopFactoriesList struct { Items []*APITopFactoriesListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*APITopFactoriesList) Descriptor
deprecated
func (*APITopFactoriesList) Descriptor() ([]byte, []int)
Deprecated: Use APITopFactoriesList.ProtoReflect.Descriptor instead.
func (*APITopFactoriesList) GetItems ¶
func (x *APITopFactoriesList) GetItems() []*APITopFactoriesListItem
func (*APITopFactoriesList) ProtoMessage ¶
func (*APITopFactoriesList) ProtoMessage()
func (*APITopFactoriesList) ProtoReflect ¶
func (x *APITopFactoriesList) ProtoReflect() protoreflect.Message
func (*APITopFactoriesList) Reset ¶
func (x *APITopFactoriesList) Reset()
func (*APITopFactoriesList) String ¶
func (x *APITopFactoriesList) String() string
type APITopFactoriesListItem ¶
type APITopFactoriesListItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` NewCount int32 `protobuf:"varint,4,opt,name=new_count,json=newCount,proto3" json:"new_count,omitempty"` // contains filtered or unexported fields }
func (*APITopFactoriesListItem) Descriptor
deprecated
func (*APITopFactoriesListItem) Descriptor() ([]byte, []int)
Deprecated: Use APITopFactoriesListItem.ProtoReflect.Descriptor instead.
func (*APITopFactoriesListItem) GetCount ¶
func (x *APITopFactoriesListItem) GetCount() int32
func (*APITopFactoriesListItem) GetId ¶
func (x *APITopFactoriesListItem) GetId() int64
func (*APITopFactoriesListItem) GetName ¶
func (x *APITopFactoriesListItem) GetName() string
func (*APITopFactoriesListItem) GetNewCount ¶
func (x *APITopFactoriesListItem) GetNewCount() int32
func (*APITopFactoriesListItem) ProtoMessage ¶
func (*APITopFactoriesListItem) ProtoMessage()
func (*APITopFactoriesListItem) ProtoReflect ¶
func (x *APITopFactoriesListItem) ProtoReflect() protoreflect.Message
func (*APITopFactoriesListItem) Reset ¶
func (x *APITopFactoriesListItem) Reset()
func (*APITopFactoriesListItem) String ¶
func (x *APITopFactoriesListItem) String() string
type APITopPersonsList ¶
type APITopPersonsList struct { Items []*APITopPersonsListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*APITopPersonsList) Descriptor
deprecated
func (*APITopPersonsList) Descriptor() ([]byte, []int)
Deprecated: Use APITopPersonsList.ProtoReflect.Descriptor instead.
func (*APITopPersonsList) GetItems ¶
func (x *APITopPersonsList) GetItems() []*APITopPersonsListItem
func (*APITopPersonsList) ProtoMessage ¶
func (*APITopPersonsList) ProtoMessage()
func (*APITopPersonsList) ProtoReflect ¶
func (x *APITopPersonsList) ProtoReflect() protoreflect.Message
func (*APITopPersonsList) Reset ¶
func (x *APITopPersonsList) Reset()
func (*APITopPersonsList) String ¶
func (x *APITopPersonsList) String() string
type APITopPersonsListItem ¶
type APITopPersonsListItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*APITopPersonsListItem) Descriptor
deprecated
func (*APITopPersonsListItem) Descriptor() ([]byte, []int)
Deprecated: Use APITopPersonsListItem.ProtoReflect.Descriptor instead.
func (*APITopPersonsListItem) GetId ¶
func (x *APITopPersonsListItem) GetId() int64
func (*APITopPersonsListItem) GetName ¶
func (x *APITopPersonsListItem) GetName() string
func (*APITopPersonsListItem) ProtoMessage ¶
func (*APITopPersonsListItem) ProtoMessage()
func (*APITopPersonsListItem) ProtoReflect ¶
func (x *APITopPersonsListItem) ProtoReflect() protoreflect.Message
func (*APITopPersonsListItem) Reset ¶
func (x *APITopPersonsListItem) Reset()
func (*APITopPersonsListItem) String ¶
func (x *APITopPersonsListItem) String() string
type APITopTwinsBrandsList ¶
type APITopTwinsBrandsList struct { Items []*APITwinsBrandsListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*APITopTwinsBrandsList) Descriptor
deprecated
func (*APITopTwinsBrandsList) Descriptor() ([]byte, []int)
Deprecated: Use APITopTwinsBrandsList.ProtoReflect.Descriptor instead.
func (*APITopTwinsBrandsList) GetCount ¶
func (x *APITopTwinsBrandsList) GetCount() int32
func (*APITopTwinsBrandsList) GetItems ¶
func (x *APITopTwinsBrandsList) GetItems() []*APITwinsBrandsListItem
func (*APITopTwinsBrandsList) ProtoMessage ¶
func (*APITopTwinsBrandsList) ProtoMessage()
func (*APITopTwinsBrandsList) ProtoReflect ¶
func (x *APITopTwinsBrandsList) ProtoReflect() protoreflect.Message
func (*APITopTwinsBrandsList) Reset ¶
func (x *APITopTwinsBrandsList) Reset()
func (*APITopTwinsBrandsList) String ¶
func (x *APITopTwinsBrandsList) String() string
type APITrafficTopItem ¶
type APITrafficTopItem struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Ban *APIBanItem `protobuf:"bytes,3,opt,name=ban,proto3" json:"ban,omitempty"` InWhitelist bool `protobuf:"varint,4,opt,name=in_whitelist,json=inWhitelist,proto3" json:"in_whitelist,omitempty"` WhoisUrl string `protobuf:"bytes,5,opt,name=whois_url,json=whoisUrl,proto3" json:"whois_url,omitempty"` // contains filtered or unexported fields }
func (*APITrafficTopItem) Descriptor
deprecated
func (*APITrafficTopItem) Descriptor() ([]byte, []int)
Deprecated: Use APITrafficTopItem.ProtoReflect.Descriptor instead.
func (*APITrafficTopItem) GetBan ¶
func (x *APITrafficTopItem) GetBan() *APIBanItem
func (*APITrafficTopItem) GetCount ¶
func (x *APITrafficTopItem) GetCount() int32
func (*APITrafficTopItem) GetInWhitelist ¶
func (x *APITrafficTopItem) GetInWhitelist() bool
func (*APITrafficTopItem) GetIp ¶
func (x *APITrafficTopItem) GetIp() string
func (*APITrafficTopItem) GetWhoisUrl ¶
func (x *APITrafficTopItem) GetWhoisUrl() string
func (*APITrafficTopItem) ProtoMessage ¶
func (*APITrafficTopItem) ProtoMessage()
func (*APITrafficTopItem) ProtoReflect ¶
func (x *APITrafficTopItem) ProtoReflect() protoreflect.Message
func (*APITrafficTopItem) Reset ¶
func (x *APITrafficTopItem) Reset()
func (*APITrafficTopItem) String ¶
func (x *APITrafficTopItem) String() string
type APITrafficTopResponse ¶
type APITrafficTopResponse struct { Items []*APITrafficTopItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*APITrafficTopResponse) Descriptor
deprecated
func (*APITrafficTopResponse) Descriptor() ([]byte, []int)
Deprecated: Use APITrafficTopResponse.ProtoReflect.Descriptor instead.
func (*APITrafficTopResponse) GetItems ¶
func (x *APITrafficTopResponse) GetItems() []*APITrafficTopItem
func (*APITrafficTopResponse) ProtoMessage ¶
func (*APITrafficTopResponse) ProtoMessage()
func (*APITrafficTopResponse) ProtoReflect ¶
func (x *APITrafficTopResponse) ProtoReflect() protoreflect.Message
func (*APITrafficTopResponse) Reset ¶
func (x *APITrafficTopResponse) Reset()
func (*APITrafficTopResponse) String ¶
func (x *APITrafficTopResponse) String() string
type APITrafficWhitelistItem ¶
type APITrafficWhitelistItem struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*APITrafficWhitelistItem) Descriptor
deprecated
func (*APITrafficWhitelistItem) Descriptor() ([]byte, []int)
Deprecated: Use APITrafficWhitelistItem.ProtoReflect.Descriptor instead.
func (*APITrafficWhitelistItem) GetDescription ¶
func (x *APITrafficWhitelistItem) GetDescription() string
func (*APITrafficWhitelistItem) GetIp ¶
func (x *APITrafficWhitelistItem) GetIp() string
func (*APITrafficWhitelistItem) ProtoMessage ¶
func (*APITrafficWhitelistItem) ProtoMessage()
func (*APITrafficWhitelistItem) ProtoReflect ¶
func (x *APITrafficWhitelistItem) ProtoReflect() protoreflect.Message
func (*APITrafficWhitelistItem) Reset ¶
func (x *APITrafficWhitelistItem) Reset()
func (*APITrafficWhitelistItem) String ¶
func (x *APITrafficWhitelistItem) String() string
type APITrafficWhitelistItems ¶
type APITrafficWhitelistItems struct { Items []*APITrafficWhitelistItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*APITrafficWhitelistItems) Descriptor
deprecated
func (*APITrafficWhitelistItems) Descriptor() ([]byte, []int)
Deprecated: Use APITrafficWhitelistItems.ProtoReflect.Descriptor instead.
func (*APITrafficWhitelistItems) GetItems ¶
func (x *APITrafficWhitelistItems) GetItems() []*APITrafficWhitelistItem
func (*APITrafficWhitelistItems) ProtoMessage ¶
func (*APITrafficWhitelistItems) ProtoMessage()
func (*APITrafficWhitelistItems) ProtoReflect ¶
func (x *APITrafficWhitelistItems) ProtoReflect() protoreflect.Message
func (*APITrafficWhitelistItems) Reset ¶
func (x *APITrafficWhitelistItems) Reset()
func (*APITrafficWhitelistItems) String ¶
func (x *APITrafficWhitelistItems) String() string
type APITreeItem ¶
type APITreeItem struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Childs []*APITreeItem `protobuf:"bytes,3,rep,name=childs,proto3" json:"childs,omitempty"` Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*APITreeItem) Descriptor
deprecated
func (*APITreeItem) Descriptor() ([]byte, []int)
Deprecated: Use APITreeItem.ProtoReflect.Descriptor instead.
func (*APITreeItem) GetChilds ¶
func (x *APITreeItem) GetChilds() []*APITreeItem
func (*APITreeItem) GetId ¶
func (x *APITreeItem) GetId() string
func (*APITreeItem) GetName ¶
func (x *APITreeItem) GetName() string
func (*APITreeItem) GetType ¶
func (x *APITreeItem) GetType() int32
func (*APITreeItem) ProtoMessage ¶
func (*APITreeItem) ProtoMessage()
func (*APITreeItem) ProtoReflect ¶
func (x *APITreeItem) ProtoReflect() protoreflect.Message
func (*APITreeItem) Reset ¶
func (x *APITreeItem) Reset()
func (*APITreeItem) String ¶
func (x *APITreeItem) String() string
type APITwinsBrandsList ¶ added in v1.36.0
type APITwinsBrandsList struct { Items []*APITwinsBrandsListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*APITwinsBrandsList) Descriptor
deprecated
added in
v1.36.0
func (*APITwinsBrandsList) Descriptor() ([]byte, []int)
Deprecated: Use APITwinsBrandsList.ProtoReflect.Descriptor instead.
func (*APITwinsBrandsList) GetItems ¶ added in v1.36.0
func (x *APITwinsBrandsList) GetItems() []*APITwinsBrandsListItem
func (*APITwinsBrandsList) ProtoMessage ¶ added in v1.36.0
func (*APITwinsBrandsList) ProtoMessage()
func (*APITwinsBrandsList) ProtoReflect ¶ added in v1.36.0
func (x *APITwinsBrandsList) ProtoReflect() protoreflect.Message
func (*APITwinsBrandsList) Reset ¶ added in v1.36.0
func (x *APITwinsBrandsList) Reset()
func (*APITwinsBrandsList) String ¶ added in v1.36.0
func (x *APITwinsBrandsList) String() string
type APITwinsBrandsListItem ¶ added in v1.36.0
type APITwinsBrandsListItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Catname string `protobuf:"bytes,3,opt,name=catname,proto3" json:"catname,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` NewCount int32 `protobuf:"varint,5,opt,name=new_count,json=newCount,proto3" json:"new_count,omitempty"` // contains filtered or unexported fields }
func (*APITwinsBrandsListItem) Descriptor
deprecated
added in
v1.36.0
func (*APITwinsBrandsListItem) Descriptor() ([]byte, []int)
Deprecated: Use APITwinsBrandsListItem.ProtoReflect.Descriptor instead.
func (*APITwinsBrandsListItem) GetCatname ¶ added in v1.36.0
func (x *APITwinsBrandsListItem) GetCatname() string
func (*APITwinsBrandsListItem) GetCount ¶ added in v1.36.0
func (x *APITwinsBrandsListItem) GetCount() int32
func (*APITwinsBrandsListItem) GetId ¶ added in v1.36.0
func (x *APITwinsBrandsListItem) GetId() int64
func (*APITwinsBrandsListItem) GetName ¶ added in v1.36.0
func (x *APITwinsBrandsListItem) GetName() string
func (*APITwinsBrandsListItem) GetNewCount ¶ added in v1.36.0
func (x *APITwinsBrandsListItem) GetNewCount() int32
func (*APITwinsBrandsListItem) ProtoMessage ¶ added in v1.36.0
func (*APITwinsBrandsListItem) ProtoMessage()
func (*APITwinsBrandsListItem) ProtoReflect ¶ added in v1.36.0
func (x *APITwinsBrandsListItem) ProtoReflect() protoreflect.Message
func (*APITwinsBrandsListItem) Reset ¶ added in v1.36.0
func (x *APITwinsBrandsListItem) Reset()
func (*APITwinsBrandsListItem) String ¶ added in v1.36.0
func (x *APITwinsBrandsListItem) String() string
type APIUser ¶
type APIUser struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"` LongAway bool `protobuf:"varint,4,opt,name=long_away,json=longAway,proto3" json:"long_away,omitempty"` Green bool `protobuf:"varint,5,opt,name=green,proto3" json:"green,omitempty"` Route []string `protobuf:"bytes,6,rep,name=route,proto3" json:"route,omitempty"` Identity string `protobuf:"bytes,7,opt,name=identity,proto3" json:"identity,omitempty"` Avatar *APIImage `protobuf:"bytes,8,opt,name=avatar,proto3" json:"avatar,omitempty"` Gravatar string `protobuf:"bytes,9,opt,name=gravatar,proto3" json:"gravatar,omitempty"` LastOnline *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_online,json=lastOnline,proto3" json:"last_online,omitempty"` SpecsWeight float64 `protobuf:"fixed64,11,opt,name=specs_weight,json=specsWeight,proto3" json:"specs_weight,omitempty"` // contains filtered or unexported fields }
func (*APIUser) Descriptor
deprecated
func (*APIUser) GetDeleted ¶
func (*APIUser) GetGravatar ¶
func (*APIUser) GetIdentity ¶
func (*APIUser) GetLastOnline ¶
func (x *APIUser) GetLastOnline() *timestamppb.Timestamp
func (*APIUser) GetLongAway ¶
func (*APIUser) GetSpecsWeight ¶
func (*APIUser) ProtoMessage ¶
func (*APIUser) ProtoMessage()
func (*APIUser) ProtoReflect ¶
func (x *APIUser) ProtoReflect() protoreflect.Message
type APIUserPreferencesRequest ¶ added in v1.1.0
type APIUserPreferencesRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*APIUserPreferencesRequest) Descriptor
deprecated
added in
v1.1.0
func (*APIUserPreferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIUserPreferencesRequest.ProtoReflect.Descriptor instead.
func (*APIUserPreferencesRequest) GetUserId ¶ added in v1.1.0
func (x *APIUserPreferencesRequest) GetUserId() int64
func (*APIUserPreferencesRequest) ProtoMessage ¶ added in v1.1.0
func (*APIUserPreferencesRequest) ProtoMessage()
func (*APIUserPreferencesRequest) ProtoReflect ¶ added in v1.1.0
func (x *APIUserPreferencesRequest) ProtoReflect() protoreflect.Message
func (*APIUserPreferencesRequest) Reset ¶ added in v1.1.0
func (x *APIUserPreferencesRequest) Reset()
func (*APIUserPreferencesRequest) String ¶ added in v1.1.0
func (x *APIUserPreferencesRequest) String() string
type APIUserPreferencesResponse ¶ added in v1.1.0
type APIUserPreferencesResponse struct { DisableCommentsNotifications bool `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*APIUserPreferencesResponse) Descriptor
deprecated
added in
v1.1.0
func (*APIUserPreferencesResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIUserPreferencesResponse.ProtoReflect.Descriptor instead.
func (*APIUserPreferencesResponse) GetDisableCommentsNotifications ¶ added in v1.1.0
func (x *APIUserPreferencesResponse) GetDisableCommentsNotifications() bool
func (*APIUserPreferencesResponse) ProtoMessage ¶ added in v1.1.0
func (*APIUserPreferencesResponse) ProtoMessage()
func (*APIUserPreferencesResponse) ProtoReflect ¶ added in v1.1.0
func (x *APIUserPreferencesResponse) ProtoReflect() protoreflect.Message
func (*APIUserPreferencesResponse) Reset ¶ added in v1.1.0
func (x *APIUserPreferencesResponse) Reset()
func (*APIUserPreferencesResponse) String ¶ added in v1.1.0
func (x *APIUserPreferencesResponse) String() string
type APIUsersRatingResponse ¶ added in v1.75.0
type APIUsersRatingResponse struct { Users []*APIUsersRatingUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*APIUsersRatingResponse) Descriptor
deprecated
added in
v1.75.0
func (*APIUsersRatingResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIUsersRatingResponse.ProtoReflect.Descriptor instead.
func (*APIUsersRatingResponse) GetUsers ¶ added in v1.75.0
func (x *APIUsersRatingResponse) GetUsers() []*APIUsersRatingUser
func (*APIUsersRatingResponse) ProtoMessage ¶ added in v1.75.0
func (*APIUsersRatingResponse) ProtoMessage()
func (*APIUsersRatingResponse) ProtoReflect ¶ added in v1.75.0
func (x *APIUsersRatingResponse) ProtoReflect() protoreflect.Message
func (*APIUsersRatingResponse) Reset ¶ added in v1.75.0
func (x *APIUsersRatingResponse) Reset()
func (*APIUsersRatingResponse) String ¶ added in v1.75.0
func (x *APIUsersRatingResponse) String() string
type APIUsersRatingUser ¶ added in v1.75.0
type APIUsersRatingUser struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Volume int64 `protobuf:"varint,2,opt,name=volume,proto3" json:"volume,omitempty"` Weight float64 `protobuf:"fixed64,3,opt,name=weight,proto3" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*APIUsersRatingUser) Descriptor
deprecated
added in
v1.75.0
func (*APIUsersRatingUser) Descriptor() ([]byte, []int)
Deprecated: Use APIUsersRatingUser.ProtoReflect.Descriptor instead.
func (*APIUsersRatingUser) GetUserId ¶ added in v1.75.0
func (x *APIUsersRatingUser) GetUserId() int64
func (*APIUsersRatingUser) GetVolume ¶ added in v1.75.0
func (x *APIUsersRatingUser) GetVolume() int64
func (*APIUsersRatingUser) GetWeight ¶ added in v1.75.0
func (x *APIUsersRatingUser) GetWeight() float64
func (*APIUsersRatingUser) ProtoMessage ¶ added in v1.75.0
func (*APIUsersRatingUser) ProtoMessage()
func (*APIUsersRatingUser) ProtoReflect ¶ added in v1.75.0
func (x *APIUsersRatingUser) ProtoReflect() protoreflect.Message
func (*APIUsersRatingUser) Reset ¶ added in v1.75.0
func (x *APIUsersRatingUser) Reset()
func (*APIUsersRatingUser) String ¶ added in v1.75.0
func (x *APIUsersRatingUser) String() string
type APIUsersRatingUserBrand ¶ added in v1.75.0
type APIUsersRatingUserBrand struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Route []string `protobuf:"bytes,2,rep,name=route,proto3" json:"route,omitempty"` Volume int64 `protobuf:"varint,3,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
func (*APIUsersRatingUserBrand) Descriptor
deprecated
added in
v1.75.0
func (*APIUsersRatingUserBrand) Descriptor() ([]byte, []int)
Deprecated: Use APIUsersRatingUserBrand.ProtoReflect.Descriptor instead.
func (*APIUsersRatingUserBrand) GetName ¶ added in v1.75.0
func (x *APIUsersRatingUserBrand) GetName() string
func (*APIUsersRatingUserBrand) GetRoute ¶ added in v1.75.0
func (x *APIUsersRatingUserBrand) GetRoute() []string
func (*APIUsersRatingUserBrand) GetVolume ¶ added in v1.77.0
func (x *APIUsersRatingUserBrand) GetVolume() int64
func (*APIUsersRatingUserBrand) ProtoMessage ¶ added in v1.75.0
func (*APIUsersRatingUserBrand) ProtoMessage()
func (*APIUsersRatingUserBrand) ProtoReflect ¶ added in v1.75.0
func (x *APIUsersRatingUserBrand) ProtoReflect() protoreflect.Message
func (*APIUsersRatingUserBrand) Reset ¶ added in v1.75.0
func (x *APIUsersRatingUserBrand) Reset()
func (*APIUsersRatingUserBrand) String ¶ added in v1.75.0
func (x *APIUsersRatingUserBrand) String() string
type APIUsersRatingUserFan ¶ added in v1.75.0
type APIUsersRatingUserFan struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Volume int64 `protobuf:"varint,2,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
func (*APIUsersRatingUserFan) Descriptor
deprecated
added in
v1.75.0
func (*APIUsersRatingUserFan) Descriptor() ([]byte, []int)
Deprecated: Use APIUsersRatingUserFan.ProtoReflect.Descriptor instead.
func (*APIUsersRatingUserFan) GetUserId ¶ added in v1.75.0
func (x *APIUsersRatingUserFan) GetUserId() int64
func (*APIUsersRatingUserFan) GetVolume ¶ added in v1.75.0
func (x *APIUsersRatingUserFan) GetVolume() int64
func (*APIUsersRatingUserFan) ProtoMessage ¶ added in v1.75.0
func (*APIUsersRatingUserFan) ProtoMessage()
func (*APIUsersRatingUserFan) ProtoReflect ¶ added in v1.75.0
func (x *APIUsersRatingUserFan) ProtoReflect() protoreflect.Message
func (*APIUsersRatingUserFan) Reset ¶ added in v1.75.0
func (x *APIUsersRatingUserFan) Reset()
func (*APIUsersRatingUserFan) String ¶ added in v1.75.0
func (x *APIUsersRatingUserFan) String() string
type APIUsersRequest ¶ added in v1.32.0
type APIUsersRequest struct { IsOnline bool `protobuf:"varint,2,opt,name=is_online,json=isOnline,proto3" json:"is_online,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Page uint64 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*APIUsersRequest) Descriptor
deprecated
added in
v1.32.0
func (*APIUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIUsersRequest.ProtoReflect.Descriptor instead.
func (*APIUsersRequest) GetIsOnline ¶ added in v1.32.0
func (x *APIUsersRequest) GetIsOnline() bool
func (*APIUsersRequest) GetLimit ¶ added in v1.32.0
func (x *APIUsersRequest) GetLimit() uint64
func (*APIUsersRequest) GetPage ¶ added in v1.32.0
func (x *APIUsersRequest) GetPage() uint64
func (*APIUsersRequest) ProtoMessage ¶ added in v1.32.0
func (*APIUsersRequest) ProtoMessage()
func (*APIUsersRequest) ProtoReflect ¶ added in v1.32.0
func (x *APIUsersRequest) ProtoReflect() protoreflect.Message
func (*APIUsersRequest) Reset ¶ added in v1.32.0
func (x *APIUsersRequest) Reset()
func (*APIUsersRequest) String ¶ added in v1.32.0
func (x *APIUsersRequest) String() string
type APIUsersResponse ¶ added in v1.32.0
type APIUsersResponse struct { Items []*APIUser `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Paginator *Pages `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"` // contains filtered or unexported fields }
func (*APIUsersResponse) Descriptor
deprecated
added in
v1.32.0
func (*APIUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIUsersResponse.ProtoReflect.Descriptor instead.
func (*APIUsersResponse) GetItems ¶ added in v1.32.0
func (x *APIUsersResponse) GetItems() []*APIUser
func (*APIUsersResponse) GetPaginator ¶ added in v1.32.0
func (x *APIUsersResponse) GetPaginator() *Pages
func (*APIUsersResponse) ProtoMessage ¶ added in v1.32.0
func (*APIUsersResponse) ProtoMessage()
func (*APIUsersResponse) ProtoReflect ¶ added in v1.32.0
func (x *APIUsersResponse) ProtoReflect() protoreflect.Message
func (*APIUsersResponse) Reset ¶ added in v1.32.0
func (x *APIUsersResponse) Reset()
func (*APIUsersResponse) String ¶ added in v1.32.0
func (x *APIUsersResponse) String() string
type AboutDataResponse ¶
type AboutDataResponse struct { Developer string `protobuf:"bytes,1,opt,name=developer,proto3" json:"developer,omitempty"` FrTranslator string `protobuf:"bytes,2,opt,name=fr_translator,json=frTranslator,proto3" json:"fr_translator,omitempty"` ZhTranslator string `protobuf:"bytes,3,opt,name=zh_translator,json=zhTranslator,proto3" json:"zh_translator,omitempty"` BeTranslator string `protobuf:"bytes,4,opt,name=be_translator,json=beTranslator,proto3" json:"be_translator,omitempty"` PtBrTranslator string `protobuf:"bytes,5,opt,name=pt_br_translator,json=ptBrTranslator,proto3" json:"pt_br_translator,omitempty"` Contributors []string `protobuf:"bytes,6,rep,name=contributors,proto3" json:"contributors,omitempty"` TotalPictures int32 `protobuf:"varint,7,opt,name=total_pictures,json=totalPictures,proto3" json:"total_pictures,omitempty"` PicturesSize int32 `protobuf:"varint,8,opt,name=pictures_size,json=picturesSize,proto3" json:"pictures_size,omitempty"` TotalUsers int32 `protobuf:"varint,9,opt,name=total_users,json=totalUsers,proto3" json:"total_users,omitempty"` TotalItems int32 `protobuf:"varint,10,opt,name=total_items,json=totalItems,proto3" json:"total_items,omitempty"` TotalComments int32 `protobuf:"varint,11,opt,name=total_comments,json=totalComments,proto3" json:"total_comments,omitempty"` // contains filtered or unexported fields }
func (*AboutDataResponse) Descriptor
deprecated
func (*AboutDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use AboutDataResponse.ProtoReflect.Descriptor instead.
func (*AboutDataResponse) GetBeTranslator ¶
func (x *AboutDataResponse) GetBeTranslator() string
func (*AboutDataResponse) GetContributors ¶
func (x *AboutDataResponse) GetContributors() []string
func (*AboutDataResponse) GetDeveloper ¶
func (x *AboutDataResponse) GetDeveloper() string
func (*AboutDataResponse) GetFrTranslator ¶
func (x *AboutDataResponse) GetFrTranslator() string
func (*AboutDataResponse) GetPicturesSize ¶
func (x *AboutDataResponse) GetPicturesSize() int32
func (*AboutDataResponse) GetPtBrTranslator ¶
func (x *AboutDataResponse) GetPtBrTranslator() string
func (*AboutDataResponse) GetTotalComments ¶
func (x *AboutDataResponse) GetTotalComments() int32
func (*AboutDataResponse) GetTotalItems ¶
func (x *AboutDataResponse) GetTotalItems() int32
func (*AboutDataResponse) GetTotalPictures ¶
func (x *AboutDataResponse) GetTotalPictures() int32
func (*AboutDataResponse) GetTotalUsers ¶
func (x *AboutDataResponse) GetTotalUsers() int32
func (*AboutDataResponse) GetZhTranslator ¶
func (x *AboutDataResponse) GetZhTranslator() string
func (*AboutDataResponse) ProtoMessage ¶
func (*AboutDataResponse) ProtoMessage()
func (*AboutDataResponse) ProtoReflect ¶
func (x *AboutDataResponse) ProtoReflect() protoreflect.Message
func (*AboutDataResponse) Reset ¶
func (x *AboutDataResponse) Reset()
func (*AboutDataResponse) String ¶
func (x *AboutDataResponse) String() string
type AclEnforceRequest ¶
type AclEnforceRequest struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Privilege string `protobuf:"bytes,2,opt,name=privilege,proto3" json:"privilege,omitempty"` // contains filtered or unexported fields }
func (*AclEnforceRequest) Descriptor
deprecated
func (*AclEnforceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AclEnforceRequest.ProtoReflect.Descriptor instead.
func (*AclEnforceRequest) GetPrivilege ¶
func (x *AclEnforceRequest) GetPrivilege() string
func (*AclEnforceRequest) GetResource ¶
func (x *AclEnforceRequest) GetResource() string
func (*AclEnforceRequest) ProtoMessage ¶
func (*AclEnforceRequest) ProtoMessage()
func (*AclEnforceRequest) ProtoReflect ¶
func (x *AclEnforceRequest) ProtoReflect() protoreflect.Message
func (*AclEnforceRequest) Reset ¶
func (x *AclEnforceRequest) Reset()
func (*AclEnforceRequest) String ¶
func (x *AclEnforceRequest) String() string
type AclEnforceResult ¶
type AclEnforceResult struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*AclEnforceResult) Descriptor
deprecated
func (*AclEnforceResult) Descriptor() ([]byte, []int)
Deprecated: Use AclEnforceResult.ProtoReflect.Descriptor instead.
func (*AclEnforceResult) GetResult ¶
func (x *AclEnforceResult) GetResult() bool
func (*AclEnforceResult) ProtoMessage ¶
func (*AclEnforceResult) ProtoMessage()
func (*AclEnforceResult) ProtoReflect ¶
func (x *AclEnforceResult) ProtoReflect() protoreflect.Message
func (*AclEnforceResult) Reset ¶
func (x *AclEnforceResult) Reset()
func (*AclEnforceResult) String ¶
func (x *AclEnforceResult) String() string
type AddCommentRequest ¶ added in v1.18.0
type AddCommentRequest struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` TypeId CommentsType `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` ModeratorAttention bool `protobuf:"varint,4,opt,name=moderator_attention,json=moderatorAttention,proto3" json:"moderator_attention,omitempty"` ParentId int64 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Resolve bool `protobuf:"varint,6,opt,name=resolve,proto3" json:"resolve,omitempty"` // contains filtered or unexported fields }
func (*AddCommentRequest) Descriptor
deprecated
added in
v1.18.0
func (*AddCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCommentRequest.ProtoReflect.Descriptor instead.
func (*AddCommentRequest) GetItemId ¶ added in v1.18.0
func (x *AddCommentRequest) GetItemId() int64
func (*AddCommentRequest) GetMessage ¶ added in v1.18.0
func (x *AddCommentRequest) GetMessage() string
func (*AddCommentRequest) GetModeratorAttention ¶ added in v1.18.0
func (x *AddCommentRequest) GetModeratorAttention() bool
func (*AddCommentRequest) GetParentId ¶ added in v1.18.0
func (x *AddCommentRequest) GetParentId() int64
func (*AddCommentRequest) GetResolve ¶ added in v1.18.0
func (x *AddCommentRequest) GetResolve() bool
func (*AddCommentRequest) GetTypeId ¶ added in v1.18.0
func (x *AddCommentRequest) GetTypeId() CommentsType
func (*AddCommentRequest) ProtoMessage ¶ added in v1.18.0
func (*AddCommentRequest) ProtoMessage()
func (*AddCommentRequest) ProtoReflect ¶ added in v1.18.0
func (x *AddCommentRequest) ProtoReflect() protoreflect.Message
func (*AddCommentRequest) Reset ¶ added in v1.18.0
func (x *AddCommentRequest) Reset()
func (*AddCommentRequest) String ¶ added in v1.18.0
func (x *AddCommentRequest) String() string
func (*AddCommentRequest) Validate ¶ added in v1.19.0
func (s *AddCommentRequest) Validate( ctx context.Context, repository *comments.Repository, userID int64, ) ([]*errdetails.BadRequest_FieldViolation, error)
type AddCommentResponse ¶ added in v1.18.0
type AddCommentResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddCommentResponse) Descriptor
deprecated
added in
v1.18.0
func (*AddCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddCommentResponse.ProtoReflect.Descriptor instead.
func (*AddCommentResponse) GetId ¶ added in v1.20.0
func (x *AddCommentResponse) GetId() int64
func (*AddCommentResponse) ProtoMessage ¶ added in v1.18.0
func (*AddCommentResponse) ProtoMessage()
func (*AddCommentResponse) ProtoReflect ¶ added in v1.18.0
func (x *AddCommentResponse) ProtoReflect() protoreflect.Message
func (*AddCommentResponse) Reset ¶ added in v1.18.0
func (x *AddCommentResponse) Reset()
func (*AddCommentResponse) String ¶ added in v1.18.0
func (x *AddCommentResponse) String() string
type AddToTrafficBlacklistRequest ¶
type AddToTrafficBlacklistRequest struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Period int32 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*AddToTrafficBlacklistRequest) Descriptor
deprecated
func (*AddToTrafficBlacklistRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddToTrafficBlacklistRequest.ProtoReflect.Descriptor instead.
func (*AddToTrafficBlacklistRequest) GetIp ¶
func (x *AddToTrafficBlacklistRequest) GetIp() string
func (*AddToTrafficBlacklistRequest) GetPeriod ¶
func (x *AddToTrafficBlacklistRequest) GetPeriod() int32
func (*AddToTrafficBlacklistRequest) GetReason ¶
func (x *AddToTrafficBlacklistRequest) GetReason() string
func (*AddToTrafficBlacklistRequest) ProtoMessage ¶
func (*AddToTrafficBlacklistRequest) ProtoMessage()
func (*AddToTrafficBlacklistRequest) ProtoReflect ¶
func (x *AddToTrafficBlacklistRequest) ProtoReflect() protoreflect.Message
func (*AddToTrafficBlacklistRequest) Reset ¶
func (x *AddToTrafficBlacklistRequest) Reset()
func (*AddToTrafficBlacklistRequest) String ¶
func (x *AddToTrafficBlacklistRequest) String() string
type AddToTrafficWhitelistRequest ¶
type AddToTrafficWhitelistRequest struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*AddToTrafficWhitelistRequest) Descriptor
deprecated
func (*AddToTrafficWhitelistRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddToTrafficWhitelistRequest.ProtoReflect.Descriptor instead.
func (*AddToTrafficWhitelistRequest) GetIp ¶
func (x *AddToTrafficWhitelistRequest) GetIp() string
func (*AddToTrafficWhitelistRequest) ProtoMessage ¶
func (*AddToTrafficWhitelistRequest) ProtoMessage()
func (*AddToTrafficWhitelistRequest) ProtoReflect ¶
func (x *AddToTrafficWhitelistRequest) ProtoReflect() protoreflect.Message
func (*AddToTrafficWhitelistRequest) Reset ¶
func (x *AddToTrafficWhitelistRequest) Reset()
func (*AddToTrafficWhitelistRequest) String ¶
func (x *AddToTrafficWhitelistRequest) String() string
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application is Service Main Object.
func NewApplication ¶
func NewApplication(cfg config.Config) *Application
NewApplication constructor.
func (*Application) Autoban ¶
func (s *Application) Autoban(ctx context.Context, quit chan bool) error
func (*Application) ExportUsersToKeycloak ¶
func (s *Application) ExportUsersToKeycloak(ctx context.Context) error
func (*Application) GenerateIndexCache ¶ added in v1.81.0
func (s *Application) GenerateIndexCache(ctx context.Context) error
func (*Application) ImageStorageGetFormattedImage ¶
func (*Application) ImageStorageGetImage ¶
func (*Application) ImageStorageListBrokenImages ¶ added in v1.78.0
func (s *Application) ImageStorageListBrokenImages(ctx context.Context, dir string) error
func (*Application) ImageStorageListUnlinkedObjects ¶ added in v1.78.0
func (s *Application) ImageStorageListUnlinkedObjects(ctx context.Context, dir string) error
func (*Application) ListenDuplicateFinderAMQP ¶
func (s *Application) ListenDuplicateFinderAMQP(ctx context.Context, quit chan bool) error
func (*Application) ListenMonitoringAMQP ¶
func (s *Application) ListenMonitoringAMQP(ctx context.Context, quit chan bool) error
func (*Application) MigrateAutowp ¶
func (s *Application) MigrateAutowp(_ context.Context) error
func (*Application) MigratePostgres ¶ added in v1.1.0
func (s *Application) MigratePostgres(_ context.Context) error
func (*Application) SchedulerDaily ¶
func (s *Application) SchedulerDaily(ctx context.Context) error
func (*Application) SchedulerHourly ¶
func (s *Application) SchedulerHourly(ctx context.Context) error
func (*Application) SchedulerMidnight ¶
func (s *Application) SchedulerMidnight(ctx context.Context) error
func (*Application) ServeGRPC ¶ added in v1.4.0
func (s *Application) ServeGRPC(quit chan bool) error
func (*Application) ServePrivate ¶
func (s *Application) ServePrivate(ctx context.Context, quit chan bool) error
func (*Application) ServePublic ¶
func (s *Application) ServePublic(ctx context.Context, quit chan bool) error
type Article ¶ added in v1.7.0
type Article struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AuthorId int64 `protobuf:"varint,3,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"` Catname string `protobuf:"bytes,4,opt,name=catname,proto3" json:"catname,omitempty"` Date *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date,proto3" json:"date,omitempty"` Html string `protobuf:"bytes,6,opt,name=html,proto3" json:"html,omitempty"` PreviewUrl string `protobuf:"bytes,7,opt,name=preview_url,json=previewUrl,proto3" json:"preview_url,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Article) Descriptor
deprecated
added in
v1.7.0
func (*Article) GetAuthorId ¶ added in v1.7.0
func (*Article) GetCatname ¶ added in v1.7.0
func (*Article) GetDate ¶ added in v1.7.0
func (x *Article) GetDate() *timestamppb.Timestamp
func (*Article) GetDescription ¶ added in v1.7.1
func (*Article) GetPreviewUrl ¶ added in v1.7.0
func (*Article) ProtoMessage ¶ added in v1.7.0
func (*Article) ProtoMessage()
func (*Article) ProtoReflect ¶ added in v1.7.0
func (x *Article) ProtoReflect() protoreflect.Message
type ArticleByCatnameRequest ¶ added in v1.7.0
type ArticleByCatnameRequest struct { Catname string `protobuf:"bytes,1,opt,name=catname,proto3" json:"catname,omitempty"` // contains filtered or unexported fields }
func (*ArticleByCatnameRequest) Descriptor
deprecated
added in
v1.7.0
func (*ArticleByCatnameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArticleByCatnameRequest.ProtoReflect.Descriptor instead.
func (*ArticleByCatnameRequest) GetCatname ¶ added in v1.7.0
func (x *ArticleByCatnameRequest) GetCatname() string
func (*ArticleByCatnameRequest) ProtoMessage ¶ added in v1.7.0
func (*ArticleByCatnameRequest) ProtoMessage()
func (*ArticleByCatnameRequest) ProtoReflect ¶ added in v1.7.0
func (x *ArticleByCatnameRequest) ProtoReflect() protoreflect.Message
func (*ArticleByCatnameRequest) Reset ¶ added in v1.7.0
func (x *ArticleByCatnameRequest) Reset()
func (*ArticleByCatnameRequest) String ¶ added in v1.7.0
func (x *ArticleByCatnameRequest) String() string
type ArticlesClient ¶ added in v1.7.0
type ArticlesClient interface { GetList(ctx context.Context, in *ArticlesRequest, opts ...grpc.CallOption) (*ArticlesResponse, error) GetItemByCatname(ctx context.Context, in *ArticleByCatnameRequest, opts ...grpc.CallOption) (*Article, error) }
ArticlesClient is the client API for Articles 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 NewArticlesClient ¶ added in v1.7.0
func NewArticlesClient(cc grpc.ClientConnInterface) ArticlesClient
type ArticlesGRPCServer ¶ added in v1.7.0
type ArticlesGRPCServer struct { UnimplementedArticlesServer // contains filtered or unexported fields }
func NewArticlesGRPCServer ¶ added in v1.7.0
func NewArticlesGRPCServer(db *goqu.Database) *ArticlesGRPCServer
func (*ArticlesGRPCServer) GetItemByCatname ¶ added in v1.7.0
func (s *ArticlesGRPCServer) GetItemByCatname(ctx context.Context, in *ArticleByCatnameRequest) (*Article, error)
func (*ArticlesGRPCServer) GetList ¶ added in v1.7.0
func (s *ArticlesGRPCServer) GetList(ctx context.Context, in *ArticlesRequest) (*ArticlesResponse, error)
type ArticlesRequest ¶ added in v1.7.0
type ArticlesRequest struct { Limit uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Page uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ArticlesRequest) Descriptor
deprecated
added in
v1.7.0
func (*ArticlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArticlesRequest.ProtoReflect.Descriptor instead.
func (*ArticlesRequest) GetLimit ¶ added in v1.7.0
func (x *ArticlesRequest) GetLimit() uint64
func (*ArticlesRequest) GetPage ¶ added in v1.7.0
func (x *ArticlesRequest) GetPage() uint64
func (*ArticlesRequest) ProtoMessage ¶ added in v1.7.0
func (*ArticlesRequest) ProtoMessage()
func (*ArticlesRequest) ProtoReflect ¶ added in v1.7.0
func (x *ArticlesRequest) ProtoReflect() protoreflect.Message
func (*ArticlesRequest) Reset ¶ added in v1.7.0
func (x *ArticlesRequest) Reset()
func (*ArticlesRequest) String ¶ added in v1.7.0
func (x *ArticlesRequest) String() string
type ArticlesResponse ¶ added in v1.7.0
type ArticlesResponse struct { Items []*Article `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Paginator *Pages `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"` // contains filtered or unexported fields }
func (*ArticlesResponse) Descriptor
deprecated
added in
v1.7.0
func (*ArticlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArticlesResponse.ProtoReflect.Descriptor instead.
func (*ArticlesResponse) GetItems ¶ added in v1.7.0
func (x *ArticlesResponse) GetItems() []*Article
func (*ArticlesResponse) GetPaginator ¶ added in v1.7.0
func (x *ArticlesResponse) GetPaginator() *Pages
func (*ArticlesResponse) ProtoMessage ¶ added in v1.7.0
func (*ArticlesResponse) ProtoMessage()
func (*ArticlesResponse) ProtoReflect ¶ added in v1.7.0
func (x *ArticlesResponse) ProtoReflect() protoreflect.Message
func (*ArticlesResponse) Reset ¶ added in v1.7.0
func (x *ArticlesResponse) Reset()
func (*ArticlesResponse) String ¶ added in v1.7.0
func (x *ArticlesResponse) String() string
type ArticlesServer ¶ added in v1.7.0
type ArticlesServer interface { GetList(context.Context, *ArticlesRequest) (*ArticlesResponse, error) GetItemByCatname(context.Context, *ArticleByCatnameRequest) (*Article, error) // contains filtered or unexported methods }
ArticlesServer is the server API for Articles service. All implementations must embed UnimplementedArticlesServer for forward compatibility
type AttrAttribute ¶ added in v1.43.0
type AttrAttribute struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` TypeId AttrAttributeType_ID `protobuf:"varint,5,opt,name=type_id,json=typeId,proto3,enum=goautowp.AttrAttributeType_ID" json:"type_id,omitempty"` UnitId int64 `protobuf:"varint,6,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"` IsMultiple bool `protobuf:"varint,7,opt,name=is_multiple,json=isMultiple,proto3" json:"is_multiple,omitempty"` Precision int32 `protobuf:"varint,8,opt,name=precision,proto3" json:"precision,omitempty"` // contains filtered or unexported fields }
func (*AttrAttribute) Descriptor
deprecated
added in
v1.43.0
func (*AttrAttribute) Descriptor() ([]byte, []int)
Deprecated: Use AttrAttribute.ProtoReflect.Descriptor instead.
func (*AttrAttribute) GetDescription ¶ added in v1.43.0
func (x *AttrAttribute) GetDescription() string
func (*AttrAttribute) GetId ¶ added in v1.43.0
func (x *AttrAttribute) GetId() int64
func (*AttrAttribute) GetIsMultiple ¶ added in v1.43.0
func (x *AttrAttribute) GetIsMultiple() bool
func (*AttrAttribute) GetName ¶ added in v1.43.0
func (x *AttrAttribute) GetName() string
func (*AttrAttribute) GetParentId ¶ added in v1.43.0
func (x *AttrAttribute) GetParentId() int64
func (*AttrAttribute) GetPrecision ¶ added in v1.43.0
func (x *AttrAttribute) GetPrecision() int32
func (*AttrAttribute) GetTypeId ¶ added in v1.43.0
func (x *AttrAttribute) GetTypeId() AttrAttributeType_ID
func (*AttrAttribute) GetUnitId ¶ added in v1.43.0
func (x *AttrAttribute) GetUnitId() int64
func (*AttrAttribute) ProtoMessage ¶ added in v1.43.0
func (*AttrAttribute) ProtoMessage()
func (*AttrAttribute) ProtoReflect ¶ added in v1.43.0
func (x *AttrAttribute) ProtoReflect() protoreflect.Message
func (*AttrAttribute) Reset ¶ added in v1.43.0
func (x *AttrAttribute) Reset()
func (*AttrAttribute) String ¶ added in v1.43.0
func (x *AttrAttribute) String() string
type AttrAttributeID ¶ added in v1.43.0
type AttrAttributeID struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AttrAttributeID) Descriptor
deprecated
added in
v1.43.0
func (*AttrAttributeID) Descriptor() ([]byte, []int)
Deprecated: Use AttrAttributeID.ProtoReflect.Descriptor instead.
func (*AttrAttributeID) GetId ¶ added in v1.43.0
func (x *AttrAttributeID) GetId() int64
func (*AttrAttributeID) ProtoMessage ¶ added in v1.43.0
func (*AttrAttributeID) ProtoMessage()
func (*AttrAttributeID) ProtoReflect ¶ added in v1.43.0
func (x *AttrAttributeID) ProtoReflect() protoreflect.Message
func (*AttrAttributeID) Reset ¶ added in v1.43.0
func (x *AttrAttributeID) Reset()
func (*AttrAttributeID) String ¶ added in v1.43.0
func (x *AttrAttributeID) String() string
type AttrAttributeType ¶ added in v1.43.0
type AttrAttributeType struct { Id AttrAttributeType_ID `protobuf:"varint,1,opt,name=id,proto3,enum=goautowp.AttrAttributeType_ID" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AttrAttributeType) Descriptor
deprecated
added in
v1.43.0
func (*AttrAttributeType) Descriptor() ([]byte, []int)
Deprecated: Use AttrAttributeType.ProtoReflect.Descriptor instead.
func (*AttrAttributeType) GetId ¶ added in v1.43.0
func (x *AttrAttributeType) GetId() AttrAttributeType_ID
func (*AttrAttributeType) GetName ¶ added in v1.43.0
func (x *AttrAttributeType) GetName() string
func (*AttrAttributeType) ProtoMessage ¶ added in v1.43.0
func (*AttrAttributeType) ProtoMessage()
func (*AttrAttributeType) ProtoReflect ¶ added in v1.43.0
func (x *AttrAttributeType) ProtoReflect() protoreflect.Message
func (*AttrAttributeType) Reset ¶ added in v1.43.0
func (x *AttrAttributeType) Reset()
func (*AttrAttributeType) String ¶ added in v1.43.0
func (x *AttrAttributeType) String() string
type AttrAttributeType_ID ¶ added in v1.43.0
type AttrAttributeType_ID int32
const ( AttrAttributeType_UNKNOWN AttrAttributeType_ID = 0 AttrAttributeType_STRING AttrAttributeType_ID = 1 AttrAttributeType_INTEGER AttrAttributeType_ID = 2 AttrAttributeType_FLOAT AttrAttributeType_ID = 3 AttrAttributeType_TEXT AttrAttributeType_ID = 4 AttrAttributeType_BOOLEAN AttrAttributeType_ID = 5 AttrAttributeType_LIST AttrAttributeType_ID = 6 AttrAttributeType_TREE AttrAttributeType_ID = 7 )
func (AttrAttributeType_ID) Descriptor ¶ added in v1.43.0
func (AttrAttributeType_ID) Descriptor() protoreflect.EnumDescriptor
func (AttrAttributeType_ID) Enum ¶ added in v1.43.0
func (x AttrAttributeType_ID) Enum() *AttrAttributeType_ID
func (AttrAttributeType_ID) EnumDescriptor
deprecated
added in
v1.43.0
func (AttrAttributeType_ID) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttrAttributeType_ID.Descriptor instead.
func (AttrAttributeType_ID) Number ¶ added in v1.43.0
func (x AttrAttributeType_ID) Number() protoreflect.EnumNumber
func (AttrAttributeType_ID) String ¶ added in v1.43.0
func (x AttrAttributeType_ID) String() string
func (AttrAttributeType_ID) Type ¶ added in v1.43.0
func (AttrAttributeType_ID) Type() protoreflect.EnumType
type AttrAttributeTypesResponse ¶ added in v1.43.0
type AttrAttributeTypesResponse struct { Items []*AttrAttributeType `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AttrAttributeTypesResponse) Descriptor
deprecated
added in
v1.43.0
func (*AttrAttributeTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttrAttributeTypesResponse.ProtoReflect.Descriptor instead.
func (*AttrAttributeTypesResponse) GetItems ¶ added in v1.43.0
func (x *AttrAttributeTypesResponse) GetItems() []*AttrAttributeType
func (*AttrAttributeTypesResponse) ProtoMessage ¶ added in v1.43.0
func (*AttrAttributeTypesResponse) ProtoMessage()
func (*AttrAttributeTypesResponse) ProtoReflect ¶ added in v1.43.0
func (x *AttrAttributeTypesResponse) ProtoReflect() protoreflect.Message
func (*AttrAttributeTypesResponse) Reset ¶ added in v1.43.0
func (x *AttrAttributeTypesResponse) Reset()
func (*AttrAttributeTypesResponse) String ¶ added in v1.43.0
func (x *AttrAttributeTypesResponse) String() string
type AttrAttributesRequest ¶ added in v1.43.0
type AttrAttributesRequest struct { ZoneId int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // contains filtered or unexported fields }
func (*AttrAttributesRequest) Descriptor
deprecated
added in
v1.43.0
func (*AttrAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttrAttributesRequest.ProtoReflect.Descriptor instead.
func (*AttrAttributesRequest) GetParentId ¶ added in v1.43.0
func (x *AttrAttributesRequest) GetParentId() int64
func (*AttrAttributesRequest) GetZoneId ¶ added in v1.43.0
func (x *AttrAttributesRequest) GetZoneId() int64
func (*AttrAttributesRequest) ProtoMessage ¶ added in v1.43.0
func (*AttrAttributesRequest) ProtoMessage()
func (*AttrAttributesRequest) ProtoReflect ¶ added in v1.43.0
func (x *AttrAttributesRequest) ProtoReflect() protoreflect.Message
func (*AttrAttributesRequest) Reset ¶ added in v1.43.0
func (x *AttrAttributesRequest) Reset()
func (*AttrAttributesRequest) String ¶ added in v1.43.0
func (x *AttrAttributesRequest) String() string
type AttrAttributesResponse ¶ added in v1.43.0
type AttrAttributesResponse struct { Items []*AttrAttribute `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AttrAttributesResponse) Descriptor
deprecated
added in
v1.43.0
func (*AttrAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttrAttributesResponse.ProtoReflect.Descriptor instead.
func (*AttrAttributesResponse) GetItems ¶ added in v1.43.0
func (x *AttrAttributesResponse) GetItems() []*AttrAttribute
func (*AttrAttributesResponse) ProtoMessage ¶ added in v1.43.0
func (*AttrAttributesResponse) ProtoMessage()
func (*AttrAttributesResponse) ProtoReflect ¶ added in v1.43.0
func (x *AttrAttributesResponse) ProtoReflect() protoreflect.Message
func (*AttrAttributesResponse) Reset ¶ added in v1.43.0
func (x *AttrAttributesResponse) Reset()
func (*AttrAttributesResponse) String ¶ added in v1.43.0
func (x *AttrAttributesResponse) String() string
type AttrListOption ¶ added in v1.43.0
type AttrListOption struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AttributeId int64 `protobuf:"varint,3,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"` ParentId int64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // contains filtered or unexported fields }
func (*AttrListOption) Descriptor
deprecated
added in
v1.43.0
func (*AttrListOption) Descriptor() ([]byte, []int)
Deprecated: Use AttrListOption.ProtoReflect.Descriptor instead.
func (*AttrListOption) GetAttributeId ¶ added in v1.43.0
func (x *AttrListOption) GetAttributeId() int64
func (*AttrListOption) GetId ¶ added in v1.43.0
func (x *AttrListOption) GetId() int64
func (*AttrListOption) GetName ¶ added in v1.43.0
func (x *AttrListOption) GetName() string
func (*AttrListOption) GetParentId ¶ added in v1.43.0
func (x *AttrListOption) GetParentId() int64
func (*AttrListOption) ProtoMessage ¶ added in v1.43.0
func (*AttrListOption) ProtoMessage()
func (*AttrListOption) ProtoReflect ¶ added in v1.43.0
func (x *AttrListOption) ProtoReflect() protoreflect.Message
func (*AttrListOption) Reset ¶ added in v1.43.0
func (x *AttrListOption) Reset()
func (*AttrListOption) String ¶ added in v1.43.0
func (x *AttrListOption) String() string
type AttrListOptionsRequest ¶ added in v1.43.0
type AttrListOptionsRequest struct { AttributeId int64 `protobuf:"varint,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"` // contains filtered or unexported fields }
func (*AttrListOptionsRequest) Descriptor
deprecated
added in
v1.43.0
func (*AttrListOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttrListOptionsRequest.ProtoReflect.Descriptor instead.
func (*AttrListOptionsRequest) GetAttributeId ¶ added in v1.43.0
func (x *AttrListOptionsRequest) GetAttributeId() int64
func (*AttrListOptionsRequest) ProtoMessage ¶ added in v1.43.0
func (*AttrListOptionsRequest) ProtoMessage()
func (*AttrListOptionsRequest) ProtoReflect ¶ added in v1.43.0
func (x *AttrListOptionsRequest) ProtoReflect() protoreflect.Message
func (*AttrListOptionsRequest) Reset ¶ added in v1.43.0
func (x *AttrListOptionsRequest) Reset()
func (*AttrListOptionsRequest) String ¶ added in v1.43.0
func (x *AttrListOptionsRequest) String() string
type AttrListOptionsResponse ¶ added in v1.43.0
type AttrListOptionsResponse struct { Items []*AttrListOption `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AttrListOptionsResponse) Descriptor
deprecated
added in
v1.43.0
func (*AttrListOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttrListOptionsResponse.ProtoReflect.Descriptor instead.
func (*AttrListOptionsResponse) GetItems ¶ added in v1.43.0
func (x *AttrListOptionsResponse) GetItems() []*AttrListOption
func (*AttrListOptionsResponse) ProtoMessage ¶ added in v1.43.0
func (*AttrListOptionsResponse) ProtoMessage()
func (*AttrListOptionsResponse) ProtoReflect ¶ added in v1.43.0
func (x *AttrListOptionsResponse) ProtoReflect() protoreflect.Message
func (*AttrListOptionsResponse) Reset ¶ added in v1.43.0
func (x *AttrListOptionsResponse) Reset()
func (*AttrListOptionsResponse) String ¶ added in v1.43.0
func (x *AttrListOptionsResponse) String() string
type AttrUnit ¶ added in v1.43.0
type AttrUnit struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Abbr string `protobuf:"bytes,3,opt,name=abbr,proto3" json:"abbr,omitempty"` // contains filtered or unexported fields }
func (*AttrUnit) Descriptor
deprecated
added in
v1.43.0
func (*AttrUnit) ProtoMessage ¶ added in v1.43.0
func (*AttrUnit) ProtoMessage()
func (*AttrUnit) ProtoReflect ¶ added in v1.43.0
func (x *AttrUnit) ProtoReflect() protoreflect.Message
type AttrUnitsResponse ¶ added in v1.43.0
type AttrUnitsResponse struct { Items []*AttrUnit `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AttrUnitsResponse) Descriptor
deprecated
added in
v1.43.0
func (*AttrUnitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttrUnitsResponse.ProtoReflect.Descriptor instead.
func (*AttrUnitsResponse) GetItems ¶ added in v1.43.0
func (x *AttrUnitsResponse) GetItems() []*AttrUnit
func (*AttrUnitsResponse) ProtoMessage ¶ added in v1.43.0
func (*AttrUnitsResponse) ProtoMessage()
func (*AttrUnitsResponse) ProtoReflect ¶ added in v1.43.0
func (x *AttrUnitsResponse) ProtoReflect() protoreflect.Message
func (*AttrUnitsResponse) Reset ¶ added in v1.43.0
func (x *AttrUnitsResponse) Reset()
func (*AttrUnitsResponse) String ¶ added in v1.43.0
func (x *AttrUnitsResponse) String() string
type AttrZone ¶ added in v1.43.0
type AttrZone struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AttrZone) Descriptor
deprecated
added in
v1.43.0
func (*AttrZone) ProtoMessage ¶ added in v1.43.0
func (*AttrZone) ProtoMessage()
func (*AttrZone) ProtoReflect ¶ added in v1.43.0
func (x *AttrZone) ProtoReflect() protoreflect.Message
type AttrZoneAttribute ¶ added in v1.43.0
type AttrZoneAttribute struct { ZoneId int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` AttributeId int64 `protobuf:"varint,2,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"` // contains filtered or unexported fields }
func (*AttrZoneAttribute) Descriptor
deprecated
added in
v1.43.0
func (*AttrZoneAttribute) Descriptor() ([]byte, []int)
Deprecated: Use AttrZoneAttribute.ProtoReflect.Descriptor instead.
func (*AttrZoneAttribute) GetAttributeId ¶ added in v1.43.0
func (x *AttrZoneAttribute) GetAttributeId() int64
func (*AttrZoneAttribute) GetZoneId ¶ added in v1.43.0
func (x *AttrZoneAttribute) GetZoneId() int64
func (*AttrZoneAttribute) ProtoMessage ¶ added in v1.43.0
func (*AttrZoneAttribute) ProtoMessage()
func (*AttrZoneAttribute) ProtoReflect ¶ added in v1.43.0
func (x *AttrZoneAttribute) ProtoReflect() protoreflect.Message
func (*AttrZoneAttribute) Reset ¶ added in v1.43.0
func (x *AttrZoneAttribute) Reset()
func (*AttrZoneAttribute) String ¶ added in v1.43.0
func (x *AttrZoneAttribute) String() string
type AttrZoneAttributesRequest ¶ added in v1.43.0
type AttrZoneAttributesRequest struct { ZoneId int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // contains filtered or unexported fields }
func (*AttrZoneAttributesRequest) Descriptor
deprecated
added in
v1.43.0
func (*AttrZoneAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttrZoneAttributesRequest.ProtoReflect.Descriptor instead.
func (*AttrZoneAttributesRequest) GetZoneId ¶ added in v1.43.0
func (x *AttrZoneAttributesRequest) GetZoneId() int64
func (*AttrZoneAttributesRequest) ProtoMessage ¶ added in v1.43.0
func (*AttrZoneAttributesRequest) ProtoMessage()
func (*AttrZoneAttributesRequest) ProtoReflect ¶ added in v1.43.0
func (x *AttrZoneAttributesRequest) ProtoReflect() protoreflect.Message
func (*AttrZoneAttributesRequest) Reset ¶ added in v1.43.0
func (x *AttrZoneAttributesRequest) Reset()
func (*AttrZoneAttributesRequest) String ¶ added in v1.43.0
func (x *AttrZoneAttributesRequest) String() string
type AttrZoneAttributesResponse ¶ added in v1.43.0
type AttrZoneAttributesResponse struct { Items []*AttrZoneAttribute `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AttrZoneAttributesResponse) Descriptor
deprecated
added in
v1.43.0
func (*AttrZoneAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttrZoneAttributesResponse.ProtoReflect.Descriptor instead.
func (*AttrZoneAttributesResponse) GetItems ¶ added in v1.43.0
func (x *AttrZoneAttributesResponse) GetItems() []*AttrZoneAttribute
func (*AttrZoneAttributesResponse) ProtoMessage ¶ added in v1.43.0
func (*AttrZoneAttributesResponse) ProtoMessage()
func (*AttrZoneAttributesResponse) ProtoReflect ¶ added in v1.43.0
func (x *AttrZoneAttributesResponse) ProtoReflect() protoreflect.Message
func (*AttrZoneAttributesResponse) Reset ¶ added in v1.43.0
func (x *AttrZoneAttributesResponse) Reset()
func (*AttrZoneAttributesResponse) String ¶ added in v1.43.0
func (x *AttrZoneAttributesResponse) String() string
type AttrZonesResponse ¶ added in v1.43.0
type AttrZonesResponse struct { Items []*AttrZone `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AttrZonesResponse) Descriptor
deprecated
added in
v1.43.0
func (*AttrZonesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttrZonesResponse.ProtoReflect.Descriptor instead.
func (*AttrZonesResponse) GetItems ¶ added in v1.43.0
func (x *AttrZonesResponse) GetItems() []*AttrZone
func (*AttrZonesResponse) ProtoMessage ¶ added in v1.43.0
func (*AttrZonesResponse) ProtoMessage()
func (*AttrZonesResponse) ProtoReflect ¶ added in v1.43.0
func (x *AttrZonesResponse) ProtoReflect() protoreflect.Message
func (*AttrZonesResponse) Reset ¶ added in v1.43.0
func (x *AttrZonesResponse) Reset()
func (*AttrZonesResponse) String ¶ added in v1.43.0
func (x *AttrZonesResponse) String() string
type AttrsClient ¶ added in v1.43.0
type AttrsClient interface { GetAttribute(ctx context.Context, in *AttrAttributeID, opts ...grpc.CallOption) (*AttrAttribute, error) GetAttributes(ctx context.Context, in *AttrAttributesRequest, opts ...grpc.CallOption) (*AttrAttributesResponse, error) GetAttributeTypes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AttrAttributeTypesResponse, error) GetListOptions(ctx context.Context, in *AttrListOptionsRequest, opts ...grpc.CallOption) (*AttrListOptionsResponse, error) GetUnits(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AttrUnitsResponse, error) GetZoneAttributes(ctx context.Context, in *AttrZoneAttributesRequest, opts ...grpc.CallOption) (*AttrZoneAttributesResponse, error) GetZones(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AttrZonesResponse, error) }
AttrsClient is the client API for Attrs 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 NewAttrsClient ¶ added in v1.43.0
func NewAttrsClient(cc grpc.ClientConnInterface) AttrsClient
type AttrsGRPCServer ¶ added in v1.43.0
type AttrsGRPCServer struct { UnimplementedAttrsServer // contains filtered or unexported fields }
func NewAttrsGRPCServer ¶ added in v1.43.0
func NewAttrsGRPCServer(repository *attrs.Repository, enforcer *casbin.Enforcer, auth *Auth) *AttrsGRPCServer
func (*AttrsGRPCServer) GetAttribute ¶ added in v1.43.0
func (s *AttrsGRPCServer) GetAttribute(ctx context.Context, in *AttrAttributeID) (*AttrAttribute, error)
func (*AttrsGRPCServer) GetAttributeTypes ¶ added in v1.43.0
func (s *AttrsGRPCServer) GetAttributeTypes( ctx context.Context, _ *emptypb.Empty, ) (*AttrAttributeTypesResponse, error)
func (*AttrsGRPCServer) GetAttributes ¶ added in v1.43.0
func (s *AttrsGRPCServer) GetAttributes( ctx context.Context, in *AttrAttributesRequest, ) (*AttrAttributesResponse, error)
func (*AttrsGRPCServer) GetListOptions ¶ added in v1.43.0
func (s *AttrsGRPCServer) GetListOptions( ctx context.Context, in *AttrListOptionsRequest, ) (*AttrListOptionsResponse, error)
func (*AttrsGRPCServer) GetUnits ¶ added in v1.43.0
func (s *AttrsGRPCServer) GetUnits(ctx context.Context, _ *emptypb.Empty) (*AttrUnitsResponse, error)
func (*AttrsGRPCServer) GetZoneAttributes ¶ added in v1.43.0
func (s *AttrsGRPCServer) GetZoneAttributes( ctx context.Context, in *AttrZoneAttributesRequest, ) (*AttrZoneAttributesResponse, error)
func (*AttrsGRPCServer) GetZones ¶ added in v1.43.0
func (s *AttrsGRPCServer) GetZones(ctx context.Context, _ *emptypb.Empty) (*AttrZonesResponse, error)
type AttrsServer ¶ added in v1.43.0
type AttrsServer interface { GetAttribute(context.Context, *AttrAttributeID) (*AttrAttribute, error) GetAttributes(context.Context, *AttrAttributesRequest) (*AttrAttributesResponse, error) GetAttributeTypes(context.Context, *emptypb.Empty) (*AttrAttributeTypesResponse, error) GetListOptions(context.Context, *AttrListOptionsRequest) (*AttrListOptionsResponse, error) GetUnits(context.Context, *emptypb.Empty) (*AttrUnitsResponse, error) GetZoneAttributes(context.Context, *AttrZoneAttributesRequest) (*AttrZoneAttributesResponse, error) GetZones(context.Context, *emptypb.Empty) (*AttrZonesResponse, error) // contains filtered or unexported methods }
AttrsServer is the server API for Attrs service. All implementations must embed UnimplementedAttrsServer for forward compatibility
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func NewAuth ¶
func NewAuth( db *goqu.Database, keycloak *gocloak.GoCloak, keycloakCfg config.KeycloakConfig, repository *users.Repository, ) *Auth
type AutowpClient ¶
type AutowpClient interface { AclEnforce(ctx context.Context, in *AclEnforceRequest, opts ...grpc.CallOption) (*AclEnforceResult, error) CreateFeedback(ctx context.Context, in *APICreateFeedbackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetBrandIcons(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BrandIcons, error) GetBrandVehicleTypes(ctx context.Context, in *GetBrandVehicleTypesRequest, opts ...grpc.CallOption) (*BrandVehicleTypeItems, error) GetIP(ctx context.Context, in *APIGetIPRequest, opts ...grpc.CallOption) (*APIIP, error) GetPerspectives(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PerspectivesItems, error) GetPerspectivePages(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PerspectivePagesItems, error) GetReCaptchaConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ReCaptchaConfig, error) GetSpecs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SpecsItems, error) GetVehicleTypes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VehicleTypeItems, error) }
AutowpClient is the client API for Autowp 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 NewAutowpClient ¶
func NewAutowpClient(cc grpc.ClientConnInterface) AutowpClient
type AutowpServer ¶
type AutowpServer interface { AclEnforce(context.Context, *AclEnforceRequest) (*AclEnforceResult, error) CreateFeedback(context.Context, *APICreateFeedbackRequest) (*emptypb.Empty, error) GetBrandIcons(context.Context, *emptypb.Empty) (*BrandIcons, error) GetBrandVehicleTypes(context.Context, *GetBrandVehicleTypesRequest) (*BrandVehicleTypeItems, error) GetIP(context.Context, *APIGetIPRequest) (*APIIP, error) GetPerspectives(context.Context, *emptypb.Empty) (*PerspectivesItems, error) GetPerspectivePages(context.Context, *emptypb.Empty) (*PerspectivePagesItems, error) GetReCaptchaConfig(context.Context, *emptypb.Empty) (*ReCaptchaConfig, error) GetSpecs(context.Context, *emptypb.Empty) (*SpecsItems, error) GetVehicleTypes(context.Context, *emptypb.Empty) (*VehicleTypeItems, error) // contains filtered or unexported methods }
AutowpServer is the server API for Autowp service. All implementations must embed UnimplementedAutowpServer for forward compatibility
type BrandIcons ¶
type BrandIcons struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Css string `protobuf:"bytes,2,opt,name=css,proto3" json:"css,omitempty"` // contains filtered or unexported fields }
func (*BrandIcons) Descriptor
deprecated
func (*BrandIcons) Descriptor() ([]byte, []int)
Deprecated: Use BrandIcons.ProtoReflect.Descriptor instead.
func (*BrandIcons) GetCss ¶
func (x *BrandIcons) GetCss() string
func (*BrandIcons) GetImage ¶
func (x *BrandIcons) GetImage() string
func (*BrandIcons) ProtoMessage ¶
func (*BrandIcons) ProtoMessage()
func (*BrandIcons) ProtoReflect ¶
func (x *BrandIcons) ProtoReflect() protoreflect.Message
func (*BrandIcons) Reset ¶
func (x *BrandIcons) Reset()
func (*BrandIcons) String ¶
func (x *BrandIcons) String() string
type BrandVehicleType ¶
type BrandVehicleType struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Catname string `protobuf:"bytes,3,opt,name=catname,proto3" json:"catname,omitempty"` ItemsCount string `protobuf:"bytes,4,opt,name=items_count,json=itemsCount,proto3" json:"items_count,omitempty"` // contains filtered or unexported fields }
func (*BrandVehicleType) Descriptor
deprecated
func (*BrandVehicleType) Descriptor() ([]byte, []int)
Deprecated: Use BrandVehicleType.ProtoReflect.Descriptor instead.
func (*BrandVehicleType) GetCatname ¶
func (x *BrandVehicleType) GetCatname() string
func (*BrandVehicleType) GetId ¶
func (x *BrandVehicleType) GetId() int32
func (*BrandVehicleType) GetItemsCount ¶
func (x *BrandVehicleType) GetItemsCount() string
func (*BrandVehicleType) GetName ¶
func (x *BrandVehicleType) GetName() string
func (*BrandVehicleType) ProtoMessage ¶
func (*BrandVehicleType) ProtoMessage()
func (*BrandVehicleType) ProtoReflect ¶
func (x *BrandVehicleType) ProtoReflect() protoreflect.Message
func (*BrandVehicleType) Reset ¶
func (x *BrandVehicleType) Reset()
func (*BrandVehicleType) String ¶
func (x *BrandVehicleType) String() string
type BrandVehicleTypeItems ¶
type BrandVehicleTypeItems struct { Items []*BrandVehicleType `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*BrandVehicleTypeItems) Descriptor
deprecated
func (*BrandVehicleTypeItems) Descriptor() ([]byte, []int)
Deprecated: Use BrandVehicleTypeItems.ProtoReflect.Descriptor instead.
func (*BrandVehicleTypeItems) GetItems ¶
func (x *BrandVehicleTypeItems) GetItems() []*BrandVehicleType
func (*BrandVehicleTypeItems) ProtoMessage ¶
func (*BrandVehicleTypeItems) ProtoMessage()
func (*BrandVehicleTypeItems) ProtoReflect ¶
func (x *BrandVehicleTypeItems) ProtoReflect() protoreflect.Message
func (*BrandVehicleTypeItems) Reset ¶
func (x *BrandVehicleTypeItems) Reset()
func (*BrandVehicleTypeItems) String ¶
func (x *BrandVehicleTypeItems) String() string
type Catalogue ¶
type Catalogue struct {
// contains filtered or unexported fields
}
Catalogue service.
func NewCatalogue ¶
NewCatalogue constructor.
type CommentMessage ¶ added in v1.37.0
type CommentMessageFields ¶ added in v1.41.0
type CommentMessageFields struct { Preview bool `protobuf:"varint,1,opt,name=preview,proto3" json:"preview,omitempty"` Route bool `protobuf:"varint,2,opt,name=route,proto3" json:"route,omitempty"` Text bool `protobuf:"varint,3,opt,name=text,proto3" json:"text,omitempty"` Vote bool `protobuf:"varint,4,opt,name=vote,proto3" json:"vote,omitempty"` UserVote bool `protobuf:"varint,5,opt,name=user_vote,json=userVote,proto3" json:"user_vote,omitempty"` Replies bool `protobuf:"varint,6,opt,name=replies,proto3" json:"replies,omitempty"` Status bool `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` IsNew bool `protobuf:"varint,8,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` // contains filtered or unexported fields }
func (*CommentMessageFields) Descriptor
deprecated
added in
v1.41.0
func (*CommentMessageFields) Descriptor() ([]byte, []int)
Deprecated: Use CommentMessageFields.ProtoReflect.Descriptor instead.
func (*CommentMessageFields) GetIsNew ¶ added in v1.41.0
func (x *CommentMessageFields) GetIsNew() bool
func (*CommentMessageFields) GetPreview ¶ added in v1.41.0
func (x *CommentMessageFields) GetPreview() bool
func (*CommentMessageFields) GetReplies ¶ added in v1.41.0
func (x *CommentMessageFields) GetReplies() bool
func (*CommentMessageFields) GetRoute ¶ added in v1.41.0
func (x *CommentMessageFields) GetRoute() bool
func (*CommentMessageFields) GetStatus ¶ added in v1.41.0
func (x *CommentMessageFields) GetStatus() bool
func (*CommentMessageFields) GetText ¶ added in v1.41.0
func (x *CommentMessageFields) GetText() bool
func (*CommentMessageFields) GetUserVote ¶ added in v1.41.0
func (x *CommentMessageFields) GetUserVote() bool
func (*CommentMessageFields) GetVote ¶ added in v1.41.0
func (x *CommentMessageFields) GetVote() bool
func (*CommentMessageFields) ProtoMessage ¶ added in v1.41.0
func (*CommentMessageFields) ProtoMessage()
func (*CommentMessageFields) ProtoReflect ¶ added in v1.41.0
func (x *CommentMessageFields) ProtoReflect() protoreflect.Message
func (*CommentMessageFields) Reset ¶ added in v1.41.0
func (x *CommentMessageFields) Reset()
func (*CommentMessageFields) String ¶ added in v1.41.0
func (x *CommentMessageFields) String() string
type CommentVote ¶
type CommentVote struct { Value CommentVote_VoteValue `protobuf:"varint,1,opt,name=value,proto3,enum=goautowp.CommentVote_VoteValue" json:"value,omitempty"` User *APIUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CommentVote) Descriptor
deprecated
func (*CommentVote) Descriptor() ([]byte, []int)
Deprecated: Use CommentVote.ProtoReflect.Descriptor instead.
func (*CommentVote) GetUser ¶
func (x *CommentVote) GetUser() *APIUser
func (*CommentVote) GetValue ¶
func (x *CommentVote) GetValue() CommentVote_VoteValue
func (*CommentVote) ProtoMessage ¶
func (*CommentVote) ProtoMessage()
func (*CommentVote) ProtoReflect ¶
func (x *CommentVote) ProtoReflect() protoreflect.Message
func (*CommentVote) Reset ¶
func (x *CommentVote) Reset()
func (*CommentVote) String ¶
func (x *CommentVote) String() string
type CommentVoteItems ¶
type CommentVoteItems struct { Items []*CommentVote `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*CommentVoteItems) Descriptor
deprecated
func (*CommentVoteItems) Descriptor() ([]byte, []int)
Deprecated: Use CommentVoteItems.ProtoReflect.Descriptor instead.
func (*CommentVoteItems) GetItems ¶
func (x *CommentVoteItems) GetItems() []*CommentVote
func (*CommentVoteItems) ProtoMessage ¶
func (*CommentVoteItems) ProtoMessage()
func (*CommentVoteItems) ProtoReflect ¶
func (x *CommentVoteItems) ProtoReflect() protoreflect.Message
func (*CommentVoteItems) Reset ¶
func (x *CommentVoteItems) Reset()
func (*CommentVoteItems) String ¶
func (x *CommentVoteItems) String() string
type CommentVote_VoteValue ¶
type CommentVote_VoteValue int32
const ( CommentVote_UNKNOWN CommentVote_VoteValue = 0 CommentVote_POSITIVE CommentVote_VoteValue = -1 CommentVote_NEGATIVE CommentVote_VoteValue = 1 )
func (CommentVote_VoteValue) Descriptor ¶
func (CommentVote_VoteValue) Descriptor() protoreflect.EnumDescriptor
func (CommentVote_VoteValue) Enum ¶
func (x CommentVote_VoteValue) Enum() *CommentVote_VoteValue
func (CommentVote_VoteValue) EnumDescriptor
deprecated
func (CommentVote_VoteValue) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommentVote_VoteValue.Descriptor instead.
func (CommentVote_VoteValue) Number ¶
func (x CommentVote_VoteValue) Number() protoreflect.EnumNumber
func (CommentVote_VoteValue) String ¶
func (x CommentVote_VoteValue) String() string
func (CommentVote_VoteValue) Type ¶
func (CommentVote_VoteValue) Type() protoreflect.EnumType
type CommentsClient ¶
type CommentsClient interface { GetCommentVotes(ctx context.Context, in *GetCommentVotesRequest, opts ...grpc.CallOption) (*CommentVoteItems, error) Subscribe(ctx context.Context, in *CommentsSubscribeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UnSubscribe(ctx context.Context, in *CommentsUnSubscribeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) View(ctx context.Context, in *CommentsViewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) SetDeleted(ctx context.Context, in *CommentsSetDeletedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) MoveComment(ctx context.Context, in *CommentsMoveCommentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) VoteComment(ctx context.Context, in *CommentsVoteCommentRequest, opts ...grpc.CallOption) (*CommentsVoteCommentResponse, error) Add(ctx context.Context, in *AddCommentRequest, opts ...grpc.CallOption) (*AddCommentResponse, error) GetMessagePage(ctx context.Context, in *GetMessagePageRequest, opts ...grpc.CallOption) (*APICommentsMessagePage, error) GetMessage(ctx context.Context, in *GetMessageRequest, opts ...grpc.CallOption) (*APICommentsMessage, error) GetMessages(ctx context.Context, in *GetMessagesRequest, opts ...grpc.CallOption) (*APICommentsMessages, error) }
CommentsClient is the client API for Comments 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 NewCommentsClient ¶
func NewCommentsClient(cc grpc.ClientConnInterface) CommentsClient
type CommentsGRPCServer ¶
type CommentsGRPCServer struct { UnimplementedCommentsServer // contains filtered or unexported fields }
func NewCommentsGRPCServer ¶
func NewCommentsGRPCServer( auth *Auth, commentsRepository *comments.Repository, usersRepository *users.Repository, picturesRepository *pictures.Repository, userExtractor *UserExtractor, enforcer *casbin.Enforcer, ) *CommentsGRPCServer
func (*CommentsGRPCServer) Add ¶ added in v1.18.0
func (s *CommentsGRPCServer) Add(ctx context.Context, in *AddCommentRequest) (*AddCommentResponse, error)
func (*CommentsGRPCServer) GetCommentVotes ¶
func (s *CommentsGRPCServer) GetCommentVotes( ctx context.Context, in *GetCommentVotesRequest, ) (*CommentVoteItems, error)
func (*CommentsGRPCServer) GetMessage ¶ added in v1.41.0
func (s *CommentsGRPCServer) GetMessage(ctx context.Context, in *GetMessageRequest) (*APICommentsMessage, error)
func (*CommentsGRPCServer) GetMessagePage ¶ added in v1.38.0
func (s *CommentsGRPCServer) GetMessagePage( ctx context.Context, in *GetMessagePageRequest, ) (*APICommentsMessagePage, error)
func (*CommentsGRPCServer) GetMessages ¶ added in v1.41.0
func (s *CommentsGRPCServer) GetMessages(ctx context.Context, in *GetMessagesRequest) (*APICommentsMessages, error)
func (*CommentsGRPCServer) MoveComment ¶
func (s *CommentsGRPCServer) MoveComment(ctx context.Context, in *CommentsMoveCommentRequest) (*emptypb.Empty, error)
func (*CommentsGRPCServer) SetDeleted ¶
func (s *CommentsGRPCServer) SetDeleted(ctx context.Context, in *CommentsSetDeletedRequest) (*emptypb.Empty, error)
func (*CommentsGRPCServer) Subscribe ¶
func (s *CommentsGRPCServer) Subscribe(ctx context.Context, in *CommentsSubscribeRequest) (*emptypb.Empty, error)
func (*CommentsGRPCServer) UnSubscribe ¶
func (s *CommentsGRPCServer) UnSubscribe(ctx context.Context, in *CommentsUnSubscribeRequest) (*emptypb.Empty, error)
func (*CommentsGRPCServer) View ¶
func (s *CommentsGRPCServer) View(ctx context.Context, in *CommentsViewRequest) (*emptypb.Empty, error)
func (*CommentsGRPCServer) VoteComment ¶
func (s *CommentsGRPCServer) VoteComment( ctx context.Context, in *CommentsVoteCommentRequest, ) (*CommentsVoteCommentResponse, error)
type CommentsMoveCommentRequest ¶
type CommentsMoveCommentRequest struct { CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` ItemId int64 `protobuf:"varint,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` TypeId CommentsType `protobuf:"varint,3,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"` // contains filtered or unexported fields }
func (*CommentsMoveCommentRequest) Descriptor
deprecated
func (*CommentsMoveCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommentsMoveCommentRequest.ProtoReflect.Descriptor instead.
func (*CommentsMoveCommentRequest) GetCommentId ¶
func (x *CommentsMoveCommentRequest) GetCommentId() int64
func (*CommentsMoveCommentRequest) GetItemId ¶
func (x *CommentsMoveCommentRequest) GetItemId() int64
func (*CommentsMoveCommentRequest) GetTypeId ¶
func (x *CommentsMoveCommentRequest) GetTypeId() CommentsType
func (*CommentsMoveCommentRequest) ProtoMessage ¶
func (*CommentsMoveCommentRequest) ProtoMessage()
func (*CommentsMoveCommentRequest) ProtoReflect ¶
func (x *CommentsMoveCommentRequest) ProtoReflect() protoreflect.Message
func (*CommentsMoveCommentRequest) Reset ¶
func (x *CommentsMoveCommentRequest) Reset()
func (*CommentsMoveCommentRequest) String ¶
func (x *CommentsMoveCommentRequest) String() string
type CommentsServer ¶
type CommentsServer interface { GetCommentVotes(context.Context, *GetCommentVotesRequest) (*CommentVoteItems, error) Subscribe(context.Context, *CommentsSubscribeRequest) (*emptypb.Empty, error) UnSubscribe(context.Context, *CommentsUnSubscribeRequest) (*emptypb.Empty, error) View(context.Context, *CommentsViewRequest) (*emptypb.Empty, error) SetDeleted(context.Context, *CommentsSetDeletedRequest) (*emptypb.Empty, error) MoveComment(context.Context, *CommentsMoveCommentRequest) (*emptypb.Empty, error) VoteComment(context.Context, *CommentsVoteCommentRequest) (*CommentsVoteCommentResponse, error) Add(context.Context, *AddCommentRequest) (*AddCommentResponse, error) GetMessagePage(context.Context, *GetMessagePageRequest) (*APICommentsMessagePage, error) GetMessage(context.Context, *GetMessageRequest) (*APICommentsMessage, error) GetMessages(context.Context, *GetMessagesRequest) (*APICommentsMessages, error) // contains filtered or unexported methods }
CommentsServer is the server API for Comments service. All implementations must embed UnimplementedCommentsServer for forward compatibility
type CommentsSetDeletedRequest ¶
type CommentsSetDeletedRequest struct { CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*CommentsSetDeletedRequest) Descriptor
deprecated
func (*CommentsSetDeletedRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommentsSetDeletedRequest.ProtoReflect.Descriptor instead.
func (*CommentsSetDeletedRequest) GetCommentId ¶
func (x *CommentsSetDeletedRequest) GetCommentId() int64
func (*CommentsSetDeletedRequest) GetDeleted ¶
func (x *CommentsSetDeletedRequest) GetDeleted() bool
func (*CommentsSetDeletedRequest) ProtoMessage ¶
func (*CommentsSetDeletedRequest) ProtoMessage()
func (*CommentsSetDeletedRequest) ProtoReflect ¶
func (x *CommentsSetDeletedRequest) ProtoReflect() protoreflect.Message
func (*CommentsSetDeletedRequest) Reset ¶
func (x *CommentsSetDeletedRequest) Reset()
func (*CommentsSetDeletedRequest) String ¶
func (x *CommentsSetDeletedRequest) String() string
type CommentsSubscribeRequest ¶
type CommentsSubscribeRequest struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` TypeId CommentsType `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"` // contains filtered or unexported fields }
func (*CommentsSubscribeRequest) Descriptor
deprecated
func (*CommentsSubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommentsSubscribeRequest.ProtoReflect.Descriptor instead.
func (*CommentsSubscribeRequest) GetItemId ¶
func (x *CommentsSubscribeRequest) GetItemId() int64
func (*CommentsSubscribeRequest) GetTypeId ¶
func (x *CommentsSubscribeRequest) GetTypeId() CommentsType
func (*CommentsSubscribeRequest) ProtoMessage ¶
func (*CommentsSubscribeRequest) ProtoMessage()
func (*CommentsSubscribeRequest) ProtoReflect ¶
func (x *CommentsSubscribeRequest) ProtoReflect() protoreflect.Message
func (*CommentsSubscribeRequest) Reset ¶
func (x *CommentsSubscribeRequest) Reset()
func (*CommentsSubscribeRequest) String ¶
func (x *CommentsSubscribeRequest) String() string
type CommentsType ¶
type CommentsType int32
const ( CommentsType_UNKNOWN CommentsType = 0 CommentsType_PICTURES_TYPE_ID CommentsType = 1 CommentsType_ITEM_TYPE_ID CommentsType = 2 CommentsType_VOTINGS_TYPE_ID CommentsType = 3 CommentsType_ARTICLES_TYPE_ID CommentsType = 4 CommentsType_FORUMS_TYPE_ID CommentsType = 5 )
func (CommentsType) Descriptor ¶
func (CommentsType) Descriptor() protoreflect.EnumDescriptor
func (CommentsType) Enum ¶
func (x CommentsType) Enum() *CommentsType
func (CommentsType) EnumDescriptor
deprecated
func (CommentsType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommentsType.Descriptor instead.
func (CommentsType) Number ¶
func (x CommentsType) Number() protoreflect.EnumNumber
func (CommentsType) String ¶
func (x CommentsType) String() string
func (CommentsType) Type ¶
func (CommentsType) Type() protoreflect.EnumType
type CommentsUnSubscribeRequest ¶
type CommentsUnSubscribeRequest struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` TypeId CommentsType `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"` // contains filtered or unexported fields }
func (*CommentsUnSubscribeRequest) Descriptor
deprecated
func (*CommentsUnSubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommentsUnSubscribeRequest.ProtoReflect.Descriptor instead.
func (*CommentsUnSubscribeRequest) GetItemId ¶
func (x *CommentsUnSubscribeRequest) GetItemId() int64
func (*CommentsUnSubscribeRequest) GetTypeId ¶
func (x *CommentsUnSubscribeRequest) GetTypeId() CommentsType
func (*CommentsUnSubscribeRequest) ProtoMessage ¶
func (*CommentsUnSubscribeRequest) ProtoMessage()
func (*CommentsUnSubscribeRequest) ProtoReflect ¶
func (x *CommentsUnSubscribeRequest) ProtoReflect() protoreflect.Message
func (*CommentsUnSubscribeRequest) Reset ¶
func (x *CommentsUnSubscribeRequest) Reset()
func (*CommentsUnSubscribeRequest) String ¶
func (x *CommentsUnSubscribeRequest) String() string
type CommentsViewRequest ¶
type CommentsViewRequest struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` TypeId CommentsType `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"` // contains filtered or unexported fields }
func (*CommentsViewRequest) Descriptor
deprecated
func (*CommentsViewRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommentsViewRequest.ProtoReflect.Descriptor instead.
func (*CommentsViewRequest) GetItemId ¶
func (x *CommentsViewRequest) GetItemId() int64
func (*CommentsViewRequest) GetTypeId ¶
func (x *CommentsViewRequest) GetTypeId() CommentsType
func (*CommentsViewRequest) ProtoMessage ¶
func (*CommentsViewRequest) ProtoMessage()
func (*CommentsViewRequest) ProtoReflect ¶
func (x *CommentsViewRequest) ProtoReflect() protoreflect.Message
func (*CommentsViewRequest) Reset ¶
func (x *CommentsViewRequest) Reset()
func (*CommentsViewRequest) String ¶
func (x *CommentsViewRequest) String() string
type CommentsVoteCommentRequest ¶
type CommentsVoteCommentRequest struct { CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` Vote int32 `protobuf:"varint,2,opt,name=vote,proto3" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*CommentsVoteCommentRequest) Descriptor
deprecated
func (*CommentsVoteCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommentsVoteCommentRequest.ProtoReflect.Descriptor instead.
func (*CommentsVoteCommentRequest) GetCommentId ¶
func (x *CommentsVoteCommentRequest) GetCommentId() int64
func (*CommentsVoteCommentRequest) GetVote ¶
func (x *CommentsVoteCommentRequest) GetVote() int32
func (*CommentsVoteCommentRequest) ProtoMessage ¶
func (*CommentsVoteCommentRequest) ProtoMessage()
func (*CommentsVoteCommentRequest) ProtoReflect ¶
func (x *CommentsVoteCommentRequest) ProtoReflect() protoreflect.Message
func (*CommentsVoteCommentRequest) Reset ¶
func (x *CommentsVoteCommentRequest) Reset()
func (*CommentsVoteCommentRequest) String ¶
func (x *CommentsVoteCommentRequest) String() string
type CommentsVoteCommentResponse ¶
type CommentsVoteCommentResponse struct { Votes int32 `protobuf:"varint,1,opt,name=votes,proto3" json:"votes,omitempty"` // contains filtered or unexported fields }
func (*CommentsVoteCommentResponse) Descriptor
deprecated
func (*CommentsVoteCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommentsVoteCommentResponse.ProtoReflect.Descriptor instead.
func (*CommentsVoteCommentResponse) GetVotes ¶
func (x *CommentsVoteCommentResponse) GetVotes() int32
func (*CommentsVoteCommentResponse) ProtoMessage ¶
func (*CommentsVoteCommentResponse) ProtoMessage()
func (*CommentsVoteCommentResponse) ProtoReflect ¶
func (x *CommentsVoteCommentResponse) ProtoReflect() protoreflect.Message
func (*CommentsVoteCommentResponse) Reset ¶
func (x *CommentsVoteCommentResponse) Reset()
func (*CommentsVoteCommentResponse) String ¶
func (x *CommentsVoteCommentResponse) String() string
type Contact ¶
type Contact struct { ContactUserId int64 `protobuf:"varint,1,opt,name=contact_user_id,json=contactUserId,proto3" json:"contact_user_id,omitempty"` User *APIUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*Contact) Descriptor
deprecated
func (*Contact) GetContactUserId ¶
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
func (*Contact) ProtoReflect ¶
func (x *Contact) ProtoReflect() protoreflect.Message
type ContactItems ¶
type ContactItems struct { Items []*Contact `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ContactItems) Descriptor
deprecated
func (*ContactItems) Descriptor() ([]byte, []int)
Deprecated: Use ContactItems.ProtoReflect.Descriptor instead.
func (*ContactItems) GetItems ¶
func (x *ContactItems) GetItems() []*Contact
func (*ContactItems) ProtoMessage ¶
func (*ContactItems) ProtoMessage()
func (*ContactItems) ProtoReflect ¶
func (x *ContactItems) ProtoReflect() protoreflect.Message
func (*ContactItems) Reset ¶
func (x *ContactItems) Reset()
func (*ContactItems) String ¶
func (x *ContactItems) String() string
type ContactsClient ¶
type ContactsClient interface { CreateContact(ctx context.Context, in *CreateContactRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteContact(ctx context.Context, in *DeleteContactRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetContact(ctx context.Context, in *GetContactRequest, opts ...grpc.CallOption) (*Contact, error) GetContacts(ctx context.Context, in *GetContactsRequest, opts ...grpc.CallOption) (*ContactItems, error) }
ContactsClient is the client API for Contacts 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 NewContactsClient ¶
func NewContactsClient(cc grpc.ClientConnInterface) ContactsClient
type ContactsGRPCServer ¶
type ContactsGRPCServer struct { UnimplementedContactsServer // contains filtered or unexported fields }
func NewContactsGRPCServer ¶
func NewContactsGRPCServer( auth *Auth, contactsRepository *ContactsRepository, userRepository *users.Repository, userExtractor *UserExtractor, ) *ContactsGRPCServer
func (*ContactsGRPCServer) CreateContact ¶
func (s *ContactsGRPCServer) CreateContact(ctx context.Context, in *CreateContactRequest) (*emptypb.Empty, error)
func (*ContactsGRPCServer) DeleteContact ¶
func (s *ContactsGRPCServer) DeleteContact(ctx context.Context, in *DeleteContactRequest) (*emptypb.Empty, error)
func (*ContactsGRPCServer) GetContact ¶
func (s *ContactsGRPCServer) GetContact(ctx context.Context, in *GetContactRequest) (*Contact, error)
func (*ContactsGRPCServer) GetContacts ¶
func (s *ContactsGRPCServer) GetContacts(ctx context.Context, _ *GetContactsRequest) (*ContactItems, error)
type ContactsRepository ¶
type ContactsRepository struct {
// contains filtered or unexported fields
}
ContactsRepository Main Object.
func NewContactsRepository ¶
func NewContactsRepository(db *goqu.Database) *ContactsRepository
NewContactsRepository constructor.
type ContactsServer ¶
type ContactsServer interface { CreateContact(context.Context, *CreateContactRequest) (*emptypb.Empty, error) DeleteContact(context.Context, *DeleteContactRequest) (*emptypb.Empty, error) GetContact(context.Context, *GetContactRequest) (*Contact, error) GetContacts(context.Context, *GetContactsRequest) (*ContactItems, error) // contains filtered or unexported methods }
ContactsServer is the server API for Contacts service. All implementations must embed UnimplementedContactsServer for forward compatibility
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
Container Container.
func (*Container) ArticlesGRPCServer ¶ added in v1.7.0
func (s *Container) ArticlesGRPCServer() (*ArticlesGRPCServer, error)
func (*Container) AttrsGRPCServer ¶ added in v1.43.0
func (s *Container) AttrsGRPCServer() (*AttrsGRPCServer, error)
func (*Container) AttrsRepository ¶ added in v1.43.0
func (s *Container) AttrsRepository() (*attrs.Repository, error)
func (*Container) BanRepository ¶
func (s *Container) BanRepository() (*ban.Repository, error)
func (*Container) CommentsGRPCServer ¶
func (s *Container) CommentsGRPCServer() (*CommentsGRPCServer, error)
func (*Container) CommentsRepository ¶
func (s *Container) CommentsRepository() (*comments.Repository, error)
func (*Container) ContactsGRPCServer ¶
func (s *Container) ContactsGRPCServer() (*ContactsGRPCServer, error)
func (*Container) ContactsRepository ¶
func (s *Container) ContactsRepository() (*ContactsRepository, error)
func (*Container) DonationsGRPCServer ¶
func (s *Container) DonationsGRPCServer() (*DonationsGRPCServer, error)
func (*Container) DuplicateFinder ¶
func (s *Container) DuplicateFinder() (*DuplicateFinder, error)
func (*Container) EmailSender ¶
func (*Container) ForumsGRPCServer ¶ added in v1.23.0
func (s *Container) ForumsGRPCServer() (*ForumsGRPCServer, error)
func (*Container) GRPCServer ¶
func (s *Container) GRPCServer() (*GRPCServer, error)
func (*Container) GRPCServerWithServices ¶ added in v1.4.0
func (*Container) GoquPostgresDB ¶ added in v1.1.0
func (*Container) HostsManager ¶
func (*Container) IPExtractor ¶
func (s *Container) IPExtractor() (*IPExtractor, error)
func (*Container) ItemExtractor ¶ added in v1.51.0
func (s *Container) ItemExtractor() (*ItemExtractor, error)
func (*Container) ItemOfDayRepository ¶
func (s *Container) ItemOfDayRepository() (*itemofday.Repository, error)
func (*Container) ItemsGRPCServer ¶
func (s *Container) ItemsGRPCServer() (*ItemsGRPCServer, error)
func (*Container) ItemsRepository ¶
func (s *Container) ItemsRepository() (*items.Repository, error)
func (*Container) MapGRPCServer ¶
func (s *Container) MapGRPCServer() (*MapGRPCServer, error)
func (*Container) MessagingGRPCServer ¶
func (s *Container) MessagingGRPCServer() (*MessagingGRPCServer, error)
func (*Container) MessagingRepository ¶
func (s *Container) MessagingRepository() (*messaging.Repository, error)
func (*Container) PicturesGRPCServer ¶
func (s *Container) PicturesGRPCServer() (*PicturesGRPCServer, error)
func (*Container) PicturesRepository ¶
func (s *Container) PicturesRepository() (*pictures.Repository, error)
func (*Container) PrivateHTTPServer ¶
func (*Container) PrivateRouter ¶
func (*Container) PublicHTTPServer ¶
func (*Container) PublicRouter ¶
func (*Container) RatingGRPCServer ¶ added in v1.76.0
func (s *Container) RatingGRPCServer() (*RatingGRPCServer, error)
func (*Container) SetEmailSender ¶
func (*Container) StatisticsGRPCServer ¶
func (s *Container) StatisticsGRPCServer() (*StatisticsGRPCServer, error)
func (*Container) TelegramService ¶
func (*Container) TextGRPCServer ¶ added in v1.30.0
func (s *Container) TextGRPCServer() (*TextGRPCServer, error)
func (*Container) TextStorageRepository ¶ added in v1.50.0
func (s *Container) TextStorageRepository() (*textstorage.Repository, error)
func (*Container) TrafficGRPCServer ¶
func (s *Container) TrafficGRPCServer() (*TrafficGRPCServer, error)
func (*Container) UserExtractor ¶
func (s *Container) UserExtractor() (*UserExtractor, error)
func (*Container) UsersGRPCServer ¶
func (s *Container) UsersGRPCServer() (*UsersGRPCServer, error)
func (*Container) UsersRepository ¶
func (s *Container) UsersRepository() (*users.Repository, error)
func (*Container) YoomoneyHandler ¶ added in v1.68.0
func (s *Container) YoomoneyHandler() (*YoomoneyHandler, error)
type CreateContactRequest ¶
type CreateContactRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*CreateContactRequest) Descriptor
deprecated
func (*CreateContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateContactRequest.ProtoReflect.Descriptor instead.
func (*CreateContactRequest) GetUserId ¶
func (x *CreateContactRequest) GetUserId() int64
func (*CreateContactRequest) ProtoMessage ¶
func (*CreateContactRequest) ProtoMessage()
func (*CreateContactRequest) ProtoReflect ¶
func (x *CreateContactRequest) ProtoReflect() protoreflect.Message
func (*CreateContactRequest) Reset ¶
func (x *CreateContactRequest) Reset()
func (*CreateContactRequest) String ¶
func (x *CreateContactRequest) String() string
type CreateFeedbackRequest ¶
type CreateFeedbackRequest struct { Name string `json:"name"` Email string `json:"email"` Message string `json:"message"` Captcha string `json:"captcha"` IP string }
CreateFeedbackRequest CreateFeedbackRequest.
func (*CreateFeedbackRequest) Validate ¶
func (s *CreateFeedbackRequest) Validate( captchaEnabled bool, ip string, ) ([]*errdetails.BadRequest_FieldViolation, error)
type DeleteContactRequest ¶
type DeleteContactRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteContactRequest) Descriptor
deprecated
func (*DeleteContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteContactRequest.ProtoReflect.Descriptor instead.
func (*DeleteContactRequest) GetUserId ¶
func (x *DeleteContactRequest) GetUserId() int64
func (*DeleteContactRequest) ProtoMessage ¶
func (*DeleteContactRequest) ProtoMessage()
func (*DeleteContactRequest) ProtoReflect ¶
func (x *DeleteContactRequest) ProtoReflect() protoreflect.Message
func (*DeleteContactRequest) Reset ¶
func (x *DeleteContactRequest) Reset()
func (*DeleteContactRequest) String ¶
func (x *DeleteContactRequest) String() string
type DeleteFromTrafficBlacklistRequest ¶
type DeleteFromTrafficBlacklistRequest struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*DeleteFromTrafficBlacklistRequest) Descriptor
deprecated
func (*DeleteFromTrafficBlacklistRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFromTrafficBlacklistRequest.ProtoReflect.Descriptor instead.
func (*DeleteFromTrafficBlacklistRequest) GetIp ¶
func (x *DeleteFromTrafficBlacklistRequest) GetIp() string
func (*DeleteFromTrafficBlacklistRequest) ProtoMessage ¶
func (*DeleteFromTrafficBlacklistRequest) ProtoMessage()
func (*DeleteFromTrafficBlacklistRequest) ProtoReflect ¶
func (x *DeleteFromTrafficBlacklistRequest) ProtoReflect() protoreflect.Message
func (*DeleteFromTrafficBlacklistRequest) Reset ¶
func (x *DeleteFromTrafficBlacklistRequest) Reset()
func (*DeleteFromTrafficBlacklistRequest) String ¶
func (x *DeleteFromTrafficBlacklistRequest) String() string
type DeleteFromTrafficWhitelistRequest ¶
type DeleteFromTrafficWhitelistRequest struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*DeleteFromTrafficWhitelistRequest) Descriptor
deprecated
func (*DeleteFromTrafficWhitelistRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFromTrafficWhitelistRequest.ProtoReflect.Descriptor instead.
func (*DeleteFromTrafficWhitelistRequest) GetIp ¶
func (x *DeleteFromTrafficWhitelistRequest) GetIp() string
func (*DeleteFromTrafficWhitelistRequest) ProtoMessage ¶
func (*DeleteFromTrafficWhitelistRequest) ProtoMessage()
func (*DeleteFromTrafficWhitelistRequest) ProtoReflect ¶
func (x *DeleteFromTrafficWhitelistRequest) ProtoReflect() protoreflect.Message
func (*DeleteFromTrafficWhitelistRequest) Reset ¶
func (x *DeleteFromTrafficWhitelistRequest) Reset()
func (*DeleteFromTrafficWhitelistRequest) String ¶
func (x *DeleteFromTrafficWhitelistRequest) String() string
type DeleteModerVoteTemplateRequest ¶
type DeleteModerVoteTemplateRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteModerVoteTemplateRequest) Descriptor
deprecated
func (*DeleteModerVoteTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModerVoteTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteModerVoteTemplateRequest) GetId ¶
func (x *DeleteModerVoteTemplateRequest) GetId() int64
func (*DeleteModerVoteTemplateRequest) ProtoMessage ¶
func (*DeleteModerVoteTemplateRequest) ProtoMessage()
func (*DeleteModerVoteTemplateRequest) ProtoReflect ¶
func (x *DeleteModerVoteTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteModerVoteTemplateRequest) Reset ¶
func (x *DeleteModerVoteTemplateRequest) Reset()
func (*DeleteModerVoteTemplateRequest) String ¶
func (x *DeleteModerVoteTemplateRequest) String() string
type DonationsClient ¶
type DonationsClient interface {
GetVODData(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VODDataResponse, error)
}
DonationsClient is the client API for Donations 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 NewDonationsClient ¶
func NewDonationsClient(cc grpc.ClientConnInterface) DonationsClient
type DonationsGRPCServer ¶
type DonationsGRPCServer struct { UnimplementedDonationsServer // contains filtered or unexported fields }
func NewDonationsGRPCServer ¶
func NewDonationsGRPCServer(itemOfDay *itemofday.Repository, donationsVodPrice int32) *DonationsGRPCServer
func (*DonationsGRPCServer) GetVODData ¶
func (s *DonationsGRPCServer) GetVODData(ctx context.Context, _ *emptypb.Empty) (*VODDataResponse, error)
type DonationsServer ¶
type DonationsServer interface { GetVODData(context.Context, *emptypb.Empty) (*VODDataResponse, error) // contains filtered or unexported methods }
DonationsServer is the server API for Donations service. All implementations must embed UnimplementedDonationsServer for forward compatibility
type DuplicateFinder ¶
type DuplicateFinder struct {
// contains filtered or unexported fields
}
DuplicateFinder Main Object.
func NewDuplicateFinder ¶
func NewDuplicateFinder(db *goqu.Database) (*DuplicateFinder, error)
NewDuplicateFinder constructor.
func (*DuplicateFinder) ListenAMQP ¶
func (s *DuplicateFinder) ListenAMQP(ctx context.Context, url string, queue string, quitChan chan bool) error
ListenAMQP for incoming messages.
type DuplicateFinderInputMessage ¶
type DuplicateFinderInputMessage struct { PictureID int `json:"picture_id"` URL string `json:"url"` }
DuplicateFinderInputMessage InputMessage.
type ErrorDetails ¶
type ErrorDetails struct { RetryInfo *errdetails.RetryInfo `protobuf:"bytes,1,opt,name=retryInfo,proto3" json:"retryInfo,omitempty"` DebugInfo *errdetails.DebugInfo `protobuf:"bytes,2,opt,name=debugInfo,proto3" json:"debugInfo,omitempty"` QuotaFailure *errdetails.QuotaFailure `protobuf:"bytes,3,opt,name=quotaFailure,proto3" json:"quotaFailure,omitempty"` PreconditionFailure *errdetails.PreconditionFailure `protobuf:"bytes,4,opt,name=preconditionFailure,proto3" json:"preconditionFailure,omitempty"` BadRequest *errdetails.BadRequest `protobuf:"bytes,5,opt,name=badRequest,proto3" json:"badRequest,omitempty"` RequestInfo *errdetails.RequestInfo `protobuf:"bytes,6,opt,name=requestInfo,proto3" json:"requestInfo,omitempty"` Help *errdetails.Help `protobuf:"bytes,7,opt,name=help,proto3" json:"help,omitempty"` LocalizedMessage *errdetails.LocalizedMessage `protobuf:"bytes,8,opt,name=localizedMessage,proto3" json:"localizedMessage,omitempty"` // contains filtered or unexported fields }
func (*ErrorDetails) Descriptor
deprecated
func (*ErrorDetails) Descriptor() ([]byte, []int)
Deprecated: Use ErrorDetails.ProtoReflect.Descriptor instead.
func (*ErrorDetails) GetBadRequest ¶
func (x *ErrorDetails) GetBadRequest() *errdetails.BadRequest
func (*ErrorDetails) GetDebugInfo ¶
func (x *ErrorDetails) GetDebugInfo() *errdetails.DebugInfo
func (*ErrorDetails) GetHelp ¶
func (x *ErrorDetails) GetHelp() *errdetails.Help
func (*ErrorDetails) GetLocalizedMessage ¶
func (x *ErrorDetails) GetLocalizedMessage() *errdetails.LocalizedMessage
func (*ErrorDetails) GetPreconditionFailure ¶
func (x *ErrorDetails) GetPreconditionFailure() *errdetails.PreconditionFailure
func (*ErrorDetails) GetQuotaFailure ¶
func (x *ErrorDetails) GetQuotaFailure() *errdetails.QuotaFailure
func (*ErrorDetails) GetRequestInfo ¶
func (x *ErrorDetails) GetRequestInfo() *errdetails.RequestInfo
func (*ErrorDetails) GetRetryInfo ¶
func (x *ErrorDetails) GetRetryInfo() *errdetails.RetryInfo
func (*ErrorDetails) ProtoMessage ¶
func (*ErrorDetails) ProtoMessage()
func (*ErrorDetails) ProtoReflect ¶
func (x *ErrorDetails) ProtoReflect() protoreflect.Message
func (*ErrorDetails) Reset ¶
func (x *ErrorDetails) Reset()
func (*ErrorDetails) String ¶
func (x *ErrorDetails) String() string
type Feedback ¶
type Feedback struct {
// contains filtered or unexported fields
}
Feedback Main Object.
func NewFeedback ¶
func NewFeedback( config config.FeedbackConfig, recaptchaConfig config.RecaptchaConfig, captchaEnabled bool, emailSender email.Sender, ) *Feedback
NewFeedback constructor.
func (*Feedback) Create ¶
func (s *Feedback) Create(request CreateFeedbackRequest) ([]*errdetails.BadRequest_FieldViolation, error)
type Forums ¶
type Forums struct {
// contains filtered or unexported fields
}
Forums Main Object.
func NewForums ¶
func NewForums(db *goqu.Database, commentsRepository *comments.Repository) *Forums
func (*Forums) GetUserSummary ¶
func (*Forums) LastMessage ¶ added in v1.37.0
type ForumsClient ¶ added in v1.23.0
type ForumsClient interface { GetUserSummary(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIForumsUserSummary, error) CreateTopic(ctx context.Context, in *APICreateTopicRequest, opts ...grpc.CallOption) (*APICreateTopicResponse, error) CloseTopic(ctx context.Context, in *APISetTopicStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) OpenTopic(ctx context.Context, in *APISetTopicStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteTopic(ctx context.Context, in *APISetTopicStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) MoveTopic(ctx context.Context, in *APIMoveTopicRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetTheme(ctx context.Context, in *APIGetForumsThemeRequest, opts ...grpc.CallOption) (*APIForumsTheme, error) GetThemes(ctx context.Context, in *APIGetForumsThemesRequest, opts ...grpc.CallOption) (*APIForumsThemes, error) GetTopic(ctx context.Context, in *APIGetForumsTopicRequest, opts ...grpc.CallOption) (*APIForumsTopic, error) GetLastTopic(ctx context.Context, in *APIGetForumsThemeRequest, opts ...grpc.CallOption) (*APIForumsTopic, error) GetLastMessage(ctx context.Context, in *APIGetForumsTopicRequest, opts ...grpc.CallOption) (*APICommentMessage, error) GetTopics(ctx context.Context, in *APIGetForumsTopicsRequest, opts ...grpc.CallOption) (*APIForumsTopics, error) }
ForumsClient is the client API for Forums 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 NewForumsClient ¶ added in v1.23.0
func NewForumsClient(cc grpc.ClientConnInterface) ForumsClient
type ForumsGRPCServer ¶ added in v1.23.0
type ForumsGRPCServer struct { UnimplementedForumsServer // contains filtered or unexported fields }
func NewForumsGRPCServer ¶ added in v1.23.0
func NewForumsGRPCServer( auth *Auth, forums *Forums, commentsRepository *comments.Repository, usersRepository *users.Repository, enforcer *casbin.Enforcer, ) *ForumsGRPCServer
func (*ForumsGRPCServer) CloseTopic ¶ added in v1.24.0
func (s *ForumsGRPCServer) CloseTopic(ctx context.Context, in *APISetTopicStatusRequest) (*emptypb.Empty, error)
func (*ForumsGRPCServer) CreateTopic ¶ added in v1.23.0
func (s *ForumsGRPCServer) CreateTopic( ctx context.Context, in *APICreateTopicRequest, ) (*APICreateTopicResponse, error)
func (*ForumsGRPCServer) DeleteTopic ¶ added in v1.24.0
func (s *ForumsGRPCServer) DeleteTopic(ctx context.Context, in *APISetTopicStatusRequest) (*emptypb.Empty, error)
func (*ForumsGRPCServer) GetLastMessage ¶ added in v1.37.0
func (s *ForumsGRPCServer) GetLastMessage( ctx context.Context, in *APIGetForumsTopicRequest, ) (*APICommentMessage, error)
func (*ForumsGRPCServer) GetLastTopic ¶ added in v1.37.0
func (s *ForumsGRPCServer) GetLastTopic(ctx context.Context, in *APIGetForumsThemeRequest) (*APIForumsTopic, error)
func (*ForumsGRPCServer) GetTheme ¶ added in v1.37.0
func (s *ForumsGRPCServer) GetTheme(ctx context.Context, in *APIGetForumsThemeRequest) (*APIForumsTheme, error)
func (*ForumsGRPCServer) GetThemes ¶ added in v1.37.0
func (s *ForumsGRPCServer) GetThemes(ctx context.Context, in *APIGetForumsThemesRequest) (*APIForumsThemes, error)
func (*ForumsGRPCServer) GetTopic ¶ added in v1.37.0
func (s *ForumsGRPCServer) GetTopic(ctx context.Context, in *APIGetForumsTopicRequest) (*APIForumsTopic, error)
func (*ForumsGRPCServer) GetTopics ¶ added in v1.37.0
func (s *ForumsGRPCServer) GetTopics(ctx context.Context, in *APIGetForumsTopicsRequest) (*APIForumsTopics, error)
func (*ForumsGRPCServer) GetUserSummary ¶ added in v1.23.0
func (s *ForumsGRPCServer) GetUserSummary(ctx context.Context, _ *emptypb.Empty) (*APIForumsUserSummary, error)
func (*ForumsGRPCServer) MoveTopic ¶ added in v1.25.0
func (s *ForumsGRPCServer) MoveTopic(ctx context.Context, in *APIMoveTopicRequest) (*emptypb.Empty, error)
func (*ForumsGRPCServer) OpenTopic ¶ added in v1.24.0
func (s *ForumsGRPCServer) OpenTopic(ctx context.Context, in *APISetTopicStatusRequest) (*emptypb.Empty, error)
type ForumsServer ¶ added in v1.23.0
type ForumsServer interface { GetUserSummary(context.Context, *emptypb.Empty) (*APIForumsUserSummary, error) CreateTopic(context.Context, *APICreateTopicRequest) (*APICreateTopicResponse, error) CloseTopic(context.Context, *APISetTopicStatusRequest) (*emptypb.Empty, error) OpenTopic(context.Context, *APISetTopicStatusRequest) (*emptypb.Empty, error) DeleteTopic(context.Context, *APISetTopicStatusRequest) (*emptypb.Empty, error) MoveTopic(context.Context, *APIMoveTopicRequest) (*emptypb.Empty, error) GetTheme(context.Context, *APIGetForumsThemeRequest) (*APIForumsTheme, error) GetThemes(context.Context, *APIGetForumsThemesRequest) (*APIForumsThemes, error) GetTopic(context.Context, *APIGetForumsTopicRequest) (*APIForumsTopic, error) GetLastTopic(context.Context, *APIGetForumsThemeRequest) (*APIForumsTopic, error) GetLastMessage(context.Context, *APIGetForumsTopicRequest) (*APICommentMessage, error) GetTopics(context.Context, *APIGetForumsTopicsRequest) (*APIForumsTopics, error) // contains filtered or unexported methods }
ForumsServer is the server API for Forums service. All implementations must embed UnimplementedForumsServer for forward compatibility
type ForumsTheme ¶ added in v1.37.0
type ForumsTopic ¶ added in v1.37.0
type GRPCServer ¶
type GRPCServer struct { UnimplementedAutowpServer // contains filtered or unexported fields }
func NewGRPCServer ¶
func NewGRPCServer( auth *Auth, catalogue *Catalogue, reCaptchaConfig config.RecaptchaConfig, fileStorageConfig config.FileStorageConfig, enforcer *casbin.Enforcer, comments *comments.Repository, ipExtractor *IPExtractor, feedback *Feedback, ) *GRPCServer
func (*GRPCServer) AclEnforce ¶
func (s *GRPCServer) AclEnforce( ctx context.Context, in *AclEnforceRequest, ) (*AclEnforceResult, error)
func (*GRPCServer) CreateFeedback ¶
func (s *GRPCServer) CreateFeedback(ctx context.Context, in *APICreateFeedbackRequest) (*emptypb.Empty, error)
func (*GRPCServer) GetBrandIcons ¶
func (s *GRPCServer) GetBrandIcons(context.Context, *emptypb.Empty) (*BrandIcons, error)
func (*GRPCServer) GetBrandVehicleTypes ¶
func (s *GRPCServer) GetBrandVehicleTypes( ctx context.Context, in *GetBrandVehicleTypesRequest, ) (*BrandVehicleTypeItems, error)
func (*GRPCServer) GetIP ¶
func (s *GRPCServer) GetIP(ctx context.Context, in *APIGetIPRequest) (*APIIP, error)
func (*GRPCServer) GetPerspectivePages ¶
func (s *GRPCServer) GetPerspectivePages(ctx context.Context, _ *emptypb.Empty) (*PerspectivePagesItems, error)
func (*GRPCServer) GetPerspectives ¶
func (s *GRPCServer) GetPerspectives(ctx context.Context, _ *emptypb.Empty) (*PerspectivesItems, error)
func (*GRPCServer) GetReCaptchaConfig ¶
func (s *GRPCServer) GetReCaptchaConfig(context.Context, *emptypb.Empty) (*ReCaptchaConfig, error)
func (*GRPCServer) GetSpecs ¶
func (s *GRPCServer) GetSpecs(ctx context.Context, _ *emptypb.Empty) (*SpecsItems, error)
func (*GRPCServer) GetVehicleTypes ¶
func (s *GRPCServer) GetVehicleTypes(ctx context.Context, _ *emptypb.Empty) (*VehicleTypeItems, error)
type GetBrandVehicleTypesRequest ¶
type GetBrandVehicleTypesRequest struct { BrandId int32 `protobuf:"varint,1,opt,name=brand_id,json=brandId,proto3" json:"brand_id,omitempty"` // contains filtered or unexported fields }
func (*GetBrandVehicleTypesRequest) Descriptor
deprecated
func (*GetBrandVehicleTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBrandVehicleTypesRequest.ProtoReflect.Descriptor instead.
func (*GetBrandVehicleTypesRequest) GetBrandId ¶
func (x *GetBrandVehicleTypesRequest) GetBrandId() int32
func (*GetBrandVehicleTypesRequest) ProtoMessage ¶
func (*GetBrandVehicleTypesRequest) ProtoMessage()
func (*GetBrandVehicleTypesRequest) ProtoReflect ¶
func (x *GetBrandVehicleTypesRequest) ProtoReflect() protoreflect.Message
func (*GetBrandVehicleTypesRequest) Reset ¶
func (x *GetBrandVehicleTypesRequest) Reset()
func (*GetBrandVehicleTypesRequest) String ¶
func (x *GetBrandVehicleTypesRequest) String() string
type GetCommentVotesRequest ¶
type GetCommentVotesRequest struct { CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // contains filtered or unexported fields }
func (*GetCommentVotesRequest) Descriptor
deprecated
func (*GetCommentVotesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentVotesRequest.ProtoReflect.Descriptor instead.
func (*GetCommentVotesRequest) GetCommentId ¶
func (x *GetCommentVotesRequest) GetCommentId() int64
func (*GetCommentVotesRequest) ProtoMessage ¶
func (*GetCommentVotesRequest) ProtoMessage()
func (*GetCommentVotesRequest) ProtoReflect ¶
func (x *GetCommentVotesRequest) ProtoReflect() protoreflect.Message
func (*GetCommentVotesRequest) Reset ¶
func (x *GetCommentVotesRequest) Reset()
func (*GetCommentVotesRequest) String ¶
func (x *GetCommentVotesRequest) String() string
type GetContactRequest ¶
type GetContactRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetContactRequest) Descriptor
deprecated
func (*GetContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContactRequest.ProtoReflect.Descriptor instead.
func (*GetContactRequest) GetUserId ¶
func (x *GetContactRequest) GetUserId() int64
func (*GetContactRequest) ProtoMessage ¶
func (*GetContactRequest) ProtoMessage()
func (*GetContactRequest) ProtoReflect ¶
func (x *GetContactRequest) ProtoReflect() protoreflect.Message
func (*GetContactRequest) Reset ¶
func (x *GetContactRequest) Reset()
func (*GetContactRequest) String ¶
func (x *GetContactRequest) String() string
type GetContactsRequest ¶
type GetContactsRequest struct {
// contains filtered or unexported fields
}
func (*GetContactsRequest) Descriptor
deprecated
func (*GetContactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContactsRequest.ProtoReflect.Descriptor instead.
func (*GetContactsRequest) ProtoMessage ¶
func (*GetContactsRequest) ProtoMessage()
func (*GetContactsRequest) ProtoReflect ¶
func (x *GetContactsRequest) ProtoReflect() protoreflect.Message
func (*GetContactsRequest) Reset ¶
func (x *GetContactsRequest) Reset()
func (*GetContactsRequest) String ¶
func (x *GetContactsRequest) String() string
type GetMessagePageRequest ¶ added in v1.38.0
type GetMessagePageRequest struct { MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` PerPage int32 `protobuf:"varint,2,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` // contains filtered or unexported fields }
func (*GetMessagePageRequest) Descriptor
deprecated
added in
v1.38.0
func (*GetMessagePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagePageRequest.ProtoReflect.Descriptor instead.
func (*GetMessagePageRequest) GetMessageId ¶ added in v1.38.0
func (x *GetMessagePageRequest) GetMessageId() int64
func (*GetMessagePageRequest) GetPerPage ¶ added in v1.38.0
func (x *GetMessagePageRequest) GetPerPage() int32
func (*GetMessagePageRequest) ProtoMessage ¶ added in v1.38.0
func (*GetMessagePageRequest) ProtoMessage()
func (*GetMessagePageRequest) ProtoReflect ¶ added in v1.38.0
func (x *GetMessagePageRequest) ProtoReflect() protoreflect.Message
func (*GetMessagePageRequest) Reset ¶ added in v1.38.0
func (x *GetMessagePageRequest) Reset()
func (*GetMessagePageRequest) String ¶ added in v1.38.0
func (x *GetMessagePageRequest) String() string
type GetMessageRequest ¶ added in v1.41.0
type GetMessageRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Fields *CommentMessageFields `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*GetMessageRequest) Descriptor
deprecated
added in
v1.41.0
func (*GetMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessageRequest.ProtoReflect.Descriptor instead.
func (*GetMessageRequest) GetFields ¶ added in v1.41.0
func (x *GetMessageRequest) GetFields() *CommentMessageFields
func (*GetMessageRequest) GetId ¶ added in v1.41.0
func (x *GetMessageRequest) GetId() int64
func (*GetMessageRequest) ProtoMessage ¶ added in v1.41.0
func (*GetMessageRequest) ProtoMessage()
func (*GetMessageRequest) ProtoReflect ¶ added in v1.41.0
func (x *GetMessageRequest) ProtoReflect() protoreflect.Message
func (*GetMessageRequest) Reset ¶ added in v1.41.0
func (x *GetMessageRequest) Reset()
func (*GetMessageRequest) String ¶ added in v1.41.0
func (x *GetMessageRequest) String() string
type GetMessagesRequest ¶ added in v1.41.0
type GetMessagesRequest struct { Fields *CommentMessageFields `protobuf:"bytes,1,opt,name=fields,proto3" json:"fields,omitempty"` ItemId int64 `protobuf:"varint,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` TypeId CommentsType `protobuf:"varint,3,opt,name=type_id,json=typeId,proto3,enum=goautowp.CommentsType" json:"type_id,omitempty"` ParentId int64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` NoParents bool `protobuf:"varint,5,opt,name=no_parents,json=noParents,proto3" json:"no_parents,omitempty"` UserId int64 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Order GetMessagesRequest_Order `protobuf:"varint,7,opt,name=order,proto3,enum=goautowp.GetMessagesRequest_Order" json:"order,omitempty"` UserIdentity string `protobuf:"bytes,8,opt,name=user_identity,json=userIdentity,proto3" json:"user_identity,omitempty"` ModeratorAttention ModeratorAttention `` /* 149-byte string literal not displayed */ PicturesOfItemId int64 `protobuf:"varint,10,opt,name=pictures_of_item_id,json=picturesOfItemId,proto3" json:"pictures_of_item_id,omitempty"` Limit int32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"` Page int32 `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*GetMessagesRequest) Descriptor
deprecated
added in
v1.41.0
func (*GetMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetMessagesRequest) GetFields ¶ added in v1.41.0
func (x *GetMessagesRequest) GetFields() *CommentMessageFields
func (*GetMessagesRequest) GetItemId ¶ added in v1.41.0
func (x *GetMessagesRequest) GetItemId() int64
func (*GetMessagesRequest) GetLimit ¶ added in v1.41.0
func (x *GetMessagesRequest) GetLimit() int32
func (*GetMessagesRequest) GetModeratorAttention ¶ added in v1.41.0
func (x *GetMessagesRequest) GetModeratorAttention() ModeratorAttention
func (*GetMessagesRequest) GetNoParents ¶ added in v1.41.0
func (x *GetMessagesRequest) GetNoParents() bool
func (*GetMessagesRequest) GetOrder ¶ added in v1.41.0
func (x *GetMessagesRequest) GetOrder() GetMessagesRequest_Order
func (*GetMessagesRequest) GetPage ¶ added in v1.41.0
func (x *GetMessagesRequest) GetPage() int32
func (*GetMessagesRequest) GetParentId ¶ added in v1.41.0
func (x *GetMessagesRequest) GetParentId() int64
func (*GetMessagesRequest) GetPicturesOfItemId ¶ added in v1.41.0
func (x *GetMessagesRequest) GetPicturesOfItemId() int64
func (*GetMessagesRequest) GetTypeId ¶ added in v1.41.0
func (x *GetMessagesRequest) GetTypeId() CommentsType
func (*GetMessagesRequest) GetUserId ¶ added in v1.41.0
func (x *GetMessagesRequest) GetUserId() int64
func (*GetMessagesRequest) GetUserIdentity ¶ added in v1.41.0
func (x *GetMessagesRequest) GetUserIdentity() string
func (*GetMessagesRequest) ProtoMessage ¶ added in v1.41.0
func (*GetMessagesRequest) ProtoMessage()
func (*GetMessagesRequest) ProtoReflect ¶ added in v1.41.0
func (x *GetMessagesRequest) ProtoReflect() protoreflect.Message
func (*GetMessagesRequest) Reset ¶ added in v1.41.0
func (x *GetMessagesRequest) Reset()
func (*GetMessagesRequest) String ¶ added in v1.41.0
func (x *GetMessagesRequest) String() string
type GetMessagesRequest_Order ¶ added in v1.41.0
type GetMessagesRequest_Order int32
const ( GetMessagesRequest_DEFAULT GetMessagesRequest_Order = 0 GetMessagesRequest_VOTE_DESC GetMessagesRequest_Order = 1 GetMessagesRequest_VOTE_ASC GetMessagesRequest_Order = 2 GetMessagesRequest_DATE_DESC GetMessagesRequest_Order = 3 GetMessagesRequest_DATE_ASC GetMessagesRequest_Order = 4 )
func (GetMessagesRequest_Order) Descriptor ¶ added in v1.41.0
func (GetMessagesRequest_Order) Descriptor() protoreflect.EnumDescriptor
func (GetMessagesRequest_Order) Enum ¶ added in v1.41.0
func (x GetMessagesRequest_Order) Enum() *GetMessagesRequest_Order
func (GetMessagesRequest_Order) EnumDescriptor
deprecated
added in
v1.41.0
func (GetMessagesRequest_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetMessagesRequest_Order.Descriptor instead.
func (GetMessagesRequest_Order) Number ¶ added in v1.41.0
func (x GetMessagesRequest_Order) Number() protoreflect.EnumNumber
func (GetMessagesRequest_Order) String ¶ added in v1.41.0
func (x GetMessagesRequest_Order) String() string
func (GetMessagesRequest_Order) Type ¶ added in v1.41.0
func (GetMessagesRequest_Order) Type() protoreflect.EnumType
type GetTopBrandsListRequest ¶
type GetTopBrandsListRequest struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*GetTopBrandsListRequest) Descriptor
deprecated
func (*GetTopBrandsListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTopBrandsListRequest.ProtoReflect.Descriptor instead.
func (*GetTopBrandsListRequest) GetLanguage ¶
func (x *GetTopBrandsListRequest) GetLanguage() string
func (*GetTopBrandsListRequest) ProtoMessage ¶
func (*GetTopBrandsListRequest) ProtoMessage()
func (*GetTopBrandsListRequest) ProtoReflect ¶
func (x *GetTopBrandsListRequest) ProtoReflect() protoreflect.Message
func (*GetTopBrandsListRequest) Reset ¶
func (x *GetTopBrandsListRequest) Reset()
func (*GetTopBrandsListRequest) String ¶
func (x *GetTopBrandsListRequest) String() string
type GetTopCategoriesListRequest ¶
type GetTopCategoriesListRequest struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*GetTopCategoriesListRequest) Descriptor
deprecated
func (*GetTopCategoriesListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTopCategoriesListRequest.ProtoReflect.Descriptor instead.
func (*GetTopCategoriesListRequest) GetLanguage ¶
func (x *GetTopCategoriesListRequest) GetLanguage() string
func (*GetTopCategoriesListRequest) ProtoMessage ¶
func (*GetTopCategoriesListRequest) ProtoMessage()
func (*GetTopCategoriesListRequest) ProtoReflect ¶
func (x *GetTopCategoriesListRequest) ProtoReflect() protoreflect.Message
func (*GetTopCategoriesListRequest) Reset ¶
func (x *GetTopCategoriesListRequest) Reset()
func (*GetTopCategoriesListRequest) String ¶
func (x *GetTopCategoriesListRequest) String() string
type GetTopFactoriesListRequest ¶
type GetTopFactoriesListRequest struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*GetTopFactoriesListRequest) Descriptor
deprecated
func (*GetTopFactoriesListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTopFactoriesListRequest.ProtoReflect.Descriptor instead.
func (*GetTopFactoriesListRequest) GetLanguage ¶
func (x *GetTopFactoriesListRequest) GetLanguage() string
func (*GetTopFactoriesListRequest) ProtoMessage ¶
func (*GetTopFactoriesListRequest) ProtoMessage()
func (*GetTopFactoriesListRequest) ProtoReflect ¶
func (x *GetTopFactoriesListRequest) ProtoReflect() protoreflect.Message
func (*GetTopFactoriesListRequest) Reset ¶
func (x *GetTopFactoriesListRequest) Reset()
func (*GetTopFactoriesListRequest) String ¶
func (x *GetTopFactoriesListRequest) String() string
type GetTopPersonsListRequest ¶
type GetTopPersonsListRequest struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` PictureItemType PictureItemType `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetTopPersonsListRequest) Descriptor
deprecated
func (*GetTopPersonsListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTopPersonsListRequest.ProtoReflect.Descriptor instead.
func (*GetTopPersonsListRequest) GetLanguage ¶
func (x *GetTopPersonsListRequest) GetLanguage() string
func (*GetTopPersonsListRequest) GetPictureItemType ¶
func (x *GetTopPersonsListRequest) GetPictureItemType() PictureItemType
func (*GetTopPersonsListRequest) ProtoMessage ¶
func (*GetTopPersonsListRequest) ProtoMessage()
func (*GetTopPersonsListRequest) ProtoReflect ¶
func (x *GetTopPersonsListRequest) ProtoReflect() protoreflect.Message
func (*GetTopPersonsListRequest) Reset ¶
func (x *GetTopPersonsListRequest) Reset()
func (*GetTopPersonsListRequest) String ¶
func (x *GetTopPersonsListRequest) String() string
type GetTopTwinsBrandsListRequest ¶
type GetTopTwinsBrandsListRequest struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*GetTopTwinsBrandsListRequest) Descriptor
deprecated
func (*GetTopTwinsBrandsListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTopTwinsBrandsListRequest.ProtoReflect.Descriptor instead.
func (*GetTopTwinsBrandsListRequest) GetLanguage ¶
func (x *GetTopTwinsBrandsListRequest) GetLanguage() string
func (*GetTopTwinsBrandsListRequest) ProtoMessage ¶
func (*GetTopTwinsBrandsListRequest) ProtoMessage()
func (*GetTopTwinsBrandsListRequest) ProtoReflect ¶
func (x *GetTopTwinsBrandsListRequest) ProtoReflect() protoreflect.Message
func (*GetTopTwinsBrandsListRequest) Reset ¶
func (x *GetTopTwinsBrandsListRequest) Reset()
func (*GetTopTwinsBrandsListRequest) String ¶
func (x *GetTopTwinsBrandsListRequest) String() string
type GetTreeRequest ¶
type GetTreeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTreeRequest) Descriptor
deprecated
func (*GetTreeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTreeRequest.ProtoReflect.Descriptor instead.
func (*GetTreeRequest) GetId ¶
func (x *GetTreeRequest) GetId() string
func (*GetTreeRequest) ProtoMessage ¶
func (*GetTreeRequest) ProtoMessage()
func (*GetTreeRequest) ProtoReflect ¶
func (x *GetTreeRequest) ProtoReflect() protoreflect.Message
func (*GetTreeRequest) Reset ¶
func (x *GetTreeRequest) Reset()
func (*GetTreeRequest) String ¶
func (x *GetTreeRequest) String() string
type GetTwinsBrandsListRequest ¶ added in v1.36.0
type GetTwinsBrandsListRequest struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*GetTwinsBrandsListRequest) Descriptor
deprecated
added in
v1.36.0
func (*GetTwinsBrandsListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTwinsBrandsListRequest.ProtoReflect.Descriptor instead.
func (*GetTwinsBrandsListRequest) GetLanguage ¶ added in v1.36.0
func (x *GetTwinsBrandsListRequest) GetLanguage() string
func (*GetTwinsBrandsListRequest) ProtoMessage ¶ added in v1.36.0
func (*GetTwinsBrandsListRequest) ProtoMessage()
func (*GetTwinsBrandsListRequest) ProtoReflect ¶ added in v1.36.0
func (x *GetTwinsBrandsListRequest) ProtoReflect() protoreflect.Message
func (*GetTwinsBrandsListRequest) Reset ¶ added in v1.36.0
func (x *GetTwinsBrandsListRequest) Reset()
func (*GetTwinsBrandsListRequest) String ¶ added in v1.36.0
func (x *GetTwinsBrandsListRequest) String() string
type GetUserRatingFansResponse ¶ added in v1.76.0
type GetUserRatingFansResponse struct { Fans []*APIUsersRatingUserFan `protobuf:"bytes,1,rep,name=fans,proto3" json:"fans,omitempty"` // contains filtered or unexported fields }
func (*GetUserRatingFansResponse) Descriptor
deprecated
added in
v1.76.0
func (*GetUserRatingFansResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRatingFansResponse.ProtoReflect.Descriptor instead.
func (*GetUserRatingFansResponse) GetFans ¶ added in v1.76.0
func (x *GetUserRatingFansResponse) GetFans() []*APIUsersRatingUserFan
func (*GetUserRatingFansResponse) ProtoMessage ¶ added in v1.76.0
func (*GetUserRatingFansResponse) ProtoMessage()
func (*GetUserRatingFansResponse) ProtoReflect ¶ added in v1.76.0
func (x *GetUserRatingFansResponse) ProtoReflect() protoreflect.Message
func (*GetUserRatingFansResponse) Reset ¶ added in v1.76.0
func (x *GetUserRatingFansResponse) Reset()
func (*GetUserRatingFansResponse) String ¶ added in v1.76.0
func (x *GetUserRatingFansResponse) String() string
type IPExtractor ¶
type IPExtractor struct {
// contains filtered or unexported fields
}
func NewIPExtractor ¶
func NewIPExtractor( enforcer *casbin.Enforcer, banRepository *ban.Repository, userRepository *users.Repository, userExtractor *UserExtractor, ) *IPExtractor
type ItemExtractor ¶ added in v1.51.0
type ItemExtractor struct {
// contains filtered or unexported fields
}
func NewItemExtractor ¶ added in v1.51.0
func NewItemExtractor( enforcer *casbin.Enforcer, imageStorage *storage.Storage, commentsRepository *comments.Repository, picturesRepository *pictures.Repository, itemOfDayRepository *itemofday.Repository, ) *ItemExtractor
type ItemFields ¶
type ItemFields struct { NameOnly bool `protobuf:"varint,1,opt,name=name_only,json=nameOnly,proto3" json:"name_only,omitempty"` NameDefault bool `protobuf:"varint,2,opt,name=name_default,json=nameDefault,proto3" json:"name_default,omitempty"` NameHtml bool `protobuf:"varint,3,opt,name=name_html,json=nameHtml,proto3" json:"name_html,omitempty"` NameText bool `protobuf:"varint,4,opt,name=name_text,json=nameText,proto3" json:"name_text,omitempty"` Description bool `protobuf:"varint,5,opt,name=description,proto3" json:"description,omitempty"` HasText bool `protobuf:"varint,6,opt,name=has_text,json=hasText,proto3" json:"has_text,omitempty"` PreviewPictures *PreviewPicturesFields `protobuf:"bytes,7,opt,name=preview_pictures,json=previewPictures,proto3" json:"preview_pictures,omitempty"` TotalPictures bool `protobuf:"varint,8,opt,name=total_pictures,json=totalPictures,proto3" json:"total_pictures,omitempty"` DescendantsCount bool `protobuf:"varint,9,opt,name=descendants_count,json=descendantsCount,proto3" json:"descendants_count,omitempty"` CurrentPicturesCount bool `protobuf:"varint,10,opt,name=current_pictures_count,json=currentPicturesCount,proto3" json:"current_pictures_count,omitempty"` ChildsCount bool `protobuf:"varint,11,opt,name=childs_count,json=childsCount,proto3" json:"childs_count,omitempty"` DescendantTwinsGroupsCount bool `` /* 145-byte string literal not displayed */ InboxPicturesCount bool `protobuf:"varint,13,opt,name=inbox_pictures_count,json=inboxPicturesCount,proto3" json:"inbox_pictures_count,omitempty"` FullName bool `protobuf:"varint,14,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Logo120 bool `protobuf:"varint,15,opt,name=logo120,proto3" json:"logo120,omitempty"` MostsActive bool `protobuf:"varint,16,opt,name=mosts_active,json=mostsActive,proto3" json:"mosts_active,omitempty"` CommentsAttentionsCount bool `` /* 134-byte string literal not displayed */ IsCompilesItemOfDay bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ItemFields) Descriptor
deprecated
func (*ItemFields) Descriptor() ([]byte, []int)
Deprecated: Use ItemFields.ProtoReflect.Descriptor instead.
func (*ItemFields) GetChildsCount ¶ added in v1.63.0
func (x *ItemFields) GetChildsCount() bool
func (*ItemFields) GetCommentsAttentionsCount ¶ added in v1.67.0
func (x *ItemFields) GetCommentsAttentionsCount() bool
func (*ItemFields) GetCurrentPicturesCount ¶ added in v1.57.0
func (x *ItemFields) GetCurrentPicturesCount() bool
func (*ItemFields) GetDescendantTwinsGroupsCount ¶ added in v1.65.0
func (x *ItemFields) GetDescendantTwinsGroupsCount() bool
func (*ItemFields) GetDescendantsCount ¶ added in v1.51.0
func (x *ItemFields) GetDescendantsCount() bool
func (*ItemFields) GetDescription ¶
func (x *ItemFields) GetDescription() bool
func (*ItemFields) GetFullName ¶ added in v1.65.0
func (x *ItemFields) GetFullName() bool
func (*ItemFields) GetHasText ¶
func (x *ItemFields) GetHasText() bool
func (*ItemFields) GetInboxPicturesCount ¶ added in v1.65.0
func (x *ItemFields) GetInboxPicturesCount() bool
func (*ItemFields) GetIsCompilesItemOfDay ¶ added in v1.71.0
func (x *ItemFields) GetIsCompilesItemOfDay() bool
func (*ItemFields) GetLogo120 ¶ added in v1.65.0
func (x *ItemFields) GetLogo120() bool
func (*ItemFields) GetMostsActive ¶ added in v1.65.0
func (x *ItemFields) GetMostsActive() bool
func (*ItemFields) GetNameDefault ¶
func (x *ItemFields) GetNameDefault() bool
func (*ItemFields) GetNameHtml ¶
func (x *ItemFields) GetNameHtml() bool
func (*ItemFields) GetNameOnly ¶ added in v1.52.0
func (x *ItemFields) GetNameOnly() bool
func (*ItemFields) GetNameText ¶ added in v1.51.0
func (x *ItemFields) GetNameText() bool
func (*ItemFields) GetPreviewPictures ¶
func (x *ItemFields) GetPreviewPictures() *PreviewPicturesFields
func (*ItemFields) GetTotalPictures ¶
func (x *ItemFields) GetTotalPictures() bool
func (*ItemFields) ProtoMessage ¶
func (*ItemFields) ProtoMessage()
func (*ItemFields) ProtoReflect ¶
func (x *ItemFields) ProtoReflect() protoreflect.Message
func (*ItemFields) Reset ¶
func (x *ItemFields) Reset()
func (*ItemFields) String ¶
func (x *ItemFields) String() string
type ItemLanguage ¶ added in v1.50.0
type ItemLanguage struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` TextId int64 `protobuf:"varint,4,opt,name=text_id,json=textId,proto3" json:"text_id,omitempty"` Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"` FullTextId int64 `protobuf:"varint,6,opt,name=full_text_id,json=fullTextId,proto3" json:"full_text_id,omitempty"` FullText string `protobuf:"bytes,7,opt,name=full_text,json=fullText,proto3" json:"full_text,omitempty"` // contains filtered or unexported fields }
func (*ItemLanguage) Descriptor
deprecated
added in
v1.50.0
func (*ItemLanguage) Descriptor() ([]byte, []int)
Deprecated: Use ItemLanguage.ProtoReflect.Descriptor instead.
func (*ItemLanguage) GetFullText ¶ added in v1.50.0
func (x *ItemLanguage) GetFullText() string
func (*ItemLanguage) GetFullTextId ¶ added in v1.50.0
func (x *ItemLanguage) GetFullTextId() int64
func (*ItemLanguage) GetItemId ¶ added in v1.50.0
func (x *ItemLanguage) GetItemId() int64
func (*ItemLanguage) GetLanguage ¶ added in v1.50.0
func (x *ItemLanguage) GetLanguage() string
func (*ItemLanguage) GetName ¶ added in v1.50.0
func (x *ItemLanguage) GetName() string
func (*ItemLanguage) GetText ¶ added in v1.50.0
func (x *ItemLanguage) GetText() string
func (*ItemLanguage) GetTextId ¶ added in v1.50.0
func (x *ItemLanguage) GetTextId() int64
func (*ItemLanguage) ProtoMessage ¶ added in v1.50.0
func (*ItemLanguage) ProtoMessage()
func (*ItemLanguage) ProtoReflect ¶ added in v1.50.0
func (x *ItemLanguage) ProtoReflect() protoreflect.Message
func (*ItemLanguage) Reset ¶ added in v1.50.0
func (x *ItemLanguage) Reset()
func (*ItemLanguage) String ¶ added in v1.50.0
func (x *ItemLanguage) String() string
type ItemLanguages ¶ added in v1.50.0
type ItemLanguages struct { Items []*ItemLanguage `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ItemLanguages) Descriptor
deprecated
added in
v1.50.0
func (*ItemLanguages) Descriptor() ([]byte, []int)
Deprecated: Use ItemLanguages.ProtoReflect.Descriptor instead.
func (*ItemLanguages) GetItems ¶ added in v1.50.0
func (x *ItemLanguages) GetItems() []*ItemLanguage
func (*ItemLanguages) ProtoMessage ¶ added in v1.50.0
func (*ItemLanguages) ProtoMessage()
func (*ItemLanguages) ProtoReflect ¶ added in v1.50.0
func (x *ItemLanguages) ProtoReflect() protoreflect.Message
func (*ItemLanguages) Reset ¶ added in v1.50.0
func (x *ItemLanguages) Reset()
func (*ItemLanguages) String ¶ added in v1.50.0
func (x *ItemLanguages) String() string
type ItemParentLanguage ¶ added in v1.49.0
type ItemParentLanguage struct { ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*ItemParentLanguage) Descriptor
deprecated
added in
v1.49.0
func (*ItemParentLanguage) Descriptor() ([]byte, []int)
Deprecated: Use ItemParentLanguage.ProtoReflect.Descriptor instead.
func (*ItemParentLanguage) GetItemId ¶ added in v1.49.0
func (x *ItemParentLanguage) GetItemId() int64
func (*ItemParentLanguage) GetLanguage ¶ added in v1.49.0
func (x *ItemParentLanguage) GetLanguage() string
func (*ItemParentLanguage) GetName ¶ added in v1.49.0
func (x *ItemParentLanguage) GetName() string
func (*ItemParentLanguage) GetParentId ¶ added in v1.49.0
func (x *ItemParentLanguage) GetParentId() int64
func (*ItemParentLanguage) ProtoMessage ¶ added in v1.49.0
func (*ItemParentLanguage) ProtoMessage()
func (*ItemParentLanguage) ProtoReflect ¶ added in v1.49.0
func (x *ItemParentLanguage) ProtoReflect() protoreflect.Message
func (*ItemParentLanguage) Reset ¶ added in v1.49.0
func (x *ItemParentLanguage) Reset()
func (*ItemParentLanguage) String ¶ added in v1.49.0
func (x *ItemParentLanguage) String() string
type ItemParentLanguages ¶ added in v1.49.0
type ItemParentLanguages struct { Items []*ItemParentLanguage `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ItemParentLanguages) Descriptor
deprecated
added in
v1.49.0
func (*ItemParentLanguages) Descriptor() ([]byte, []int)
Deprecated: Use ItemParentLanguages.ProtoReflect.Descriptor instead.
func (*ItemParentLanguages) GetItems ¶ added in v1.49.0
func (x *ItemParentLanguages) GetItems() []*ItemParentLanguage
func (*ItemParentLanguages) ProtoMessage ¶ added in v1.49.0
func (*ItemParentLanguages) ProtoMessage()
func (*ItemParentLanguages) ProtoReflect ¶ added in v1.49.0
func (x *ItemParentLanguages) ProtoReflect() protoreflect.Message
func (*ItemParentLanguages) Reset ¶ added in v1.49.0
func (x *ItemParentLanguages) Reset()
func (*ItemParentLanguages) String ¶ added in v1.49.0
func (x *ItemParentLanguages) String() string
type ItemPictureType ¶
type ItemPictureType int32
const ( ItemPictureType_ITEM_PICTURE_UNKNOWN ItemPictureType = 0 ItemPictureType_ITEM_PICTURE_CONTENT ItemPictureType = 1 ItemPictureType_ITEM_PICTURE_AUTHOR ItemPictureType = 2 ItemPictureType_ITEM_PICTURE_COPYRIGHTS ItemPictureType = 3 )
func (ItemPictureType) Descriptor ¶
func (ItemPictureType) Descriptor() protoreflect.EnumDescriptor
func (ItemPictureType) Enum ¶
func (x ItemPictureType) Enum() *ItemPictureType
func (ItemPictureType) EnumDescriptor
deprecated
func (ItemPictureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ItemPictureType.Descriptor instead.
func (ItemPictureType) Number ¶
func (x ItemPictureType) Number() protoreflect.EnumNumber
func (ItemPictureType) String ¶
func (x ItemPictureType) String() string
func (ItemPictureType) Type ¶
func (ItemPictureType) Type() protoreflect.EnumType
type ItemPicturesRequest ¶
type ItemPicturesRequest struct { TypeId ItemPictureType `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3,enum=goautowp.ItemPictureType" json:"type_id,omitempty"` Pictures *PicturesRequest `protobuf:"bytes,2,opt,name=pictures,proto3" json:"pictures,omitempty"` PerspectiveId int32 `protobuf:"varint,3,opt,name=perspective_id,json=perspectiveId,proto3" json:"perspective_id,omitempty"` // contains filtered or unexported fields }
func (*ItemPicturesRequest) Descriptor
deprecated
func (*ItemPicturesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ItemPicturesRequest.ProtoReflect.Descriptor instead.
func (*ItemPicturesRequest) GetPerspectiveId ¶
func (x *ItemPicturesRequest) GetPerspectiveId() int32
func (*ItemPicturesRequest) GetPictures ¶
func (x *ItemPicturesRequest) GetPictures() *PicturesRequest
func (*ItemPicturesRequest) GetTypeId ¶
func (x *ItemPicturesRequest) GetTypeId() ItemPictureType
func (*ItemPicturesRequest) ProtoMessage ¶
func (*ItemPicturesRequest) ProtoMessage()
func (*ItemPicturesRequest) ProtoReflect ¶
func (x *ItemPicturesRequest) ProtoReflect() protoreflect.Message
func (*ItemPicturesRequest) Reset ¶
func (x *ItemPicturesRequest) Reset()
func (*ItemPicturesRequest) String ¶
func (x *ItemPicturesRequest) String() string
type ItemRequest ¶ added in v1.52.2
type ItemRequest struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Fields *ItemFields `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*ItemRequest) Descriptor
deprecated
added in
v1.52.2
func (*ItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use ItemRequest.ProtoReflect.Descriptor instead.
func (*ItemRequest) GetFields ¶ added in v1.52.2
func (x *ItemRequest) GetFields() *ItemFields
func (*ItemRequest) GetId ¶ added in v1.52.2
func (x *ItemRequest) GetId() int64
func (*ItemRequest) GetLanguage ¶ added in v1.52.2
func (x *ItemRequest) GetLanguage() string
func (*ItemRequest) ProtoMessage ¶ added in v1.52.2
func (*ItemRequest) ProtoMessage()
func (*ItemRequest) ProtoReflect ¶ added in v1.52.2
func (x *ItemRequest) ProtoReflect() protoreflect.Message
func (*ItemRequest) Reset ¶ added in v1.52.2
func (x *ItemRequest) Reset()
func (*ItemRequest) String ¶ added in v1.52.2
func (x *ItemRequest) String() string
type ItemType ¶
type ItemType int32
const ( ItemType_ITEM_TYPE_UNKNOWN ItemType = 0 ItemType_ITEM_TYPE_VEHICLE ItemType = 1 ItemType_ITEM_TYPE_ENGINE ItemType = 2 ItemType_ITEM_TYPE_CATEGORY ItemType = 3 ItemType_ITEM_TYPE_TWINS ItemType = 4 ItemType_ITEM_TYPE_BRAND ItemType = 5 ItemType_ITEM_TYPE_FACTORY ItemType = 6 ItemType_ITEM_TYPE_MUSEUM ItemType = 7 ItemType_ITEM_TYPE_PERSON ItemType = 8 ItemType_ITEM_TYPE_COPYRIGHT ItemType = 9 )
func (ItemType) Descriptor ¶
func (ItemType) Descriptor() protoreflect.EnumDescriptor
func (ItemType) EnumDescriptor
deprecated
func (ItemType) Number ¶
func (x ItemType) Number() protoreflect.EnumNumber
func (ItemType) Type ¶
func (ItemType) Type() protoreflect.EnumType
type ItemsClient ¶
type ItemsClient interface { GetTopBrandsList(ctx context.Context, in *GetTopBrandsListRequest, opts ...grpc.CallOption) (*APITopBrandsList, error) GetTopPersonsList(ctx context.Context, in *GetTopPersonsListRequest, opts ...grpc.CallOption) (*APITopPersonsList, error) GetTopFactoriesList(ctx context.Context, in *GetTopFactoriesListRequest, opts ...grpc.CallOption) (*APITopFactoriesList, error) GetTopCategoriesList(ctx context.Context, in *GetTopCategoriesListRequest, opts ...grpc.CallOption) (*APITopCategoriesList, error) GetTwinsBrandsList(ctx context.Context, in *GetTwinsBrandsListRequest, opts ...grpc.CallOption) (*APITwinsBrandsList, error) GetTopTwinsBrandsList(ctx context.Context, in *GetTopTwinsBrandsListRequest, opts ...grpc.CallOption) (*APITopTwinsBrandsList, error) Item(ctx context.Context, in *ItemRequest, opts ...grpc.CallOption) (*APIItem, error) List(ctx context.Context, in *ListItemsRequest, opts ...grpc.CallOption) (*APIItemList, error) GetTree(ctx context.Context, in *GetTreeRequest, opts ...grpc.CallOption) (*APITreeItem, error) GetContentLanguages(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIContentLanguages, error) GetItemLink(ctx context.Context, in *APIItemLinkRequest, opts ...grpc.CallOption) (*APIItemLink, error) GetItemLinks(ctx context.Context, in *APIGetItemLinksRequest, opts ...grpc.CallOption) (*APIItemLinksResponse, error) DeleteItemLink(ctx context.Context, in *APIItemLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateItemLink(ctx context.Context, in *APIItemLink, opts ...grpc.CallOption) (*APICreateItemLinkResponse, error) UpdateItemLink(ctx context.Context, in *APIItemLink, opts ...grpc.CallOption) (*emptypb.Empty, error) GetItemVehicleTypes(ctx context.Context, in *APIGetItemVehicleTypesRequest, opts ...grpc.CallOption) (*APIGetItemVehicleTypesResponse, error) GetItemVehicleType(ctx context.Context, in *APIItemVehicleTypeRequest, opts ...grpc.CallOption) (*APIItemVehicleType, error) CreateItemVehicleType(ctx context.Context, in *APIItemVehicleType, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteItemVehicleType(ctx context.Context, in *APIItemVehicleTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetItemLanguages(ctx context.Context, in *APIGetItemLanguagesRequest, opts ...grpc.CallOption) (*ItemLanguages, error) GetItemParentLanguages(ctx context.Context, in *APIGetItemParentLanguagesRequest, opts ...grpc.CallOption) (*ItemParentLanguages, error) GetStats(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StatsResponse, error) }
ItemsClient is the client API for Items 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 NewItemsClient ¶
func NewItemsClient(cc grpc.ClientConnInterface) ItemsClient
type ItemsGRPCServer ¶
type ItemsGRPCServer struct { UnimplementedItemsServer // contains filtered or unexported fields }
func NewItemsGRPCServer ¶
func NewItemsGRPCServer( repository *items.Repository, db *goqu.Database, auth *Auth, enforcer *casbin.Enforcer, contentLanguages []string, textstorageRepository *textstorage.Repository, extractor *ItemExtractor, i18n *i18nbundle.I18n, attrsRepository *attrs.Repository, picturesRepository *pictures.Repository, index *index.Index, ) *ItemsGRPCServer
func (*ItemsGRPCServer) CreateItemLink ¶ added in v1.28.0
func (s *ItemsGRPCServer) CreateItemLink(ctx context.Context, in *APIItemLink) (*APICreateItemLinkResponse, error)
func (*ItemsGRPCServer) CreateItemVehicleType ¶ added in v1.29.0
func (s *ItemsGRPCServer) CreateItemVehicleType(ctx context.Context, in *APIItemVehicleType) (*emptypb.Empty, error)
func (*ItemsGRPCServer) DeleteItemLink ¶ added in v1.28.0
func (s *ItemsGRPCServer) DeleteItemLink(ctx context.Context, in *APIItemLinkRequest) (*emptypb.Empty, error)
func (*ItemsGRPCServer) DeleteItemVehicleType ¶ added in v1.29.0
func (s *ItemsGRPCServer) DeleteItemVehicleType( ctx context.Context, in *APIItemVehicleTypeRequest, ) (*emptypb.Empty, error)
func (*ItemsGRPCServer) GetContentLanguages ¶ added in v1.11.0
func (s *ItemsGRPCServer) GetContentLanguages(_ context.Context, _ *emptypb.Empty) (*APIContentLanguages, error)
func (*ItemsGRPCServer) GetItemLanguages ¶ added in v1.50.0
func (s *ItemsGRPCServer) GetItemLanguages( ctx context.Context, in *APIGetItemLanguagesRequest, ) (*ItemLanguages, error)
func (*ItemsGRPCServer) GetItemLink ¶ added in v1.28.0
func (s *ItemsGRPCServer) GetItemLink(ctx context.Context, in *APIItemLinkRequest) (*APIItemLink, error)
func (*ItemsGRPCServer) GetItemLinks ¶ added in v1.28.0
func (s *ItemsGRPCServer) GetItemLinks(ctx context.Context, in *APIGetItemLinksRequest) (*APIItemLinksResponse, error)
func (*ItemsGRPCServer) GetItemParentLanguages ¶ added in v1.49.0
func (s *ItemsGRPCServer) GetItemParentLanguages( ctx context.Context, in *APIGetItemParentLanguagesRequest, ) (*ItemParentLanguages, error)
func (*ItemsGRPCServer) GetItemVehicleType ¶ added in v1.29.0
func (s *ItemsGRPCServer) GetItemVehicleType( ctx context.Context, in *APIItemVehicleTypeRequest, ) (*APIItemVehicleType, error)
func (*ItemsGRPCServer) GetItemVehicleTypes ¶ added in v1.29.0
func (s *ItemsGRPCServer) GetItemVehicleTypes( ctx context.Context, in *APIGetItemVehicleTypesRequest, ) (*APIGetItemVehicleTypesResponse, error)
func (*ItemsGRPCServer) GetStats ¶ added in v1.72.0
func (s *ItemsGRPCServer) GetStats(ctx context.Context, _ *emptypb.Empty) (*StatsResponse, error)
func (*ItemsGRPCServer) GetTopBrandsList ¶
func (s *ItemsGRPCServer) GetTopBrandsList( ctx context.Context, in *GetTopBrandsListRequest, ) (*APITopBrandsList, error)
func (*ItemsGRPCServer) GetTopCategoriesList ¶
func (s *ItemsGRPCServer) GetTopCategoriesList( ctx context.Context, in *GetTopCategoriesListRequest, ) (*APITopCategoriesList, error)
func (*ItemsGRPCServer) GetTopFactoriesList ¶
func (s *ItemsGRPCServer) GetTopFactoriesList( ctx context.Context, in *GetTopFactoriesListRequest, ) (*APITopFactoriesList, error)
func (*ItemsGRPCServer) GetTopPersonsList ¶
func (s *ItemsGRPCServer) GetTopPersonsList( ctx context.Context, in *GetTopPersonsListRequest, ) (*APITopPersonsList, error)
func (*ItemsGRPCServer) GetTopTwinsBrandsList ¶
func (s *ItemsGRPCServer) GetTopTwinsBrandsList( ctx context.Context, in *GetTopTwinsBrandsListRequest, ) (*APITopTwinsBrandsList, error)
func (*ItemsGRPCServer) GetTwinsBrandsList ¶ added in v1.36.0
func (s *ItemsGRPCServer) GetTwinsBrandsList( ctx context.Context, in *GetTwinsBrandsListRequest, ) (*APITwinsBrandsList, error)
func (*ItemsGRPCServer) Item ¶ added in v1.52.2
func (s *ItemsGRPCServer) Item(ctx context.Context, in *ItemRequest) (*APIItem, error)
func (*ItemsGRPCServer) List ¶
func (s *ItemsGRPCServer) List(ctx context.Context, in *ListItemsRequest) (*APIItemList, error)
func (*ItemsGRPCServer) UpdateItemLink ¶ added in v1.28.0
func (s *ItemsGRPCServer) UpdateItemLink(ctx context.Context, in *APIItemLink) (*emptypb.Empty, error)
type ItemsServer ¶
type ItemsServer interface { GetTopBrandsList(context.Context, *GetTopBrandsListRequest) (*APITopBrandsList, error) GetTopPersonsList(context.Context, *GetTopPersonsListRequest) (*APITopPersonsList, error) GetTopFactoriesList(context.Context, *GetTopFactoriesListRequest) (*APITopFactoriesList, error) GetTopCategoriesList(context.Context, *GetTopCategoriesListRequest) (*APITopCategoriesList, error) GetTwinsBrandsList(context.Context, *GetTwinsBrandsListRequest) (*APITwinsBrandsList, error) GetTopTwinsBrandsList(context.Context, *GetTopTwinsBrandsListRequest) (*APITopTwinsBrandsList, error) Item(context.Context, *ItemRequest) (*APIItem, error) List(context.Context, *ListItemsRequest) (*APIItemList, error) GetTree(context.Context, *GetTreeRequest) (*APITreeItem, error) GetContentLanguages(context.Context, *emptypb.Empty) (*APIContentLanguages, error) GetItemLink(context.Context, *APIItemLinkRequest) (*APIItemLink, error) GetItemLinks(context.Context, *APIGetItemLinksRequest) (*APIItemLinksResponse, error) DeleteItemLink(context.Context, *APIItemLinkRequest) (*emptypb.Empty, error) CreateItemLink(context.Context, *APIItemLink) (*APICreateItemLinkResponse, error) UpdateItemLink(context.Context, *APIItemLink) (*emptypb.Empty, error) GetItemVehicleTypes(context.Context, *APIGetItemVehicleTypesRequest) (*APIGetItemVehicleTypesResponse, error) GetItemVehicleType(context.Context, *APIItemVehicleTypeRequest) (*APIItemVehicleType, error) CreateItemVehicleType(context.Context, *APIItemVehicleType) (*emptypb.Empty, error) DeleteItemVehicleType(context.Context, *APIItemVehicleTypeRequest) (*emptypb.Empty, error) GetItemLanguages(context.Context, *APIGetItemLanguagesRequest) (*ItemLanguages, error) GetItemParentLanguages(context.Context, *APIGetItemParentLanguagesRequest) (*ItemParentLanguages, error) GetStats(context.Context, *emptypb.Empty) (*StatsResponse, error) // contains filtered or unexported methods }
ItemsServer is the server API for Items service. All implementations must embed UnimplementedItemsServer for forward compatibility
type ListItemsRequest ¶
type ListItemsRequest struct { Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` Fields *ItemFields `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` TypeId ItemType `protobuf:"varint,3,opt,name=type_id,json=typeId,proto3,enum=goautowp.ItemType" json:"type_id,omitempty"` DescendantPictures *ItemPicturesRequest `protobuf:"bytes,4,opt,name=descendant_pictures,json=descendantPictures,proto3" json:"descendant_pictures,omitempty"` PreviewPictures *ItemPicturesRequest `protobuf:"bytes,5,opt,name=preview_pictures,json=previewPictures,proto3" json:"preview_pictures,omitempty"` Limit uint32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` NoParent bool `protobuf:"varint,7,opt,name=no_parent,json=noParent,proto3" json:"no_parent,omitempty"` Catname string `protobuf:"bytes,8,opt,name=catname,proto3" json:"catname,omitempty"` Order ListItemsRequest_Order `protobuf:"varint,9,opt,name=order,proto3,enum=goautowp.ListItemsRequest_Order" json:"order,omitempty"` Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` Page uint32 `protobuf:"varint,11,opt,name=page,proto3" json:"page,omitempty"` Id int64 `protobuf:"varint,12,opt,name=id,proto3" json:"id,omitempty"` AncestorId int64 `protobuf:"varint,13,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"` IsConcept bool `protobuf:"varint,14,opt,name=is_concept,json=isConcept,proto3" json:"is_concept,omitempty"` Descendant *ListItemsRequest `protobuf:"bytes,15,opt,name=descendant,proto3" json:"descendant,omitempty"` Parent *ListItemsRequest `protobuf:"bytes,16,opt,name=parent,proto3" json:"parent,omitempty"` EngineId int64 `protobuf:"varint,17,opt,name=engine_id,json=engineId,proto3" json:"engine_id,omitempty"` // contains filtered or unexported fields }
func (*ListItemsRequest) Descriptor
deprecated
func (*ListItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListItemsRequest.ProtoReflect.Descriptor instead.
func (*ListItemsRequest) GetAncestorId ¶ added in v1.61.0
func (x *ListItemsRequest) GetAncestorId() int64
func (*ListItemsRequest) GetCatname ¶ added in v1.52.0
func (x *ListItemsRequest) GetCatname() string
func (*ListItemsRequest) GetDescendant ¶ added in v1.62.0
func (x *ListItemsRequest) GetDescendant() *ListItemsRequest
func (*ListItemsRequest) GetDescendantPictures ¶
func (x *ListItemsRequest) GetDescendantPictures() *ItemPicturesRequest
func (*ListItemsRequest) GetEngineId ¶ added in v1.64.0
func (x *ListItemsRequest) GetEngineId() int64
func (*ListItemsRequest) GetFields ¶
func (x *ListItemsRequest) GetFields() *ItemFields
func (*ListItemsRequest) GetId ¶ added in v1.60.0
func (x *ListItemsRequest) GetId() int64
func (*ListItemsRequest) GetIsConcept ¶ added in v1.61.0
func (x *ListItemsRequest) GetIsConcept() bool
func (*ListItemsRequest) GetLanguage ¶
func (x *ListItemsRequest) GetLanguage() string
func (*ListItemsRequest) GetLimit ¶
func (x *ListItemsRequest) GetLimit() uint32
func (*ListItemsRequest) GetName ¶ added in v1.58.0
func (x *ListItemsRequest) GetName() string
func (*ListItemsRequest) GetNoParent ¶ added in v1.51.0
func (x *ListItemsRequest) GetNoParent() bool
func (*ListItemsRequest) GetOrder ¶ added in v1.57.0
func (x *ListItemsRequest) GetOrder() ListItemsRequest_Order
func (*ListItemsRequest) GetPage ¶ added in v1.58.0
func (x *ListItemsRequest) GetPage() uint32
func (*ListItemsRequest) GetParent ¶ added in v1.63.0
func (x *ListItemsRequest) GetParent() *ListItemsRequest
func (*ListItemsRequest) GetPreviewPictures ¶
func (x *ListItemsRequest) GetPreviewPictures() *ItemPicturesRequest
func (*ListItemsRequest) GetTypeId ¶
func (x *ListItemsRequest) GetTypeId() ItemType
func (*ListItemsRequest) ProtoMessage ¶
func (*ListItemsRequest) ProtoMessage()
func (*ListItemsRequest) ProtoReflect ¶
func (x *ListItemsRequest) ProtoReflect() protoreflect.Message
func (*ListItemsRequest) Reset ¶
func (x *ListItemsRequest) Reset()
func (*ListItemsRequest) String ¶
func (x *ListItemsRequest) String() string
type ListItemsRequest_Order ¶ added in v1.57.0
type ListItemsRequest_Order int32
const ( ListItemsRequest_DEFAULT ListItemsRequest_Order = 0 ListItemsRequest_NAME_NAT ListItemsRequest_Order = 1 ListItemsRequest_NAME ListItemsRequest_Order = 2 )
func (ListItemsRequest_Order) Descriptor ¶ added in v1.57.0
func (ListItemsRequest_Order) Descriptor() protoreflect.EnumDescriptor
func (ListItemsRequest_Order) Enum ¶ added in v1.57.0
func (x ListItemsRequest_Order) Enum() *ListItemsRequest_Order
func (ListItemsRequest_Order) EnumDescriptor
deprecated
added in
v1.57.0
func (ListItemsRequest_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListItemsRequest_Order.Descriptor instead.
func (ListItemsRequest_Order) Number ¶ added in v1.57.0
func (x ListItemsRequest_Order) Number() protoreflect.EnumNumber
func (ListItemsRequest_Order) String ¶ added in v1.57.0
func (x ListItemsRequest_Order) String() string
func (ListItemsRequest_Order) Type ¶ added in v1.57.0
func (ListItemsRequest_Order) Type() protoreflect.EnumType
type MapClient ¶
type MapClient interface {
GetPoints(ctx context.Context, in *MapGetPointsRequest, opts ...grpc.CallOption) (*MapPoints, error)
}
MapClient is the client API for Map 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 NewMapClient ¶
func NewMapClient(cc grpc.ClientConnInterface) MapClient
type MapGRPCServer ¶
type MapGRPCServer struct { UnimplementedMapServer // contains filtered or unexported fields }
func NewMapGRPCServer ¶
func NewMapGRPCServer(db *goqu.Database, imageStorage *storage.Storage, i18n *i18nbundle.I18n) *MapGRPCServer
func (*MapGRPCServer) GetPoints ¶
func (s *MapGRPCServer) GetPoints(ctx context.Context, in *MapGetPointsRequest) (*MapPoints, error)
type MapGetPointsRequest ¶
type MapGetPointsRequest struct { PointsOnly bool `protobuf:"varint,1,opt,name=PointsOnly,proto3" json:"PointsOnly,omitempty"` Bounds string `protobuf:"bytes,2,opt,name=bounds,proto3" json:"bounds,omitempty"` Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*MapGetPointsRequest) Descriptor
deprecated
func (*MapGetPointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MapGetPointsRequest.ProtoReflect.Descriptor instead.
func (*MapGetPointsRequest) GetBounds ¶
func (x *MapGetPointsRequest) GetBounds() string
func (*MapGetPointsRequest) GetLanguage ¶
func (x *MapGetPointsRequest) GetLanguage() string
func (*MapGetPointsRequest) GetPointsOnly ¶
func (x *MapGetPointsRequest) GetPointsOnly() bool
func (*MapGetPointsRequest) ProtoMessage ¶
func (*MapGetPointsRequest) ProtoMessage()
func (*MapGetPointsRequest) ProtoReflect ¶
func (x *MapGetPointsRequest) ProtoReflect() protoreflect.Message
func (*MapGetPointsRequest) Reset ¶
func (x *MapGetPointsRequest) Reset()
func (*MapGetPointsRequest) String ¶
func (x *MapGetPointsRequest) String() string
type MapPoint ¶
type MapPoint struct { Location *Point `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Url []string `protobuf:"bytes,4,rep,name=url,proto3" json:"url,omitempty"` Image *APIImage `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*MapPoint) Descriptor
deprecated
func (*MapPoint) GetLocation ¶
func (*MapPoint) ProtoMessage ¶
func (*MapPoint) ProtoMessage()
func (*MapPoint) ProtoReflect ¶
func (x *MapPoint) ProtoReflect() protoreflect.Message
type MapPoints ¶
type MapPoints struct { Points []*MapPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` // contains filtered or unexported fields }
func (*MapPoints) Descriptor
deprecated
func (*MapPoints) ProtoMessage ¶
func (*MapPoints) ProtoMessage()
func (*MapPoints) ProtoReflect ¶
func (x *MapPoints) ProtoReflect() protoreflect.Message
type MapServer ¶
type MapServer interface { GetPoints(context.Context, *MapGetPointsRequest) (*MapPoints, error) // contains filtered or unexported methods }
MapServer is the server API for Map service. All implementations must embed UnimplementedMapServer for forward compatibility
type MessagingClearFolder ¶
type MessagingClearFolder struct { Folder string `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"` // contains filtered or unexported fields }
func (*MessagingClearFolder) Descriptor
deprecated
func (*MessagingClearFolder) Descriptor() ([]byte, []int)
Deprecated: Use MessagingClearFolder.ProtoReflect.Descriptor instead.
func (*MessagingClearFolder) GetFolder ¶
func (x *MessagingClearFolder) GetFolder() string
func (*MessagingClearFolder) ProtoMessage ¶
func (*MessagingClearFolder) ProtoMessage()
func (*MessagingClearFolder) ProtoReflect ¶
func (x *MessagingClearFolder) ProtoReflect() protoreflect.Message
func (*MessagingClearFolder) Reset ¶
func (x *MessagingClearFolder) Reset()
func (*MessagingClearFolder) String ¶
func (x *MessagingClearFolder) String() string
type MessagingClient ¶
type MessagingClient interface { GetMessagesNewCount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIMessageNewCount, error) GetMessagesSummary(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIMessageSummary, error) DeleteMessage(ctx context.Context, in *MessagingDeleteMessage, opts ...grpc.CallOption) (*emptypb.Empty, error) ClearFolder(ctx context.Context, in *MessagingClearFolder, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateMessage(ctx context.Context, in *MessagingCreateMessage, opts ...grpc.CallOption) (*emptypb.Empty, error) GetMessages(ctx context.Context, in *MessagingGetMessagesRequest, opts ...grpc.CallOption) (*MessagingGetMessagesResponse, error) }
MessagingClient is the client API for Messaging 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 NewMessagingClient ¶
func NewMessagingClient(cc grpc.ClientConnInterface) MessagingClient
type MessagingCreateMessage ¶
type MessagingCreateMessage struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*MessagingCreateMessage) Descriptor
deprecated
func (*MessagingCreateMessage) Descriptor() ([]byte, []int)
Deprecated: Use MessagingCreateMessage.ProtoReflect.Descriptor instead.
func (*MessagingCreateMessage) GetText ¶
func (x *MessagingCreateMessage) GetText() string
func (*MessagingCreateMessage) GetUserId ¶
func (x *MessagingCreateMessage) GetUserId() int64
func (*MessagingCreateMessage) ProtoMessage ¶
func (*MessagingCreateMessage) ProtoMessage()
func (*MessagingCreateMessage) ProtoReflect ¶
func (x *MessagingCreateMessage) ProtoReflect() protoreflect.Message
func (*MessagingCreateMessage) Reset ¶
func (x *MessagingCreateMessage) Reset()
func (*MessagingCreateMessage) String ¶
func (x *MessagingCreateMessage) String() string
type MessagingDeleteMessage ¶
type MessagingDeleteMessage struct { MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // contains filtered or unexported fields }
func (*MessagingDeleteMessage) Descriptor
deprecated
func (*MessagingDeleteMessage) Descriptor() ([]byte, []int)
Deprecated: Use MessagingDeleteMessage.ProtoReflect.Descriptor instead.
func (*MessagingDeleteMessage) GetMessageId ¶
func (x *MessagingDeleteMessage) GetMessageId() int64
func (*MessagingDeleteMessage) ProtoMessage ¶
func (*MessagingDeleteMessage) ProtoMessage()
func (*MessagingDeleteMessage) ProtoReflect ¶
func (x *MessagingDeleteMessage) ProtoReflect() protoreflect.Message
func (*MessagingDeleteMessage) Reset ¶
func (x *MessagingDeleteMessage) Reset()
func (*MessagingDeleteMessage) String ¶
func (x *MessagingDeleteMessage) String() string
type MessagingGRPCServer ¶
type MessagingGRPCServer struct { UnimplementedMessagingServer // contains filtered or unexported fields }
func NewMessagingGRPCServer ¶
func NewMessagingGRPCServer(repository *messaging.Repository, auth *Auth) *MessagingGRPCServer
func (*MessagingGRPCServer) ClearFolder ¶
func (s *MessagingGRPCServer) ClearFolder(ctx context.Context, in *MessagingClearFolder) (*emptypb.Empty, error)
func (*MessagingGRPCServer) CreateMessage ¶
func (s *MessagingGRPCServer) CreateMessage(ctx context.Context, in *MessagingCreateMessage) (*emptypb.Empty, error)
func (*MessagingGRPCServer) DeleteMessage ¶
func (s *MessagingGRPCServer) DeleteMessage(ctx context.Context, in *MessagingDeleteMessage) (*emptypb.Empty, error)
func (*MessagingGRPCServer) GetMessages ¶
func (s *MessagingGRPCServer) GetMessages( ctx context.Context, in *MessagingGetMessagesRequest, ) (*MessagingGetMessagesResponse, error)
func (*MessagingGRPCServer) GetMessagesNewCount ¶
func (s *MessagingGRPCServer) GetMessagesNewCount(ctx context.Context, _ *emptypb.Empty) (*APIMessageNewCount, error)
func (*MessagingGRPCServer) GetMessagesSummary ¶
func (s *MessagingGRPCServer) GetMessagesSummary(ctx context.Context, _ *emptypb.Empty) (*APIMessageSummary, error)
type MessagingGetMessagesRequest ¶
type MessagingGetMessagesRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Folder string `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*MessagingGetMessagesRequest) Descriptor
deprecated
func (*MessagingGetMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessagingGetMessagesRequest.ProtoReflect.Descriptor instead.
func (*MessagingGetMessagesRequest) GetFolder ¶
func (x *MessagingGetMessagesRequest) GetFolder() string
func (*MessagingGetMessagesRequest) GetPage ¶
func (x *MessagingGetMessagesRequest) GetPage() int32
func (*MessagingGetMessagesRequest) GetUserId ¶
func (x *MessagingGetMessagesRequest) GetUserId() int64
func (*MessagingGetMessagesRequest) ProtoMessage ¶
func (*MessagingGetMessagesRequest) ProtoMessage()
func (*MessagingGetMessagesRequest) ProtoReflect ¶
func (x *MessagingGetMessagesRequest) ProtoReflect() protoreflect.Message
func (*MessagingGetMessagesRequest) Reset ¶
func (x *MessagingGetMessagesRequest) Reset()
func (*MessagingGetMessagesRequest) String ¶
func (x *MessagingGetMessagesRequest) String() string
type MessagingGetMessagesResponse ¶
type MessagingGetMessagesResponse struct { Items []*APIMessage `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Paginator *Pages `protobuf:"bytes,2,opt,name=paginator,proto3" json:"paginator,omitempty"` // contains filtered or unexported fields }
func (*MessagingGetMessagesResponse) Descriptor
deprecated
func (*MessagingGetMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessagingGetMessagesResponse.ProtoReflect.Descriptor instead.
func (*MessagingGetMessagesResponse) GetItems ¶
func (x *MessagingGetMessagesResponse) GetItems() []*APIMessage
func (*MessagingGetMessagesResponse) GetPaginator ¶
func (x *MessagingGetMessagesResponse) GetPaginator() *Pages
func (*MessagingGetMessagesResponse) ProtoMessage ¶
func (*MessagingGetMessagesResponse) ProtoMessage()
func (*MessagingGetMessagesResponse) ProtoReflect ¶
func (x *MessagingGetMessagesResponse) ProtoReflect() protoreflect.Message
func (*MessagingGetMessagesResponse) Reset ¶
func (x *MessagingGetMessagesResponse) Reset()
func (*MessagingGetMessagesResponse) String ¶
func (x *MessagingGetMessagesResponse) String() string
type MessagingServer ¶
type MessagingServer interface { GetMessagesNewCount(context.Context, *emptypb.Empty) (*APIMessageNewCount, error) GetMessagesSummary(context.Context, *emptypb.Empty) (*APIMessageSummary, error) DeleteMessage(context.Context, *MessagingDeleteMessage) (*emptypb.Empty, error) ClearFolder(context.Context, *MessagingClearFolder) (*emptypb.Empty, error) CreateMessage(context.Context, *MessagingCreateMessage) (*emptypb.Empty, error) GetMessages(context.Context, *MessagingGetMessagesRequest) (*MessagingGetMessagesResponse, error) // contains filtered or unexported methods }
MessagingServer is the server API for Messaging service. All implementations must embed UnimplementedMessagingServer for forward compatibility
type ModerVoteTemplate ¶
type ModerVoteTemplate struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Vote int32 `protobuf:"varint,4,opt,name=vote,proto3" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*ModerVoteTemplate) Descriptor
deprecated
func (*ModerVoteTemplate) Descriptor() ([]byte, []int)
Deprecated: Use ModerVoteTemplate.ProtoReflect.Descriptor instead.
func (*ModerVoteTemplate) GetId ¶
func (x *ModerVoteTemplate) GetId() int64
func (*ModerVoteTemplate) GetMessage ¶
func (x *ModerVoteTemplate) GetMessage() string
func (*ModerVoteTemplate) GetUserId ¶ added in v1.37.0
func (x *ModerVoteTemplate) GetUserId() int64
func (*ModerVoteTemplate) GetVote ¶
func (x *ModerVoteTemplate) GetVote() int32
func (*ModerVoteTemplate) ProtoMessage ¶
func (*ModerVoteTemplate) ProtoMessage()
func (*ModerVoteTemplate) ProtoReflect ¶
func (x *ModerVoteTemplate) ProtoReflect() protoreflect.Message
func (*ModerVoteTemplate) Reset ¶
func (x *ModerVoteTemplate) Reset()
func (*ModerVoteTemplate) String ¶
func (x *ModerVoteTemplate) String() string
type ModerVoteTemplates ¶
type ModerVoteTemplates struct { Items []*ModerVoteTemplate `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ModerVoteTemplates) Descriptor
deprecated
func (*ModerVoteTemplates) Descriptor() ([]byte, []int)
Deprecated: Use ModerVoteTemplates.ProtoReflect.Descriptor instead.
func (*ModerVoteTemplates) GetItems ¶
func (x *ModerVoteTemplates) GetItems() []*ModerVoteTemplate
func (*ModerVoteTemplates) ProtoMessage ¶
func (*ModerVoteTemplates) ProtoMessage()
func (*ModerVoteTemplates) ProtoReflect ¶
func (x *ModerVoteTemplates) ProtoReflect() protoreflect.Message
func (*ModerVoteTemplates) Reset ¶
func (x *ModerVoteTemplates) Reset()
func (*ModerVoteTemplates) String ¶
func (x *ModerVoteTemplates) String() string
type ModeratorAttention ¶ added in v1.41.0
type ModeratorAttention int32
const ( ModeratorAttention_NONE ModeratorAttention = 0 ModeratorAttention_REQUIRED ModeratorAttention = 1 ModeratorAttention_COMPLETE ModeratorAttention = 2 )
func (ModeratorAttention) Descriptor ¶ added in v1.41.0
func (ModeratorAttention) Descriptor() protoreflect.EnumDescriptor
func (ModeratorAttention) Enum ¶ added in v1.41.0
func (x ModeratorAttention) Enum() *ModeratorAttention
func (ModeratorAttention) EnumDescriptor
deprecated
added in
v1.41.0
func (ModeratorAttention) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModeratorAttention.Descriptor instead.
func (ModeratorAttention) Number ¶ added in v1.41.0
func (x ModeratorAttention) Number() protoreflect.EnumNumber
func (ModeratorAttention) String ¶ added in v1.41.0
func (x ModeratorAttention) String() string
func (ModeratorAttention) Type ¶ added in v1.41.0
func (ModeratorAttention) Type() protoreflect.EnumType
type Pages ¶
type Pages struct { PageCount int32 `protobuf:"varint,1,opt,name=pageCount,proto3" json:"pageCount,omitempty"` First int32 `protobuf:"varint,2,opt,name=first,proto3" json:"first,omitempty"` Current int32 `protobuf:"varint,3,opt,name=current,proto3" json:"current,omitempty"` Next int32 `protobuf:"varint,5,opt,name=next,proto3" json:"next,omitempty"` Previous int32 `protobuf:"varint,6,opt,name=previous,proto3" json:"previous,omitempty"` FirstPageInRange int32 `protobuf:"varint,7,opt,name=firstPageInRange,proto3" json:"firstPageInRange,omitempty"` LastPageInRange int32 `protobuf:"varint,8,opt,name=lastPageInRange,proto3" json:"lastPageInRange,omitempty"` PagesInRange []int32 `protobuf:"varint,9,rep,packed,name=pagesInRange,proto3" json:"pagesInRange,omitempty"` TotalItemCount int32 `protobuf:"varint,10,opt,name=totalItemCount,proto3" json:"totalItemCount,omitempty"` // contains filtered or unexported fields }
func (*Pages) Descriptor
deprecated
func (*Pages) GetCurrent ¶
func (*Pages) GetFirstPageInRange ¶
func (*Pages) GetLastPageInRange ¶
func (*Pages) GetPageCount ¶
func (*Pages) GetPagesInRange ¶
func (*Pages) GetPrevious ¶
func (*Pages) GetTotalItemCount ¶
func (*Pages) ProtoMessage ¶
func (*Pages) ProtoMessage()
func (*Pages) ProtoReflect ¶
func (x *Pages) ProtoReflect() protoreflect.Message
type Perspective ¶
type Perspective struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Perspective) Descriptor
deprecated
func (*Perspective) Descriptor() ([]byte, []int)
Deprecated: Use Perspective.ProtoReflect.Descriptor instead.
func (*Perspective) GetId ¶
func (x *Perspective) GetId() int32
func (*Perspective) GetName ¶
func (x *Perspective) GetName() string
func (*Perspective) ProtoMessage ¶
func (*Perspective) ProtoMessage()
func (*Perspective) ProtoReflect ¶
func (x *Perspective) ProtoReflect() protoreflect.Message
func (*Perspective) Reset ¶
func (x *Perspective) Reset()
func (*Perspective) String ¶
func (x *Perspective) String() string
type PerspectiveGroup ¶
type PerspectiveGroup struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Perspectives []*Perspective `protobuf:"bytes,3,rep,name=perspectives,proto3" json:"perspectives,omitempty"` // contains filtered or unexported fields }
func (*PerspectiveGroup) Descriptor
deprecated
func (*PerspectiveGroup) Descriptor() ([]byte, []int)
Deprecated: Use PerspectiveGroup.ProtoReflect.Descriptor instead.
func (*PerspectiveGroup) GetId ¶
func (x *PerspectiveGroup) GetId() int32
func (*PerspectiveGroup) GetName ¶
func (x *PerspectiveGroup) GetName() string
func (*PerspectiveGroup) GetPerspectives ¶
func (x *PerspectiveGroup) GetPerspectives() []*Perspective
func (*PerspectiveGroup) ProtoMessage ¶
func (*PerspectiveGroup) ProtoMessage()
func (*PerspectiveGroup) ProtoReflect ¶
func (x *PerspectiveGroup) ProtoReflect() protoreflect.Message
func (*PerspectiveGroup) Reset ¶
func (x *PerspectiveGroup) Reset()
func (*PerspectiveGroup) String ¶
func (x *PerspectiveGroup) String() string
type PerspectivePage ¶
type PerspectivePage struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Groups []*PerspectiveGroup `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*PerspectivePage) Descriptor
deprecated
func (*PerspectivePage) Descriptor() ([]byte, []int)
Deprecated: Use PerspectivePage.ProtoReflect.Descriptor instead.
func (*PerspectivePage) GetGroups ¶
func (x *PerspectivePage) GetGroups() []*PerspectiveGroup
func (*PerspectivePage) GetId ¶
func (x *PerspectivePage) GetId() int32
func (*PerspectivePage) GetName ¶
func (x *PerspectivePage) GetName() string
func (*PerspectivePage) ProtoMessage ¶
func (*PerspectivePage) ProtoMessage()
func (*PerspectivePage) ProtoReflect ¶
func (x *PerspectivePage) ProtoReflect() protoreflect.Message
func (*PerspectivePage) Reset ¶
func (x *PerspectivePage) Reset()
func (*PerspectivePage) String ¶
func (x *PerspectivePage) String() string
type PerspectivePagesItems ¶
type PerspectivePagesItems struct { Items []*PerspectivePage `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*PerspectivePagesItems) Descriptor
deprecated
func (*PerspectivePagesItems) Descriptor() ([]byte, []int)
Deprecated: Use PerspectivePagesItems.ProtoReflect.Descriptor instead.
func (*PerspectivePagesItems) GetItems ¶
func (x *PerspectivePagesItems) GetItems() []*PerspectivePage
func (*PerspectivePagesItems) ProtoMessage ¶
func (*PerspectivePagesItems) ProtoMessage()
func (*PerspectivePagesItems) ProtoReflect ¶
func (x *PerspectivePagesItems) ProtoReflect() protoreflect.Message
func (*PerspectivePagesItems) Reset ¶
func (x *PerspectivePagesItems) Reset()
func (*PerspectivePagesItems) String ¶
func (x *PerspectivePagesItems) String() string
type PerspectivesItems ¶
type PerspectivesItems struct { Items []*Perspective `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*PerspectivesItems) Descriptor
deprecated
func (*PerspectivesItems) Descriptor() ([]byte, []int)
Deprecated: Use PerspectivesItems.ProtoReflect.Descriptor instead.
func (*PerspectivesItems) GetItems ¶
func (x *PerspectivesItems) GetItems() []*Perspective
func (*PerspectivesItems) ProtoMessage ¶
func (*PerspectivesItems) ProtoMessage()
func (*PerspectivesItems) ProtoReflect ¶
func (x *PerspectivesItems) ProtoReflect() protoreflect.Message
func (*PerspectivesItems) Reset ¶
func (x *PerspectivesItems) Reset()
func (*PerspectivesItems) String ¶
func (x *PerspectivesItems) String() string
type PictureFields ¶
type PictureFields struct { NameText bool `protobuf:"varint,1,opt,name=name_text,json=nameText,proto3" json:"name_text,omitempty"` // contains filtered or unexported fields }
func (*PictureFields) Descriptor
deprecated
func (*PictureFields) Descriptor() ([]byte, []int)
Deprecated: Use PictureFields.ProtoReflect.Descriptor instead.
func (*PictureFields) GetNameText ¶
func (x *PictureFields) GetNameText() bool
func (*PictureFields) ProtoMessage ¶
func (*PictureFields) ProtoMessage()
func (*PictureFields) ProtoReflect ¶
func (x *PictureFields) ProtoReflect() protoreflect.Message
func (*PictureFields) Reset ¶
func (x *PictureFields) Reset()
func (*PictureFields) String ¶
func (x *PictureFields) String() string
type PictureItemType ¶
type PictureItemType int32
const ( PictureItemType_PICTURE_UNKNOWN PictureItemType = 0 PictureItemType_PICTURE_CONTENT PictureItemType = 1 PictureItemType_PICTURE_AUTHOR PictureItemType = 2 PictureItemType_PICTURE_COPYRIGHTS PictureItemType = 3 )
func (PictureItemType) Descriptor ¶
func (PictureItemType) Descriptor() protoreflect.EnumDescriptor
func (PictureItemType) Enum ¶
func (x PictureItemType) Enum() *PictureItemType
func (PictureItemType) EnumDescriptor
deprecated
func (PictureItemType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PictureItemType.Descriptor instead.
func (PictureItemType) Number ¶
func (x PictureItemType) Number() protoreflect.EnumNumber
func (PictureItemType) String ¶
func (x PictureItemType) String() string
func (PictureItemType) Type ¶
func (PictureItemType) Type() protoreflect.EnumType
type PictureStatus ¶
type PictureStatus int32
const ( PictureStatus_PICTURE_STATUS_UNKNOWN PictureStatus = 0 PictureStatus_PICTURE_STATUS_ACCEPTED PictureStatus = 1 PictureStatus_PICTURE_STATUS_REMOVING PictureStatus = 2 PictureStatus_PICTURE_STATUS_REMOVED PictureStatus = 3 PictureStatus_PICTURE_STATUS_INBOX PictureStatus = 4 )
func (PictureStatus) Descriptor ¶
func (PictureStatus) Descriptor() protoreflect.EnumDescriptor
func (PictureStatus) Enum ¶
func (x PictureStatus) Enum() *PictureStatus
func (PictureStatus) EnumDescriptor
deprecated
func (PictureStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PictureStatus.Descriptor instead.
func (PictureStatus) Number ¶
func (x PictureStatus) Number() protoreflect.EnumNumber
func (PictureStatus) String ¶
func (x PictureStatus) String() string
func (PictureStatus) Type ¶
func (PictureStatus) Type() protoreflect.EnumType
type PicturesClient ¶
type PicturesClient interface { View(ctx context.Context, in *PicturesViewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Vote(ctx context.Context, in *PicturesVoteRequest, opts ...grpc.CallOption) (*PicturesVoteSummary, error) CreateModerVoteTemplate(ctx context.Context, in *ModerVoteTemplate, opts ...grpc.CallOption) (*ModerVoteTemplate, error) DeleteModerVoteTemplate(ctx context.Context, in *DeleteModerVoteTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetModerVoteTemplates(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ModerVoteTemplates, error) }
PicturesClient is the client API for Pictures 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 NewPicturesClient ¶
func NewPicturesClient(cc grpc.ClientConnInterface) PicturesClient
type PicturesGRPCServer ¶
type PicturesGRPCServer struct { UnimplementedPicturesServer // contains filtered or unexported fields }
func NewPicturesGRPCServer ¶
func NewPicturesGRPCServer(repository *pictures.Repository, auth *Auth, enforcer *casbin.Enforcer) *PicturesGRPCServer
func (*PicturesGRPCServer) CreateModerVoteTemplate ¶
func (s *PicturesGRPCServer) CreateModerVoteTemplate( ctx context.Context, in *ModerVoteTemplate, ) (*ModerVoteTemplate, error)
func (*PicturesGRPCServer) DeleteModerVoteTemplate ¶
func (s *PicturesGRPCServer) DeleteModerVoteTemplate( ctx context.Context, in *DeleteModerVoteTemplateRequest, ) (*emptypb.Empty, error)
func (*PicturesGRPCServer) GetModerVoteTemplates ¶
func (s *PicturesGRPCServer) GetModerVoteTemplates(ctx context.Context, _ *emptypb.Empty) (*ModerVoteTemplates, error)
func (*PicturesGRPCServer) View ¶
func (s *PicturesGRPCServer) View(ctx context.Context, in *PicturesViewRequest) (*emptypb.Empty, error)
func (*PicturesGRPCServer) Vote ¶
func (s *PicturesGRPCServer) Vote(ctx context.Context, in *PicturesVoteRequest) (*PicturesVoteSummary, error)
type PicturesRequest ¶
type PicturesRequest struct { Status PictureStatus `protobuf:"varint,1,opt,name=status,proto3,enum=goautowp.PictureStatus" json:"status,omitempty"` ItemPicture *ItemPicturesRequest `protobuf:"bytes,2,opt,name=item_picture,json=itemPicture,proto3" json:"item_picture,omitempty"` OwnerId int64 `protobuf:"varint,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // contains filtered or unexported fields }
func (*PicturesRequest) Descriptor
deprecated
func (*PicturesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PicturesRequest.ProtoReflect.Descriptor instead.
func (*PicturesRequest) GetItemPicture ¶
func (x *PicturesRequest) GetItemPicture() *ItemPicturesRequest
func (*PicturesRequest) GetOwnerId ¶ added in v1.57.0
func (x *PicturesRequest) GetOwnerId() int64
func (*PicturesRequest) GetStatus ¶
func (x *PicturesRequest) GetStatus() PictureStatus
func (*PicturesRequest) ProtoMessage ¶
func (*PicturesRequest) ProtoMessage()
func (*PicturesRequest) ProtoReflect ¶
func (x *PicturesRequest) ProtoReflect() protoreflect.Message
func (*PicturesRequest) Reset ¶
func (x *PicturesRequest) Reset()
func (*PicturesRequest) String ¶
func (x *PicturesRequest) String() string
type PicturesServer ¶
type PicturesServer interface { View(context.Context, *PicturesViewRequest) (*emptypb.Empty, error) Vote(context.Context, *PicturesVoteRequest) (*PicturesVoteSummary, error) CreateModerVoteTemplate(context.Context, *ModerVoteTemplate) (*ModerVoteTemplate, error) DeleteModerVoteTemplate(context.Context, *DeleteModerVoteTemplateRequest) (*emptypb.Empty, error) GetModerVoteTemplates(context.Context, *emptypb.Empty) (*ModerVoteTemplates, error) // contains filtered or unexported methods }
PicturesServer is the server API for Pictures service. All implementations must embed UnimplementedPicturesServer for forward compatibility
type PicturesViewRequest ¶
type PicturesViewRequest struct { PictureId int64 `protobuf:"varint,1,opt,name=picture_id,json=pictureId,proto3" json:"picture_id,omitempty"` // contains filtered or unexported fields }
func (*PicturesViewRequest) Descriptor
deprecated
func (*PicturesViewRequest) Descriptor() ([]byte, []int)
Deprecated: Use PicturesViewRequest.ProtoReflect.Descriptor instead.
func (*PicturesViewRequest) GetPictureId ¶
func (x *PicturesViewRequest) GetPictureId() int64
func (*PicturesViewRequest) ProtoMessage ¶
func (*PicturesViewRequest) ProtoMessage()
func (*PicturesViewRequest) ProtoReflect ¶
func (x *PicturesViewRequest) ProtoReflect() protoreflect.Message
func (*PicturesViewRequest) Reset ¶
func (x *PicturesViewRequest) Reset()
func (*PicturesViewRequest) String ¶
func (x *PicturesViewRequest) String() string
type PicturesVoteRequest ¶
type PicturesVoteRequest struct { PictureId int64 `protobuf:"varint,1,opt,name=picture_id,json=pictureId,proto3" json:"picture_id,omitempty"` Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*PicturesVoteRequest) Descriptor
deprecated
func (*PicturesVoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use PicturesVoteRequest.ProtoReflect.Descriptor instead.
func (*PicturesVoteRequest) GetPictureId ¶
func (x *PicturesVoteRequest) GetPictureId() int64
func (*PicturesVoteRequest) GetValue ¶
func (x *PicturesVoteRequest) GetValue() int32
func (*PicturesVoteRequest) ProtoMessage ¶
func (*PicturesVoteRequest) ProtoMessage()
func (*PicturesVoteRequest) ProtoReflect ¶
func (x *PicturesVoteRequest) ProtoReflect() protoreflect.Message
func (*PicturesVoteRequest) Reset ¶
func (x *PicturesVoteRequest) Reset()
func (*PicturesVoteRequest) String ¶
func (x *PicturesVoteRequest) String() string
type PicturesVoteSummary ¶
type PicturesVoteSummary struct { Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` Positive int32 `protobuf:"varint,2,opt,name=positive,proto3" json:"positive,omitempty"` Negative int32 `protobuf:"varint,3,opt,name=negative,proto3" json:"negative,omitempty"` // contains filtered or unexported fields }
func (*PicturesVoteSummary) Descriptor
deprecated
func (*PicturesVoteSummary) Descriptor() ([]byte, []int)
Deprecated: Use PicturesVoteSummary.ProtoReflect.Descriptor instead.
func (*PicturesVoteSummary) GetNegative ¶
func (x *PicturesVoteSummary) GetNegative() int32
func (*PicturesVoteSummary) GetPositive ¶
func (x *PicturesVoteSummary) GetPositive() int32
func (*PicturesVoteSummary) GetValue ¶
func (x *PicturesVoteSummary) GetValue() int32
func (*PicturesVoteSummary) ProtoMessage ¶
func (*PicturesVoteSummary) ProtoMessage()
func (*PicturesVoteSummary) ProtoReflect ¶
func (x *PicturesVoteSummary) ProtoReflect() protoreflect.Message
func (*PicturesVoteSummary) Reset ¶
func (x *PicturesVoteSummary) Reset()
func (*PicturesVoteSummary) String ¶
func (x *PicturesVoteSummary) String() string
type Point ¶
type Point struct { Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"` Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"` // contains filtered or unexported fields }
func (*Point) Descriptor
deprecated
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
type PreviewPicturesFields ¶
type PreviewPicturesFields struct { Route bool `protobuf:"varint,1,opt,name=route,proto3" json:"route,omitempty"` Picture *PictureFields `protobuf:"bytes,2,opt,name=picture,proto3" json:"picture,omitempty"` // contains filtered or unexported fields }
func (*PreviewPicturesFields) Descriptor
deprecated
func (*PreviewPicturesFields) Descriptor() ([]byte, []int)
Deprecated: Use PreviewPicturesFields.ProtoReflect.Descriptor instead.
func (*PreviewPicturesFields) GetPicture ¶
func (x *PreviewPicturesFields) GetPicture() *PictureFields
func (*PreviewPicturesFields) GetRoute ¶
func (x *PreviewPicturesFields) GetRoute() bool
func (*PreviewPicturesFields) ProtoMessage ¶
func (*PreviewPicturesFields) ProtoMessage()
func (*PreviewPicturesFields) ProtoReflect ¶
func (x *PreviewPicturesFields) ProtoReflect() protoreflect.Message
func (*PreviewPicturesFields) Reset ¶
func (x *PreviewPicturesFields) Reset()
func (*PreviewPicturesFields) String ¶
func (x *PreviewPicturesFields) String() string
type PulseGrid ¶
type PulseGrid struct { Line []float32 `protobuf:"fixed32,1,rep,packed,name=line,proto3" json:"line,omitempty"` Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*PulseGrid) Descriptor
deprecated
func (*PulseGrid) ProtoMessage ¶
func (*PulseGrid) ProtoMessage()
func (*PulseGrid) ProtoReflect ¶
func (x *PulseGrid) ProtoReflect() protoreflect.Message
type PulseLegend ¶
type PulseLegend struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` // contains filtered or unexported fields }
func (*PulseLegend) Descriptor
deprecated
func (*PulseLegend) Descriptor() ([]byte, []int)
Deprecated: Use PulseLegend.ProtoReflect.Descriptor instead.
func (*PulseLegend) GetColor ¶
func (x *PulseLegend) GetColor() string
func (*PulseLegend) GetUserId ¶
func (x *PulseLegend) GetUserId() int64
func (*PulseLegend) ProtoMessage ¶
func (*PulseLegend) ProtoMessage()
func (*PulseLegend) ProtoReflect ¶
func (x *PulseLegend) ProtoReflect() protoreflect.Message
func (*PulseLegend) Reset ¶
func (x *PulseLegend) Reset()
func (*PulseLegend) String ¶
func (x *PulseLegend) String() string
type PulseRequest ¶
type PulseRequest struct { Period PulseRequest_Period `protobuf:"varint,1,opt,name=period,proto3,enum=goautowp.PulseRequest_Period" json:"period,omitempty"` // contains filtered or unexported fields }
func (*PulseRequest) Descriptor
deprecated
func (*PulseRequest) Descriptor() ([]byte, []int)
Deprecated: Use PulseRequest.ProtoReflect.Descriptor instead.
func (*PulseRequest) GetPeriod ¶
func (x *PulseRequest) GetPeriod() PulseRequest_Period
func (*PulseRequest) ProtoMessage ¶
func (*PulseRequest) ProtoMessage()
func (*PulseRequest) ProtoReflect ¶
func (x *PulseRequest) ProtoReflect() protoreflect.Message
func (*PulseRequest) Reset ¶
func (x *PulseRequest) Reset()
func (*PulseRequest) String ¶
func (x *PulseRequest) String() string
type PulseRequest_Period ¶
type PulseRequest_Period int32
const ( PulseRequest_DEFAULT PulseRequest_Period = 0 PulseRequest_YEAR PulseRequest_Period = 1 PulseRequest_MONTH PulseRequest_Period = 2 )
func (PulseRequest_Period) Descriptor ¶
func (PulseRequest_Period) Descriptor() protoreflect.EnumDescriptor
func (PulseRequest_Period) Enum ¶
func (x PulseRequest_Period) Enum() *PulseRequest_Period
func (PulseRequest_Period) EnumDescriptor
deprecated
func (PulseRequest_Period) EnumDescriptor() ([]byte, []int)
Deprecated: Use PulseRequest_Period.Descriptor instead.
func (PulseRequest_Period) Number ¶
func (x PulseRequest_Period) Number() protoreflect.EnumNumber
func (PulseRequest_Period) String ¶
func (x PulseRequest_Period) String() string
func (PulseRequest_Period) Type ¶
func (PulseRequest_Period) Type() protoreflect.EnumType
type PulseResponse ¶
type PulseResponse struct { Grid []*PulseGrid `protobuf:"bytes,1,rep,name=grid,proto3" json:"grid,omitempty"` Legend []*PulseLegend `protobuf:"bytes,2,rep,name=legend,proto3" json:"legend,omitempty"` Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*PulseResponse) Descriptor
deprecated
func (*PulseResponse) Descriptor() ([]byte, []int)
Deprecated: Use PulseResponse.ProtoReflect.Descriptor instead.
func (*PulseResponse) GetGrid ¶
func (x *PulseResponse) GetGrid() []*PulseGrid
func (*PulseResponse) GetLabels ¶
func (x *PulseResponse) GetLabels() []string
func (*PulseResponse) GetLegend ¶
func (x *PulseResponse) GetLegend() []*PulseLegend
func (*PulseResponse) ProtoMessage ¶
func (*PulseResponse) ProtoMessage()
func (*PulseResponse) ProtoReflect ¶
func (x *PulseResponse) ProtoReflect() protoreflect.Message
func (*PulseResponse) Reset ¶
func (x *PulseResponse) Reset()
func (*PulseResponse) String ¶
func (x *PulseResponse) String() string
type RatingClient ¶ added in v1.76.0
type RatingClient interface { GetUserPicturesRating(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIUsersRatingResponse, error) GetUserPicturesRatingBrands(ctx context.Context, in *UserRatingDetailsRequest, opts ...grpc.CallOption) (*UserRatingBrandsResponse, error) GetUserCommentsRating(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIUsersRatingResponse, error) GetUserCommentsRatingFans(ctx context.Context, in *UserRatingDetailsRequest, opts ...grpc.CallOption) (*GetUserRatingFansResponse, error) GetUserPictureLikesRating(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIUsersRatingResponse, error) GetUserPictureLikesRatingFans(ctx context.Context, in *UserRatingDetailsRequest, opts ...grpc.CallOption) (*GetUserRatingFansResponse, error) GetUserSpecsRating(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APIUsersRatingResponse, error) GetUserSpecsRatingBrands(ctx context.Context, in *UserRatingDetailsRequest, opts ...grpc.CallOption) (*UserRatingBrandsResponse, error) }
RatingClient is the client API for Rating 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 NewRatingClient ¶ added in v1.76.0
func NewRatingClient(cc grpc.ClientConnInterface) RatingClient
type RatingGRPCServer ¶ added in v1.76.0
type RatingGRPCServer struct { UnimplementedRatingServer // contains filtered or unexported fields }
func NewRatingGRPCServer ¶ added in v1.76.0
func NewRatingGRPCServer( picturesRepository *pictures.Repository, userRepository *users.Repository, itemsRepository *items.Repository, commentsRepository *comments.Repository, attrsRepository *attrs.Repository, ) *RatingGRPCServer
func (*RatingGRPCServer) GetUserCommentsRating ¶ added in v1.76.0
func (s *RatingGRPCServer) GetUserCommentsRating( ctx context.Context, _ *emptypb.Empty, ) (*APIUsersRatingResponse, error)
func (*RatingGRPCServer) GetUserCommentsRatingFans ¶ added in v1.76.0
func (s *RatingGRPCServer) GetUserCommentsRatingFans( ctx context.Context, in *UserRatingDetailsRequest, ) (*GetUserRatingFansResponse, error)
func (*RatingGRPCServer) GetUserPictureLikesRating ¶ added in v1.76.0
func (s *RatingGRPCServer) GetUserPictureLikesRating( ctx context.Context, _ *emptypb.Empty, ) (*APIUsersRatingResponse, error)
func (*RatingGRPCServer) GetUserPictureLikesRatingFans ¶ added in v1.76.0
func (s *RatingGRPCServer) GetUserPictureLikesRatingFans( ctx context.Context, in *UserRatingDetailsRequest, ) (*GetUserRatingFansResponse, error)
func (*RatingGRPCServer) GetUserPicturesRating ¶ added in v1.76.0
func (s *RatingGRPCServer) GetUserPicturesRating( ctx context.Context, _ *emptypb.Empty, ) (*APIUsersRatingResponse, error)
func (*RatingGRPCServer) GetUserPicturesRatingBrands ¶ added in v1.76.0
func (s *RatingGRPCServer) GetUserPicturesRatingBrands( ctx context.Context, in *UserRatingDetailsRequest, ) (*UserRatingBrandsResponse, error)
func (*RatingGRPCServer) GetUserSpecsRating ¶ added in v1.76.0
func (s *RatingGRPCServer) GetUserSpecsRating( ctx context.Context, _ *emptypb.Empty, ) (*APIUsersRatingResponse, error)
func (*RatingGRPCServer) GetUserSpecsRatingBrands ¶ added in v1.76.0
func (s *RatingGRPCServer) GetUserSpecsRatingBrands( ctx context.Context, in *UserRatingDetailsRequest, ) (*UserRatingBrandsResponse, error)
type RatingServer ¶ added in v1.76.0
type RatingServer interface { GetUserPicturesRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error) GetUserPicturesRatingBrands(context.Context, *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error) GetUserCommentsRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error) GetUserCommentsRatingFans(context.Context, *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error) GetUserPictureLikesRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error) GetUserPictureLikesRatingFans(context.Context, *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error) GetUserSpecsRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error) GetUserSpecsRatingBrands(context.Context, *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error) // contains filtered or unexported methods }
RatingServer is the server API for Rating service. All implementations must embed UnimplementedRatingServer for forward compatibility
type ReCaptchaConfig ¶
type ReCaptchaConfig struct { PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*ReCaptchaConfig) Descriptor
deprecated
func (*ReCaptchaConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReCaptchaConfig.ProtoReflect.Descriptor instead.
func (*ReCaptchaConfig) GetPublicKey ¶
func (x *ReCaptchaConfig) GetPublicKey() string
func (*ReCaptchaConfig) ProtoMessage ¶
func (*ReCaptchaConfig) ProtoMessage()
func (*ReCaptchaConfig) ProtoReflect ¶
func (x *ReCaptchaConfig) ProtoReflect() protoreflect.Message
func (*ReCaptchaConfig) Reset ¶
func (x *ReCaptchaConfig) Reset()
func (*ReCaptchaConfig) String ¶
func (x *ReCaptchaConfig) String() string
type Spec ¶
type Spec struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` Childs []*Spec `protobuf:"bytes,4,rep,name=childs,proto3" json:"childs,omitempty"` // contains filtered or unexported fields }
func (*Spec) Descriptor
deprecated
func (*Spec) GetShortName ¶
func (*Spec) ProtoMessage ¶
func (*Spec) ProtoMessage()
func (*Spec) ProtoReflect ¶
func (x *Spec) ProtoReflect() protoreflect.Message
type SpecsItems ¶
type SpecsItems struct { Items []*Spec `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*SpecsItems) Descriptor
deprecated
func (*SpecsItems) Descriptor() ([]byte, []int)
Deprecated: Use SpecsItems.ProtoReflect.Descriptor instead.
func (*SpecsItems) GetItems ¶
func (x *SpecsItems) GetItems() []*Spec
func (*SpecsItems) ProtoMessage ¶
func (*SpecsItems) ProtoMessage()
func (*SpecsItems) ProtoReflect ¶
func (x *SpecsItems) ProtoReflect() protoreflect.Message
func (*SpecsItems) Reset ¶
func (x *SpecsItems) Reset()
func (*SpecsItems) String ¶
func (x *SpecsItems) String() string
type StatisticsClient ¶
type StatisticsClient interface { GetPulse(ctx context.Context, in *PulseRequest, opts ...grpc.CallOption) (*PulseResponse, error) GetAboutData(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AboutDataResponse, error) }
StatisticsClient is the client API for Statistics 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 NewStatisticsClient ¶
func NewStatisticsClient(cc grpc.ClientConnInterface) StatisticsClient
type StatisticsGRPCServer ¶
type StatisticsGRPCServer struct { UnimplementedStatisticsServer // contains filtered or unexported fields }
func NewStatisticsGRPCServer ¶
func NewStatisticsGRPCServer( db *goqu.Database, enforcer *casbin.Enforcer, aboutConfig config.AboutConfig, ) *StatisticsGRPCServer
func (*StatisticsGRPCServer) GetAboutData ¶
func (s *StatisticsGRPCServer) GetAboutData(ctx context.Context, _ *emptypb.Empty) (*AboutDataResponse, error)
func (*StatisticsGRPCServer) GetPulse ¶
func (s *StatisticsGRPCServer) GetPulse(ctx context.Context, in *PulseRequest) (*PulseResponse, error)
type StatisticsServer ¶
type StatisticsServer interface { GetPulse(context.Context, *PulseRequest) (*PulseResponse, error) GetAboutData(context.Context, *emptypb.Empty) (*AboutDataResponse, error) // contains filtered or unexported methods }
StatisticsServer is the server API for Statistics service. All implementations must embed UnimplementedStatisticsServer for forward compatibility
type StatsResponse ¶ added in v1.72.0
type StatsResponse struct { Values []*StatsValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*StatsResponse) Descriptor
deprecated
added in
v1.72.0
func (*StatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.
func (*StatsResponse) GetValues ¶ added in v1.72.0
func (x *StatsResponse) GetValues() []*StatsValue
func (*StatsResponse) ProtoMessage ¶ added in v1.72.0
func (*StatsResponse) ProtoMessage()
func (*StatsResponse) ProtoReflect ¶ added in v1.72.0
func (x *StatsResponse) ProtoReflect() protoreflect.Message
func (*StatsResponse) Reset ¶ added in v1.72.0
func (x *StatsResponse) Reset()
func (*StatsResponse) String ¶ added in v1.72.0
func (x *StatsResponse) String() string
type StatsValue ¶ added in v1.72.0
type StatsValue struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*StatsValue) Descriptor
deprecated
added in
v1.72.0
func (*StatsValue) Descriptor() ([]byte, []int)
Deprecated: Use StatsValue.ProtoReflect.Descriptor instead.
func (*StatsValue) GetName ¶ added in v1.72.0
func (x *StatsValue) GetName() string
func (*StatsValue) GetTotal ¶ added in v1.72.0
func (x *StatsValue) GetTotal() int32
func (*StatsValue) GetValue ¶ added in v1.72.0
func (x *StatsValue) GetValue() int32
func (*StatsValue) ProtoMessage ¶ added in v1.72.0
func (*StatsValue) ProtoMessage()
func (*StatsValue) ProtoReflect ¶ added in v1.72.0
func (x *StatsValue) ProtoReflect() protoreflect.Message
func (*StatsValue) Reset ¶ added in v1.72.0
func (x *StatsValue) Reset()
func (*StatsValue) String ¶ added in v1.72.0
func (x *StatsValue) String() string
type TextClient ¶ added in v1.30.0
type TextClient interface {
GetText(ctx context.Context, in *APIGetTextRequest, opts ...grpc.CallOption) (*APIGetTextResponse, error)
}
TextClient is the client API for Text 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 NewTextClient ¶ added in v1.30.0
func NewTextClient(cc grpc.ClientConnInterface) TextClient
type TextGRPCServer ¶ added in v1.30.0
type TextGRPCServer struct { UnimplementedTextServer // contains filtered or unexported fields }
func NewTextGRPCServer ¶ added in v1.30.0
func NewTextGRPCServer( db *goqu.Database, ) *TextGRPCServer
func (*TextGRPCServer) GetText ¶ added in v1.30.0
func (s *TextGRPCServer) GetText(ctx context.Context, in *APIGetTextRequest) (*APIGetTextResponse, error)
type TextRevision ¶ added in v1.30.0
type TextRevision struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Revision int64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*TextRevision) Descriptor
deprecated
added in
v1.30.0
func (*TextRevision) Descriptor() ([]byte, []int)
Deprecated: Use TextRevision.ProtoReflect.Descriptor instead.
func (*TextRevision) GetRevision ¶ added in v1.30.0
func (x *TextRevision) GetRevision() int64
func (*TextRevision) GetText ¶ added in v1.30.0
func (x *TextRevision) GetText() string
func (*TextRevision) GetUserId ¶ added in v1.30.0
func (x *TextRevision) GetUserId() int64
func (*TextRevision) ProtoMessage ¶ added in v1.30.0
func (*TextRevision) ProtoMessage()
func (*TextRevision) ProtoReflect ¶ added in v1.30.0
func (x *TextRevision) ProtoReflect() protoreflect.Message
func (*TextRevision) Reset ¶ added in v1.30.0
func (x *TextRevision) Reset()
func (*TextRevision) String ¶ added in v1.30.0
func (x *TextRevision) String() string
type TextServer ¶ added in v1.30.0
type TextServer interface { GetText(context.Context, *APIGetTextRequest) (*APIGetTextResponse, error) // contains filtered or unexported methods }
TextServer is the server API for Text service. All implementations must embed UnimplementedTextServer for forward compatibility
type TrafficClient ¶
type TrafficClient interface { AddToBlacklist(ctx context.Context, in *AddToTrafficBlacklistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AddToWhitelist(ctx context.Context, in *AddToTrafficWhitelistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteFromBlacklist(ctx context.Context, in *DeleteFromTrafficBlacklistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteFromWhitelist(ctx context.Context, in *DeleteFromTrafficWhitelistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetTop(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APITrafficTopResponse, error) GetWhitelist(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*APITrafficWhitelistItems, error) }
TrafficClient is the client API for Traffic 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 NewTrafficClient ¶
func NewTrafficClient(cc grpc.ClientConnInterface) TrafficClient
type TrafficGRPCServer ¶
type TrafficGRPCServer struct { UnimplementedTrafficServer // contains filtered or unexported fields }
func NewTrafficGRPCServer ¶
func NewTrafficGRPCServer( auth *Auth, db *goqu.Database, enforcer *casbin.Enforcer, userExtractor *UserExtractor, traffic *traffic.Traffic, ) *TrafficGRPCServer
func (*TrafficGRPCServer) AddToBlacklist ¶ added in v1.5.0
func (s *TrafficGRPCServer) AddToBlacklist( ctx context.Context, in *AddToTrafficBlacklistRequest, ) (*emptypb.Empty, error)
func (*TrafficGRPCServer) AddToWhitelist ¶ added in v1.5.0
func (s *TrafficGRPCServer) AddToWhitelist( ctx context.Context, in *AddToTrafficWhitelistRequest, ) (*emptypb.Empty, error)
func (*TrafficGRPCServer) DeleteFromBlacklist ¶ added in v1.5.0
func (s *TrafficGRPCServer) DeleteFromBlacklist( ctx context.Context, in *DeleteFromTrafficBlacklistRequest, ) (*emptypb.Empty, error)
func (*TrafficGRPCServer) DeleteFromWhitelist ¶ added in v1.5.0
func (s *TrafficGRPCServer) DeleteFromWhitelist( ctx context.Context, in *DeleteFromTrafficWhitelistRequest, ) (*emptypb.Empty, error)
func (*TrafficGRPCServer) GetTop ¶ added in v1.5.0
func (s *TrafficGRPCServer) GetTop(ctx context.Context, _ *emptypb.Empty) (*APITrafficTopResponse, error)
func (*TrafficGRPCServer) GetTrafficWhitelist ¶
func (s *TrafficGRPCServer) GetTrafficWhitelist( ctx context.Context, _ *emptypb.Empty, ) (*APITrafficWhitelistItems, error)
type TrafficServer ¶
type TrafficServer interface { AddToBlacklist(context.Context, *AddToTrafficBlacklistRequest) (*emptypb.Empty, error) AddToWhitelist(context.Context, *AddToTrafficWhitelistRequest) (*emptypb.Empty, error) DeleteFromBlacklist(context.Context, *DeleteFromTrafficBlacklistRequest) (*emptypb.Empty, error) DeleteFromWhitelist(context.Context, *DeleteFromTrafficWhitelistRequest) (*emptypb.Empty, error) GetTop(context.Context, *emptypb.Empty) (*APITrafficTopResponse, error) GetWhitelist(context.Context, *emptypb.Empty) (*APITrafficWhitelistItems, error) // contains filtered or unexported methods }
TrafficServer is the server API for Traffic service. All implementations must embed UnimplementedTrafficServer for forward compatibility
type UnimplementedArticlesServer ¶ added in v1.7.0
type UnimplementedArticlesServer struct { }
UnimplementedArticlesServer must be embedded to have forward compatible implementations.
func (UnimplementedArticlesServer) GetItemByCatname ¶ added in v1.7.0
func (UnimplementedArticlesServer) GetItemByCatname(context.Context, *ArticleByCatnameRequest) (*Article, error)
func (UnimplementedArticlesServer) GetList ¶ added in v1.7.0
func (UnimplementedArticlesServer) GetList(context.Context, *ArticlesRequest) (*ArticlesResponse, error)
type UnimplementedAttrsServer ¶ added in v1.43.0
type UnimplementedAttrsServer struct { }
UnimplementedAttrsServer must be embedded to have forward compatible implementations.
func (UnimplementedAttrsServer) GetAttribute ¶ added in v1.43.0
func (UnimplementedAttrsServer) GetAttribute(context.Context, *AttrAttributeID) (*AttrAttribute, error)
func (UnimplementedAttrsServer) GetAttributeTypes ¶ added in v1.43.0
func (UnimplementedAttrsServer) GetAttributeTypes(context.Context, *emptypb.Empty) (*AttrAttributeTypesResponse, error)
func (UnimplementedAttrsServer) GetAttributes ¶ added in v1.43.0
func (UnimplementedAttrsServer) GetAttributes(context.Context, *AttrAttributesRequest) (*AttrAttributesResponse, error)
func (UnimplementedAttrsServer) GetListOptions ¶ added in v1.43.0
func (UnimplementedAttrsServer) GetListOptions(context.Context, *AttrListOptionsRequest) (*AttrListOptionsResponse, error)
func (UnimplementedAttrsServer) GetUnits ¶ added in v1.43.0
func (UnimplementedAttrsServer) GetUnits(context.Context, *emptypb.Empty) (*AttrUnitsResponse, error)
func (UnimplementedAttrsServer) GetZoneAttributes ¶ added in v1.43.0
func (UnimplementedAttrsServer) GetZoneAttributes(context.Context, *AttrZoneAttributesRequest) (*AttrZoneAttributesResponse, error)
func (UnimplementedAttrsServer) GetZones ¶ added in v1.43.0
func (UnimplementedAttrsServer) GetZones(context.Context, *emptypb.Empty) (*AttrZonesResponse, error)
type UnimplementedAutowpServer ¶
type UnimplementedAutowpServer struct { }
UnimplementedAutowpServer must be embedded to have forward compatible implementations.
func (UnimplementedAutowpServer) AclEnforce ¶
func (UnimplementedAutowpServer) AclEnforce(context.Context, *AclEnforceRequest) (*AclEnforceResult, error)
func (UnimplementedAutowpServer) CreateFeedback ¶
func (UnimplementedAutowpServer) CreateFeedback(context.Context, *APICreateFeedbackRequest) (*emptypb.Empty, error)
func (UnimplementedAutowpServer) GetBrandIcons ¶
func (UnimplementedAutowpServer) GetBrandIcons(context.Context, *emptypb.Empty) (*BrandIcons, error)
func (UnimplementedAutowpServer) GetBrandVehicleTypes ¶
func (UnimplementedAutowpServer) GetBrandVehicleTypes(context.Context, *GetBrandVehicleTypesRequest) (*BrandVehicleTypeItems, error)
func (UnimplementedAutowpServer) GetIP ¶
func (UnimplementedAutowpServer) GetIP(context.Context, *APIGetIPRequest) (*APIIP, error)
func (UnimplementedAutowpServer) GetPerspectivePages ¶
func (UnimplementedAutowpServer) GetPerspectivePages(context.Context, *emptypb.Empty) (*PerspectivePagesItems, error)
func (UnimplementedAutowpServer) GetPerspectives ¶
func (UnimplementedAutowpServer) GetPerspectives(context.Context, *emptypb.Empty) (*PerspectivesItems, error)
func (UnimplementedAutowpServer) GetReCaptchaConfig ¶
func (UnimplementedAutowpServer) GetReCaptchaConfig(context.Context, *emptypb.Empty) (*ReCaptchaConfig, error)
func (UnimplementedAutowpServer) GetSpecs ¶
func (UnimplementedAutowpServer) GetSpecs(context.Context, *emptypb.Empty) (*SpecsItems, error)
func (UnimplementedAutowpServer) GetVehicleTypes ¶
func (UnimplementedAutowpServer) GetVehicleTypes(context.Context, *emptypb.Empty) (*VehicleTypeItems, error)
type UnimplementedCommentsServer ¶
type UnimplementedCommentsServer struct { }
UnimplementedCommentsServer must be embedded to have forward compatible implementations.
func (UnimplementedCommentsServer) Add ¶ added in v1.18.0
func (UnimplementedCommentsServer) Add(context.Context, *AddCommentRequest) (*AddCommentResponse, error)
func (UnimplementedCommentsServer) GetCommentVotes ¶
func (UnimplementedCommentsServer) GetCommentVotes(context.Context, *GetCommentVotesRequest) (*CommentVoteItems, error)
func (UnimplementedCommentsServer) GetMessage ¶ added in v1.41.0
func (UnimplementedCommentsServer) GetMessage(context.Context, *GetMessageRequest) (*APICommentsMessage, error)
func (UnimplementedCommentsServer) GetMessagePage ¶ added in v1.38.0
func (UnimplementedCommentsServer) GetMessagePage(context.Context, *GetMessagePageRequest) (*APICommentsMessagePage, error)
func (UnimplementedCommentsServer) GetMessages ¶ added in v1.41.0
func (UnimplementedCommentsServer) GetMessages(context.Context, *GetMessagesRequest) (*APICommentsMessages, error)
func (UnimplementedCommentsServer) MoveComment ¶
func (UnimplementedCommentsServer) MoveComment(context.Context, *CommentsMoveCommentRequest) (*emptypb.Empty, error)
func (UnimplementedCommentsServer) SetDeleted ¶
func (UnimplementedCommentsServer) SetDeleted(context.Context, *CommentsSetDeletedRequest) (*emptypb.Empty, error)
func (UnimplementedCommentsServer) Subscribe ¶
func (UnimplementedCommentsServer) Subscribe(context.Context, *CommentsSubscribeRequest) (*emptypb.Empty, error)
func (UnimplementedCommentsServer) UnSubscribe ¶
func (UnimplementedCommentsServer) UnSubscribe(context.Context, *CommentsUnSubscribeRequest) (*emptypb.Empty, error)
func (UnimplementedCommentsServer) View ¶
func (UnimplementedCommentsServer) View(context.Context, *CommentsViewRequest) (*emptypb.Empty, error)
func (UnimplementedCommentsServer) VoteComment ¶
func (UnimplementedCommentsServer) VoteComment(context.Context, *CommentsVoteCommentRequest) (*CommentsVoteCommentResponse, error)
type UnimplementedContactsServer ¶
type UnimplementedContactsServer struct { }
UnimplementedContactsServer must be embedded to have forward compatible implementations.
func (UnimplementedContactsServer) CreateContact ¶
func (UnimplementedContactsServer) CreateContact(context.Context, *CreateContactRequest) (*emptypb.Empty, error)
func (UnimplementedContactsServer) DeleteContact ¶
func (UnimplementedContactsServer) DeleteContact(context.Context, *DeleteContactRequest) (*emptypb.Empty, error)
func (UnimplementedContactsServer) GetContact ¶
func (UnimplementedContactsServer) GetContact(context.Context, *GetContactRequest) (*Contact, error)
func (UnimplementedContactsServer) GetContacts ¶
func (UnimplementedContactsServer) GetContacts(context.Context, *GetContactsRequest) (*ContactItems, error)
type UnimplementedDonationsServer ¶
type UnimplementedDonationsServer struct { }
UnimplementedDonationsServer must be embedded to have forward compatible implementations.
func (UnimplementedDonationsServer) GetVODData ¶
func (UnimplementedDonationsServer) GetVODData(context.Context, *emptypb.Empty) (*VODDataResponse, error)
type UnimplementedForumsServer ¶ added in v1.23.0
type UnimplementedForumsServer struct { }
UnimplementedForumsServer must be embedded to have forward compatible implementations.
func (UnimplementedForumsServer) CloseTopic ¶ added in v1.24.0
func (UnimplementedForumsServer) CloseTopic(context.Context, *APISetTopicStatusRequest) (*emptypb.Empty, error)
func (UnimplementedForumsServer) CreateTopic ¶ added in v1.23.0
func (UnimplementedForumsServer) CreateTopic(context.Context, *APICreateTopicRequest) (*APICreateTopicResponse, error)
func (UnimplementedForumsServer) DeleteTopic ¶ added in v1.24.0
func (UnimplementedForumsServer) DeleteTopic(context.Context, *APISetTopicStatusRequest) (*emptypb.Empty, error)
func (UnimplementedForumsServer) GetLastMessage ¶ added in v1.37.0
func (UnimplementedForumsServer) GetLastMessage(context.Context, *APIGetForumsTopicRequest) (*APICommentMessage, error)
func (UnimplementedForumsServer) GetLastTopic ¶ added in v1.37.0
func (UnimplementedForumsServer) GetLastTopic(context.Context, *APIGetForumsThemeRequest) (*APIForumsTopic, error)
func (UnimplementedForumsServer) GetTheme ¶ added in v1.37.0
func (UnimplementedForumsServer) GetTheme(context.Context, *APIGetForumsThemeRequest) (*APIForumsTheme, error)
func (UnimplementedForumsServer) GetThemes ¶ added in v1.37.0
func (UnimplementedForumsServer) GetThemes(context.Context, *APIGetForumsThemesRequest) (*APIForumsThemes, error)
func (UnimplementedForumsServer) GetTopic ¶ added in v1.37.0
func (UnimplementedForumsServer) GetTopic(context.Context, *APIGetForumsTopicRequest) (*APIForumsTopic, error)
func (UnimplementedForumsServer) GetTopics ¶ added in v1.37.0
func (UnimplementedForumsServer) GetTopics(context.Context, *APIGetForumsTopicsRequest) (*APIForumsTopics, error)
func (UnimplementedForumsServer) GetUserSummary ¶ added in v1.23.0
func (UnimplementedForumsServer) GetUserSummary(context.Context, *emptypb.Empty) (*APIForumsUserSummary, error)
func (UnimplementedForumsServer) MoveTopic ¶ added in v1.25.0
func (UnimplementedForumsServer) MoveTopic(context.Context, *APIMoveTopicRequest) (*emptypb.Empty, error)
func (UnimplementedForumsServer) OpenTopic ¶ added in v1.24.0
func (UnimplementedForumsServer) OpenTopic(context.Context, *APISetTopicStatusRequest) (*emptypb.Empty, error)
type UnimplementedItemsServer ¶
type UnimplementedItemsServer struct { }
UnimplementedItemsServer must be embedded to have forward compatible implementations.
func (UnimplementedItemsServer) CreateItemLink ¶ added in v1.28.0
func (UnimplementedItemsServer) CreateItemLink(context.Context, *APIItemLink) (*APICreateItemLinkResponse, error)
func (UnimplementedItemsServer) CreateItemVehicleType ¶ added in v1.29.0
func (UnimplementedItemsServer) CreateItemVehicleType(context.Context, *APIItemVehicleType) (*emptypb.Empty, error)
func (UnimplementedItemsServer) DeleteItemLink ¶ added in v1.28.0
func (UnimplementedItemsServer) DeleteItemLink(context.Context, *APIItemLinkRequest) (*emptypb.Empty, error)
func (UnimplementedItemsServer) DeleteItemVehicleType ¶ added in v1.29.0
func (UnimplementedItemsServer) DeleteItemVehicleType(context.Context, *APIItemVehicleTypeRequest) (*emptypb.Empty, error)
func (UnimplementedItemsServer) GetContentLanguages ¶ added in v1.11.0
func (UnimplementedItemsServer) GetContentLanguages(context.Context, *emptypb.Empty) (*APIContentLanguages, error)
func (UnimplementedItemsServer) GetItemLanguages ¶ added in v1.50.0
func (UnimplementedItemsServer) GetItemLanguages(context.Context, *APIGetItemLanguagesRequest) (*ItemLanguages, error)
func (UnimplementedItemsServer) GetItemLink ¶ added in v1.28.0
func (UnimplementedItemsServer) GetItemLink(context.Context, *APIItemLinkRequest) (*APIItemLink, error)
func (UnimplementedItemsServer) GetItemLinks ¶ added in v1.28.0
func (UnimplementedItemsServer) GetItemLinks(context.Context, *APIGetItemLinksRequest) (*APIItemLinksResponse, error)
func (UnimplementedItemsServer) GetItemParentLanguages ¶ added in v1.49.0
func (UnimplementedItemsServer) GetItemParentLanguages(context.Context, *APIGetItemParentLanguagesRequest) (*ItemParentLanguages, error)
func (UnimplementedItemsServer) GetItemVehicleType ¶ added in v1.29.0
func (UnimplementedItemsServer) GetItemVehicleType(context.Context, *APIItemVehicleTypeRequest) (*APIItemVehicleType, error)
func (UnimplementedItemsServer) GetItemVehicleTypes ¶ added in v1.29.0
func (UnimplementedItemsServer) GetItemVehicleTypes(context.Context, *APIGetItemVehicleTypesRequest) (*APIGetItemVehicleTypesResponse, error)
func (UnimplementedItemsServer) GetStats ¶ added in v1.72.0
func (UnimplementedItemsServer) GetStats(context.Context, *emptypb.Empty) (*StatsResponse, error)
func (UnimplementedItemsServer) GetTopBrandsList ¶
func (UnimplementedItemsServer) GetTopBrandsList(context.Context, *GetTopBrandsListRequest) (*APITopBrandsList, error)
func (UnimplementedItemsServer) GetTopCategoriesList ¶
func (UnimplementedItemsServer) GetTopCategoriesList(context.Context, *GetTopCategoriesListRequest) (*APITopCategoriesList, error)
func (UnimplementedItemsServer) GetTopFactoriesList ¶
func (UnimplementedItemsServer) GetTopFactoriesList(context.Context, *GetTopFactoriesListRequest) (*APITopFactoriesList, error)
func (UnimplementedItemsServer) GetTopPersonsList ¶
func (UnimplementedItemsServer) GetTopPersonsList(context.Context, *GetTopPersonsListRequest) (*APITopPersonsList, error)
func (UnimplementedItemsServer) GetTopTwinsBrandsList ¶
func (UnimplementedItemsServer) GetTopTwinsBrandsList(context.Context, *GetTopTwinsBrandsListRequest) (*APITopTwinsBrandsList, error)
func (UnimplementedItemsServer) GetTree ¶
func (UnimplementedItemsServer) GetTree(context.Context, *GetTreeRequest) (*APITreeItem, error)
func (UnimplementedItemsServer) GetTwinsBrandsList ¶ added in v1.36.0
func (UnimplementedItemsServer) GetTwinsBrandsList(context.Context, *GetTwinsBrandsListRequest) (*APITwinsBrandsList, error)
func (UnimplementedItemsServer) Item ¶ added in v1.52.2
func (UnimplementedItemsServer) Item(context.Context, *ItemRequest) (*APIItem, error)
func (UnimplementedItemsServer) List ¶
func (UnimplementedItemsServer) List(context.Context, *ListItemsRequest) (*APIItemList, error)
func (UnimplementedItemsServer) UpdateItemLink ¶ added in v1.28.0
func (UnimplementedItemsServer) UpdateItemLink(context.Context, *APIItemLink) (*emptypb.Empty, error)
type UnimplementedMapServer ¶
type UnimplementedMapServer struct { }
UnimplementedMapServer must be embedded to have forward compatible implementations.
func (UnimplementedMapServer) GetPoints ¶
func (UnimplementedMapServer) GetPoints(context.Context, *MapGetPointsRequest) (*MapPoints, error)
type UnimplementedMessagingServer ¶
type UnimplementedMessagingServer struct { }
UnimplementedMessagingServer must be embedded to have forward compatible implementations.
func (UnimplementedMessagingServer) ClearFolder ¶
func (UnimplementedMessagingServer) ClearFolder(context.Context, *MessagingClearFolder) (*emptypb.Empty, error)
func (UnimplementedMessagingServer) CreateMessage ¶
func (UnimplementedMessagingServer) CreateMessage(context.Context, *MessagingCreateMessage) (*emptypb.Empty, error)
func (UnimplementedMessagingServer) DeleteMessage ¶
func (UnimplementedMessagingServer) DeleteMessage(context.Context, *MessagingDeleteMessage) (*emptypb.Empty, error)
func (UnimplementedMessagingServer) GetMessages ¶
func (UnimplementedMessagingServer) GetMessages(context.Context, *MessagingGetMessagesRequest) (*MessagingGetMessagesResponse, error)
func (UnimplementedMessagingServer) GetMessagesNewCount ¶
func (UnimplementedMessagingServer) GetMessagesNewCount(context.Context, *emptypb.Empty) (*APIMessageNewCount, error)
func (UnimplementedMessagingServer) GetMessagesSummary ¶
func (UnimplementedMessagingServer) GetMessagesSummary(context.Context, *emptypb.Empty) (*APIMessageSummary, error)
type UnimplementedPicturesServer ¶
type UnimplementedPicturesServer struct { }
UnimplementedPicturesServer must be embedded to have forward compatible implementations.
func (UnimplementedPicturesServer) CreateModerVoteTemplate ¶
func (UnimplementedPicturesServer) CreateModerVoteTemplate(context.Context, *ModerVoteTemplate) (*ModerVoteTemplate, error)
func (UnimplementedPicturesServer) DeleteModerVoteTemplate ¶
func (UnimplementedPicturesServer) DeleteModerVoteTemplate(context.Context, *DeleteModerVoteTemplateRequest) (*emptypb.Empty, error)
func (UnimplementedPicturesServer) GetModerVoteTemplates ¶
func (UnimplementedPicturesServer) GetModerVoteTemplates(context.Context, *emptypb.Empty) (*ModerVoteTemplates, error)
func (UnimplementedPicturesServer) View ¶
func (UnimplementedPicturesServer) View(context.Context, *PicturesViewRequest) (*emptypb.Empty, error)
func (UnimplementedPicturesServer) Vote ¶
func (UnimplementedPicturesServer) Vote(context.Context, *PicturesVoteRequest) (*PicturesVoteSummary, error)
type UnimplementedRatingServer ¶ added in v1.76.0
type UnimplementedRatingServer struct { }
UnimplementedRatingServer must be embedded to have forward compatible implementations.
func (UnimplementedRatingServer) GetUserCommentsRating ¶ added in v1.76.0
func (UnimplementedRatingServer) GetUserCommentsRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
func (UnimplementedRatingServer) GetUserCommentsRatingFans ¶ added in v1.76.0
func (UnimplementedRatingServer) GetUserCommentsRatingFans(context.Context, *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error)
func (UnimplementedRatingServer) GetUserPictureLikesRating ¶ added in v1.76.0
func (UnimplementedRatingServer) GetUserPictureLikesRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
func (UnimplementedRatingServer) GetUserPictureLikesRatingFans ¶ added in v1.76.0
func (UnimplementedRatingServer) GetUserPictureLikesRatingFans(context.Context, *UserRatingDetailsRequest) (*GetUserRatingFansResponse, error)
func (UnimplementedRatingServer) GetUserPicturesRating ¶ added in v1.76.0
func (UnimplementedRatingServer) GetUserPicturesRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
func (UnimplementedRatingServer) GetUserPicturesRatingBrands ¶ added in v1.76.0
func (UnimplementedRatingServer) GetUserPicturesRatingBrands(context.Context, *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error)
func (UnimplementedRatingServer) GetUserSpecsRating ¶ added in v1.76.0
func (UnimplementedRatingServer) GetUserSpecsRating(context.Context, *emptypb.Empty) (*APIUsersRatingResponse, error)
func (UnimplementedRatingServer) GetUserSpecsRatingBrands ¶ added in v1.76.0
func (UnimplementedRatingServer) GetUserSpecsRatingBrands(context.Context, *UserRatingDetailsRequest) (*UserRatingBrandsResponse, error)
type UnimplementedStatisticsServer ¶
type UnimplementedStatisticsServer struct { }
UnimplementedStatisticsServer must be embedded to have forward compatible implementations.
func (UnimplementedStatisticsServer) GetAboutData ¶
func (UnimplementedStatisticsServer) GetAboutData(context.Context, *emptypb.Empty) (*AboutDataResponse, error)
func (UnimplementedStatisticsServer) GetPulse ¶
func (UnimplementedStatisticsServer) GetPulse(context.Context, *PulseRequest) (*PulseResponse, error)
type UnimplementedTextServer ¶ added in v1.30.0
type UnimplementedTextServer struct { }
UnimplementedTextServer must be embedded to have forward compatible implementations.
func (UnimplementedTextServer) GetText ¶ added in v1.30.0
func (UnimplementedTextServer) GetText(context.Context, *APIGetTextRequest) (*APIGetTextResponse, error)
type UnimplementedTrafficServer ¶
type UnimplementedTrafficServer struct { }
UnimplementedTrafficServer must be embedded to have forward compatible implementations.
func (UnimplementedTrafficServer) AddToBlacklist ¶
func (UnimplementedTrafficServer) AddToBlacklist(context.Context, *AddToTrafficBlacklistRequest) (*emptypb.Empty, error)
func (UnimplementedTrafficServer) AddToWhitelist ¶
func (UnimplementedTrafficServer) AddToWhitelist(context.Context, *AddToTrafficWhitelistRequest) (*emptypb.Empty, error)
func (UnimplementedTrafficServer) DeleteFromBlacklist ¶
func (UnimplementedTrafficServer) DeleteFromBlacklist(context.Context, *DeleteFromTrafficBlacklistRequest) (*emptypb.Empty, error)
func (UnimplementedTrafficServer) DeleteFromWhitelist ¶
func (UnimplementedTrafficServer) DeleteFromWhitelist(context.Context, *DeleteFromTrafficWhitelistRequest) (*emptypb.Empty, error)
func (UnimplementedTrafficServer) GetTop ¶
func (UnimplementedTrafficServer) GetTop(context.Context, *emptypb.Empty) (*APITrafficTopResponse, error)
func (UnimplementedTrafficServer) GetWhitelist ¶
func (UnimplementedTrafficServer) GetWhitelist(context.Context, *emptypb.Empty) (*APITrafficWhitelistItems, error)
type UnimplementedUsersServer ¶
type UnimplementedUsersServer struct { }
UnimplementedUsersServer must be embedded to have forward compatible implementations.
func (UnimplementedUsersServer) DeleteUser ¶
func (UnimplementedUsersServer) DeleteUser(context.Context, *APIDeleteUserRequest) (*emptypb.Empty, error)
func (UnimplementedUsersServer) DisableUserCommentsNotifications ¶ added in v1.1.0
func (UnimplementedUsersServer) DisableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error)
func (UnimplementedUsersServer) EnableUserCommentsNotifications ¶ added in v1.1.0
func (UnimplementedUsersServer) EnableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error)
func (UnimplementedUsersServer) GetUser ¶
func (UnimplementedUsersServer) GetUser(context.Context, *APIGetUserRequest) (*APIUser, error)
func (UnimplementedUsersServer) GetUserPreferences ¶ added in v1.1.0
func (UnimplementedUsersServer) GetUserPreferences(context.Context, *APIUserPreferencesRequest) (*APIUserPreferencesResponse, error)
func (UnimplementedUsersServer) GetUsers ¶ added in v1.32.0
func (UnimplementedUsersServer) GetUsers(context.Context, *APIUsersRequest) (*APIUsersResponse, error)
func (UnimplementedUsersServer) Me ¶
func (UnimplementedUsersServer) Me(context.Context, *APIMeRequest) (*APIUser, error)
type UnsafeArticlesServer ¶ added in v1.7.0
type UnsafeArticlesServer interface {
// contains filtered or unexported methods
}
UnsafeArticlesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ArticlesServer will result in compilation errors.
type UnsafeAttrsServer ¶ added in v1.43.0
type UnsafeAttrsServer interface {
// contains filtered or unexported methods
}
UnsafeAttrsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AttrsServer will result in compilation errors.
type UnsafeAutowpServer ¶
type UnsafeAutowpServer interface {
// contains filtered or unexported methods
}
UnsafeAutowpServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AutowpServer will result in compilation errors.
type UnsafeCommentsServer ¶
type UnsafeCommentsServer interface {
// contains filtered or unexported methods
}
UnsafeCommentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommentsServer will result in compilation errors.
type UnsafeContactsServer ¶
type UnsafeContactsServer interface {
// contains filtered or unexported methods
}
UnsafeContactsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContactsServer will result in compilation errors.
type UnsafeDonationsServer ¶
type UnsafeDonationsServer interface {
// contains filtered or unexported methods
}
UnsafeDonationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DonationsServer will result in compilation errors.
type UnsafeForumsServer ¶ added in v1.23.0
type UnsafeForumsServer interface {
// contains filtered or unexported methods
}
UnsafeForumsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ForumsServer will result in compilation errors.
type UnsafeItemsServer ¶
type UnsafeItemsServer interface {
// contains filtered or unexported methods
}
UnsafeItemsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ItemsServer will result in compilation errors.
type UnsafeMapServer ¶
type UnsafeMapServer interface {
// contains filtered or unexported methods
}
UnsafeMapServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MapServer will result in compilation errors.
type UnsafeMessagingServer ¶
type UnsafeMessagingServer interface {
// contains filtered or unexported methods
}
UnsafeMessagingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessagingServer will result in compilation errors.
type UnsafePicturesServer ¶
type UnsafePicturesServer interface {
// contains filtered or unexported methods
}
UnsafePicturesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PicturesServer will result in compilation errors.
type UnsafeRatingServer ¶ added in v1.76.0
type UnsafeRatingServer interface {
// contains filtered or unexported methods
}
UnsafeRatingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RatingServer will result in compilation errors.
type UnsafeStatisticsServer ¶
type UnsafeStatisticsServer interface {
// contains filtered or unexported methods
}
UnsafeStatisticsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StatisticsServer will result in compilation errors.
type UnsafeTextServer ¶ added in v1.30.0
type UnsafeTextServer interface {
// contains filtered or unexported methods
}
UnsafeTextServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TextServer will result in compilation errors.
type UnsafeTrafficServer ¶
type UnsafeTrafficServer interface {
// contains filtered or unexported methods
}
UnsafeTrafficServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TrafficServer will result in compilation errors.
type UnsafeUsersServer ¶
type UnsafeUsersServer interface {
// contains filtered or unexported methods
}
UnsafeUsersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersServer will result in compilation errors.
type UserExtractor ¶ added in v1.65.0
type UserExtractor struct {
// contains filtered or unexported fields
}
func NewUserExtractor ¶ added in v1.65.0
func NewUserExtractor(enforcer *casbin.Enforcer, imageStorage *storage.Storage) *UserExtractor
type UserRatingBrandsResponse ¶ added in v1.76.0
type UserRatingBrandsResponse struct { Brands []*APIUsersRatingUserBrand `protobuf:"bytes,1,rep,name=brands,proto3" json:"brands,omitempty"` // contains filtered or unexported fields }
func (*UserRatingBrandsResponse) Descriptor
deprecated
added in
v1.76.0
func (*UserRatingBrandsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserRatingBrandsResponse.ProtoReflect.Descriptor instead.
func (*UserRatingBrandsResponse) GetBrands ¶ added in v1.76.0
func (x *UserRatingBrandsResponse) GetBrands() []*APIUsersRatingUserBrand
func (*UserRatingBrandsResponse) ProtoMessage ¶ added in v1.76.0
func (*UserRatingBrandsResponse) ProtoMessage()
func (*UserRatingBrandsResponse) ProtoReflect ¶ added in v1.76.0
func (x *UserRatingBrandsResponse) ProtoReflect() protoreflect.Message
func (*UserRatingBrandsResponse) Reset ¶ added in v1.76.0
func (x *UserRatingBrandsResponse) Reset()
func (*UserRatingBrandsResponse) String ¶ added in v1.76.0
func (x *UserRatingBrandsResponse) String() string
type UserRatingDetailsRequest ¶ added in v1.76.0
type UserRatingDetailsRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*UserRatingDetailsRequest) Descriptor
deprecated
added in
v1.76.0
func (*UserRatingDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRatingDetailsRequest.ProtoReflect.Descriptor instead.
func (*UserRatingDetailsRequest) GetLanguage ¶ added in v1.77.2
func (x *UserRatingDetailsRequest) GetLanguage() string
func (*UserRatingDetailsRequest) GetUserId ¶ added in v1.76.0
func (x *UserRatingDetailsRequest) GetUserId() int64
func (*UserRatingDetailsRequest) ProtoMessage ¶ added in v1.76.0
func (*UserRatingDetailsRequest) ProtoMessage()
func (*UserRatingDetailsRequest) ProtoReflect ¶ added in v1.76.0
func (x *UserRatingDetailsRequest) ProtoReflect() protoreflect.Message
func (*UserRatingDetailsRequest) Reset ¶ added in v1.76.0
func (x *UserRatingDetailsRequest) Reset()
func (*UserRatingDetailsRequest) String ¶ added in v1.76.0
func (x *UserRatingDetailsRequest) String() string
type UsersClient ¶
type UsersClient interface { DeleteUser(ctx context.Context, in *APIDeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetUser(ctx context.Context, in *APIGetUserRequest, opts ...grpc.CallOption) (*APIUser, error) Me(ctx context.Context, in *APIMeRequest, opts ...grpc.CallOption) (*APIUser, error) GetUserPreferences(ctx context.Context, in *APIUserPreferencesRequest, opts ...grpc.CallOption) (*APIUserPreferencesResponse, error) DisableUserCommentsNotifications(ctx context.Context, in *APIUserPreferencesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) EnableUserCommentsNotifications(ctx context.Context, in *APIUserPreferencesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetUsers(ctx context.Context, in *APIUsersRequest, opts ...grpc.CallOption) (*APIUsersResponse, error) }
UsersClient is the client API for Users 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 NewUsersClient ¶
func NewUsersClient(cc grpc.ClientConnInterface) UsersClient
type UsersGRPCServer ¶
type UsersGRPCServer struct { UnimplementedUsersServer // contains filtered or unexported fields }
func NewUsersGRPCServer ¶
func NewUsersGRPCServer( auth *Auth, enforcer *casbin.Enforcer, contactsRepository *ContactsRepository, userRepository *users.Repository, events *Events, languages map[string]config.LanguageConfig, captcha bool, userExtractor *UserExtractor, ) *UsersGRPCServer
func (*UsersGRPCServer) DeleteUser ¶
func (s *UsersGRPCServer) DeleteUser(ctx context.Context, in *APIDeleteUserRequest) (*emptypb.Empty, error)
func (*UsersGRPCServer) DisableUserCommentsNotifications ¶ added in v1.1.0
func (s *UsersGRPCServer) DisableUserCommentsNotifications( ctx context.Context, in *APIUserPreferencesRequest, ) (*emptypb.Empty, error)
func (*UsersGRPCServer) EnableUserCommentsNotifications ¶ added in v1.1.0
func (s *UsersGRPCServer) EnableUserCommentsNotifications( ctx context.Context, in *APIUserPreferencesRequest, ) (*emptypb.Empty, error)
func (*UsersGRPCServer) GetUser ¶
func (s *UsersGRPCServer) GetUser(ctx context.Context, in *APIGetUserRequest) (*APIUser, error)
func (*UsersGRPCServer) GetUserPreferences ¶ added in v1.1.0
func (s *UsersGRPCServer) GetUserPreferences( ctx context.Context, in *APIUserPreferencesRequest, ) (*APIUserPreferencesResponse, error)
func (*UsersGRPCServer) GetUsers ¶ added in v1.32.0
func (s *UsersGRPCServer) GetUsers(ctx context.Context, in *APIUsersRequest) (*APIUsersResponse, error)
func (*UsersGRPCServer) Me ¶
func (s *UsersGRPCServer) Me(ctx context.Context, _ *APIMeRequest) (*APIUser, error)
type UsersServer ¶
type UsersServer interface { DeleteUser(context.Context, *APIDeleteUserRequest) (*emptypb.Empty, error) GetUser(context.Context, *APIGetUserRequest) (*APIUser, error) Me(context.Context, *APIMeRequest) (*APIUser, error) GetUserPreferences(context.Context, *APIUserPreferencesRequest) (*APIUserPreferencesResponse, error) DisableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error) EnableUserCommentsNotifications(context.Context, *APIUserPreferencesRequest) (*emptypb.Empty, error) GetUsers(context.Context, *APIUsersRequest) (*APIUsersResponse, error) // contains filtered or unexported methods }
UsersServer is the server API for Users service. All implementations must embed UnimplementedUsersServer for forward compatibility
type VODDataDate ¶
type VODDataDate struct { Date *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Free bool `protobuf:"varint,2,opt,name=free,proto3" json:"free,omitempty"` // contains filtered or unexported fields }
func (*VODDataDate) Descriptor
deprecated
func (*VODDataDate) Descriptor() ([]byte, []int)
Deprecated: Use VODDataDate.ProtoReflect.Descriptor instead.
func (*VODDataDate) GetDate ¶
func (x *VODDataDate) GetDate() *timestamppb.Timestamp
func (*VODDataDate) GetFree ¶
func (x *VODDataDate) GetFree() bool
func (*VODDataDate) ProtoMessage ¶
func (*VODDataDate) ProtoMessage()
func (*VODDataDate) ProtoReflect ¶
func (x *VODDataDate) ProtoReflect() protoreflect.Message
func (*VODDataDate) Reset ¶
func (x *VODDataDate) Reset()
func (*VODDataDate) String ¶
func (x *VODDataDate) String() string
type VODDataResponse ¶
type VODDataResponse struct { Dates []*VODDataDate `protobuf:"bytes,1,rep,name=dates,proto3" json:"dates,omitempty"` Sum int32 `protobuf:"varint,2,opt,name=sum,proto3" json:"sum,omitempty"` // contains filtered or unexported fields }
func (*VODDataResponse) Descriptor
deprecated
func (*VODDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use VODDataResponse.ProtoReflect.Descriptor instead.
func (*VODDataResponse) GetDates ¶
func (x *VODDataResponse) GetDates() []*VODDataDate
func (*VODDataResponse) GetSum ¶
func (x *VODDataResponse) GetSum() int32
func (*VODDataResponse) ProtoMessage ¶
func (*VODDataResponse) ProtoMessage()
func (*VODDataResponse) ProtoReflect ¶
func (x *VODDataResponse) ProtoReflect() protoreflect.Message
func (*VODDataResponse) Reset ¶
func (x *VODDataResponse) Reset()
func (*VODDataResponse) String ¶
func (x *VODDataResponse) String() string
type VehicleType ¶
type VehicleType struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Childs []*VehicleType `protobuf:"bytes,4,rep,name=childs,proto3" json:"childs,omitempty"` // contains filtered or unexported fields }
func (*VehicleType) Descriptor
deprecated
func (*VehicleType) Descriptor() ([]byte, []int)
Deprecated: Use VehicleType.ProtoReflect.Descriptor instead.
func (*VehicleType) GetChilds ¶
func (x *VehicleType) GetChilds() []*VehicleType
func (*VehicleType) GetId ¶
func (x *VehicleType) GetId() int32
func (*VehicleType) GetName ¶
func (x *VehicleType) GetName() string
func (*VehicleType) ProtoMessage ¶
func (*VehicleType) ProtoMessage()
func (*VehicleType) ProtoReflect ¶
func (x *VehicleType) ProtoReflect() protoreflect.Message
func (*VehicleType) Reset ¶
func (x *VehicleType) Reset()
func (*VehicleType) String ¶
func (x *VehicleType) String() string
type VehicleTypeItems ¶
type VehicleTypeItems struct { Items []*VehicleType `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*VehicleTypeItems) Descriptor
deprecated
func (*VehicleTypeItems) Descriptor() ([]byte, []int)
Deprecated: Use VehicleTypeItems.ProtoReflect.Descriptor instead.
func (*VehicleTypeItems) GetItems ¶
func (x *VehicleTypeItems) GetItems() []*VehicleType
func (*VehicleTypeItems) ProtoMessage ¶
func (*VehicleTypeItems) ProtoMessage()
func (*VehicleTypeItems) ProtoReflect ¶
func (x *VehicleTypeItems) ProtoReflect() protoreflect.Message
func (*VehicleTypeItems) Reset ¶
func (x *VehicleTypeItems) Reset()
func (*VehicleTypeItems) String ¶
func (x *VehicleTypeItems) String() string
type YoomoneyHandler ¶ added in v1.68.0
type YoomoneyHandler struct {
// contains filtered or unexported fields
}
func NewYoomoneyHandler ¶ added in v1.68.0
func NewYoomoneyHandler( price string, notificationSecret string, itemOfDay *itemofday.Repository, ) (*YoomoneyHandler, error)
func (*YoomoneyHandler) Handle ¶ added in v1.68.0
func (s *YoomoneyHandler) Handle(ctx context.Context, fields YoomoneyWebhook) error
func (*YoomoneyHandler) Hash ¶ added in v1.68.0
func (s *YoomoneyHandler) Hash(fields YoomoneyWebhook) (string, error)
func (*YoomoneyHandler) SetupRouter ¶ added in v1.68.0
func (s *YoomoneyHandler) SetupRouter(_ context.Context, r *gin.Engine)
type YoomoneyWebhook ¶ added in v1.68.0
type YoomoneyWebhook struct { NotificationType string `binding:"required" form:"notification_type" json:"notification_type"` OperationID string `binding:"required" form:"operation_id" json:"operation_id"` Amount string `binding:"required" form:"amount" json:"amount"` WithdrawAmount string `form:"withdraw_amount" json:"withdraw_amount"` Currency string `binding:"required" form:"currency" json:"currency"` Datetime string `binding:"required" form:"datetime" json:"datetime"` Sender string `form:"sender" json:"sender"` Codepro string `binding:"required" form:"codepro" json:"codepro"` Label string `form:"label" json:"label"` SHA1Hash string `binding:"required" form:"sha1_hash" json:"sha1_hash"` TestNotification bool `form:"test_notification" json:"test_notification"` Unaccepted bool `form:"unaccepted" json:"unaccepted"` }
Source Files ¶
- app.go
- articles-grpc.go
- attrs-grpc.go
- auth.go
- catalogue.go
- comments-grpc.go
- contacts-grpc.go
- contacts-repository.go
- container.go
- donations-grpc.go
- duplicate-finder.go
- events.go
- feedback.go
- forums-grpc.go
- forums.go
- grpc.go
- ip-extractor.go
- item-extractor.go
- items-grpc.go
- map-grpc.go
- messaging-grpc.go
- pictures-grpc.go
- rating-grpc.go
- spec.pb.go
- spec_grpc.pb.go
- statistics-grpc.go
- test-utils.go
- text-grpc.go
- traffic-grpc.go
- user-extractor.go
- users-grpc.go
- yoomoney.go