Documentation ¶
Index ¶
- type CommentServerImpl
- func (c *CommentServerImpl) CreateComment(ctx context.Context, req *comment.CreateCommentReq) (res *comment.CreateCommentResp, err error)
- func (c *CommentServerImpl) CreateCommentSubject(ctx context.Context, req *comment.CreateCommentSubjectReq) (res *comment.CreateCommentSubjectResp, err error)
- func (c *CommentServerImpl) CreateLabel(ctx context.Context, req *comment.CreateLabelReq) (res *comment.CreateLabelResp, err error)
- func (c *CommentServerImpl) DeleteComment(ctx context.Context, req *comment.DeleteCommentReq) (res *comment.DeleteCommentResp, err error)
- func (c *CommentServerImpl) DeleteCommentSubject(ctx context.Context, req *comment.DeleteCommentSubjectReq) (res *comment.DeleteCommentSubjectResp, err error)
- func (c *CommentServerImpl) DeleteCommentWithUserId(ctx context.Context, req *comment.DeleteCommentWithUserIdReq) (res *comment.DeleteCommentWithUserIdResp, err error)
- func (c *CommentServerImpl) DeleteLabel(ctx context.Context, req *comment.DeleteLabelReq) (res *comment.DeleteLabelResp, err error)
- func (c *CommentServerImpl) GetComment(ctx context.Context, req *comment.GetCommentReq) (res *comment.GetCommentResp, err error)
- func (c *CommentServerImpl) GetCommentList(ctx context.Context, req *comment.GetCommentListReq) (res *comment.GetCommentListResp, err error)
- func (c *CommentServerImpl) GetCommentSubject(ctx context.Context, req *comment.GetCommentSubjectReq) (res *comment.GetCommentSubjectResp, err error)
- func (c *CommentServerImpl) GetLabel(ctx context.Context, req *comment.GetLabelReq) (res *comment.GetLabelResp, err error)
- func (c *CommentServerImpl) GetLabels(ctx context.Context, req *comment.GetLabelsReq) (res *comment.GetLabelsResp, err error)
- func (c *CommentServerImpl) GetLabelsInBatch(ctx context.Context, req *comment.GetLabelsInBatchReq) (res *comment.GetLabelsInBatchResp, err error)
- func (c *CommentServerImpl) SetCommentAttrs(ctx context.Context, req *comment.SetCommentAttrsReq) (res *comment.SetCommentAttrsResp, err error)
- func (c *CommentServerImpl) UpdateComment(ctx context.Context, req *comment.UpdateCommentReq) (res *comment.UpdateCommentResp, err error)
- func (c *CommentServerImpl) UpdateCommentSubject(ctx context.Context, req *comment.UpdateCommentSubjectReq) (res *comment.UpdateCommentSubjectResp, err error)
- func (c *CommentServerImpl) UpdateLabel(ctx context.Context, req *comment.UpdateLabelReq) (res *comment.UpdateLabelResp, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentServerImpl ¶
type CommentServerImpl struct { *config.Config CommentService service.ICommentService LabelService service.ILabelService SubjectService service.ISubjectService }
func (*CommentServerImpl) CreateComment ¶
func (c *CommentServerImpl) CreateComment(ctx context.Context, req *comment.CreateCommentReq) (res *comment.CreateCommentResp, err error)
func (*CommentServerImpl) CreateCommentSubject ¶
func (c *CommentServerImpl) CreateCommentSubject(ctx context.Context, req *comment.CreateCommentSubjectReq) (res *comment.CreateCommentSubjectResp, err error)
func (*CommentServerImpl) CreateLabel ¶
func (c *CommentServerImpl) CreateLabel(ctx context.Context, req *comment.CreateLabelReq) (res *comment.CreateLabelResp, err error)
func (*CommentServerImpl) DeleteComment ¶
func (c *CommentServerImpl) DeleteComment(ctx context.Context, req *comment.DeleteCommentReq) (res *comment.DeleteCommentResp, err error)
func (*CommentServerImpl) DeleteCommentSubject ¶
func (c *CommentServerImpl) DeleteCommentSubject(ctx context.Context, req *comment.DeleteCommentSubjectReq) (res *comment.DeleteCommentSubjectResp, err error)
func (*CommentServerImpl) DeleteCommentWithUserId ¶
func (c *CommentServerImpl) DeleteCommentWithUserId(ctx context.Context, req *comment.DeleteCommentWithUserIdReq) (res *comment.DeleteCommentWithUserIdResp, err error)
func (*CommentServerImpl) DeleteLabel ¶
func (c *CommentServerImpl) DeleteLabel(ctx context.Context, req *comment.DeleteLabelReq) (res *comment.DeleteLabelResp, err error)
func (*CommentServerImpl) GetComment ¶
func (c *CommentServerImpl) GetComment(ctx context.Context, req *comment.GetCommentReq) (res *comment.GetCommentResp, err error)
func (*CommentServerImpl) GetCommentList ¶
func (c *CommentServerImpl) GetCommentList(ctx context.Context, req *comment.GetCommentListReq) (res *comment.GetCommentListResp, err error)
func (*CommentServerImpl) GetCommentSubject ¶
func (c *CommentServerImpl) GetCommentSubject(ctx context.Context, req *comment.GetCommentSubjectReq) (res *comment.GetCommentSubjectResp, err error)
func (*CommentServerImpl) GetLabel ¶
func (c *CommentServerImpl) GetLabel(ctx context.Context, req *comment.GetLabelReq) (res *comment.GetLabelResp, err error)
func (*CommentServerImpl) GetLabels ¶
func (c *CommentServerImpl) GetLabels(ctx context.Context, req *comment.GetLabelsReq) (res *comment.GetLabelsResp, err error)
func (*CommentServerImpl) GetLabelsInBatch ¶
func (c *CommentServerImpl) GetLabelsInBatch(ctx context.Context, req *comment.GetLabelsInBatchReq) (res *comment.GetLabelsInBatchResp, err error)
func (*CommentServerImpl) SetCommentAttrs ¶
func (c *CommentServerImpl) SetCommentAttrs(ctx context.Context, req *comment.SetCommentAttrsReq) (res *comment.SetCommentAttrsResp, err error)
func (*CommentServerImpl) UpdateComment ¶
func (c *CommentServerImpl) UpdateComment(ctx context.Context, req *comment.UpdateCommentReq) (res *comment.UpdateCommentResp, err error)
func (*CommentServerImpl) UpdateCommentSubject ¶
func (c *CommentServerImpl) UpdateCommentSubject(ctx context.Context, req *comment.UpdateCommentSubjectReq) (res *comment.UpdateCommentSubjectResp, err error)
func (*CommentServerImpl) UpdateLabel ¶
func (c *CommentServerImpl) UpdateLabel(ctx context.Context, req *comment.UpdateLabelReq) (res *comment.UpdateLabelResp, err error)
Click to show internal directories.
Click to hide internal directories.