Created
August 10, 2017 09:55
-
-
Save bxcodec/4db5663b26a17a5155503eefb6bbe864 to your computer and use it in GitHub Desktop.
ArticleHandlerServer interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Server API for ArticleHandler service | |
| type ArticleHandlerServer interface { | |
| GetArticle(context.Context, *SingleRequest) (*Article, error) | |
| FetchArticle(*FetchRequest, ArticleHandler_FetchArticleServer) error | |
| GetListArticle(context.Context, *FetchRequest) (*ListArticle, error) | |
| UpdateArticle(context.Context, *Article) (*Article, error) | |
| Delete(context.Context, *SingleRequest) (*DeleteResponse, error) | |
| Store(context.Context, *Article) (*Article, error) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment