Documentation ¶
Index ¶
- type ArticleService
- func (s ArticleService) ArticleDetail(ctx context.Context, in *pb.ArticleDetailRequest) (*pb.ArticleDetailResponse, error)
- func (s ArticleService) PublishArticle(ctx context.Context, in *pb.PublishArticleRequest) (*pb.PublishArticleResponse, error)
- func (s ArticleService) RemoveArticle(ctx context.Context, in *pb.RemoveArticleRequest) (*pb.RemoveArticleResponse, error)
- func (s ArticleService) SearchArticle(ctx context.Context, in *pb.SearchArticleRequest) (*pb.SearchArticleResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleService ¶
ArticleService ..
func (ArticleService) ArticleDetail ¶
func (s ArticleService) ArticleDetail(ctx context.Context, in *pb.ArticleDetailRequest) (*pb.ArticleDetailResponse, error)
ArticleDetail ..
func (ArticleService) PublishArticle ¶
func (s ArticleService) PublishArticle(ctx context.Context, in *pb.PublishArticleRequest) (*pb.PublishArticleResponse, error)
PublishArticle ..
func (ArticleService) RemoveArticle ¶
func (s ArticleService) RemoveArticle(ctx context.Context, in *pb.RemoveArticleRequest) (*pb.RemoveArticleResponse, error)
RemoveArticle ..
func (ArticleService) SearchArticle ¶
func (s ArticleService) SearchArticle(ctx context.Context, in *pb.SearchArticleRequest) (*pb.SearchArticleResponse, error)
SearchArticle ..
Click to show internal directories.
Click to hide internal directories.