Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { FetchArticles(ctx context.Context, req *pb.ListArticleRequest) ([]*pb.Article, error) CreateArticle(ctx context.Context, req *pb.Article) error DeleteArticle(ctx context.Context, req *pb.Article) error UpdateArticle(ctx context.Context, req *pb.Article) error FetchCategories(ctx context.Context, req *pb.ListCategoryRequest) ([]*pb.Category, error) CreateCategory(ctx context.Context, req *pb.Category) error Ping() error Close() error }
Click to show internal directories.
Click to hide internal directories.