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_feed_proto protoreflect.FileDescriptor + type DouyinFeedRequest struct + LatestTime *int64 + Token *string + func (*DouyinFeedRequest) Descriptor() ([]byte, []int) + func (*DouyinFeedRequest) ProtoMessage() + func (x *DouyinFeedRequest) GetLatestTime() int64 + func (x *DouyinFeedRequest) GetToken() string + func (x *DouyinFeedRequest) ProtoReflect() protoreflect.Message + func (x *DouyinFeedRequest) Reset() + func (x *DouyinFeedRequest) String() string + type DouyinFeedResponse struct + NextTime *int64 + StatusCode int32 + StatusMsg *string + VideoList []*Video + func (*DouyinFeedResponse) Descriptor() ([]byte, []int) + func (*DouyinFeedResponse) ProtoMessage() + func (x *DouyinFeedResponse) GetNextTime() int64 + func (x *DouyinFeedResponse) GetStatusCode() int32 + func (x *DouyinFeedResponse) GetStatusMsg() string + func (x *DouyinFeedResponse) GetVideoList() []*Video + func (x *DouyinFeedResponse) ProtoReflect() protoreflect.Message + func (x *DouyinFeedResponse) Reset() + func (x *DouyinFeedResponse) String() string + type FeedSrv interface + GetUserFeed func(ctx context.Context, req *DouyinFeedRequest) (res *DouyinFeedResponse, err error) + GetVideoById func(ctx context.Context, req *VideoIdRequest) (res *Video, err error) + type Video struct + Author *user.User + CommentCount int64 + CoverUrl string + FavoriteCount int64 + Id int64 + IsFavorite bool + PlayUrl string + Title string + func (*Video) Descriptor() ([]byte, []int) + func (*Video) ProtoMessage() + func (x *Video) GetAuthor() *user.User + func (x *Video) GetCommentCount() int64 + func (x *Video) GetCoverUrl() string + func (x *Video) GetFavoriteCount() int64 + func (x *Video) GetId() int64 + func (x *Video) GetIsFavorite() bool + func (x *Video) GetPlayUrl() string + func (x *Video) GetTitle() string + func (x *Video) ProtoReflect() protoreflect.Message + func (x *Video) Reset() + func (x *Video) String() string + type VideoIdRequest struct + SearchId int64 + VideoId int64 + func (*VideoIdRequest) Descriptor() ([]byte, []int) + func (*VideoIdRequest) ProtoMessage() + func (x *VideoIdRequest) GetSearchId() int64 + func (x *VideoIdRequest) GetVideoId() int64 + func (x *VideoIdRequest) ProtoReflect() protoreflect.Message + func (x *VideoIdRequest) Reset() + func (x *VideoIdRequest) String() string v1.0.0 Jun 18, 2022