Documentation ¶
Index ¶
- type CountPostReq
- type CountPostResp
- type CreatePostReq
- type CreatePostResp
- type DeletePostReq
- type DeletePostResp
- type FilterOptions
- type ListPostReq
- type ListPostResp
- type PaginationOptions
- type Post
- type PostRpc
- type RetrievePostReq
- type RetrievePostResp
- type SearchField
- type SearchOptions
- type SetOfficialReq
- type SetOfficialResp
- type UpdatePostReq
- type UpdatePostResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountPostReq ¶ added in v1.2.5
type CountPostReq = pb.CountPostReq
type CountPostResp ¶ added in v1.2.5
type CountPostResp = pb.CountPostResp
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 FilterOptions ¶ added in v1.2.5
type FilterOptions = pb.FilterOptions
type ListPostReq ¶
type ListPostReq = pb.ListPostReq
type ListPostResp ¶
type ListPostResp = pb.ListPostResp
type PaginationOptions ¶ added in v1.2.5
type PaginationOptions = pb.PaginationOptions
type PostRpc ¶
type PostRpc interface { 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) CountPost(ctx context.Context, in *CountPostReq, opts ...grpc.CallOption) (*CountPostResp, error) SetOfficial(ctx context.Context, in *SetOfficialReq, opts ...grpc.CallOption) (*SetOfficialResp, error) }
func NewPostRpc ¶
type RetrievePostReq ¶
type RetrievePostReq = pb.RetrievePostReq
type RetrievePostResp ¶
type RetrievePostResp = pb.RetrievePostResp
type SearchField ¶ added in v1.2.5
type SearchField = pb.SearchField
type SearchOptions ¶ added in v1.2.5
type SearchOptions = pb.SearchOptions
type SetOfficialReq ¶ added in v1.2.0
type SetOfficialReq = pb.SetOfficialReq
type SetOfficialResp ¶ added in v1.2.0
type SetOfficialResp = pb.SetOfficialResp
type UpdatePostReq ¶
type UpdatePostReq = pb.UpdatePostReq
type UpdatePostResp ¶
type UpdatePostResp = pb.UpdatePostResp
Click to show internal directories.
Click to hide internal directories.