Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindLikeTalkResp ¶
type FindLikeTalkResp = talkrpc.FindLikeTalkResp
type FindTalkListReq ¶
type FindTalkListReq = talkrpc.FindTalkListReq
type FindTalkListResp ¶
type FindTalkListResp = talkrpc.FindTalkListResp
type TalkDetails ¶
type TalkDetails = talkrpc.TalkDetails
type TalkNewReq ¶
type TalkNewReq = talkrpc.TalkNewReq
type TalkRpc ¶
type TalkRpc interface {
// 创建说说
AddTalk(ctx context.Context, in *TalkNewReq, opts ...grpc.CallOption) (*TalkDetails, error)
// 更新说说
UpdateTalk(ctx context.Context, in *TalkNewReq, opts ...grpc.CallOption) (*TalkDetails, error)
// 删除说说
DeleteTalk(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error)
// 查询说说
GetTalk(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*TalkDetails, error)
// 查询说说列表
FindTalkList(ctx context.Context, in *FindTalkListReq, opts ...grpc.CallOption) (*FindTalkListResp, error)
// 点赞说说
LikeTalk(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*EmptyResp, error)
// 用户点赞的说说
FindUserLikeTalk(ctx context.Context, in *UserIdReq, opts ...grpc.CallOption) (*FindLikeTalkResp, error)
}
func NewTalkRpc ¶
Click to show internal directories.
Click to hide internal directories.