Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterContentServiceServer(s grpc.ServiceRegistrar, srv ContentServiceServer)
- type Article
- func (*Article) Descriptor() ([]byte, []int)deprecated
- func (x *Article) GetArticleUrl() string
- func (x *Article) GetAuthorName() *wrapperspb.StringValue
- func (x *Article) GetBookmarkId() *wrapperspb.StringValue
- func (x *Article) GetComment() *ArticleComment
- func (x *Article) GetCreatedAt() *timestamppb.Timestamp
- func (x *Article) GetDescription() string
- func (x *Article) GetFavoriteArticleFolderIds() []string
- func (x *Article) GetFeeds() []*Feed
- func (x *Article) GetId() string
- func (x *Article) GetIsBookmarked() bool
- func (x *Article) GetIsEng() bool
- func (x *Article) GetIsFollowing() bool
- func (x *Article) GetIsPrivate() bool
- func (x *Article) GetIsTrend() bool
- func (x *Article) GetLikeCount() int64
- func (x *Article) GetPlatform() *Platform
- func (x *Article) GetPublishedAt() *timestamppb.Timestamp
- func (x *Article) GetTags() *wrapperspb.StringValue
- func (x *Article) GetThumbnailUrl() string
- func (x *Article) GetTitle() string
- func (x *Article) GetUpdatedAt() *timestamppb.Timestamp
- func (*Article) ProtoMessage()
- func (x *Article) ProtoReflect() protoreflect.Message
- func (x *Article) Reset()
- func (x *Article) String() string
- type ArticleComment
- func (*ArticleComment) Descriptor() ([]byte, []int)deprecated
- func (x *ArticleComment) GetArticleId() string
- func (x *ArticleComment) GetComment() string
- func (x *ArticleComment) GetCreatedAt() *timestamppb.Timestamp
- func (x *ArticleComment) GetId() string
- func (x *ArticleComment) GetUpdatedAt() *timestamppb.Timestamp
- func (x *ArticleComment) GetUserId() string
- func (*ArticleComment) ProtoMessage()
- func (x *ArticleComment) ProtoReflect() protoreflect.Message
- func (x *ArticleComment) Reset()
- func (x *ArticleComment) String() string
- type ArticleEdge
- func (*ArticleEdge) Descriptor() ([]byte, []int)deprecated
- func (x *ArticleEdge) GetArticle() *Article
- func (x *ArticleEdge) GetCursor() string
- func (*ArticleEdge) ProtoMessage()
- func (x *ArticleEdge) ProtoReflect() protoreflect.Message
- func (x *ArticleEdge) Reset()
- func (x *ArticleEdge) String() string
- type Category
- func (*Category) Descriptor() ([]byte, []int)deprecated
- func (x *Category) GetCreatedAt() *timestamppb.Timestamp
- func (x *Category) GetDeletedAt() *timestamppb.Timestamp
- func (x *Category) GetId() string
- func (x *Category) GetName() string
- func (x *Category) GetType() int64
- func (x *Category) GetUpdatedAt() *timestamppb.Timestamp
- func (*Category) ProtoMessage()
- func (x *Category) ProtoReflect() protoreflect.Message
- func (x *Category) Reset()
- func (x *Category) String() string
- type ContentServiceClient
- type ContentServiceServer
- type CreateArticleResponse
- func (*CreateArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateArticleResponse) GetArticle() *Article
- func (*CreateArticleResponse) ProtoMessage()
- func (x *CreateArticleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateArticleResponse) Reset()
- func (x *CreateArticleResponse) String() string
- type CreateUploadArticleRequest
- func (*CreateUploadArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUploadArticleRequest) GetArticleUrl() string
- func (x *CreateUploadArticleRequest) GetDescription() string
- func (x *CreateUploadArticleRequest) GetPlatformFaviconUrl() string
- func (x *CreateUploadArticleRequest) GetPlatformName() string
- func (x *CreateUploadArticleRequest) GetPlatformUrl() string
- func (x *CreateUploadArticleRequest) GetThumbnailUrl() string
- func (x *CreateUploadArticleRequest) GetTitle() string
- func (x *CreateUploadArticleRequest) GetUserId() string
- func (*CreateUploadArticleRequest) ProtoMessage()
- func (x *CreateUploadArticleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUploadArticleRequest) Reset()
- func (x *CreateUploadArticleRequest) String() string
- type DeleteArticleCommentRequest
- func (*DeleteArticleCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteArticleCommentRequest) GetId() string
- func (x *DeleteArticleCommentRequest) GetUserId() string
- func (*DeleteArticleCommentRequest) ProtoMessage()
- func (x *DeleteArticleCommentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteArticleCommentRequest) Reset()
- func (x *DeleteArticleCommentRequest) String() string
- type Feed
- func (*Feed) Descriptor() ([]byte, []int)deprecated
- func (x *Feed) GetApiQueryParam() *wrapperspb.StringValue
- func (x *Feed) GetCategory() *Category
- func (x *Feed) GetCreatedAt() *timestamppb.Timestamp
- func (x *Feed) GetDeletedAt() *timestamppb.Timestamp
- func (x *Feed) GetDescription() string
- func (x *Feed) GetId() string
- func (x *Feed) GetMyFeedIds() []string
- func (x *Feed) GetName() string
- func (x *Feed) GetPlatform() *Platform
- func (x *Feed) GetRssUrl() string
- func (x *Feed) GetSiteUrl() string
- func (x *Feed) GetThumbnailUrl() string
- func (x *Feed) GetTrendPlatformType() int64
- func (x *Feed) GetUpdatedAt() *timestamppb.Timestamp
- func (*Feed) ProtoMessage()
- func (x *Feed) ProtoReflect() protoreflect.Message
- func (x *Feed) Reset()
- func (x *Feed) String() string
- type FeedEdge
- type GetArticleOGPRequest
- func (*GetArticleOGPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArticleOGPRequest) GetArticleUrl() string
- func (*GetArticleOGPRequest) ProtoMessage()
- func (x *GetArticleOGPRequest) ProtoReflect() protoreflect.Message
- func (x *GetArticleOGPRequest) Reset()
- func (x *GetArticleOGPRequest) String() string
- type GetArticleOGPResponse
- func (*GetArticleOGPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetArticleOGPResponse) GetOgp() *OGP
- func (*GetArticleOGPResponse) ProtoMessage()
- func (x *GetArticleOGPResponse) ProtoReflect() protoreflect.Message
- func (x *GetArticleOGPResponse) Reset()
- func (x *GetArticleOGPResponse) String() string
- type GetArticleRequest
- func (*GetArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArticleRequest) GetArticleId() string
- func (x *GetArticleRequest) GetUserId() string
- func (*GetArticleRequest) ProtoMessage()
- func (x *GetArticleRequest) ProtoReflect() protoreflect.Message
- func (x *GetArticleRequest) Reset()
- func (x *GetArticleRequest) String() string
- type GetArticleResponse
- func (*GetArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetArticleResponse) GetArticle() *Article
- func (*GetArticleResponse) ProtoMessage()
- func (x *GetArticleResponse) ProtoReflect() protoreflect.Message
- func (x *GetArticleResponse) Reset()
- func (x *GetArticleResponse) String() string
- type GetFeedRequest
- func (*GetFeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeedRequest) GetFeedId() string
- func (x *GetFeedRequest) GetUserId() string
- func (*GetFeedRequest) ProtoMessage()
- func (x *GetFeedRequest) ProtoReflect() protoreflect.Message
- func (x *GetFeedRequest) Reset()
- func (x *GetFeedRequest) String() string
- type GetFeedResponse
- type GetFeedsRequest
- func (*GetFeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeedsRequest) GetCursor() string
- func (x *GetFeedsRequest) GetFeedIds() []*wrapperspb.StringValue
- func (x *GetFeedsRequest) GetIsAllFetch() *wrapperspb.BoolValue
- func (x *GetFeedsRequest) GetKeywords() []*wrapperspb.StringValue
- func (x *GetFeedsRequest) GetLimit() int64
- func (x *GetFeedsRequest) GetPlatformId() *wrapperspb.StringValue
- func (x *GetFeedsRequest) GetPlatformSiteType() *wrapperspb.Int64Value
- func (x *GetFeedsRequest) GetUserId() string
- func (*GetFeedsRequest) ProtoMessage()
- func (x *GetFeedsRequest) ProtoReflect() protoreflect.Message
- func (x *GetFeedsRequest) Reset()
- func (x *GetFeedsRequest) String() string
- type GetFeedsResponse
- func (*GetFeedsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeedsResponse) GetFeedEdge() []*FeedEdge
- func (x *GetFeedsResponse) GetPageInfo() *common.PageInfo
- func (*GetFeedsResponse) ProtoMessage()
- func (x *GetFeedsResponse) ProtoReflect() protoreflect.Message
- func (x *GetFeedsResponse) Reset()
- func (x *GetFeedsResponse) String() string
- type GetUserSavedArticleRequest
- func (*GetUserSavedArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSavedArticleRequest) GetArticleId() string
- func (x *GetUserSavedArticleRequest) GetUserId() string
- func (*GetUserSavedArticleRequest) ProtoMessage()
- func (x *GetUserSavedArticleRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserSavedArticleRequest) Reset()
- func (x *GetUserSavedArticleRequest) String() string
- type GetUserSavedArticleResponse
- func (*GetUserSavedArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSavedArticleResponse) GetArticle() *Article
- func (*GetUserSavedArticleResponse) ProtoMessage()
- func (x *GetUserSavedArticleResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserSavedArticleResponse) Reset()
- func (x *GetUserSavedArticleResponse) String() string
- type ListArticleByArticleURLRequest
- func (*ListArticleByArticleURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListArticleByArticleURLRequest) GetArticleUrl() string
- func (x *ListArticleByArticleURLRequest) GetCursor() string
- func (x *ListArticleByArticleURLRequest) GetLimit() int64
- func (*ListArticleByArticleURLRequest) ProtoMessage()
- func (x *ListArticleByArticleURLRequest) ProtoReflect() protoreflect.Message
- func (x *ListArticleByArticleURLRequest) Reset()
- func (x *ListArticleByArticleURLRequest) String() string
- type ListArticleByArticleURLResponse
- func (*ListArticleByArticleURLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListArticleByArticleURLResponse) GetArticlesEdge() []*TemporaryArticleEdge
- func (x *ListArticleByArticleURLResponse) GetPageInfo() *common.PageInfo
- func (*ListArticleByArticleURLResponse) ProtoMessage()
- func (x *ListArticleByArticleURLResponse) ProtoReflect() protoreflect.Message
- func (x *ListArticleByArticleURLResponse) Reset()
- func (x *ListArticleByArticleURLResponse) String() string
- type ListArticleRequest
- func (*ListArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListArticleRequest) GetCursor() string
- func (x *ListArticleRequest) GetFeedIds() []*wrapperspb.StringValue
- func (x *ListArticleRequest) GetKeywords() []*wrapperspb.StringValue
- func (x *ListArticleRequest) GetLanguageStatus() *wrapperspb.Int64Value
- func (x *ListArticleRequest) GetLimit() int64
- func (x *ListArticleRequest) GetTag() *wrapperspb.StringValue
- func (x *ListArticleRequest) GetUserId() *wrapperspb.StringValue
- func (*ListArticleRequest) ProtoMessage()
- func (x *ListArticleRequest) ProtoReflect() protoreflect.Message
- func (x *ListArticleRequest) Reset()
- func (x *ListArticleRequest) String() string
- type ListArticleResponse
- func (*ListArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListArticleResponse) GetArticlesEdge() []*ArticleEdge
- func (x *ListArticleResponse) GetPageInfo() *common.PageInfo
- func (*ListArticleResponse) ProtoMessage()
- func (x *ListArticleResponse) ProtoReflect() protoreflect.Message
- func (x *ListArticleResponse) Reset()
- func (x *ListArticleResponse) String() string
- type OGP
- func (*OGP) Descriptor() ([]byte, []int)deprecated
- func (x *OGP) GetArticleUrl() string
- func (x *OGP) GetDescription() *wrapperspb.StringValue
- func (x *OGP) GetFaviconUrl() string
- func (x *OGP) GetSiteName() string
- func (x *OGP) GetSiteUrl() string
- func (x *OGP) GetThumbnailUrl() string
- func (x *OGP) GetTitle() string
- func (*OGP) ProtoMessage()
- func (x *OGP) ProtoReflect() protoreflect.Message
- func (x *OGP) Reset()
- func (x *OGP) String() string
- type Platform
- func (*Platform) Descriptor() ([]byte, []int)deprecated
- func (x *Platform) GetCreatedAt() *timestamppb.Timestamp
- func (x *Platform) GetDeletedAt() *timestamppb.Timestamp
- func (x *Platform) GetFaviconUrl() string
- func (x *Platform) GetId() string
- func (x *Platform) GetIsEng() bool
- func (x *Platform) GetName() string
- func (x *Platform) GetPlatformSiteType() int64
- func (x *Platform) GetSiteUrl() string
- func (x *Platform) GetUpdatedAt() *timestamppb.Timestamp
- func (*Platform) ProtoMessage()
- func (x *Platform) ProtoReflect() protoreflect.Message
- func (x *Platform) Reset()
- func (x *Platform) String() string
- type TemporaryArticle
- func (*TemporaryArticle) Descriptor() ([]byte, []int)deprecated
- func (x *TemporaryArticle) GetArticleUrl() string
- func (x *TemporaryArticle) GetAuthorName() *wrapperspb.StringValue
- func (x *TemporaryArticle) GetCreatedAt() *timestamppb.Timestamp
- func (x *TemporaryArticle) GetDescription() string
- func (x *TemporaryArticle) GetId() string
- func (x *TemporaryArticle) GetIsEng() bool
- func (x *TemporaryArticle) GetIsPrivate() bool
- func (x *TemporaryArticle) GetPublishedAt() *timestamppb.Timestamp
- func (x *TemporaryArticle) GetTags() *wrapperspb.StringValue
- func (x *TemporaryArticle) GetThumbnailUrl() string
- func (x *TemporaryArticle) GetTitle() string
- func (x *TemporaryArticle) GetUpdatedAt() *timestamppb.Timestamp
- func (*TemporaryArticle) ProtoMessage()
- func (x *TemporaryArticle) ProtoReflect() protoreflect.Message
- func (x *TemporaryArticle) Reset()
- func (x *TemporaryArticle) String() string
- type TemporaryArticleEdge
- func (*TemporaryArticleEdge) Descriptor() ([]byte, []int)deprecated
- func (x *TemporaryArticleEdge) GetArticle() *TemporaryArticle
- func (x *TemporaryArticleEdge) GetCursor() string
- func (x *TemporaryArticleEdge) GetPlatform() *Platform
- func (*TemporaryArticleEdge) ProtoMessage()
- func (x *TemporaryArticleEdge) ProtoReflect() protoreflect.Message
- func (x *TemporaryArticleEdge) Reset()
- func (x *TemporaryArticleEdge) String() string
- type UnimplementedContentServiceServer
- func (UnimplementedContentServiceServer) CreateUploadArticle(context.Context, *CreateUploadArticleRequest) (*CreateArticleResponse, error)
- func (UnimplementedContentServiceServer) DeleteArticleComment(context.Context, *DeleteArticleCommentRequest) (*emptypb.Empty, error)
- func (UnimplementedContentServiceServer) GetArticle(context.Context, *GetArticleRequest) (*GetArticleResponse, error)
- func (UnimplementedContentServiceServer) GetArticleOGP(context.Context, *GetArticleOGPRequest) (*GetArticleOGPResponse, error)
- func (UnimplementedContentServiceServer) GetFeed(context.Context, *GetFeedRequest) (*GetFeedResponse, error)
- func (UnimplementedContentServiceServer) GetFeeds(context.Context, *GetFeedsRequest) (*GetFeedsResponse, error)
- func (UnimplementedContentServiceServer) GetUserSavedArticle(context.Context, *GetUserSavedArticleRequest) (*GetUserSavedArticleResponse, error)
- func (UnimplementedContentServiceServer) ListArticle(context.Context, *ListArticleRequest) (*ListArticleResponse, error)
- func (UnimplementedContentServiceServer) ListArticleByArticleURL(context.Context, *ListArticleByArticleURLRequest) (*ListArticleByArticleURLResponse, error)
- func (UnimplementedContentServiceServer) UpsertArticleComment(context.Context, *UpsertArticleCommentRequest) (*UpsertArticleCommentResponse, error)
- type UnsafeContentServiceServer
- type UpsertArticleCommentRequest
- func (*UpsertArticleCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertArticleCommentRequest) GetArticleId() string
- func (x *UpsertArticleCommentRequest) GetComment() string
- func (x *UpsertArticleCommentRequest) GetId() *wrapperspb.StringValue
- func (x *UpsertArticleCommentRequest) GetUserId() string
- func (*UpsertArticleCommentRequest) ProtoMessage()
- func (x *UpsertArticleCommentRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertArticleCommentRequest) Reset()
- func (x *UpsertArticleCommentRequest) String() string
- type UpsertArticleCommentResponse
- func (*UpsertArticleCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertArticleCommentResponse) GetComment() *ArticleComment
- func (*UpsertArticleCommentResponse) ProtoMessage()
- func (x *UpsertArticleCommentResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertArticleCommentResponse) Reset()
- func (x *UpsertArticleCommentResponse) String() string
Constants ¶
const ( ContentService_ListArticle_FullMethodName = "/checkpicks.content.v1.ContentService/ListArticle" ContentService_ListArticleByArticleURL_FullMethodName = "/checkpicks.content.v1.ContentService/ListArticleByArticleURL" ContentService_GetArticle_FullMethodName = "/checkpicks.content.v1.ContentService/GetArticle" ContentService_GetUserSavedArticle_FullMethodName = "/checkpicks.content.v1.ContentService/GetUserSavedArticle" ContentService_CreateUploadArticle_FullMethodName = "/checkpicks.content.v1.ContentService/CreateUploadArticle" ContentService_GetArticleOGP_FullMethodName = "/checkpicks.content.v1.ContentService/GetArticleOGP" ContentService_GetFeeds_FullMethodName = "/checkpicks.content.v1.ContentService/GetFeeds" ContentService_GetFeed_FullMethodName = "/checkpicks.content.v1.ContentService/GetFeed" ContentService_UpsertArticleComment_FullMethodName = "/checkpicks.content.v1.ContentService/UpsertArticleComment" ContentService_DeleteArticleComment_FullMethodName = "/checkpicks.content.v1.ContentService/DeleteArticleComment" )
Variables ¶
var ContentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "checkpicks.content.v1.ContentService", HandlerType: (*ContentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListArticle", Handler: _ContentService_ListArticle_Handler, }, { MethodName: "ListArticleByArticleURL", Handler: _ContentService_ListArticleByArticleURL_Handler, }, { MethodName: "GetArticle", Handler: _ContentService_GetArticle_Handler, }, { MethodName: "GetUserSavedArticle", Handler: _ContentService_GetUserSavedArticle_Handler, }, { MethodName: "CreateUploadArticle", Handler: _ContentService_CreateUploadArticle_Handler, }, { MethodName: "GetArticleOGP", Handler: _ContentService_GetArticleOGP_Handler, }, { MethodName: "GetFeeds", Handler: _ContentService_GetFeeds_Handler, }, { MethodName: "GetFeed", Handler: _ContentService_GetFeed_Handler, }, { MethodName: "UpsertArticleComment", Handler: _ContentService_UpsertArticleComment_Handler, }, { MethodName: "DeleteArticleComment", Handler: _ContentService_DeleteArticleComment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "content/content.proto", }
ContentService_ServiceDesc is the grpc.ServiceDesc for ContentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_content_content_proto protoreflect.FileDescriptor
Functions ¶
func RegisterContentServiceServer ¶
func RegisterContentServiceServer(s grpc.ServiceRegistrar, srv ContentServiceServer)
Types ¶
type Article ¶
type Article struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Platform *Platform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` Feeds []*Feed `protobuf:"bytes,3,rep,name=feeds,proto3" json:"feeds,omitempty"` Comment *ArticleComment `protobuf:"bytes,4,opt,name=comment,proto3,oneof" json:"comment,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` ArticleUrl string `protobuf:"bytes,7,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"` PublishedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"` AuthorName *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"` Tags *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=tags,proto3" json:"tags,omitempty"` ThumbnailUrl string `protobuf:"bytes,11,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` IsEng bool `protobuf:"varint,12,opt,name=is_eng,json=isEng,proto3" json:"is_eng,omitempty"` IsPrivate bool `protobuf:"varint,13,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` BookmarkId *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=bookmark_id,json=bookmarkId,proto3" json:"bookmark_id,omitempty"` IsBookmarked bool `protobuf:"varint,15,opt,name=is_bookmarked,json=isBookmarked,proto3" json:"is_bookmarked,omitempty"` IsFollowing bool `protobuf:"varint,16,opt,name=is_following,json=isFollowing,proto3" json:"is_following,omitempty"` FavoriteArticleFolderIds []string `` /* 138-byte string literal not displayed */ LikeCount int64 `protobuf:"varint,18,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` IsTrend bool `protobuf:"varint,19,opt,name=is_trend,json=isTrend,proto3" json:"is_trend,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Article) Descriptor
deprecated
func (*Article) GetArticleUrl ¶
func (*Article) GetAuthorName ¶
func (x *Article) GetAuthorName() *wrapperspb.StringValue
func (*Article) GetBookmarkId ¶
func (x *Article) GetBookmarkId() *wrapperspb.StringValue
func (*Article) GetComment ¶ added in v1.4.0
func (x *Article) GetComment() *ArticleComment
func (*Article) GetCreatedAt ¶
func (x *Article) GetCreatedAt() *timestamppb.Timestamp
func (*Article) GetDescription ¶
func (*Article) GetFavoriteArticleFolderIds ¶
func (*Article) GetIsBookmarked ¶
func (*Article) GetIsFollowing ¶
func (*Article) GetIsPrivate ¶
func (*Article) GetIsTrend ¶
func (*Article) GetLikeCount ¶
func (*Article) GetPlatform ¶
func (*Article) GetPublishedAt ¶
func (x *Article) GetPublishedAt() *timestamppb.Timestamp
func (*Article) GetTags ¶
func (x *Article) GetTags() *wrapperspb.StringValue
func (*Article) GetThumbnailUrl ¶
func (*Article) GetUpdatedAt ¶
func (x *Article) GetUpdatedAt() *timestamppb.Timestamp
func (*Article) ProtoMessage ¶
func (*Article) ProtoMessage()
func (*Article) ProtoReflect ¶
func (x *Article) ProtoReflect() protoreflect.Message
type ArticleComment ¶ added in v1.4.0
type ArticleComment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ArticleId string `protobuf:"bytes,3,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"` Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*ArticleComment) Descriptor
deprecated
added in
v1.4.0
func (*ArticleComment) Descriptor() ([]byte, []int)
Deprecated: Use ArticleComment.ProtoReflect.Descriptor instead.
func (*ArticleComment) GetArticleId ¶ added in v1.4.0
func (x *ArticleComment) GetArticleId() string
func (*ArticleComment) GetComment ¶ added in v1.4.0
func (x *ArticleComment) GetComment() string
func (*ArticleComment) GetCreatedAt ¶ added in v1.4.0
func (x *ArticleComment) GetCreatedAt() *timestamppb.Timestamp
func (*ArticleComment) GetId ¶ added in v1.4.0
func (x *ArticleComment) GetId() string
func (*ArticleComment) GetUpdatedAt ¶ added in v1.4.0
func (x *ArticleComment) GetUpdatedAt() *timestamppb.Timestamp
func (*ArticleComment) GetUserId ¶ added in v1.4.0
func (x *ArticleComment) GetUserId() string
func (*ArticleComment) ProtoMessage ¶ added in v1.4.0
func (*ArticleComment) ProtoMessage()
func (*ArticleComment) ProtoReflect ¶ added in v1.4.0
func (x *ArticleComment) ProtoReflect() protoreflect.Message
func (*ArticleComment) Reset ¶ added in v1.4.0
func (x *ArticleComment) Reset()
func (*ArticleComment) String ¶ added in v1.4.0
func (x *ArticleComment) String() string
type ArticleEdge ¶
type ArticleEdge struct { Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*ArticleEdge) Descriptor
deprecated
func (*ArticleEdge) Descriptor() ([]byte, []int)
Deprecated: Use ArticleEdge.ProtoReflect.Descriptor instead.
func (*ArticleEdge) GetArticle ¶
func (x *ArticleEdge) GetArticle() *Article
func (*ArticleEdge) GetCursor ¶
func (x *ArticleEdge) GetCursor() string
func (*ArticleEdge) ProtoMessage ¶
func (*ArticleEdge) ProtoMessage()
func (*ArticleEdge) ProtoReflect ¶
func (x *ArticleEdge) ProtoReflect() protoreflect.Message
func (*ArticleEdge) Reset ¶
func (x *ArticleEdge) Reset()
func (*ArticleEdge) String ¶
func (x *ArticleEdge) String() string
type Category ¶
type Category 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"` Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Category) Descriptor
deprecated
func (*Category) GetCreatedAt ¶
func (x *Category) GetCreatedAt() *timestamppb.Timestamp
func (*Category) GetDeletedAt ¶
func (x *Category) GetDeletedAt() *timestamppb.Timestamp
func (*Category) GetUpdatedAt ¶
func (x *Category) GetUpdatedAt() *timestamppb.Timestamp
func (*Category) ProtoMessage ¶
func (*Category) ProtoMessage()
func (*Category) ProtoReflect ¶
func (x *Category) ProtoReflect() protoreflect.Message
type ContentServiceClient ¶
type ContentServiceClient interface { ListArticle(ctx context.Context, in *ListArticleRequest, opts ...grpc.CallOption) (*ListArticleResponse, error) ListArticleByArticleURL(ctx context.Context, in *ListArticleByArticleURLRequest, opts ...grpc.CallOption) (*ListArticleByArticleURLResponse, error) GetArticle(ctx context.Context, in *GetArticleRequest, opts ...grpc.CallOption) (*GetArticleResponse, error) GetUserSavedArticle(ctx context.Context, in *GetUserSavedArticleRequest, opts ...grpc.CallOption) (*GetUserSavedArticleResponse, error) CreateUploadArticle(ctx context.Context, in *CreateUploadArticleRequest, opts ...grpc.CallOption) (*CreateArticleResponse, error) GetArticleOGP(ctx context.Context, in *GetArticleOGPRequest, opts ...grpc.CallOption) (*GetArticleOGPResponse, error) GetFeeds(ctx context.Context, in *GetFeedsRequest, opts ...grpc.CallOption) (*GetFeedsResponse, error) GetFeed(ctx context.Context, in *GetFeedRequest, opts ...grpc.CallOption) (*GetFeedResponse, error) UpsertArticleComment(ctx context.Context, in *UpsertArticleCommentRequest, opts ...grpc.CallOption) (*UpsertArticleCommentResponse, error) DeleteArticleComment(ctx context.Context, in *DeleteArticleCommentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ContentServiceClient is the client API for ContentService 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 NewContentServiceClient ¶
func NewContentServiceClient(cc grpc.ClientConnInterface) ContentServiceClient
type ContentServiceServer ¶
type ContentServiceServer interface { ListArticle(context.Context, *ListArticleRequest) (*ListArticleResponse, error) ListArticleByArticleURL(context.Context, *ListArticleByArticleURLRequest) (*ListArticleByArticleURLResponse, error) GetArticle(context.Context, *GetArticleRequest) (*GetArticleResponse, error) GetUserSavedArticle(context.Context, *GetUserSavedArticleRequest) (*GetUserSavedArticleResponse, error) CreateUploadArticle(context.Context, *CreateUploadArticleRequest) (*CreateArticleResponse, error) GetArticleOGP(context.Context, *GetArticleOGPRequest) (*GetArticleOGPResponse, error) GetFeeds(context.Context, *GetFeedsRequest) (*GetFeedsResponse, error) GetFeed(context.Context, *GetFeedRequest) (*GetFeedResponse, error) UpsertArticleComment(context.Context, *UpsertArticleCommentRequest) (*UpsertArticleCommentResponse, error) DeleteArticleComment(context.Context, *DeleteArticleCommentRequest) (*emptypb.Empty, error) }
ContentServiceServer is the server API for ContentService service. All implementations should embed UnimplementedContentServiceServer for forward compatibility.
type CreateArticleResponse ¶
type CreateArticleResponse struct { Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` // contains filtered or unexported fields }
func (*CreateArticleResponse) Descriptor
deprecated
func (*CreateArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateArticleResponse.ProtoReflect.Descriptor instead.
func (*CreateArticleResponse) GetArticle ¶
func (x *CreateArticleResponse) GetArticle() *Article
func (*CreateArticleResponse) ProtoMessage ¶
func (*CreateArticleResponse) ProtoMessage()
func (*CreateArticleResponse) ProtoReflect ¶
func (x *CreateArticleResponse) ProtoReflect() protoreflect.Message
func (*CreateArticleResponse) Reset ¶
func (x *CreateArticleResponse) Reset()
func (*CreateArticleResponse) String ¶
func (x *CreateArticleResponse) String() string
type CreateUploadArticleRequest ¶
type CreateUploadArticleRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ArticleUrl string `protobuf:"bytes,4,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"` ThumbnailUrl string `protobuf:"bytes,5,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` PlatformName string `protobuf:"bytes,6,opt,name=platform_name,json=platformName,proto3" json:"platform_name,omitempty"` PlatformUrl string `protobuf:"bytes,7,opt,name=platform_url,json=platformUrl,proto3" json:"platform_url,omitempty"` PlatformFaviconUrl string `protobuf:"bytes,8,opt,name=platform_favicon_url,json=platformFaviconUrl,proto3" json:"platform_favicon_url,omitempty"` // contains filtered or unexported fields }
func (*CreateUploadArticleRequest) Descriptor
deprecated
func (*CreateUploadArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUploadArticleRequest.ProtoReflect.Descriptor instead.
func (*CreateUploadArticleRequest) GetArticleUrl ¶
func (x *CreateUploadArticleRequest) GetArticleUrl() string
func (*CreateUploadArticleRequest) GetDescription ¶
func (x *CreateUploadArticleRequest) GetDescription() string
func (*CreateUploadArticleRequest) GetPlatformFaviconUrl ¶
func (x *CreateUploadArticleRequest) GetPlatformFaviconUrl() string
func (*CreateUploadArticleRequest) GetPlatformName ¶
func (x *CreateUploadArticleRequest) GetPlatformName() string
func (*CreateUploadArticleRequest) GetPlatformUrl ¶
func (x *CreateUploadArticleRequest) GetPlatformUrl() string
func (*CreateUploadArticleRequest) GetThumbnailUrl ¶
func (x *CreateUploadArticleRequest) GetThumbnailUrl() string
func (*CreateUploadArticleRequest) GetTitle ¶
func (x *CreateUploadArticleRequest) GetTitle() string
func (*CreateUploadArticleRequest) GetUserId ¶
func (x *CreateUploadArticleRequest) GetUserId() string
func (*CreateUploadArticleRequest) ProtoMessage ¶
func (*CreateUploadArticleRequest) ProtoMessage()
func (*CreateUploadArticleRequest) ProtoReflect ¶
func (x *CreateUploadArticleRequest) ProtoReflect() protoreflect.Message
func (*CreateUploadArticleRequest) Reset ¶
func (x *CreateUploadArticleRequest) Reset()
func (*CreateUploadArticleRequest) String ¶
func (x *CreateUploadArticleRequest) String() string
type DeleteArticleCommentRequest ¶ added in v1.5.0
type DeleteArticleCommentRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteArticleCommentRequest) Descriptor
deprecated
added in
v1.5.0
func (*DeleteArticleCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteArticleCommentRequest.ProtoReflect.Descriptor instead.
func (*DeleteArticleCommentRequest) GetId ¶ added in v1.5.0
func (x *DeleteArticleCommentRequest) GetId() string
func (*DeleteArticleCommentRequest) GetUserId ¶ added in v1.5.0
func (x *DeleteArticleCommentRequest) GetUserId() string
func (*DeleteArticleCommentRequest) ProtoMessage ¶ added in v1.5.0
func (*DeleteArticleCommentRequest) ProtoMessage()
func (*DeleteArticleCommentRequest) ProtoReflect ¶ added in v1.5.0
func (x *DeleteArticleCommentRequest) ProtoReflect() protoreflect.Message
func (*DeleteArticleCommentRequest) Reset ¶ added in v1.5.0
func (x *DeleteArticleCommentRequest) Reset()
func (*DeleteArticleCommentRequest) String ¶ added in v1.5.0
func (x *DeleteArticleCommentRequest) String() string
type Feed ¶
type Feed struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Platform *Platform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` Category *Category `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` MyFeedIds []string `protobuf:"bytes,4,rep,name=my_feed_ids,json=myFeedIds,proto3" json:"my_feed_ids,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` RssUrl string `protobuf:"bytes,7,opt,name=rss_url,json=rssUrl,proto3" json:"rss_url,omitempty"` SiteUrl string `protobuf:"bytes,8,opt,name=site_url,json=siteUrl,proto3" json:"site_url,omitempty"` ThumbnailUrl string `protobuf:"bytes,9,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` TrendPlatformType int64 `protobuf:"varint,10,opt,name=trend_platform_type,json=trendPlatformType,proto3" json:"trend_platform_type,omitempty"` ApiQueryParam *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=api_query_param,json=apiQueryParam,proto3" json:"api_query_param,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Feed) Descriptor
deprecated
func (*Feed) GetApiQueryParam ¶
func (x *Feed) GetApiQueryParam() *wrapperspb.StringValue
func (*Feed) GetCategory ¶
func (*Feed) GetCreatedAt ¶
func (x *Feed) GetCreatedAt() *timestamppb.Timestamp
func (*Feed) GetDeletedAt ¶
func (x *Feed) GetDeletedAt() *timestamppb.Timestamp
func (*Feed) GetDescription ¶
func (*Feed) GetMyFeedIds ¶
func (*Feed) GetPlatform ¶
func (*Feed) GetSiteUrl ¶
func (*Feed) GetThumbnailUrl ¶
func (*Feed) GetTrendPlatformType ¶
func (*Feed) GetUpdatedAt ¶
func (x *Feed) GetUpdatedAt() *timestamppb.Timestamp
func (*Feed) ProtoMessage ¶
func (*Feed) ProtoMessage()
func (*Feed) ProtoReflect ¶
func (x *Feed) ProtoReflect() protoreflect.Message
type FeedEdge ¶
type FeedEdge struct { Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*FeedEdge) Descriptor
deprecated
func (*FeedEdge) ProtoMessage ¶
func (*FeedEdge) ProtoMessage()
func (*FeedEdge) ProtoReflect ¶
func (x *FeedEdge) ProtoReflect() protoreflect.Message
type GetArticleOGPRequest ¶
type GetArticleOGPRequest struct { ArticleUrl string `protobuf:"bytes,1,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"` // contains filtered or unexported fields }
func (*GetArticleOGPRequest) Descriptor
deprecated
func (*GetArticleOGPRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArticleOGPRequest.ProtoReflect.Descriptor instead.
func (*GetArticleOGPRequest) GetArticleUrl ¶
func (x *GetArticleOGPRequest) GetArticleUrl() string
func (*GetArticleOGPRequest) ProtoMessage ¶
func (*GetArticleOGPRequest) ProtoMessage()
func (*GetArticleOGPRequest) ProtoReflect ¶
func (x *GetArticleOGPRequest) ProtoReflect() protoreflect.Message
func (*GetArticleOGPRequest) Reset ¶
func (x *GetArticleOGPRequest) Reset()
func (*GetArticleOGPRequest) String ¶
func (x *GetArticleOGPRequest) String() string
type GetArticleOGPResponse ¶
type GetArticleOGPResponse struct { Ogp *OGP `protobuf:"bytes,1,opt,name=ogp,proto3" json:"ogp,omitempty"` // contains filtered or unexported fields }
func (*GetArticleOGPResponse) Descriptor
deprecated
func (*GetArticleOGPResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetArticleOGPResponse.ProtoReflect.Descriptor instead.
func (*GetArticleOGPResponse) GetOgp ¶
func (x *GetArticleOGPResponse) GetOgp() *OGP
func (*GetArticleOGPResponse) ProtoMessage ¶
func (*GetArticleOGPResponse) ProtoMessage()
func (*GetArticleOGPResponse) ProtoReflect ¶
func (x *GetArticleOGPResponse) ProtoReflect() protoreflect.Message
func (*GetArticleOGPResponse) Reset ¶
func (x *GetArticleOGPResponse) Reset()
func (*GetArticleOGPResponse) String ¶
func (x *GetArticleOGPResponse) String() string
type GetArticleRequest ¶ added in v1.5.2
type GetArticleRequest struct { ArticleId string `protobuf:"bytes,1,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetArticleRequest) Descriptor
deprecated
added in
v1.5.2
func (*GetArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArticleRequest.ProtoReflect.Descriptor instead.
func (*GetArticleRequest) GetArticleId ¶ added in v1.5.2
func (x *GetArticleRequest) GetArticleId() string
func (*GetArticleRequest) GetUserId ¶ added in v1.5.2
func (x *GetArticleRequest) GetUserId() string
func (*GetArticleRequest) ProtoMessage ¶ added in v1.5.2
func (*GetArticleRequest) ProtoMessage()
func (*GetArticleRequest) ProtoReflect ¶ added in v1.5.2
func (x *GetArticleRequest) ProtoReflect() protoreflect.Message
func (*GetArticleRequest) Reset ¶ added in v1.5.2
func (x *GetArticleRequest) Reset()
func (*GetArticleRequest) String ¶ added in v1.5.2
func (x *GetArticleRequest) String() string
type GetArticleResponse ¶ added in v1.5.2
type GetArticleResponse struct { Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` // contains filtered or unexported fields }
func (*GetArticleResponse) Descriptor
deprecated
added in
v1.5.2
func (*GetArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetArticleResponse.ProtoReflect.Descriptor instead.
func (*GetArticleResponse) GetArticle ¶ added in v1.5.2
func (x *GetArticleResponse) GetArticle() *Article
func (*GetArticleResponse) ProtoMessage ¶ added in v1.5.2
func (*GetArticleResponse) ProtoMessage()
func (*GetArticleResponse) ProtoReflect ¶ added in v1.5.2
func (x *GetArticleResponse) ProtoReflect() protoreflect.Message
func (*GetArticleResponse) Reset ¶ added in v1.5.2
func (x *GetArticleResponse) Reset()
func (*GetArticleResponse) String ¶ added in v1.5.2
func (x *GetArticleResponse) String() string
type GetFeedRequest ¶
type GetFeedRequest struct { FeedId string `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetFeedRequest) Descriptor
deprecated
func (*GetFeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFeedRequest.ProtoReflect.Descriptor instead.
func (*GetFeedRequest) GetFeedId ¶
func (x *GetFeedRequest) GetFeedId() string
func (*GetFeedRequest) GetUserId ¶
func (x *GetFeedRequest) GetUserId() string
func (*GetFeedRequest) ProtoMessage ¶
func (*GetFeedRequest) ProtoMessage()
func (*GetFeedRequest) ProtoReflect ¶
func (x *GetFeedRequest) ProtoReflect() protoreflect.Message
func (*GetFeedRequest) Reset ¶
func (x *GetFeedRequest) Reset()
func (*GetFeedRequest) String ¶
func (x *GetFeedRequest) String() string
type GetFeedResponse ¶
type GetFeedResponse struct { Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` // contains filtered or unexported fields }
func (*GetFeedResponse) Descriptor
deprecated
func (*GetFeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFeedResponse.ProtoReflect.Descriptor instead.
func (*GetFeedResponse) GetFeed ¶
func (x *GetFeedResponse) GetFeed() *Feed
func (*GetFeedResponse) ProtoMessage ¶
func (*GetFeedResponse) ProtoMessage()
func (*GetFeedResponse) ProtoReflect ¶
func (x *GetFeedResponse) ProtoReflect() protoreflect.Message
func (*GetFeedResponse) Reset ¶
func (x *GetFeedResponse) Reset()
func (*GetFeedResponse) String ¶
func (x *GetFeedResponse) String() string
type GetFeedsRequest ¶
type GetFeedsRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` PlatformSiteType *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=platform_site_type,json=platformSiteType,proto3" json:"platform_site_type,omitempty"` PlatformId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"` Keywords []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=keywords,proto3" json:"keywords,omitempty"` FeedIds []*wrapperspb.StringValue `protobuf:"bytes,5,rep,name=feed_ids,json=feedIds,proto3" json:"feed_ids,omitempty"` IsAllFetch *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=is_all_fetch,json=isAllFetch,proto3" json:"is_all_fetch,omitempty"` Cursor string `protobuf:"bytes,7,opt,name=cursor,proto3" json:"cursor,omitempty"` Limit int64 `protobuf:"varint,8,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*GetFeedsRequest) Descriptor
deprecated
func (*GetFeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFeedsRequest.ProtoReflect.Descriptor instead.
func (*GetFeedsRequest) GetCursor ¶
func (x *GetFeedsRequest) GetCursor() string
func (*GetFeedsRequest) GetFeedIds ¶ added in v1.3.3
func (x *GetFeedsRequest) GetFeedIds() []*wrapperspb.StringValue
func (*GetFeedsRequest) GetIsAllFetch ¶ added in v1.3.1
func (x *GetFeedsRequest) GetIsAllFetch() *wrapperspb.BoolValue
func (*GetFeedsRequest) GetKeywords ¶ added in v1.3.5
func (x *GetFeedsRequest) GetKeywords() []*wrapperspb.StringValue
func (*GetFeedsRequest) GetLimit ¶
func (x *GetFeedsRequest) GetLimit() int64
func (*GetFeedsRequest) GetPlatformId ¶
func (x *GetFeedsRequest) GetPlatformId() *wrapperspb.StringValue
func (*GetFeedsRequest) GetPlatformSiteType ¶
func (x *GetFeedsRequest) GetPlatformSiteType() *wrapperspb.Int64Value
func (*GetFeedsRequest) GetUserId ¶
func (x *GetFeedsRequest) GetUserId() string
func (*GetFeedsRequest) ProtoMessage ¶
func (*GetFeedsRequest) ProtoMessage()
func (*GetFeedsRequest) ProtoReflect ¶
func (x *GetFeedsRequest) ProtoReflect() protoreflect.Message
func (*GetFeedsRequest) Reset ¶
func (x *GetFeedsRequest) Reset()
func (*GetFeedsRequest) String ¶
func (x *GetFeedsRequest) String() string
type GetFeedsResponse ¶
type GetFeedsResponse struct { FeedEdge []*FeedEdge `protobuf:"bytes,1,rep,name=feed_edge,json=feedEdge,proto3" json:"feed_edge,omitempty"` PageInfo *common.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // contains filtered or unexported fields }
func (*GetFeedsResponse) Descriptor
deprecated
func (*GetFeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFeedsResponse.ProtoReflect.Descriptor instead.
func (*GetFeedsResponse) GetFeedEdge ¶
func (x *GetFeedsResponse) GetFeedEdge() []*FeedEdge
func (*GetFeedsResponse) GetPageInfo ¶
func (x *GetFeedsResponse) GetPageInfo() *common.PageInfo
func (*GetFeedsResponse) ProtoMessage ¶
func (*GetFeedsResponse) ProtoMessage()
func (*GetFeedsResponse) ProtoReflect ¶
func (x *GetFeedsResponse) ProtoReflect() protoreflect.Message
func (*GetFeedsResponse) Reset ¶
func (x *GetFeedsResponse) Reset()
func (*GetFeedsResponse) String ¶
func (x *GetFeedsResponse) String() string
type GetUserSavedArticleRequest ¶ added in v1.5.3
type GetUserSavedArticleRequest struct { ArticleId string `protobuf:"bytes,1,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserSavedArticleRequest) Descriptor
deprecated
added in
v1.5.3
func (*GetUserSavedArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSavedArticleRequest.ProtoReflect.Descriptor instead.
func (*GetUserSavedArticleRequest) GetArticleId ¶ added in v1.5.3
func (x *GetUserSavedArticleRequest) GetArticleId() string
func (*GetUserSavedArticleRequest) GetUserId ¶ added in v1.5.3
func (x *GetUserSavedArticleRequest) GetUserId() string
func (*GetUserSavedArticleRequest) ProtoMessage ¶ added in v1.5.3
func (*GetUserSavedArticleRequest) ProtoMessage()
func (*GetUserSavedArticleRequest) ProtoReflect ¶ added in v1.5.3
func (x *GetUserSavedArticleRequest) ProtoReflect() protoreflect.Message
func (*GetUserSavedArticleRequest) Reset ¶ added in v1.5.3
func (x *GetUserSavedArticleRequest) Reset()
func (*GetUserSavedArticleRequest) String ¶ added in v1.5.3
func (x *GetUserSavedArticleRequest) String() string
type GetUserSavedArticleResponse ¶ added in v1.5.3
type GetUserSavedArticleResponse struct { Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` // contains filtered or unexported fields }
func (*GetUserSavedArticleResponse) Descriptor
deprecated
added in
v1.5.3
func (*GetUserSavedArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSavedArticleResponse.ProtoReflect.Descriptor instead.
func (*GetUserSavedArticleResponse) GetArticle ¶ added in v1.5.3
func (x *GetUserSavedArticleResponse) GetArticle() *Article
func (*GetUserSavedArticleResponse) ProtoMessage ¶ added in v1.5.3
func (*GetUserSavedArticleResponse) ProtoMessage()
func (*GetUserSavedArticleResponse) ProtoReflect ¶ added in v1.5.3
func (x *GetUserSavedArticleResponse) ProtoReflect() protoreflect.Message
func (*GetUserSavedArticleResponse) Reset ¶ added in v1.5.3
func (x *GetUserSavedArticleResponse) Reset()
func (*GetUserSavedArticleResponse) String ¶ added in v1.5.3
func (x *GetUserSavedArticleResponse) String() string
type ListArticleByArticleURLRequest ¶ added in v1.3.9
type ListArticleByArticleURLRequest struct { ArticleUrl string `protobuf:"bytes,1,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"` Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListArticleByArticleURLRequest) Descriptor
deprecated
added in
v1.3.9
func (*ListArticleByArticleURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListArticleByArticleURLRequest.ProtoReflect.Descriptor instead.
func (*ListArticleByArticleURLRequest) GetArticleUrl ¶ added in v1.3.9
func (x *ListArticleByArticleURLRequest) GetArticleUrl() string
func (*ListArticleByArticleURLRequest) GetCursor ¶ added in v1.3.9
func (x *ListArticleByArticleURLRequest) GetCursor() string
func (*ListArticleByArticleURLRequest) GetLimit ¶ added in v1.3.9
func (x *ListArticleByArticleURLRequest) GetLimit() int64
func (*ListArticleByArticleURLRequest) ProtoMessage ¶ added in v1.3.9
func (*ListArticleByArticleURLRequest) ProtoMessage()
func (*ListArticleByArticleURLRequest) ProtoReflect ¶ added in v1.3.9
func (x *ListArticleByArticleURLRequest) ProtoReflect() protoreflect.Message
func (*ListArticleByArticleURLRequest) Reset ¶ added in v1.3.9
func (x *ListArticleByArticleURLRequest) Reset()
func (*ListArticleByArticleURLRequest) String ¶ added in v1.3.9
func (x *ListArticleByArticleURLRequest) String() string
type ListArticleByArticleURLResponse ¶ added in v1.3.9
type ListArticleByArticleURLResponse struct { ArticlesEdge []*TemporaryArticleEdge `protobuf:"bytes,1,rep,name=articlesEdge,proto3" json:"articlesEdge,omitempty"` PageInfo *common.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // contains filtered or unexported fields }
func (*ListArticleByArticleURLResponse) Descriptor
deprecated
added in
v1.3.9
func (*ListArticleByArticleURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListArticleByArticleURLResponse.ProtoReflect.Descriptor instead.
func (*ListArticleByArticleURLResponse) GetArticlesEdge ¶ added in v1.3.9
func (x *ListArticleByArticleURLResponse) GetArticlesEdge() []*TemporaryArticleEdge
func (*ListArticleByArticleURLResponse) GetPageInfo ¶ added in v1.3.9
func (x *ListArticleByArticleURLResponse) GetPageInfo() *common.PageInfo
func (*ListArticleByArticleURLResponse) ProtoMessage ¶ added in v1.3.9
func (*ListArticleByArticleURLResponse) ProtoMessage()
func (*ListArticleByArticleURLResponse) ProtoReflect ¶ added in v1.3.9
func (x *ListArticleByArticleURLResponse) ProtoReflect() protoreflect.Message
func (*ListArticleByArticleURLResponse) Reset ¶ added in v1.3.9
func (x *ListArticleByArticleURLResponse) Reset()
func (*ListArticleByArticleURLResponse) String ¶ added in v1.3.9
func (x *ListArticleByArticleURLResponse) String() string
type ListArticleRequest ¶ added in v1.4.0
type ListArticleRequest struct { UserId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` LanguageStatus *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=language_status,json=languageStatus,proto3" json:"language_status,omitempty"` Tag *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` FeedIds []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=feed_ids,json=feedIds,proto3" json:"feed_ids,omitempty"` Keywords []*wrapperspb.StringValue `protobuf:"bytes,5,rep,name=keywords,proto3" json:"keywords,omitempty"` Cursor string `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"` Limit int64 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListArticleRequest) Descriptor
deprecated
added in
v1.4.0
func (*ListArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListArticleRequest.ProtoReflect.Descriptor instead.
func (*ListArticleRequest) GetCursor ¶ added in v1.4.0
func (x *ListArticleRequest) GetCursor() string
func (*ListArticleRequest) GetFeedIds ¶ added in v1.4.0
func (x *ListArticleRequest) GetFeedIds() []*wrapperspb.StringValue
func (*ListArticleRequest) GetKeywords ¶ added in v1.4.0
func (x *ListArticleRequest) GetKeywords() []*wrapperspb.StringValue
func (*ListArticleRequest) GetLanguageStatus ¶ added in v1.4.0
func (x *ListArticleRequest) GetLanguageStatus() *wrapperspb.Int64Value
func (*ListArticleRequest) GetLimit ¶ added in v1.4.0
func (x *ListArticleRequest) GetLimit() int64
func (*ListArticleRequest) GetTag ¶ added in v1.4.0
func (x *ListArticleRequest) GetTag() *wrapperspb.StringValue
func (*ListArticleRequest) GetUserId ¶ added in v1.4.0
func (x *ListArticleRequest) GetUserId() *wrapperspb.StringValue
func (*ListArticleRequest) ProtoMessage ¶ added in v1.4.0
func (*ListArticleRequest) ProtoMessage()
func (*ListArticleRequest) ProtoReflect ¶ added in v1.4.0
func (x *ListArticleRequest) ProtoReflect() protoreflect.Message
func (*ListArticleRequest) Reset ¶ added in v1.4.0
func (x *ListArticleRequest) Reset()
func (*ListArticleRequest) String ¶ added in v1.4.0
func (x *ListArticleRequest) String() string
type ListArticleResponse ¶ added in v1.4.0
type ListArticleResponse struct { ArticlesEdge []*ArticleEdge `protobuf:"bytes,1,rep,name=articlesEdge,proto3" json:"articlesEdge,omitempty"` PageInfo *common.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // contains filtered or unexported fields }
func (*ListArticleResponse) Descriptor
deprecated
added in
v1.4.0
func (*ListArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListArticleResponse.ProtoReflect.Descriptor instead.
func (*ListArticleResponse) GetArticlesEdge ¶ added in v1.4.0
func (x *ListArticleResponse) GetArticlesEdge() []*ArticleEdge
func (*ListArticleResponse) GetPageInfo ¶ added in v1.4.0
func (x *ListArticleResponse) GetPageInfo() *common.PageInfo
func (*ListArticleResponse) ProtoMessage ¶ added in v1.4.0
func (*ListArticleResponse) ProtoMessage()
func (*ListArticleResponse) ProtoReflect ¶ added in v1.4.0
func (x *ListArticleResponse) ProtoReflect() protoreflect.Message
func (*ListArticleResponse) Reset ¶ added in v1.4.0
func (x *ListArticleResponse) Reset()
func (*ListArticleResponse) String ¶ added in v1.4.0
func (x *ListArticleResponse) String() string
type OGP ¶
type OGP struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ArticleUrl string `protobuf:"bytes,3,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"` SiteUrl string `protobuf:"bytes,4,opt,name=site_url,json=siteUrl,proto3" json:"site_url,omitempty"` SiteName string `protobuf:"bytes,5,opt,name=site_name,json=siteName,proto3" json:"site_name,omitempty"` ThumbnailUrl string `protobuf:"bytes,6,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` FaviconUrl string `protobuf:"bytes,7,opt,name=favicon_url,json=faviconUrl,proto3" json:"favicon_url,omitempty"` // contains filtered or unexported fields }
func (*OGP) Descriptor
deprecated
func (*OGP) GetArticleUrl ¶
func (*OGP) GetDescription ¶
func (x *OGP) GetDescription() *wrapperspb.StringValue
func (*OGP) GetFaviconUrl ¶
func (*OGP) GetSiteName ¶
func (*OGP) GetSiteUrl ¶
func (*OGP) GetThumbnailUrl ¶
func (*OGP) ProtoMessage ¶
func (*OGP) ProtoMessage()
func (*OGP) ProtoReflect ¶
func (x *OGP) ProtoReflect() protoreflect.Message
type Platform ¶
type Platform 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"` SiteUrl string `protobuf:"bytes,3,opt,name=site_url,json=siteUrl,proto3" json:"site_url,omitempty"` PlatformSiteType int64 `protobuf:"varint,4,opt,name=platform_site_type,json=platformSiteType,proto3" json:"platform_site_type,omitempty"` FaviconUrl string `protobuf:"bytes,5,opt,name=favicon_url,json=faviconUrl,proto3" json:"favicon_url,omitempty"` IsEng bool `protobuf:"varint,6,opt,name=is_eng,json=isEng,proto3" json:"is_eng,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Platform) Descriptor
deprecated
func (*Platform) GetCreatedAt ¶
func (x *Platform) GetCreatedAt() *timestamppb.Timestamp
func (*Platform) GetDeletedAt ¶
func (x *Platform) GetDeletedAt() *timestamppb.Timestamp
func (*Platform) GetFaviconUrl ¶
func (*Platform) GetPlatformSiteType ¶
func (*Platform) GetSiteUrl ¶
func (*Platform) GetUpdatedAt ¶
func (x *Platform) GetUpdatedAt() *timestamppb.Timestamp
func (*Platform) ProtoMessage ¶
func (*Platform) ProtoMessage()
func (*Platform) ProtoReflect ¶
func (x *Platform) ProtoReflect() protoreflect.Message
type TemporaryArticle ¶ added in v1.3.9
type TemporaryArticle struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ArticleUrl string `protobuf:"bytes,4,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"` PublishedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"` AuthorName *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"` Tags *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"` ThumbnailUrl string `protobuf:"bytes,8,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` IsEng bool `protobuf:"varint,9,opt,name=is_eng,json=isEng,proto3" json:"is_eng,omitempty"` IsPrivate bool `protobuf:"varint,10,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*TemporaryArticle) Descriptor
deprecated
added in
v1.3.9
func (*TemporaryArticle) Descriptor() ([]byte, []int)
Deprecated: Use TemporaryArticle.ProtoReflect.Descriptor instead.
func (*TemporaryArticle) GetArticleUrl ¶ added in v1.3.9
func (x *TemporaryArticle) GetArticleUrl() string
func (*TemporaryArticle) GetAuthorName ¶ added in v1.3.9
func (x *TemporaryArticle) GetAuthorName() *wrapperspb.StringValue
func (*TemporaryArticle) GetCreatedAt ¶ added in v1.3.9
func (x *TemporaryArticle) GetCreatedAt() *timestamppb.Timestamp
func (*TemporaryArticle) GetDescription ¶ added in v1.3.9
func (x *TemporaryArticle) GetDescription() string
func (*TemporaryArticle) GetId ¶ added in v1.3.9
func (x *TemporaryArticle) GetId() string
func (*TemporaryArticle) GetIsEng ¶ added in v1.3.9
func (x *TemporaryArticle) GetIsEng() bool
func (*TemporaryArticle) GetIsPrivate ¶ added in v1.3.9
func (x *TemporaryArticle) GetIsPrivate() bool
func (*TemporaryArticle) GetPublishedAt ¶ added in v1.3.9
func (x *TemporaryArticle) GetPublishedAt() *timestamppb.Timestamp
func (*TemporaryArticle) GetTags ¶ added in v1.3.9
func (x *TemporaryArticle) GetTags() *wrapperspb.StringValue
func (*TemporaryArticle) GetThumbnailUrl ¶ added in v1.3.9
func (x *TemporaryArticle) GetThumbnailUrl() string
func (*TemporaryArticle) GetTitle ¶ added in v1.3.9
func (x *TemporaryArticle) GetTitle() string
func (*TemporaryArticle) GetUpdatedAt ¶ added in v1.3.9
func (x *TemporaryArticle) GetUpdatedAt() *timestamppb.Timestamp
func (*TemporaryArticle) ProtoMessage ¶ added in v1.3.9
func (*TemporaryArticle) ProtoMessage()
func (*TemporaryArticle) ProtoReflect ¶ added in v1.3.9
func (x *TemporaryArticle) ProtoReflect() protoreflect.Message
func (*TemporaryArticle) Reset ¶ added in v1.3.9
func (x *TemporaryArticle) Reset()
func (*TemporaryArticle) String ¶ added in v1.3.9
func (x *TemporaryArticle) String() string
type TemporaryArticleEdge ¶ added in v1.3.9
type TemporaryArticleEdge struct { Article *TemporaryArticle `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` Platform *Platform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*TemporaryArticleEdge) Descriptor
deprecated
added in
v1.3.9
func (*TemporaryArticleEdge) Descriptor() ([]byte, []int)
Deprecated: Use TemporaryArticleEdge.ProtoReflect.Descriptor instead.
func (*TemporaryArticleEdge) GetArticle ¶ added in v1.3.9
func (x *TemporaryArticleEdge) GetArticle() *TemporaryArticle
func (*TemporaryArticleEdge) GetCursor ¶ added in v1.3.9
func (x *TemporaryArticleEdge) GetCursor() string
func (*TemporaryArticleEdge) GetPlatform ¶ added in v1.3.9
func (x *TemporaryArticleEdge) GetPlatform() *Platform
func (*TemporaryArticleEdge) ProtoMessage ¶ added in v1.3.9
func (*TemporaryArticleEdge) ProtoMessage()
func (*TemporaryArticleEdge) ProtoReflect ¶ added in v1.3.9
func (x *TemporaryArticleEdge) ProtoReflect() protoreflect.Message
func (*TemporaryArticleEdge) Reset ¶ added in v1.3.9
func (x *TemporaryArticleEdge) Reset()
func (*TemporaryArticleEdge) String ¶ added in v1.3.9
func (x *TemporaryArticleEdge) String() string
type UnimplementedContentServiceServer ¶
type UnimplementedContentServiceServer struct{}
UnimplementedContentServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedContentServiceServer) CreateUploadArticle ¶
func (UnimplementedContentServiceServer) CreateUploadArticle(context.Context, *CreateUploadArticleRequest) (*CreateArticleResponse, error)
func (UnimplementedContentServiceServer) DeleteArticleComment ¶ added in v1.5.0
func (UnimplementedContentServiceServer) DeleteArticleComment(context.Context, *DeleteArticleCommentRequest) (*emptypb.Empty, error)
func (UnimplementedContentServiceServer) GetArticle ¶ added in v1.5.2
func (UnimplementedContentServiceServer) GetArticle(context.Context, *GetArticleRequest) (*GetArticleResponse, error)
func (UnimplementedContentServiceServer) GetArticleOGP ¶
func (UnimplementedContentServiceServer) GetArticleOGP(context.Context, *GetArticleOGPRequest) (*GetArticleOGPResponse, error)
func (UnimplementedContentServiceServer) GetFeed ¶
func (UnimplementedContentServiceServer) GetFeed(context.Context, *GetFeedRequest) (*GetFeedResponse, error)
func (UnimplementedContentServiceServer) GetFeeds ¶
func (UnimplementedContentServiceServer) GetFeeds(context.Context, *GetFeedsRequest) (*GetFeedsResponse, error)
func (UnimplementedContentServiceServer) GetUserSavedArticle ¶ added in v1.5.4
func (UnimplementedContentServiceServer) GetUserSavedArticle(context.Context, *GetUserSavedArticleRequest) (*GetUserSavedArticleResponse, error)
func (UnimplementedContentServiceServer) ListArticle ¶ added in v1.4.0
func (UnimplementedContentServiceServer) ListArticle(context.Context, *ListArticleRequest) (*ListArticleResponse, error)
func (UnimplementedContentServiceServer) ListArticleByArticleURL ¶ added in v1.3.9
func (UnimplementedContentServiceServer) ListArticleByArticleURL(context.Context, *ListArticleByArticleURLRequest) (*ListArticleByArticleURLResponse, error)
func (UnimplementedContentServiceServer) UpsertArticleComment ¶ added in v1.4.0
func (UnimplementedContentServiceServer) UpsertArticleComment(context.Context, *UpsertArticleCommentRequest) (*UpsertArticleCommentResponse, error)
type UnsafeContentServiceServer ¶
type UnsafeContentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeContentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContentServiceServer will result in compilation errors.
type UpsertArticleCommentRequest ¶ added in v1.4.0
type UpsertArticleCommentRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ArticleId string `protobuf:"bytes,3,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"` Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*UpsertArticleCommentRequest) Descriptor
deprecated
added in
v1.4.0
func (*UpsertArticleCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertArticleCommentRequest.ProtoReflect.Descriptor instead.
func (*UpsertArticleCommentRequest) GetArticleId ¶ added in v1.4.0
func (x *UpsertArticleCommentRequest) GetArticleId() string
func (*UpsertArticleCommentRequest) GetComment ¶ added in v1.4.0
func (x *UpsertArticleCommentRequest) GetComment() string
func (*UpsertArticleCommentRequest) GetId ¶ added in v1.4.0
func (x *UpsertArticleCommentRequest) GetId() *wrapperspb.StringValue
func (*UpsertArticleCommentRequest) GetUserId ¶ added in v1.4.0
func (x *UpsertArticleCommentRequest) GetUserId() string
func (*UpsertArticleCommentRequest) ProtoMessage ¶ added in v1.4.0
func (*UpsertArticleCommentRequest) ProtoMessage()
func (*UpsertArticleCommentRequest) ProtoReflect ¶ added in v1.4.0
func (x *UpsertArticleCommentRequest) ProtoReflect() protoreflect.Message
func (*UpsertArticleCommentRequest) Reset ¶ added in v1.4.0
func (x *UpsertArticleCommentRequest) Reset()
func (*UpsertArticleCommentRequest) String ¶ added in v1.4.0
func (x *UpsertArticleCommentRequest) String() string
type UpsertArticleCommentResponse ¶ added in v1.4.0
type UpsertArticleCommentResponse struct { Comment *ArticleComment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*UpsertArticleCommentResponse) Descriptor
deprecated
added in
v1.4.0
func (*UpsertArticleCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertArticleCommentResponse.ProtoReflect.Descriptor instead.
func (*UpsertArticleCommentResponse) GetComment ¶ added in v1.4.0
func (x *UpsertArticleCommentResponse) GetComment() *ArticleComment
func (*UpsertArticleCommentResponse) ProtoMessage ¶ added in v1.4.0
func (*UpsertArticleCommentResponse) ProtoMessage()
func (*UpsertArticleCommentResponse) ProtoReflect ¶ added in v1.4.0
func (x *UpsertArticleCommentResponse) ProtoReflect() protoreflect.Message
func (*UpsertArticleCommentResponse) Reset ¶ added in v1.4.0
func (x *UpsertArticleCommentResponse) Reset()
func (*UpsertArticleCommentResponse) String ¶ added in v1.4.0
func (x *UpsertArticleCommentResponse) String() string