Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindFriendListReq ¶
type FindFriendListReq = friendrpc.FindFriendListReq
type FindFriendListResp ¶
type FindFriendListResp = friendrpc.FindFriendListResp
type FriendDetails ¶
type FriendDetails = friendrpc.FriendDetails
type FriendNewReq ¶
type FriendNewReq = friendrpc.FriendNewReq
type FriendRpc ¶
type FriendRpc interface { // 创建友链 AddFriend(ctx context.Context, in *FriendNewReq, opts ...grpc.CallOption) (*FriendDetails, error) // 更新友链 UpdateFriend(ctx context.Context, in *FriendNewReq, opts ...grpc.CallOption) (*FriendDetails, error) // 删除友链 DeleteFriend(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error) // 查询友链列表 FindFriendList(ctx context.Context, in *FindFriendListReq, opts ...grpc.CallOption) (*FindFriendListResp, error) }
func NewFriendRpc ¶
Click to show internal directories.
Click to hide internal directories.