Documentation ¶
Index ¶
- type TalkRpcServer
- func (s *TalkRpcServer) AddTalk(ctx context.Context, in *talkrpc.TalkNewReq) (*talkrpc.TalkDetails, error)
- func (s *TalkRpcServer) DeleteTalk(ctx context.Context, in *talkrpc.IdsReq) (*talkrpc.BatchResp, error)
- func (s *TalkRpcServer) FindTalkList(ctx context.Context, in *talkrpc.FindTalkListReq) (*talkrpc.FindTalkListResp, error)
- func (s *TalkRpcServer) FindUserLikeTalk(ctx context.Context, in *talkrpc.UserIdReq) (*talkrpc.FindLikeTalkResp, error)
- func (s *TalkRpcServer) GetTalk(ctx context.Context, in *talkrpc.IdReq) (*talkrpc.TalkDetails, error)
- func (s *TalkRpcServer) LikeTalk(ctx context.Context, in *talkrpc.IdReq) (*talkrpc.EmptyResp, error)
- func (s *TalkRpcServer) UpdateTalk(ctx context.Context, in *talkrpc.TalkNewReq) (*talkrpc.TalkDetails, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TalkRpcServer ¶
type TalkRpcServer struct { talkrpc.UnimplementedTalkRpcServer // contains filtered or unexported fields }
func NewTalkRpcServer ¶
func NewTalkRpcServer(svcCtx *svc.ServiceContext) *TalkRpcServer
func (*TalkRpcServer) AddTalk ¶
func (s *TalkRpcServer) AddTalk(ctx context.Context, in *talkrpc.TalkNewReq) (*talkrpc.TalkDetails, error)
创建说说
func (*TalkRpcServer) DeleteTalk ¶
func (s *TalkRpcServer) DeleteTalk(ctx context.Context, in *talkrpc.IdsReq) (*talkrpc.BatchResp, error)
删除说说
func (*TalkRpcServer) FindTalkList ¶
func (s *TalkRpcServer) FindTalkList(ctx context.Context, in *talkrpc.FindTalkListReq) (*talkrpc.FindTalkListResp, error)
查询说说列表
func (*TalkRpcServer) FindUserLikeTalk ¶
func (s *TalkRpcServer) FindUserLikeTalk(ctx context.Context, in *talkrpc.UserIdReq) (*talkrpc.FindLikeTalkResp, error)
用户点赞的说说
func (*TalkRpcServer) GetTalk ¶
func (s *TalkRpcServer) GetTalk(ctx context.Context, in *talkrpc.IdReq) (*talkrpc.TalkDetails, error)
查询说说
func (*TalkRpcServer) LikeTalk ¶
func (s *TalkRpcServer) LikeTalk(ctx context.Context, in *talkrpc.IdReq) (*talkrpc.EmptyResp, error)
点赞说说
func (*TalkRpcServer) UpdateTalk ¶
func (s *TalkRpcServer) UpdateTalk(ctx context.Context, in *talkrpc.TalkNewReq) (*talkrpc.TalkDetails, error)
更新说说
Click to show internal directories.
Click to hide internal directories.