Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentListService ¶
type CommentListService struct {
// contains filtered or unexported fields
}
func NewCommentListService ¶
func NewCommentListService(ctx context.Context) *CommentListService
NewCommentListService new CommentListService
func (*CommentListService) CommentList ¶
func (s *CommentListService) CommentList(req *comment.CommentListRequest) ([]*comment.Comment, error)
CommentList get comment list info
type CreateCommentService ¶
type CreateCommentService struct {
// contains filtered or unexported fields
}
func NewCreateCommentService ¶
func NewCreateCommentService(ctx context.Context) *CreateCommentService
NewCreateCommentService new CreateCommentService
func (*CreateCommentService) CreateComment ¶
func (s *CreateCommentService) CreateComment(req *comment.CreateCommentRequest) (*comment.Comment, error)
CreateComment add comment
type DeleteCommentService ¶
type DeleteCommentService struct {
// contains filtered or unexported fields
}
func NewDeleteCommentService ¶
func NewDeleteCommentService(ctx context.Context) *DeleteCommentService
NewDeleteCommentService new DeleteCommentService
func (*DeleteCommentService) DeleteComment ¶
func (s *DeleteCommentService) DeleteComment(req *comment.DeleteCommentRequest) (*comment.Comment, error)
DeleteComment delete comment
Click to show internal directories.
Click to hide internal directories.