Versions in this module Expand all Collapse all v0 v0.0.3 Jun 1, 2022 Changes in this version + type FriendService struct + func GetFriendService() *FriendService + func (s *FriendService) AddFriend(ctx context.Context, req *friendpb.AddFriendRequest) (*friendpb.AddFriendResponse, error) + func (s *FriendService) ConfirmFriendRequest(ctx context.Context, req *friendpb.ConfirmFriendRequestReq) (*responsepb.BaseResponse, error) + func (s *FriendService) GetFriend(ctx context.Context, req *friendpb.BaseFriendRequest) (*friendpb.GetFriendResponse, error) + func (s *FriendService) GetFriendRequest(ctx context.Context, req *friendpb.BaseFriendRequest) (*friendpb.GetFriendRequestResponse, error) + func (s *FriendService) IsFriend(ctx context.Context, req *friendpb.BaseFriendRequest) (*responsepb.BaseResponse, error) + func (s *FriendService) QueryFriendList(ctx context.Context, req *friendpb.QueryFriendListRequest) (*friendpb.QueryFriendListResponse, error) + func (s *FriendService) QueryFriendRequestList(ctx context.Context, req *friendpb.QueryFriendRequestListRequest) (*friendpb.QueryFriendRequestListResponse, error) + func (s *FriendService) UpdateFriendStatus(ctx context.Context, req *friendpb.UpdateFriendStatusRequest) (*responsepb.BaseResponse, error) + type UserService struct + func GetUserService() *UserService + func (s *UserService) CreateUser(ctx context.Context, req *userv1.CreateUserRequest) (*userv1.UserInternalResponse, error) + func (s *UserService) GetUser(ctx context.Context, req *userv1.GetUserInfoRequest) (*userv1.UserInternalResponse, error) + func (s *UserService) QueryUser(ctx context.Context, req *userv1.QueryUserRequest) (*userv1.UserInternalResponse, error) + func (s *UserService) UpdateUser(ctx context.Context, req *userv1.UpdateUserRequest) (*userv1.UserInternalResponse, error)