Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPostHTTPServer(s *http.Server, srv PostHTTPServer)
- func RegisterPostServer(s grpc.ServiceRegistrar, srv PostServer)
- type CollectPostReply
- func (*CollectPostReply) Descriptor() ([]byte, []int)deprecated
- func (x *CollectPostReply) GetCode() int32
- func (x *CollectPostReply) GetMsg() string
- func (*CollectPostReply) ProtoMessage()
- func (x *CollectPostReply) ProtoReflect() protoreflect.Message
- func (x *CollectPostReply) Reset()
- func (x *CollectPostReply) String() string
- type CollectPostRequest
- func (*CollectPostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectPostRequest) GetCollectId() int64
- func (x *CollectPostRequest) GetCollectd() bool
- func (x *CollectPostRequest) GetPostId() int64
- func (*CollectPostRequest) ProtoMessage()
- func (x *CollectPostRequest) ProtoReflect() protoreflect.Message
- func (x *CollectPostRequest) Reset()
- func (x *CollectPostRequest) String() string
- type CreatePostReply
- func (*CreatePostReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePostReply) GetCode() int32
- func (x *CreatePostReply) GetData() int64
- func (x *CreatePostReply) GetMsg() string
- func (*CreatePostReply) ProtoMessage()
- func (x *CreatePostReply) ProtoReflect() protoreflect.Message
- func (x *CreatePostReply) Reset()
- func (x *CreatePostReply) String() string
- type CreatePostRequest
- func (*CreatePostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePostRequest) GetContent() string
- func (x *CreatePostRequest) GetPlateId() int64
- func (x *CreatePostRequest) GetPostId() int64
- func (x *CreatePostRequest) GetTitle() string
- func (*CreatePostRequest) ProtoMessage()
- func (x *CreatePostRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePostRequest) Reset()
- func (x *CreatePostRequest) String() string
- type DeletePostReply
- func (*DeletePostReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePostReply) GetCode() int32
- func (x *DeletePostReply) GetMsg() string
- func (*DeletePostReply) ProtoMessage()
- func (x *DeletePostReply) ProtoReflect() protoreflect.Message
- func (x *DeletePostReply) Reset()
- func (x *DeletePostReply) String() string
- type DeletePostRequest
- type DetailAdminPostReply
- func (*DetailAdminPostReply) Descriptor() ([]byte, []int)deprecated
- func (x *DetailAdminPostReply) GetCode() int32
- func (x *DetailAdminPostReply) GetData() *DetailPost
- func (x *DetailAdminPostReply) GetMsg() string
- func (*DetailAdminPostReply) ProtoMessage()
- func (x *DetailAdminPostReply) ProtoReflect() protoreflect.Message
- func (x *DetailAdminPostReply) Reset()
- func (x *DetailAdminPostReply) String() string
- type DetailAdminPostRequest
- func (*DetailAdminPostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetailAdminPostRequest) GetPostId() int64
- func (*DetailAdminPostRequest) ProtoMessage()
- func (x *DetailAdminPostRequest) ProtoReflect() protoreflect.Message
- func (x *DetailAdminPostRequest) Reset()
- func (x *DetailAdminPostRequest) String() string
- type DetailPost
- func (*DetailPost) Descriptor() ([]byte, []int)deprecated
- func (x *DetailPost) GetCollectCount() int64
- func (x *DetailPost) GetContent() string
- func (x *DetailPost) GetCreatedAt() int64
- func (x *DetailPost) GetId() int64
- func (x *DetailPost) GetLikeCount() int64
- func (x *DetailPost) GetPlateId() int64
- func (x *DetailPost) GetTitle() string
- func (x *DetailPost) GetUpdatedAt() int64
- func (x *DetailPost) GetUserId() int64
- func (x *DetailPost) GetViewCount() int64
- func (*DetailPost) ProtoMessage()
- func (x *DetailPost) ProtoReflect() protoreflect.Message
- func (x *DetailPost) Reset()
- func (x *DetailPost) String() string
- type DetailPostReply
- func (*DetailPostReply) Descriptor() ([]byte, []int)deprecated
- func (x *DetailPostReply) GetCode() int32
- func (x *DetailPostReply) GetData() *DetailPost
- func (x *DetailPostReply) GetMsg() string
- func (*DetailPostReply) ProtoMessage()
- func (x *DetailPostReply) ProtoReflect() protoreflect.Message
- func (x *DetailPostReply) Reset()
- func (x *DetailPostReply) String() string
- type DetailPostRequest
- type DetailPubPostReply
- func (*DetailPubPostReply) Descriptor() ([]byte, []int)deprecated
- func (x *DetailPubPostReply) GetCode() int32
- func (x *DetailPubPostReply) GetData() *DetailPost
- func (x *DetailPubPostReply) GetMsg() string
- func (*DetailPubPostReply) ProtoMessage()
- func (x *DetailPubPostReply) ProtoReflect() protoreflect.Message
- func (x *DetailPubPostReply) Reset()
- func (x *DetailPubPostReply) String() string
- type DetailPubPostRequest
- func (*DetailPubPostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetailPubPostRequest) GetPostId() int64
- func (*DetailPubPostRequest) ProtoMessage()
- func (x *DetailPubPostRequest) ProtoReflect() protoreflect.Message
- func (x *DetailPubPostRequest) Reset()
- func (x *DetailPubPostRequest) String() string
- type GetPostStatsReply
- func (*GetPostStatsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetPostStatsReply) GetCode() int32
- func (x *GetPostStatsReply) GetCount() int64
- func (x *GetPostStatsReply) GetMsg() string
- func (*GetPostStatsReply) ProtoMessage()
- func (x *GetPostStatsReply) ProtoReflect() protoreflect.Message
- func (x *GetPostStatsReply) Reset()
- func (x *GetPostStatsReply) String() string
- type LikePostReply
- func (*LikePostReply) Descriptor() ([]byte, []int)deprecated
- func (x *LikePostReply) GetCode() int32
- func (x *LikePostReply) GetMsg() string
- func (*LikePostReply) ProtoMessage()
- func (x *LikePostReply) ProtoReflect() protoreflect.Message
- func (x *LikePostReply) Reset()
- func (x *LikePostReply) String() string
- type LikePostRequest
- func (*LikePostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LikePostRequest) GetLiked() bool
- func (x *LikePostRequest) GetPostId() int64
- func (*LikePostRequest) ProtoMessage()
- func (x *LikePostRequest) ProtoReflect() protoreflect.Message
- func (x *LikePostRequest) Reset()
- func (x *LikePostRequest) String() string
- type ListAdminPostReply
- func (*ListAdminPostReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdminPostReply) GetCode() int32
- func (x *ListAdminPostReply) GetData() []*ListPost
- func (x *ListAdminPostReply) GetMsg() string
- func (*ListAdminPostReply) ProtoMessage()
- func (x *ListAdminPostReply) ProtoReflect() protoreflect.Message
- func (x *ListAdminPostReply) Reset()
- func (x *ListAdminPostReply) String() string
- type ListAdminPostRequest
- func (*ListAdminPostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdminPostRequest) GetPage() int32
- func (x *ListAdminPostRequest) GetSize() int64
- func (*ListAdminPostRequest) ProtoMessage()
- func (x *ListAdminPostRequest) ProtoReflect() protoreflect.Message
- func (x *ListAdminPostRequest) Reset()
- func (x *ListAdminPostRequest) String() string
- type ListPost
- func (*ListPost) Descriptor() ([]byte, []int)deprecated
- func (x *ListPost) GetContent() string
- func (x *ListPost) GetCreatedAt() int64
- func (x *ListPost) GetId() int64
- func (x *ListPost) GetPlateId() int64
- func (x *ListPost) GetTitle() string
- func (x *ListPost) GetUpdatedAt() int64
- func (x *ListPost) GetUserId() int64
- func (*ListPost) ProtoMessage()
- func (x *ListPost) ProtoReflect() protoreflect.Message
- func (x *ListPost) Reset()
- func (x *ListPost) String() string
- type ListPostReply
- func (*ListPostReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostReply) GetCode() int32
- func (x *ListPostReply) GetData() []*ListPost
- func (x *ListPostReply) GetMsg() string
- func (*ListPostReply) ProtoMessage()
- func (x *ListPostReply) ProtoReflect() protoreflect.Message
- func (x *ListPostReply) Reset()
- func (x *ListPostReply) String() string
- type ListPostRequest
- func (*ListPostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostRequest) GetPage() int32
- func (x *ListPostRequest) GetSize() int64
- func (*ListPostRequest) ProtoMessage()
- func (x *ListPostRequest) ProtoReflect() protoreflect.Message
- func (x *ListPostRequest) Reset()
- func (x *ListPostRequest) String() string
- type ListPubPostReply
- func (*ListPubPostReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListPubPostReply) GetCode() int32
- func (x *ListPubPostReply) GetData() []*ListPost
- func (x *ListPubPostReply) GetMsg() string
- func (*ListPubPostReply) ProtoMessage()
- func (x *ListPubPostReply) ProtoReflect() protoreflect.Message
- func (x *ListPubPostReply) Reset()
- func (x *ListPubPostReply) String() string
- type ListPubPostRequest
- func (*ListPubPostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPubPostRequest) GetPage() int32
- func (x *ListPubPostRequest) GetSize() int64
- func (*ListPubPostRequest) ProtoMessage()
- func (x *ListPubPostRequest) ProtoReflect() protoreflect.Message
- func (x *ListPubPostRequest) Reset()
- func (x *ListPubPostRequest) String() string
- type PostClient
- type PostHTTPClient
- type PostHTTPClientImpl
- func (c *PostHTTPClientImpl) CollectPost(ctx context.Context, in *CollectPostRequest, opts ...http.CallOption) (*CollectPostReply, error)
- func (c *PostHTTPClientImpl) CreatePost(ctx context.Context, in *CreatePostRequest, opts ...http.CallOption) (*CreatePostReply, error)
- func (c *PostHTTPClientImpl) DeletePost(ctx context.Context, in *DeletePostRequest, opts ...http.CallOption) (*DeletePostReply, error)
- func (c *PostHTTPClientImpl) DetailAdminPost(ctx context.Context, in *DetailAdminPostRequest, opts ...http.CallOption) (*DetailAdminPostReply, error)
- func (c *PostHTTPClientImpl) DetailPost(ctx context.Context, in *DetailPostRequest, opts ...http.CallOption) (*DetailPostReply, error)
- func (c *PostHTTPClientImpl) DetailPubPost(ctx context.Context, in *DetailPubPostRequest, opts ...http.CallOption) (*DetailPubPostReply, error)
- func (c *PostHTTPClientImpl) GetPostStats(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetPostStatsReply, error)
- func (c *PostHTTPClientImpl) LikePost(ctx context.Context, in *LikePostRequest, opts ...http.CallOption) (*LikePostReply, error)
- func (c *PostHTTPClientImpl) ListAdminPost(ctx context.Context, in *ListAdminPostRequest, opts ...http.CallOption) (*ListAdminPostReply, error)
- func (c *PostHTTPClientImpl) ListPost(ctx context.Context, in *ListPostRequest, opts ...http.CallOption) (*ListPostReply, error)
- func (c *PostHTTPClientImpl) ListPubPost(ctx context.Context, in *ListPubPostRequest, opts ...http.CallOption) (*ListPubPostReply, error)
- func (c *PostHTTPClientImpl) PublishPost(ctx context.Context, in *PublishPostRequest, opts ...http.CallOption) (*PublishPostReply, error)
- func (c *PostHTTPClientImpl) UpdatePost(ctx context.Context, in *UpdatePostRequest, opts ...http.CallOption) (*UpdatePostReply, error)
- func (c *PostHTTPClientImpl) WithdrawPost(ctx context.Context, in *WithdrawPostRequest, opts ...http.CallOption) (*WithdrawPostReply, error)
- type PostHTTPServer
- type PostServer
- type PostSyncReply
- func (*PostSyncReply) Descriptor() ([]byte, []int)deprecated
- func (x *PostSyncReply) GetCode() int32
- func (x *PostSyncReply) GetMsg() string
- func (*PostSyncReply) ProtoMessage()
- func (x *PostSyncReply) ProtoReflect() protoreflect.Message
- func (x *PostSyncReply) Reset()
- func (x *PostSyncReply) String() string
- type PostSyncRequest
- type PublishPostReply
- func (*PublishPostReply) Descriptor() ([]byte, []int)deprecated
- func (x *PublishPostReply) GetCheckId() int64
- func (x *PublishPostReply) GetCode() int32
- func (x *PublishPostReply) GetMsg() string
- func (*PublishPostReply) ProtoMessage()
- func (x *PublishPostReply) ProtoReflect() protoreflect.Message
- func (x *PublishPostReply) Reset()
- func (x *PublishPostReply) String() string
- type PublishPostRequest
- func (*PublishPostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishPostRequest) GetPostId() int64
- func (*PublishPostRequest) ProtoMessage()
- func (x *PublishPostRequest) ProtoReflect() protoreflect.Message
- func (x *PublishPostRequest) Reset()
- func (x *PublishPostRequest) String() string
- type UnimplementedPostServer
- func (UnimplementedPostServer) CollectPost(context.Context, *CollectPostRequest) (*CollectPostReply, error)
- func (UnimplementedPostServer) CreatePost(context.Context, *CreatePostRequest) (*CreatePostReply, error)
- func (UnimplementedPostServer) DeletePost(context.Context, *DeletePostRequest) (*DeletePostReply, error)
- func (UnimplementedPostServer) DetailAdminPost(context.Context, *DetailAdminPostRequest) (*DetailAdminPostReply, error)
- func (UnimplementedPostServer) DetailPost(context.Context, *DetailPostRequest) (*DetailPostReply, error)
- func (UnimplementedPostServer) DetailPubPost(context.Context, *DetailPubPostRequest) (*DetailPubPostReply, error)
- func (UnimplementedPostServer) GetPostStats(context.Context, *emptypb.Empty) (*GetPostStatsReply, error)
- func (UnimplementedPostServer) LikePost(context.Context, *LikePostRequest) (*LikePostReply, error)
- func (UnimplementedPostServer) ListAdminPost(context.Context, *ListAdminPostRequest) (*ListAdminPostReply, error)
- func (UnimplementedPostServer) ListPost(context.Context, *ListPostRequest) (*ListPostReply, error)
- func (UnimplementedPostServer) ListPubPost(context.Context, *ListPubPostRequest) (*ListPubPostReply, error)
- func (UnimplementedPostServer) PostSync(context.Context, *PostSyncRequest) (*PostSyncReply, error)
- func (UnimplementedPostServer) PublishPost(context.Context, *PublishPostRequest) (*PublishPostReply, error)
- func (UnimplementedPostServer) UpdatePost(context.Context, *UpdatePostRequest) (*UpdatePostReply, error)
- func (UnimplementedPostServer) UpdatePostStatus(context.Context, *UpdatePostStatusRequest) (*UpdatePostStatusReply, error)
- func (UnimplementedPostServer) WithdrawPost(context.Context, *WithdrawPostRequest) (*WithdrawPostReply, error)
- type UnsafePostServer
- type UpdatePostReply
- func (*UpdatePostReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePostReply) GetCode() int32
- func (x *UpdatePostReply) GetMsg() string
- func (*UpdatePostReply) ProtoMessage()
- func (x *UpdatePostReply) ProtoReflect() protoreflect.Message
- func (x *UpdatePostReply) Reset()
- func (x *UpdatePostReply) String() string
- type UpdatePostRequest
- func (*UpdatePostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePostRequest) GetContent() string
- func (x *UpdatePostRequest) GetPlateId() int64
- func (x *UpdatePostRequest) GetPostId() int64
- func (x *UpdatePostRequest) GetTitle() string
- func (*UpdatePostRequest) ProtoMessage()
- func (x *UpdatePostRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePostRequest) Reset()
- func (x *UpdatePostRequest) String() string
- type UpdatePostStatusReply
- func (*UpdatePostStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePostStatusReply) GetCode() int32
- func (x *UpdatePostStatusReply) GetMsg() string
- func (*UpdatePostStatusReply) ProtoMessage()
- func (x *UpdatePostStatusReply) ProtoReflect() protoreflect.Message
- func (x *UpdatePostStatusReply) Reset()
- func (x *UpdatePostStatusReply) String() string
- type UpdatePostStatusRequest
- func (*UpdatePostStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePostStatusRequest) GetPostId() int64
- func (x *UpdatePostStatusRequest) GetStatus() string
- func (*UpdatePostStatusRequest) ProtoMessage()
- func (x *UpdatePostStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePostStatusRequest) Reset()
- func (x *UpdatePostStatusRequest) String() string
- type WithdrawPostReply
- func (*WithdrawPostReply) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawPostReply) GetCode() int32
- func (x *WithdrawPostReply) GetMsg() string
- func (*WithdrawPostReply) ProtoMessage()
- func (x *WithdrawPostReply) ProtoReflect() protoreflect.Message
- func (x *WithdrawPostReply) Reset()
- func (x *WithdrawPostReply) String() string
- type WithdrawPostRequest
- func (*WithdrawPostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawPostRequest) GetPostId() int64
- func (*WithdrawPostRequest) ProtoMessage()
- func (x *WithdrawPostRequest) ProtoReflect() protoreflect.Message
- func (x *WithdrawPostRequest) Reset()
- func (x *WithdrawPostRequest) String() string
Constants ¶
const ( Post_CreatePost_FullMethodName = "/api.post.Post/CreatePost" Post_UpdatePost_FullMethodName = "/api.post.Post/UpdatePost" Post_UpdatePostStatus_FullMethodName = "/api.post.Post/UpdatePostStatus" Post_DeletePost_FullMethodName = "/api.post.Post/DeletePost" Post_PublishPost_FullMethodName = "/api.post.Post/PublishPost" Post_WithdrawPost_FullMethodName = "/api.post.Post/WithdrawPost" Post_ListPost_FullMethodName = "/api.post.Post/ListPost" Post_ListPubPost_FullMethodName = "/api.post.Post/ListPubPost" Post_ListAdminPost_FullMethodName = "/api.post.Post/ListAdminPost" Post_DetailPost_FullMethodName = "/api.post.Post/DetailPost" Post_DetailPubPost_FullMethodName = "/api.post.Post/DetailPubPost" Post_DetailAdminPost_FullMethodName = "/api.post.Post/DetailAdminPost" Post_GetPostStats_FullMethodName = "/api.post.Post/GetPostStats" Post_LikePost_FullMethodName = "/api.post.Post/LikePost" Post_CollectPost_FullMethodName = "/api.post.Post/CollectPost" Post_PostSync_FullMethodName = "/api.post.Post/PostSync" )
const OperationPostCollectPost = "/api.post.Post/CollectPost"
const OperationPostCreatePost = "/api.post.Post/CreatePost"
const OperationPostDeletePost = "/api.post.Post/DeletePost"
const OperationPostDetailAdminPost = "/api.post.Post/DetailAdminPost"
const OperationPostDetailPost = "/api.post.Post/DetailPost"
const OperationPostDetailPubPost = "/api.post.Post/DetailPubPost"
const OperationPostGetPostStats = "/api.post.Post/GetPostStats"
const OperationPostLikePost = "/api.post.Post/LikePost"
const OperationPostListAdminPost = "/api.post.Post/ListAdminPost"
const OperationPostListPost = "/api.post.Post/ListPost"
const OperationPostListPubPost = "/api.post.Post/ListPubPost"
const OperationPostPublishPost = "/api.post.Post/PublishPost"
const OperationPostUpdatePost = "/api.post.Post/UpdatePost"
const OperationPostWithdrawPost = "/api.post.Post/WithdrawPost"
Variables ¶
var File_api_post_v1_post_proto protoreflect.FileDescriptor
var Post_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.post.Post", HandlerType: (*PostServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePost", Handler: _Post_CreatePost_Handler, }, { MethodName: "UpdatePost", Handler: _Post_UpdatePost_Handler, }, { MethodName: "UpdatePostStatus", Handler: _Post_UpdatePostStatus_Handler, }, { MethodName: "DeletePost", Handler: _Post_DeletePost_Handler, }, { MethodName: "PublishPost", Handler: _Post_PublishPost_Handler, }, { MethodName: "WithdrawPost", Handler: _Post_WithdrawPost_Handler, }, { MethodName: "ListPost", Handler: _Post_ListPost_Handler, }, { MethodName: "ListPubPost", Handler: _Post_ListPubPost_Handler, }, { MethodName: "ListAdminPost", Handler: _Post_ListAdminPost_Handler, }, { MethodName: "DetailPost", Handler: _Post_DetailPost_Handler, }, { MethodName: "DetailPubPost", Handler: _Post_DetailPubPost_Handler, }, { MethodName: "DetailAdminPost", Handler: _Post_DetailAdminPost_Handler, }, { MethodName: "GetPostStats", Handler: _Post_GetPostStats_Handler, }, { MethodName: "LikePost", Handler: _Post_LikePost_Handler, }, { MethodName: "CollectPost", Handler: _Post_CollectPost_Handler, }, { MethodName: "PostSync", Handler: _Post_PostSync_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/post/v1/post.proto", }
Post_ServiceDesc is the grpc.ServiceDesc for Post service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPostHTTPServer ¶
func RegisterPostHTTPServer(s *http.Server, srv PostHTTPServer)
func RegisterPostServer ¶
func RegisterPostServer(s grpc.ServiceRegistrar, srv PostServer)
Types ¶
type CollectPostReply ¶
type CollectPostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*CollectPostReply) Descriptor
deprecated
func (*CollectPostReply) Descriptor() ([]byte, []int)
Deprecated: Use CollectPostReply.ProtoReflect.Descriptor instead.
func (*CollectPostReply) GetCode ¶
func (x *CollectPostReply) GetCode() int32
func (*CollectPostReply) GetMsg ¶
func (x *CollectPostReply) GetMsg() string
func (*CollectPostReply) ProtoMessage ¶
func (*CollectPostReply) ProtoMessage()
func (*CollectPostReply) ProtoReflect ¶
func (x *CollectPostReply) ProtoReflect() protoreflect.Message
func (*CollectPostReply) Reset ¶
func (x *CollectPostReply) Reset()
func (*CollectPostReply) String ¶
func (x *CollectPostReply) String() string
type CollectPostRequest ¶
type CollectPostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` CollectId int64 `protobuf:"varint,2,opt,name=collectId,proto3" json:"collectId,omitempty"` Collectd bool `protobuf:"varint,3,opt,name=collectd,proto3" json:"collectd,omitempty"` // contains filtered or unexported fields }
func (*CollectPostRequest) Descriptor
deprecated
func (*CollectPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectPostRequest.ProtoReflect.Descriptor instead.
func (*CollectPostRequest) GetCollectId ¶
func (x *CollectPostRequest) GetCollectId() int64
func (*CollectPostRequest) GetCollectd ¶
func (x *CollectPostRequest) GetCollectd() bool
func (*CollectPostRequest) GetPostId ¶
func (x *CollectPostRequest) GetPostId() int64
func (*CollectPostRequest) ProtoMessage ¶
func (*CollectPostRequest) ProtoMessage()
func (*CollectPostRequest) ProtoReflect ¶
func (x *CollectPostRequest) ProtoReflect() protoreflect.Message
func (*CollectPostRequest) Reset ¶
func (x *CollectPostRequest) Reset()
func (*CollectPostRequest) String ¶
func (x *CollectPostRequest) String() string
type CreatePostReply ¶
type CreatePostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data int64 `protobuf:"varint,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreatePostReply) Descriptor
deprecated
func (*CreatePostReply) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostReply.ProtoReflect.Descriptor instead.
func (*CreatePostReply) GetCode ¶
func (x *CreatePostReply) GetCode() int32
func (*CreatePostReply) GetData ¶
func (x *CreatePostReply) GetData() int64
func (*CreatePostReply) GetMsg ¶
func (x *CreatePostReply) GetMsg() string
func (*CreatePostReply) ProtoMessage ¶
func (*CreatePostReply) ProtoMessage()
func (*CreatePostReply) ProtoReflect ¶
func (x *CreatePostReply) ProtoReflect() protoreflect.Message
func (*CreatePostReply) Reset ¶
func (x *CreatePostReply) Reset()
func (*CreatePostReply) String ¶
func (x *CreatePostReply) String() string
type CreatePostRequest ¶
type CreatePostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` PlateId int64 `protobuf:"varint,4,opt,name=plateId,proto3" json:"plateId,omitempty"` // contains filtered or unexported fields }
func (*CreatePostRequest) Descriptor
deprecated
func (*CreatePostRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostRequest.ProtoReflect.Descriptor instead.
func (*CreatePostRequest) GetContent ¶
func (x *CreatePostRequest) GetContent() string
func (*CreatePostRequest) GetPlateId ¶
func (x *CreatePostRequest) GetPlateId() int64
func (*CreatePostRequest) GetPostId ¶
func (x *CreatePostRequest) GetPostId() int64
func (*CreatePostRequest) GetTitle ¶
func (x *CreatePostRequest) GetTitle() string
func (*CreatePostRequest) ProtoMessage ¶
func (*CreatePostRequest) ProtoMessage()
func (*CreatePostRequest) ProtoReflect ¶
func (x *CreatePostRequest) ProtoReflect() protoreflect.Message
func (*CreatePostRequest) Reset ¶
func (x *CreatePostRequest) Reset()
func (*CreatePostRequest) String ¶
func (x *CreatePostRequest) String() string
type DeletePostReply ¶
type DeletePostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeletePostReply) Descriptor
deprecated
func (*DeletePostReply) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostReply.ProtoReflect.Descriptor instead.
func (*DeletePostReply) GetCode ¶
func (x *DeletePostReply) GetCode() int32
func (*DeletePostReply) GetMsg ¶
func (x *DeletePostReply) GetMsg() string
func (*DeletePostReply) ProtoMessage ¶
func (*DeletePostReply) ProtoMessage()
func (*DeletePostReply) ProtoReflect ¶
func (x *DeletePostReply) ProtoReflect() protoreflect.Message
func (*DeletePostReply) Reset ¶
func (x *DeletePostReply) Reset()
func (*DeletePostReply) String ¶
func (x *DeletePostReply) String() string
type DeletePostRequest ¶
type DeletePostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` // contains filtered or unexported fields }
func (*DeletePostRequest) Descriptor
deprecated
func (*DeletePostRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostRequest.ProtoReflect.Descriptor instead.
func (*DeletePostRequest) GetPostId ¶
func (x *DeletePostRequest) GetPostId() int64
func (*DeletePostRequest) ProtoMessage ¶
func (*DeletePostRequest) ProtoMessage()
func (*DeletePostRequest) ProtoReflect ¶
func (x *DeletePostRequest) ProtoReflect() protoreflect.Message
func (*DeletePostRequest) Reset ¶
func (x *DeletePostRequest) Reset()
func (*DeletePostRequest) String ¶
func (x *DeletePostRequest) String() string
type DetailAdminPostReply ¶
type DetailAdminPostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data *DetailPost `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DetailAdminPostReply) Descriptor
deprecated
func (*DetailAdminPostReply) Descriptor() ([]byte, []int)
Deprecated: Use DetailAdminPostReply.ProtoReflect.Descriptor instead.
func (*DetailAdminPostReply) GetCode ¶
func (x *DetailAdminPostReply) GetCode() int32
func (*DetailAdminPostReply) GetData ¶
func (x *DetailAdminPostReply) GetData() *DetailPost
func (*DetailAdminPostReply) GetMsg ¶
func (x *DetailAdminPostReply) GetMsg() string
func (*DetailAdminPostReply) ProtoMessage ¶
func (*DetailAdminPostReply) ProtoMessage()
func (*DetailAdminPostReply) ProtoReflect ¶
func (x *DetailAdminPostReply) ProtoReflect() protoreflect.Message
func (*DetailAdminPostReply) Reset ¶
func (x *DetailAdminPostReply) Reset()
func (*DetailAdminPostReply) String ¶
func (x *DetailAdminPostReply) String() string
type DetailAdminPostRequest ¶
type DetailAdminPostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` // contains filtered or unexported fields }
func (*DetailAdminPostRequest) Descriptor
deprecated
func (*DetailAdminPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetailAdminPostRequest.ProtoReflect.Descriptor instead.
func (*DetailAdminPostRequest) GetPostId ¶
func (x *DetailAdminPostRequest) GetPostId() int64
func (*DetailAdminPostRequest) ProtoMessage ¶
func (*DetailAdminPostRequest) ProtoMessage()
func (*DetailAdminPostRequest) ProtoReflect ¶
func (x *DetailAdminPostRequest) ProtoReflect() protoreflect.Message
func (*DetailAdminPostRequest) Reset ¶
func (x *DetailAdminPostRequest) Reset()
func (*DetailAdminPostRequest) String ¶
func (x *DetailAdminPostRequest) String() string
type DetailPost ¶
type DetailPost struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` UserId int64 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"` PlateId int64 `protobuf:"varint,7,opt,name=plateId,proto3" json:"plateId,omitempty"` LikeCount int64 `protobuf:"varint,8,opt,name=likeCount,proto3" json:"likeCount,omitempty"` CollectCount int64 `protobuf:"varint,9,opt,name=collectCount,proto3" json:"collectCount,omitempty"` ViewCount int64 `protobuf:"varint,10,opt,name=viewCount,proto3" json:"viewCount,omitempty"` // contains filtered or unexported fields }
func (*DetailPost) Descriptor
deprecated
func (*DetailPost) Descriptor() ([]byte, []int)
Deprecated: Use DetailPost.ProtoReflect.Descriptor instead.
func (*DetailPost) GetCollectCount ¶
func (x *DetailPost) GetCollectCount() int64
func (*DetailPost) GetContent ¶
func (x *DetailPost) GetContent() string
func (*DetailPost) GetCreatedAt ¶
func (x *DetailPost) GetCreatedAt() int64
func (*DetailPost) GetId ¶
func (x *DetailPost) GetId() int64
func (*DetailPost) GetLikeCount ¶
func (x *DetailPost) GetLikeCount() int64
func (*DetailPost) GetPlateId ¶
func (x *DetailPost) GetPlateId() int64
func (*DetailPost) GetTitle ¶
func (x *DetailPost) GetTitle() string
func (*DetailPost) GetUpdatedAt ¶
func (x *DetailPost) GetUpdatedAt() int64
func (*DetailPost) GetUserId ¶
func (x *DetailPost) GetUserId() int64
func (*DetailPost) GetViewCount ¶
func (x *DetailPost) GetViewCount() int64
func (*DetailPost) ProtoMessage ¶
func (*DetailPost) ProtoMessage()
func (*DetailPost) ProtoReflect ¶
func (x *DetailPost) ProtoReflect() protoreflect.Message
func (*DetailPost) Reset ¶
func (x *DetailPost) Reset()
func (*DetailPost) String ¶
func (x *DetailPost) String() string
type DetailPostReply ¶
type DetailPostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data *DetailPost `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DetailPostReply) Descriptor
deprecated
func (*DetailPostReply) Descriptor() ([]byte, []int)
Deprecated: Use DetailPostReply.ProtoReflect.Descriptor instead.
func (*DetailPostReply) GetCode ¶
func (x *DetailPostReply) GetCode() int32
func (*DetailPostReply) GetData ¶
func (x *DetailPostReply) GetData() *DetailPost
func (*DetailPostReply) GetMsg ¶
func (x *DetailPostReply) GetMsg() string
func (*DetailPostReply) ProtoMessage ¶
func (*DetailPostReply) ProtoMessage()
func (*DetailPostReply) ProtoReflect ¶
func (x *DetailPostReply) ProtoReflect() protoreflect.Message
func (*DetailPostReply) Reset ¶
func (x *DetailPostReply) Reset()
func (*DetailPostReply) String ¶
func (x *DetailPostReply) String() string
type DetailPostRequest ¶
type DetailPostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` // contains filtered or unexported fields }
func (*DetailPostRequest) Descriptor
deprecated
func (*DetailPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetailPostRequest.ProtoReflect.Descriptor instead.
func (*DetailPostRequest) GetPostId ¶
func (x *DetailPostRequest) GetPostId() int64
func (*DetailPostRequest) ProtoMessage ¶
func (*DetailPostRequest) ProtoMessage()
func (*DetailPostRequest) ProtoReflect ¶
func (x *DetailPostRequest) ProtoReflect() protoreflect.Message
func (*DetailPostRequest) Reset ¶
func (x *DetailPostRequest) Reset()
func (*DetailPostRequest) String ¶
func (x *DetailPostRequest) String() string
type DetailPubPostReply ¶
type DetailPubPostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data *DetailPost `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DetailPubPostReply) Descriptor
deprecated
func (*DetailPubPostReply) Descriptor() ([]byte, []int)
Deprecated: Use DetailPubPostReply.ProtoReflect.Descriptor instead.
func (*DetailPubPostReply) GetCode ¶
func (x *DetailPubPostReply) GetCode() int32
func (*DetailPubPostReply) GetData ¶
func (x *DetailPubPostReply) GetData() *DetailPost
func (*DetailPubPostReply) GetMsg ¶
func (x *DetailPubPostReply) GetMsg() string
func (*DetailPubPostReply) ProtoMessage ¶
func (*DetailPubPostReply) ProtoMessage()
func (*DetailPubPostReply) ProtoReflect ¶
func (x *DetailPubPostReply) ProtoReflect() protoreflect.Message
func (*DetailPubPostReply) Reset ¶
func (x *DetailPubPostReply) Reset()
func (*DetailPubPostReply) String ¶
func (x *DetailPubPostReply) String() string
type DetailPubPostRequest ¶
type DetailPubPostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` // contains filtered or unexported fields }
func (*DetailPubPostRequest) Descriptor
deprecated
func (*DetailPubPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetailPubPostRequest.ProtoReflect.Descriptor instead.
func (*DetailPubPostRequest) GetPostId ¶
func (x *DetailPubPostRequest) GetPostId() int64
func (*DetailPubPostRequest) ProtoMessage ¶
func (*DetailPubPostRequest) ProtoMessage()
func (*DetailPubPostRequest) ProtoReflect ¶
func (x *DetailPubPostRequest) ProtoReflect() protoreflect.Message
func (*DetailPubPostRequest) Reset ¶
func (x *DetailPubPostRequest) Reset()
func (*DetailPubPostRequest) String ¶
func (x *DetailPubPostRequest) String() string
type GetPostStatsReply ¶
type GetPostStatsReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GetPostStatsReply) Descriptor
deprecated
func (*GetPostStatsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetPostStatsReply.ProtoReflect.Descriptor instead.
func (*GetPostStatsReply) GetCode ¶
func (x *GetPostStatsReply) GetCode() int32
func (*GetPostStatsReply) GetCount ¶
func (x *GetPostStatsReply) GetCount() int64
func (*GetPostStatsReply) GetMsg ¶
func (x *GetPostStatsReply) GetMsg() string
func (*GetPostStatsReply) ProtoMessage ¶
func (*GetPostStatsReply) ProtoMessage()
func (*GetPostStatsReply) ProtoReflect ¶
func (x *GetPostStatsReply) ProtoReflect() protoreflect.Message
func (*GetPostStatsReply) Reset ¶
func (x *GetPostStatsReply) Reset()
func (*GetPostStatsReply) String ¶
func (x *GetPostStatsReply) String() string
type LikePostReply ¶
type LikePostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*LikePostReply) Descriptor
deprecated
func (*LikePostReply) Descriptor() ([]byte, []int)
Deprecated: Use LikePostReply.ProtoReflect.Descriptor instead.
func (*LikePostReply) GetCode ¶
func (x *LikePostReply) GetCode() int32
func (*LikePostReply) GetMsg ¶
func (x *LikePostReply) GetMsg() string
func (*LikePostReply) ProtoMessage ¶
func (*LikePostReply) ProtoMessage()
func (*LikePostReply) ProtoReflect ¶
func (x *LikePostReply) ProtoReflect() protoreflect.Message
func (*LikePostReply) Reset ¶
func (x *LikePostReply) Reset()
func (*LikePostReply) String ¶
func (x *LikePostReply) String() string
type LikePostRequest ¶
type LikePostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` Liked bool `protobuf:"varint,2,opt,name=liked,proto3" json:"liked,omitempty"` // contains filtered or unexported fields }
func (*LikePostRequest) Descriptor
deprecated
func (*LikePostRequest) Descriptor() ([]byte, []int)
Deprecated: Use LikePostRequest.ProtoReflect.Descriptor instead.
func (*LikePostRequest) GetLiked ¶
func (x *LikePostRequest) GetLiked() bool
func (*LikePostRequest) GetPostId ¶
func (x *LikePostRequest) GetPostId() int64
func (*LikePostRequest) ProtoMessage ¶
func (*LikePostRequest) ProtoMessage()
func (*LikePostRequest) ProtoReflect ¶
func (x *LikePostRequest) ProtoReflect() protoreflect.Message
func (*LikePostRequest) Reset ¶
func (x *LikePostRequest) Reset()
func (*LikePostRequest) String ¶
func (x *LikePostRequest) String() string
type ListAdminPostReply ¶
type ListAdminPostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data []*ListPost `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListAdminPostReply) Descriptor
deprecated
func (*ListAdminPostReply) Descriptor() ([]byte, []int)
Deprecated: Use ListAdminPostReply.ProtoReflect.Descriptor instead.
func (*ListAdminPostReply) GetCode ¶
func (x *ListAdminPostReply) GetCode() int32
func (*ListAdminPostReply) GetData ¶
func (x *ListAdminPostReply) GetData() []*ListPost
func (*ListAdminPostReply) GetMsg ¶
func (x *ListAdminPostReply) GetMsg() string
func (*ListAdminPostReply) ProtoMessage ¶
func (*ListAdminPostReply) ProtoMessage()
func (*ListAdminPostReply) ProtoReflect ¶
func (x *ListAdminPostReply) ProtoReflect() protoreflect.Message
func (*ListAdminPostReply) Reset ¶
func (x *ListAdminPostReply) Reset()
func (*ListAdminPostReply) String ¶
func (x *ListAdminPostReply) String() string
type ListAdminPostRequest ¶
type ListAdminPostRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListAdminPostRequest) Descriptor
deprecated
func (*ListAdminPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAdminPostRequest.ProtoReflect.Descriptor instead.
func (*ListAdminPostRequest) GetPage ¶
func (x *ListAdminPostRequest) GetPage() int32
func (*ListAdminPostRequest) GetSize ¶
func (x *ListAdminPostRequest) GetSize() int64
func (*ListAdminPostRequest) ProtoMessage ¶
func (*ListAdminPostRequest) ProtoMessage()
func (*ListAdminPostRequest) ProtoReflect ¶
func (x *ListAdminPostRequest) ProtoReflect() protoreflect.Message
func (*ListAdminPostRequest) Reset ¶
func (x *ListAdminPostRequest) Reset()
func (*ListAdminPostRequest) String ¶
func (x *ListAdminPostRequest) String() string
type ListPost ¶
type ListPost struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` UserId int64 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"` PlateId int64 `protobuf:"varint,7,opt,name=plateId,proto3" json:"plateId,omitempty"` // contains filtered or unexported fields }
func (*ListPost) Descriptor
deprecated
func (*ListPost) GetContent ¶
func (*ListPost) GetCreatedAt ¶
func (*ListPost) GetPlateId ¶
func (*ListPost) GetUpdatedAt ¶
func (*ListPost) ProtoMessage ¶
func (*ListPost) ProtoMessage()
func (*ListPost) ProtoReflect ¶
func (x *ListPost) ProtoReflect() protoreflect.Message
type ListPostReply ¶
type ListPostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data []*ListPost `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListPostReply) Descriptor
deprecated
func (*ListPostReply) Descriptor() ([]byte, []int)
Deprecated: Use ListPostReply.ProtoReflect.Descriptor instead.
func (*ListPostReply) GetCode ¶
func (x *ListPostReply) GetCode() int32
func (*ListPostReply) GetData ¶
func (x *ListPostReply) GetData() []*ListPost
func (*ListPostReply) GetMsg ¶
func (x *ListPostReply) GetMsg() string
func (*ListPostReply) ProtoMessage ¶
func (*ListPostReply) ProtoMessage()
func (*ListPostReply) ProtoReflect ¶
func (x *ListPostReply) ProtoReflect() protoreflect.Message
func (*ListPostReply) Reset ¶
func (x *ListPostReply) Reset()
func (*ListPostReply) String ¶
func (x *ListPostReply) String() string
type ListPostRequest ¶
type ListPostRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListPostRequest) Descriptor
deprecated
func (*ListPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPostRequest.ProtoReflect.Descriptor instead.
func (*ListPostRequest) GetPage ¶
func (x *ListPostRequest) GetPage() int32
func (*ListPostRequest) GetSize ¶
func (x *ListPostRequest) GetSize() int64
func (*ListPostRequest) ProtoMessage ¶
func (*ListPostRequest) ProtoMessage()
func (*ListPostRequest) ProtoReflect ¶
func (x *ListPostRequest) ProtoReflect() protoreflect.Message
func (*ListPostRequest) Reset ¶
func (x *ListPostRequest) Reset()
func (*ListPostRequest) String ¶
func (x *ListPostRequest) String() string
type ListPubPostReply ¶
type ListPubPostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data []*ListPost `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListPubPostReply) Descriptor
deprecated
func (*ListPubPostReply) Descriptor() ([]byte, []int)
Deprecated: Use ListPubPostReply.ProtoReflect.Descriptor instead.
func (*ListPubPostReply) GetCode ¶
func (x *ListPubPostReply) GetCode() int32
func (*ListPubPostReply) GetData ¶
func (x *ListPubPostReply) GetData() []*ListPost
func (*ListPubPostReply) GetMsg ¶
func (x *ListPubPostReply) GetMsg() string
func (*ListPubPostReply) ProtoMessage ¶
func (*ListPubPostReply) ProtoMessage()
func (*ListPubPostReply) ProtoReflect ¶
func (x *ListPubPostReply) ProtoReflect() protoreflect.Message
func (*ListPubPostReply) Reset ¶
func (x *ListPubPostReply) Reset()
func (*ListPubPostReply) String ¶
func (x *ListPubPostReply) String() string
type ListPubPostRequest ¶
type ListPubPostRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListPubPostRequest) Descriptor
deprecated
func (*ListPubPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPubPostRequest.ProtoReflect.Descriptor instead.
func (*ListPubPostRequest) GetPage ¶
func (x *ListPubPostRequest) GetPage() int32
func (*ListPubPostRequest) GetSize ¶
func (x *ListPubPostRequest) GetSize() int64
func (*ListPubPostRequest) ProtoMessage ¶
func (*ListPubPostRequest) ProtoMessage()
func (*ListPubPostRequest) ProtoReflect ¶
func (x *ListPubPostRequest) ProtoReflect() protoreflect.Message
func (*ListPubPostRequest) Reset ¶
func (x *ListPubPostRequest) Reset()
func (*ListPubPostRequest) String ¶
func (x *ListPubPostRequest) String() string
type PostClient ¶
type PostClient interface { CreatePost(ctx context.Context, in *CreatePostRequest, opts ...grpc.CallOption) (*CreatePostReply, error) UpdatePost(ctx context.Context, in *UpdatePostRequest, opts ...grpc.CallOption) (*UpdatePostReply, error) UpdatePostStatus(ctx context.Context, in *UpdatePostStatusRequest, opts ...grpc.CallOption) (*UpdatePostStatusReply, error) DeletePost(ctx context.Context, in *DeletePostRequest, opts ...grpc.CallOption) (*DeletePostReply, error) PublishPost(ctx context.Context, in *PublishPostRequest, opts ...grpc.CallOption) (*PublishPostReply, error) WithdrawPost(ctx context.Context, in *WithdrawPostRequest, opts ...grpc.CallOption) (*WithdrawPostReply, error) ListPost(ctx context.Context, in *ListPostRequest, opts ...grpc.CallOption) (*ListPostReply, error) ListPubPost(ctx context.Context, in *ListPubPostRequest, opts ...grpc.CallOption) (*ListPubPostReply, error) ListAdminPost(ctx context.Context, in *ListAdminPostRequest, opts ...grpc.CallOption) (*ListAdminPostReply, error) DetailPost(ctx context.Context, in *DetailPostRequest, opts ...grpc.CallOption) (*DetailPostReply, error) DetailPubPost(ctx context.Context, in *DetailPubPostRequest, opts ...grpc.CallOption) (*DetailPubPostReply, error) DetailAdminPost(ctx context.Context, in *DetailAdminPostRequest, opts ...grpc.CallOption) (*DetailAdminPostReply, error) GetPostStats(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetPostStatsReply, error) LikePost(ctx context.Context, in *LikePostRequest, opts ...grpc.CallOption) (*LikePostReply, error) CollectPost(ctx context.Context, in *CollectPostRequest, opts ...grpc.CallOption) (*CollectPostReply, error) PostSync(ctx context.Context, in *PostSyncRequest, opts ...grpc.CallOption) (*PostSyncReply, error) }
PostClient is the client API for Post 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 NewPostClient ¶
func NewPostClient(cc grpc.ClientConnInterface) PostClient
type PostHTTPClient ¶
type PostHTTPClient interface { CollectPost(ctx context.Context, req *CollectPostRequest, opts ...http.CallOption) (rsp *CollectPostReply, err error) CreatePost(ctx context.Context, req *CreatePostRequest, opts ...http.CallOption) (rsp *CreatePostReply, err error) DeletePost(ctx context.Context, req *DeletePostRequest, opts ...http.CallOption) (rsp *DeletePostReply, err error) DetailAdminPost(ctx context.Context, req *DetailAdminPostRequest, opts ...http.CallOption) (rsp *DetailAdminPostReply, err error) DetailPost(ctx context.Context, req *DetailPostRequest, opts ...http.CallOption) (rsp *DetailPostReply, err error) DetailPubPost(ctx context.Context, req *DetailPubPostRequest, opts ...http.CallOption) (rsp *DetailPubPostReply, err error) GetPostStats(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetPostStatsReply, err error) LikePost(ctx context.Context, req *LikePostRequest, opts ...http.CallOption) (rsp *LikePostReply, err error) ListAdminPost(ctx context.Context, req *ListAdminPostRequest, opts ...http.CallOption) (rsp *ListAdminPostReply, err error) ListPost(ctx context.Context, req *ListPostRequest, opts ...http.CallOption) (rsp *ListPostReply, err error) ListPubPost(ctx context.Context, req *ListPubPostRequest, opts ...http.CallOption) (rsp *ListPubPostReply, err error) PublishPost(ctx context.Context, req *PublishPostRequest, opts ...http.CallOption) (rsp *PublishPostReply, err error) UpdatePost(ctx context.Context, req *UpdatePostRequest, opts ...http.CallOption) (rsp *UpdatePostReply, err error) WithdrawPost(ctx context.Context, req *WithdrawPostRequest, opts ...http.CallOption) (rsp *WithdrawPostReply, err error) }
func NewPostHTTPClient ¶
func NewPostHTTPClient(client *http.Client) PostHTTPClient
type PostHTTPClientImpl ¶
type PostHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*PostHTTPClientImpl) CollectPost ¶
func (c *PostHTTPClientImpl) CollectPost(ctx context.Context, in *CollectPostRequest, opts ...http.CallOption) (*CollectPostReply, error)
func (*PostHTTPClientImpl) CreatePost ¶
func (c *PostHTTPClientImpl) CreatePost(ctx context.Context, in *CreatePostRequest, opts ...http.CallOption) (*CreatePostReply, error)
func (*PostHTTPClientImpl) DeletePost ¶
func (c *PostHTTPClientImpl) DeletePost(ctx context.Context, in *DeletePostRequest, opts ...http.CallOption) (*DeletePostReply, error)
func (*PostHTTPClientImpl) DetailAdminPost ¶
func (c *PostHTTPClientImpl) DetailAdminPost(ctx context.Context, in *DetailAdminPostRequest, opts ...http.CallOption) (*DetailAdminPostReply, error)
func (*PostHTTPClientImpl) DetailPost ¶
func (c *PostHTTPClientImpl) DetailPost(ctx context.Context, in *DetailPostRequest, opts ...http.CallOption) (*DetailPostReply, error)
func (*PostHTTPClientImpl) DetailPubPost ¶
func (c *PostHTTPClientImpl) DetailPubPost(ctx context.Context, in *DetailPubPostRequest, opts ...http.CallOption) (*DetailPubPostReply, error)
func (*PostHTTPClientImpl) GetPostStats ¶
func (c *PostHTTPClientImpl) GetPostStats(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetPostStatsReply, error)
func (*PostHTTPClientImpl) LikePost ¶
func (c *PostHTTPClientImpl) LikePost(ctx context.Context, in *LikePostRequest, opts ...http.CallOption) (*LikePostReply, error)
func (*PostHTTPClientImpl) ListAdminPost ¶
func (c *PostHTTPClientImpl) ListAdminPost(ctx context.Context, in *ListAdminPostRequest, opts ...http.CallOption) (*ListAdminPostReply, error)
func (*PostHTTPClientImpl) ListPost ¶
func (c *PostHTTPClientImpl) ListPost(ctx context.Context, in *ListPostRequest, opts ...http.CallOption) (*ListPostReply, error)
func (*PostHTTPClientImpl) ListPubPost ¶
func (c *PostHTTPClientImpl) ListPubPost(ctx context.Context, in *ListPubPostRequest, opts ...http.CallOption) (*ListPubPostReply, error)
func (*PostHTTPClientImpl) PublishPost ¶
func (c *PostHTTPClientImpl) PublishPost(ctx context.Context, in *PublishPostRequest, opts ...http.CallOption) (*PublishPostReply, error)
func (*PostHTTPClientImpl) UpdatePost ¶
func (c *PostHTTPClientImpl) UpdatePost(ctx context.Context, in *UpdatePostRequest, opts ...http.CallOption) (*UpdatePostReply, error)
func (*PostHTTPClientImpl) WithdrawPost ¶
func (c *PostHTTPClientImpl) WithdrawPost(ctx context.Context, in *WithdrawPostRequest, opts ...http.CallOption) (*WithdrawPostReply, error)
type PostHTTPServer ¶
type PostHTTPServer interface { CollectPost(context.Context, *CollectPostRequest) (*CollectPostReply, error) CreatePost(context.Context, *CreatePostRequest) (*CreatePostReply, error) DeletePost(context.Context, *DeletePostRequest) (*DeletePostReply, error) DetailAdminPost(context.Context, *DetailAdminPostRequest) (*DetailAdminPostReply, error) DetailPost(context.Context, *DetailPostRequest) (*DetailPostReply, error) DetailPubPost(context.Context, *DetailPubPostRequest) (*DetailPubPostReply, error) GetPostStats(context.Context, *emptypb.Empty) (*GetPostStatsReply, error) LikePost(context.Context, *LikePostRequest) (*LikePostReply, error) ListAdminPost(context.Context, *ListAdminPostRequest) (*ListAdminPostReply, error) ListPost(context.Context, *ListPostRequest) (*ListPostReply, error) ListPubPost(context.Context, *ListPubPostRequest) (*ListPubPostReply, error) PublishPost(context.Context, *PublishPostRequest) (*PublishPostReply, error) UpdatePost(context.Context, *UpdatePostRequest) (*UpdatePostReply, error) WithdrawPost(context.Context, *WithdrawPostRequest) (*WithdrawPostReply, error) }
type PostServer ¶
type PostServer interface { CreatePost(context.Context, *CreatePostRequest) (*CreatePostReply, error) UpdatePost(context.Context, *UpdatePostRequest) (*UpdatePostReply, error) UpdatePostStatus(context.Context, *UpdatePostStatusRequest) (*UpdatePostStatusReply, error) DeletePost(context.Context, *DeletePostRequest) (*DeletePostReply, error) PublishPost(context.Context, *PublishPostRequest) (*PublishPostReply, error) WithdrawPost(context.Context, *WithdrawPostRequest) (*WithdrawPostReply, error) ListPost(context.Context, *ListPostRequest) (*ListPostReply, error) ListPubPost(context.Context, *ListPubPostRequest) (*ListPubPostReply, error) ListAdminPost(context.Context, *ListAdminPostRequest) (*ListAdminPostReply, error) DetailPost(context.Context, *DetailPostRequest) (*DetailPostReply, error) DetailPubPost(context.Context, *DetailPubPostRequest) (*DetailPubPostReply, error) DetailAdminPost(context.Context, *DetailAdminPostRequest) (*DetailAdminPostReply, error) GetPostStats(context.Context, *emptypb.Empty) (*GetPostStatsReply, error) LikePost(context.Context, *LikePostRequest) (*LikePostReply, error) CollectPost(context.Context, *CollectPostRequest) (*CollectPostReply, error) PostSync(context.Context, *PostSyncRequest) (*PostSyncReply, error) // contains filtered or unexported methods }
PostServer is the server API for Post service. All implementations must embed UnimplementedPostServer for forward compatibility
type PostSyncReply ¶
type PostSyncReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*PostSyncReply) Descriptor
deprecated
func (*PostSyncReply) Descriptor() ([]byte, []int)
Deprecated: Use PostSyncReply.ProtoReflect.Descriptor instead.
func (*PostSyncReply) GetCode ¶
func (x *PostSyncReply) GetCode() int32
func (*PostSyncReply) GetMsg ¶
func (x *PostSyncReply) GetMsg() string
func (*PostSyncReply) ProtoMessage ¶
func (*PostSyncReply) ProtoMessage()
func (*PostSyncReply) ProtoReflect ¶
func (x *PostSyncReply) ProtoReflect() protoreflect.Message
func (*PostSyncReply) Reset ¶
func (x *PostSyncReply) Reset()
func (*PostSyncReply) String ¶
func (x *PostSyncReply) String() string
type PostSyncRequest ¶
type PostSyncRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` // contains filtered or unexported fields }
func (*PostSyncRequest) Descriptor
deprecated
func (*PostSyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostSyncRequest.ProtoReflect.Descriptor instead.
func (*PostSyncRequest) GetPostId ¶
func (x *PostSyncRequest) GetPostId() int64
func (*PostSyncRequest) ProtoMessage ¶
func (*PostSyncRequest) ProtoMessage()
func (*PostSyncRequest) ProtoReflect ¶
func (x *PostSyncRequest) ProtoReflect() protoreflect.Message
func (*PostSyncRequest) Reset ¶
func (x *PostSyncRequest) Reset()
func (*PostSyncRequest) String ¶
func (x *PostSyncRequest) String() string
type PublishPostReply ¶
type PublishPostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` CheckId int64 `protobuf:"varint,3,opt,name=checkId,proto3" json:"checkId,omitempty"` // contains filtered or unexported fields }
func (*PublishPostReply) Descriptor
deprecated
func (*PublishPostReply) Descriptor() ([]byte, []int)
Deprecated: Use PublishPostReply.ProtoReflect.Descriptor instead.
func (*PublishPostReply) GetCheckId ¶
func (x *PublishPostReply) GetCheckId() int64
func (*PublishPostReply) GetCode ¶
func (x *PublishPostReply) GetCode() int32
func (*PublishPostReply) GetMsg ¶
func (x *PublishPostReply) GetMsg() string
func (*PublishPostReply) ProtoMessage ¶
func (*PublishPostReply) ProtoMessage()
func (*PublishPostReply) ProtoReflect ¶
func (x *PublishPostReply) ProtoReflect() protoreflect.Message
func (*PublishPostReply) Reset ¶
func (x *PublishPostReply) Reset()
func (*PublishPostReply) String ¶
func (x *PublishPostReply) String() string
type PublishPostRequest ¶
type PublishPostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` // contains filtered or unexported fields }
func (*PublishPostRequest) Descriptor
deprecated
func (*PublishPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishPostRequest.ProtoReflect.Descriptor instead.
func (*PublishPostRequest) GetPostId ¶
func (x *PublishPostRequest) GetPostId() int64
func (*PublishPostRequest) ProtoMessage ¶
func (*PublishPostRequest) ProtoMessage()
func (*PublishPostRequest) ProtoReflect ¶
func (x *PublishPostRequest) ProtoReflect() protoreflect.Message
func (*PublishPostRequest) Reset ¶
func (x *PublishPostRequest) Reset()
func (*PublishPostRequest) String ¶
func (x *PublishPostRequest) String() string
type UnimplementedPostServer ¶
type UnimplementedPostServer struct { }
UnimplementedPostServer must be embedded to have forward compatible implementations.
func (UnimplementedPostServer) CollectPost ¶
func (UnimplementedPostServer) CollectPost(context.Context, *CollectPostRequest) (*CollectPostReply, error)
func (UnimplementedPostServer) CreatePost ¶
func (UnimplementedPostServer) CreatePost(context.Context, *CreatePostRequest) (*CreatePostReply, error)
func (UnimplementedPostServer) DeletePost ¶
func (UnimplementedPostServer) DeletePost(context.Context, *DeletePostRequest) (*DeletePostReply, error)
func (UnimplementedPostServer) DetailAdminPost ¶
func (UnimplementedPostServer) DetailAdminPost(context.Context, *DetailAdminPostRequest) (*DetailAdminPostReply, error)
func (UnimplementedPostServer) DetailPost ¶
func (UnimplementedPostServer) DetailPost(context.Context, *DetailPostRequest) (*DetailPostReply, error)
func (UnimplementedPostServer) DetailPubPost ¶
func (UnimplementedPostServer) DetailPubPost(context.Context, *DetailPubPostRequest) (*DetailPubPostReply, error)
func (UnimplementedPostServer) GetPostStats ¶
func (UnimplementedPostServer) GetPostStats(context.Context, *emptypb.Empty) (*GetPostStatsReply, error)
func (UnimplementedPostServer) LikePost ¶
func (UnimplementedPostServer) LikePost(context.Context, *LikePostRequest) (*LikePostReply, error)
func (UnimplementedPostServer) ListAdminPost ¶
func (UnimplementedPostServer) ListAdminPost(context.Context, *ListAdminPostRequest) (*ListAdminPostReply, error)
func (UnimplementedPostServer) ListPost ¶
func (UnimplementedPostServer) ListPost(context.Context, *ListPostRequest) (*ListPostReply, error)
func (UnimplementedPostServer) ListPubPost ¶
func (UnimplementedPostServer) ListPubPost(context.Context, *ListPubPostRequest) (*ListPubPostReply, error)
func (UnimplementedPostServer) PostSync ¶
func (UnimplementedPostServer) PostSync(context.Context, *PostSyncRequest) (*PostSyncReply, error)
func (UnimplementedPostServer) PublishPost ¶
func (UnimplementedPostServer) PublishPost(context.Context, *PublishPostRequest) (*PublishPostReply, error)
func (UnimplementedPostServer) UpdatePost ¶
func (UnimplementedPostServer) UpdatePost(context.Context, *UpdatePostRequest) (*UpdatePostReply, error)
func (UnimplementedPostServer) UpdatePostStatus ¶
func (UnimplementedPostServer) UpdatePostStatus(context.Context, *UpdatePostStatusRequest) (*UpdatePostStatusReply, error)
func (UnimplementedPostServer) WithdrawPost ¶
func (UnimplementedPostServer) WithdrawPost(context.Context, *WithdrawPostRequest) (*WithdrawPostReply, error)
type UnsafePostServer ¶
type UnsafePostServer interface {
// contains filtered or unexported methods
}
UnsafePostServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PostServer will result in compilation errors.
type UpdatePostReply ¶
type UpdatePostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*UpdatePostReply) Descriptor
deprecated
func (*UpdatePostReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostReply.ProtoReflect.Descriptor instead.
func (*UpdatePostReply) GetCode ¶
func (x *UpdatePostReply) GetCode() int32
func (*UpdatePostReply) GetMsg ¶
func (x *UpdatePostReply) GetMsg() string
func (*UpdatePostReply) ProtoMessage ¶
func (*UpdatePostReply) ProtoMessage()
func (*UpdatePostReply) ProtoReflect ¶
func (x *UpdatePostReply) ProtoReflect() protoreflect.Message
func (*UpdatePostReply) Reset ¶
func (x *UpdatePostReply) Reset()
func (*UpdatePostReply) String ¶
func (x *UpdatePostReply) String() string
type UpdatePostRequest ¶
type UpdatePostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` PlateId int64 `protobuf:"varint,4,opt,name=plateId,proto3" json:"plateId,omitempty"` // contains filtered or unexported fields }
func (*UpdatePostRequest) Descriptor
deprecated
func (*UpdatePostRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostRequest.ProtoReflect.Descriptor instead.
func (*UpdatePostRequest) GetContent ¶
func (x *UpdatePostRequest) GetContent() string
func (*UpdatePostRequest) GetPlateId ¶
func (x *UpdatePostRequest) GetPlateId() int64
func (*UpdatePostRequest) GetPostId ¶
func (x *UpdatePostRequest) GetPostId() int64
func (*UpdatePostRequest) GetTitle ¶
func (x *UpdatePostRequest) GetTitle() string
func (*UpdatePostRequest) ProtoMessage ¶
func (*UpdatePostRequest) ProtoMessage()
func (*UpdatePostRequest) ProtoReflect ¶
func (x *UpdatePostRequest) ProtoReflect() protoreflect.Message
func (*UpdatePostRequest) Reset ¶
func (x *UpdatePostRequest) Reset()
func (*UpdatePostRequest) String ¶
func (x *UpdatePostRequest) String() string
type UpdatePostStatusReply ¶
type UpdatePostStatusReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*UpdatePostStatusReply) Descriptor
deprecated
func (*UpdatePostStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostStatusReply.ProtoReflect.Descriptor instead.
func (*UpdatePostStatusReply) GetCode ¶
func (x *UpdatePostStatusReply) GetCode() int32
func (*UpdatePostStatusReply) GetMsg ¶
func (x *UpdatePostStatusReply) GetMsg() string
func (*UpdatePostStatusReply) ProtoMessage ¶
func (*UpdatePostStatusReply) ProtoMessage()
func (*UpdatePostStatusReply) ProtoReflect ¶
func (x *UpdatePostStatusReply) ProtoReflect() protoreflect.Message
func (*UpdatePostStatusReply) Reset ¶
func (x *UpdatePostStatusReply) Reset()
func (*UpdatePostStatusReply) String ¶
func (x *UpdatePostStatusReply) String() string
type UpdatePostStatusRequest ¶
type UpdatePostStatusRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdatePostStatusRequest) Descriptor
deprecated
func (*UpdatePostStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdatePostStatusRequest) GetPostId ¶
func (x *UpdatePostStatusRequest) GetPostId() int64
func (*UpdatePostStatusRequest) GetStatus ¶
func (x *UpdatePostStatusRequest) GetStatus() string
func (*UpdatePostStatusRequest) ProtoMessage ¶
func (*UpdatePostStatusRequest) ProtoMessage()
func (*UpdatePostStatusRequest) ProtoReflect ¶
func (x *UpdatePostStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdatePostStatusRequest) Reset ¶
func (x *UpdatePostStatusRequest) Reset()
func (*UpdatePostStatusRequest) String ¶
func (x *UpdatePostStatusRequest) String() string
type WithdrawPostReply ¶
type WithdrawPostReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*WithdrawPostReply) Descriptor
deprecated
func (*WithdrawPostReply) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawPostReply.ProtoReflect.Descriptor instead.
func (*WithdrawPostReply) GetCode ¶
func (x *WithdrawPostReply) GetCode() int32
func (*WithdrawPostReply) GetMsg ¶
func (x *WithdrawPostReply) GetMsg() string
func (*WithdrawPostReply) ProtoMessage ¶
func (*WithdrawPostReply) ProtoMessage()
func (*WithdrawPostReply) ProtoReflect ¶
func (x *WithdrawPostReply) ProtoReflect() protoreflect.Message
func (*WithdrawPostReply) Reset ¶
func (x *WithdrawPostReply) Reset()
func (*WithdrawPostReply) String ¶
func (x *WithdrawPostReply) String() string
type WithdrawPostRequest ¶
type WithdrawPostRequest struct { PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` // contains filtered or unexported fields }
func (*WithdrawPostRequest) Descriptor
deprecated
func (*WithdrawPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawPostRequest.ProtoReflect.Descriptor instead.
func (*WithdrawPostRequest) GetPostId ¶
func (x *WithdrawPostRequest) GetPostId() int64
func (*WithdrawPostRequest) ProtoMessage ¶
func (*WithdrawPostRequest) ProtoMessage()
func (*WithdrawPostRequest) ProtoReflect ¶
func (x *WithdrawPostRequest) ProtoReflect() protoreflect.Message
func (*WithdrawPostRequest) Reset ¶
func (x *WithdrawPostRequest) Reset()
func (*WithdrawPostRequest) String ¶
func (x *WithdrawPostRequest) String() string