Documentation ¶
Index ¶
- type ArticleServer
- func (s *ArticleServer) ArticleDelete(ctx context.Context, in *pb.ArticleDeleteRequest) (*pb.ArticleDeleteResponse, error)
- func (s *ArticleServer) ArticleDetail(ctx context.Context, in *pb.ArticleDetailRequest) (*pb.ArticleDetailResponse, error)
- func (s *ArticleServer) Articles(ctx context.Context, in *pb.ArticlesRequest) (*pb.ArticlesResponse, error)
- func (s *ArticleServer) Publish(ctx context.Context, in *pb.PublishRequest) (*pb.PublishResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleServer ¶
type ArticleServer struct { pb.UnimplementedArticleServer // contains filtered or unexported fields }
func NewArticleServer ¶
func NewArticleServer(svcCtx *svc.ServiceContext) *ArticleServer
func (*ArticleServer) ArticleDelete ¶
func (s *ArticleServer) ArticleDelete(ctx context.Context, in *pb.ArticleDeleteRequest) (*pb.ArticleDeleteResponse, error)
func (*ArticleServer) ArticleDetail ¶
func (s *ArticleServer) ArticleDetail(ctx context.Context, in *pb.ArticleDetailRequest) (*pb.ArticleDetailResponse, error)
func (*ArticleServer) Articles ¶
func (s *ArticleServer) Articles(ctx context.Context, in *pb.ArticlesRequest) (*pb.ArticlesResponse, error)
func (*ArticleServer) Publish ¶
func (s *ArticleServer) Publish(ctx context.Context, in *pb.PublishRequest) (*pb.PublishResponse, error)
Click to show internal directories.
Click to hide internal directories.