server

package
v0.0.0-...-6d7266f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 (*TalkRpcServer) DeleteTalk

func (s *TalkRpcServer) DeleteTalk(ctx context.Context, in *talkrpc.IdsReq) (*talkrpc.BatchResp, error)

删除说说

func (*TalkRpcServer) FindTalkList

查询说说列表

func (*TalkRpcServer) FindUserLikeTalk

func (s *TalkRpcServer) FindUserLikeTalk(ctx context.Context, in *talkrpc.UserIdReq) (*talkrpc.FindLikeTalkResp, error)

用户点赞的说说

func (*TalkRpcServer) GetTalk

查询说说

func (*TalkRpcServer) LikeTalk

func (s *TalkRpcServer) LikeTalk(ctx context.Context, in *talkrpc.IdReq) (*talkrpc.EmptyResp, error)

点赞说说

func (*TalkRpcServer) UpdateTalk

更新说说

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL