Versions in this module Expand all Collapse all v1 v1.0.2 Jun 19, 2022 v1.0.1 Jun 18, 2022 Changes in this version + var File_comment_proto protoreflect.FileDescriptor + type Comment struct + Content string + CreateDate string + Id int64 + User *user.User + func (*Comment) Descriptor() ([]byte, []int) + func (*Comment) ProtoMessage() + func (x *Comment) GetContent() string + func (x *Comment) GetCreateDate() string + func (x *Comment) GetId() int64 + func (x *Comment) GetUser() *user.User + func (x *Comment) ProtoReflect() protoreflect.Message + func (x *Comment) Reset() + func (x *Comment) String() string + type CommentSrv interface + CommentAction func(ctx context.Context, req *DouyinCommentActionRequest) (res *DouyinCommentActionResponse, err error) + CommentList func(ctx context.Context, req *DouyinCommentListRequest) (res *DouyinCommentListResponse, err error) + type DouyinCommentActionRequest struct + ActionType int32 + CommentId *int64 + CommentText *string + Token string + UserId int64 + VideoId int64 + func (*DouyinCommentActionRequest) Descriptor() ([]byte, []int) + func (*DouyinCommentActionRequest) ProtoMessage() + func (x *DouyinCommentActionRequest) GetActionType() int32 + func (x *DouyinCommentActionRequest) GetCommentId() int64 + func (x *DouyinCommentActionRequest) GetCommentText() string + func (x *DouyinCommentActionRequest) GetToken() string + func (x *DouyinCommentActionRequest) GetUserId() int64 + func (x *DouyinCommentActionRequest) GetVideoId() int64 + func (x *DouyinCommentActionRequest) ProtoReflect() protoreflect.Message + func (x *DouyinCommentActionRequest) Reset() + func (x *DouyinCommentActionRequest) String() string + type DouyinCommentActionResponse struct + Comment *Comment + StatusCode int32 + StatusMsg *string + func (*DouyinCommentActionResponse) Descriptor() ([]byte, []int) + func (*DouyinCommentActionResponse) ProtoMessage() + func (x *DouyinCommentActionResponse) GetComment() *Comment + func (x *DouyinCommentActionResponse) GetStatusCode() int32 + func (x *DouyinCommentActionResponse) GetStatusMsg() string + func (x *DouyinCommentActionResponse) ProtoReflect() protoreflect.Message + func (x *DouyinCommentActionResponse) Reset() + func (x *DouyinCommentActionResponse) String() string + type DouyinCommentListRequest struct + Token string + VideoId int64 + func (*DouyinCommentListRequest) Descriptor() ([]byte, []int) + func (*DouyinCommentListRequest) ProtoMessage() + func (x *DouyinCommentListRequest) GetToken() string + func (x *DouyinCommentListRequest) GetVideoId() int64 + func (x *DouyinCommentListRequest) ProtoReflect() protoreflect.Message + func (x *DouyinCommentListRequest) Reset() + func (x *DouyinCommentListRequest) String() string + type DouyinCommentListResponse struct + CommentList []*Comment + StatusCode int32 + StatusMsg *string + func (*DouyinCommentListResponse) Descriptor() ([]byte, []int) + func (*DouyinCommentListResponse) ProtoMessage() + func (x *DouyinCommentListResponse) GetCommentList() []*Comment + func (x *DouyinCommentListResponse) GetStatusCode() int32 + func (x *DouyinCommentListResponse) GetStatusMsg() string + func (x *DouyinCommentListResponse) ProtoReflect() protoreflect.Message + func (x *DouyinCommentListResponse) Reset() + func (x *DouyinCommentListResponse) String() string v1.0.0 Jun 18, 2022