Skip to content

Instantly share code, notes, and snippets.

@kyriediculous
Last active May 16, 2019 08:59
Show Gist options
  • Save kyriediculous/a11c5fa9760008420f194a8dbb14b11e to your computer and use it in GitHub Desktop.
Save kyriediculous/a11c5fa9760008420f194a8dbb14b11e to your computer and use it in GitHub Desktop.
type BlogServiceServer interface {
CreateBlog(context.Context, *CreateBlogReq) (*CreateBlogRes, error)
ReadBlog(context.Context, *ReadBlogReq) (*ReadBlogRes, error)
UpdateBlog(context.Context, *UpdateBlogReq) (*UpdateBlogRes, error)
DeleteBlog(context.Context, *DeleteBlogReq) (*DeleteBlogRes, error)
ListBlogs(*ListBlogsReq, BlogService_ListBlogsServer) error
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment