Documentation ¶
Index ¶
- type CreatePostReq
- type CreatePostResp
- type DeletePostReq
- type DeletePostResp
- type ListPostByUserIdReq
- type ListPostByUserIdResp
- type ListPostReq
- type ListPostResp
- type Post
- type PostRpc
- type RetrievePostReq
- type RetrievePostResp
- type SearchPostReq
- type SearchPostResp
- type UpdatePostReq
- type UpdatePostResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePostReq ¶
type CreatePostReq = pb.CreatePostReq
type CreatePostResp ¶
type CreatePostResp = pb.CreatePostResp
type DeletePostReq ¶
type DeletePostReq = pb.DeletePostReq
type DeletePostResp ¶
type DeletePostResp = pb.DeletePostResp
type ListPostByUserIdReq ¶
type ListPostByUserIdReq = pb.ListPostByUserIdReq
type ListPostByUserIdResp ¶
type ListPostByUserIdResp = pb.ListPostByUserIdResp
type ListPostReq ¶
type ListPostReq = pb.ListPostReq
type ListPostResp ¶
type ListPostResp = pb.ListPostResp
type PostRpc ¶
type PostRpc interface { SearchPost(ctx context.Context, in *SearchPostReq, opts ...grpc.CallOption) (*SearchPostResp, error) CreatePost(ctx context.Context, in *CreatePostReq, opts ...grpc.CallOption) (*CreatePostResp, error) RetrievePost(ctx context.Context, in *RetrievePostReq, opts ...grpc.CallOption) (*RetrievePostResp, error) UpdatePost(ctx context.Context, in *UpdatePostReq, opts ...grpc.CallOption) (*UpdatePostResp, error) DeletePost(ctx context.Context, in *DeletePostReq, opts ...grpc.CallOption) (*DeletePostResp, error) ListPost(ctx context.Context, in *ListPostReq, opts ...grpc.CallOption) (*ListPostResp, error) ListPostByUserId(ctx context.Context, in *ListPostByUserIdReq, opts ...grpc.CallOption) (*ListPostByUserIdResp, error) }
func NewPostRpc ¶
type RetrievePostReq ¶
type RetrievePostReq = pb.RetrievePostReq
type RetrievePostResp ¶
type RetrievePostResp = pb.RetrievePostResp
type SearchPostReq ¶
type SearchPostReq = pb.SearchPostReq
type SearchPostResp ¶
type SearchPostResp = pb.SearchPostResp
type UpdatePostReq ¶
type UpdatePostReq = pb.UpdatePostReq
type UpdatePostResp ¶
type UpdatePostResp = pb.UpdatePostResp
Click to show internal directories.
Click to hide internal directories.