Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentService ¶
type CommentService interface {
CreateComment(ctx context.Context, c *comment.Comment) (*comment.Comment, error)
RemoveComment(ctx context.Context, userId, commentId int64) error
ListComment4Video(ctx context.Context, videoId int64, limit, offset int) (*ListCommentsResult, error)
ListChildComment(ctx context.Context, commentId int64, limit, offset int) (*ListCommentsResult, error)
GetCommentById(ctx context.Context, commentId int64) (*comment.Comment, error)
CountComment4Video(ctx context.Context, videoId []int64) ([]*CountResult, error)
CountComment4User(ctx context.Context, userId []int64) ([]*CountResult, error)
}
type CountResult ¶ added in v0.1.9
type ListCommentsResult ¶ added in v0.1.9
Click to show internal directories.
Click to hide internal directories.