Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPostsHandler ¶
func RegisterPostsHandler(s server.Server, opts ...server.HandlerOption) error
Types ¶
type PostsHandler ¶
type PostsHandler interface { Query(ctx context.Context, in *proto_posts.QueryRequest, out *proto_posts.QueryResponse) error Save(ctx context.Context, in *proto_posts.SaveRequest, out *proto_posts.SaveResponse) error Delete(ctx context.Context, in *proto_posts.DeleteRequest, out *proto_posts.DeleteResponse) error Report(ctx context.Context, in *proto_posts.ReportRequest, out *empty.Empty) error }
Click to show internal directories.
Click to hide internal directories.