Documentation ¶
Index ¶
Constants ¶
View Source
const ( CodeSuccess = 0 CodeFailed = 300 )
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewCommentService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type CommentService ¶
type CommentService struct { pb.UnimplementedCommentServiceServer // contains filtered or unexported fields }
func NewCommentService ¶
func NewCommentService(cu *biz.CommentUseCase, logger log.Logger) *CommentService
func (*CommentService) CommentAction ¶
func (s *CommentService) CommentAction(ctx context.Context, req *pb.CommentActionRequest) (*pb.CommentActionReply, error)
func (*CommentService) GetCommentList ¶
func (s *CommentService) GetCommentList(ctx context.Context, req *pb.CommentListRequest) (*pb.CommentListReply, error)
Click to show internal directories.
Click to hide internal directories.