Documentation ¶
Index ¶
- type FriendRpcServer
- func (s *FriendRpcServer) AddFriend(ctx context.Context, in *friendrpc.FriendNewReq) (*friendrpc.FriendDetails, error)
- func (s *FriendRpcServer) DeleteFriend(ctx context.Context, in *friendrpc.IdsReq) (*friendrpc.BatchResp, error)
- func (s *FriendRpcServer) FindFriendList(ctx context.Context, in *friendrpc.FindFriendListReq) (*friendrpc.FindFriendListResp, error)
- func (s *FriendRpcServer) UpdateFriend(ctx context.Context, in *friendrpc.FriendNewReq) (*friendrpc.FriendDetails, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FriendRpcServer ¶
type FriendRpcServer struct { friendrpc.UnimplementedFriendRpcServer // contains filtered or unexported fields }
func NewFriendRpcServer ¶
func NewFriendRpcServer(svcCtx *svc.ServiceContext) *FriendRpcServer
func (*FriendRpcServer) AddFriend ¶
func (s *FriendRpcServer) AddFriend(ctx context.Context, in *friendrpc.FriendNewReq) (*friendrpc.FriendDetails, error)
创建友链
func (*FriendRpcServer) DeleteFriend ¶
func (s *FriendRpcServer) DeleteFriend(ctx context.Context, in *friendrpc.IdsReq) (*friendrpc.BatchResp, error)
删除友链
func (*FriendRpcServer) FindFriendList ¶
func (s *FriendRpcServer) FindFriendList(ctx context.Context, in *friendrpc.FindFriendListReq) (*friendrpc.FindFriendListResp, error)
查询友链列表
func (*FriendRpcServer) UpdateFriend ¶
func (s *FriendRpcServer) UpdateFriend(ctx context.Context, in *friendrpc.FriendNewReq) (*friendrpc.FriendDetails, error)
更新友链
Click to show internal directories.
Click to hide internal directories.