| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829 | // Code generated by protoc-gen-go-grpc. DO NOT EDIT.package userimport (	context "context"	chat "git.ikuban.com/server/pw-protobuf/api/chat"	common "git.ikuban.com/server/pw-protobuf/api/common"	statistics "git.ikuban.com/server/pw-protobuf/api/statistics"	grpc "google.golang.org/grpc"	codes "google.golang.org/grpc/codes"	status "google.golang.org/grpc/status"	emptypb "google.golang.org/protobuf/types/known/emptypb")// This is a compile-time assertion to ensure that this generated file// is compatible with the grpc package it is being compiled against.// Requires gRPC-Go v1.32.0 or later.const _ = grpc.SupportPackageIsVersion7// UserClient is the client API for User service.//// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.type UserClient interface {	// 更新用户信息	UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)	// 获取用户详情	GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error)	// 获取用户详情	GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)	// 获取用户访问数详情	GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error)	// 用户发送验证码	SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)	// 用户验证验证码	CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)	// 检查用户是否与接待员关联	CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error)	// 创建用户与接待员的关联	CreateUserPartnerRoom(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.RoomReply, error)	// 获取接待员的确认通过页面信息	GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error)	// 用户获取主页信息	UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error)	// 通过用户IDs查看用户信息列表	FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error)	// 查看看过我的列表	FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)	// 查看我喜欢的列表	FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)	// 查看喜欢我的列表	FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)	// 获取用户的访客数以及关注数	GetLookAndLikeStatisticsMessage(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error)	// 微信SDK初始化	WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error)	// 获取标签列表	FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error)	// 获取标签列表	FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.OnlinePersonListReply, error)	// 七天内列表(当前会话)	FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.UserFindRoomListReply, error)	// 七天外列表(更早的聊天记录)	FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.UserFindRoomListReply, error)}type userClient struct {	cc grpc.ClientConnInterface}func NewUserClient(cc grpc.ClientConnInterface) UserClient {	return &userClient{cc}}func (c *userClient) UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {	out := new(emptypb.Empty)	err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserInformation", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error) {	out := new(UserInfo)	err := c.cc.Invoke(ctx, "/api.user.User/GetUserInfo", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {	out := new(common.PersonMsg)	err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsg", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error) {	out := new(statistics.LookMessageReply)	err := c.cc.Invoke(ctx, "/api.user.User/GetUserLookNum", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {	out := new(emptypb.Empty)	err := c.cc.Invoke(ctx, "/api.user.User/SendPhoneCode", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {	out := new(emptypb.Empty)	err := c.cc.Invoke(ctx, "/api.user.User/CheckPhoneCode", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error) {	out := new(chat.CheckUserPartnerIsRelationshipReply)	err := c.cc.Invoke(ctx, "/api.user.User/CheckUserPartnerIsRelationship", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) CreateUserPartnerRoom(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.RoomReply, error) {	out := new(chat.RoomReply)	err := c.cc.Invoke(ctx, "/api.user.User/CreateUserPartnerRoom", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error) {	out := new(common.AddFriendMessageInfo)	err := c.cc.Invoke(ctx, "/api.user.User/GetPartnerCircleInfo", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error) {	out := new(common.HomeInfo)	err := c.cc.Invoke(ctx, "/api.user.User/UserGetHomeInfo", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error) {	out := new(common.PersonDBReply)	err := c.cc.Invoke(ctx, "/api.user.User/FindUserDBList", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {	out := new(statistics.LookAndLikeListReply)	err := c.cc.Invoke(ctx, "/api.user.User/FindLookList", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {	out := new(statistics.LookAndLikeListReply)	err := c.cc.Invoke(ctx, "/api.user.User/FindLikeList", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {	out := new(statistics.LookAndLikeListReply)	err := c.cc.Invoke(ctx, "/api.user.User/FindLikedList", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) GetLookAndLikeStatisticsMessage(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error) {	out := new(statistics.LookAndLikeMessageReply)	err := c.cc.Invoke(ctx, "/api.user.User/GetLookAndLikeStatisticsMessage", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error) {	out := new(common.WxConfResponse)	err := c.cc.Invoke(ctx, "/api.user.User/WxConf", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {	out := new(common.TagListReply)	err := c.cc.Invoke(ctx, "/api.user.User/FindTagListBySex", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.OnlinePersonListReply, error) {	out := new(common.OnlinePersonListReply)	err := c.cc.Invoke(ctx, "/api.user.User/FindOnlineList", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.UserFindRoomListReply, error) {	out := new(chat.UserFindRoomListReply)	err := c.cc.Invoke(ctx, "/api.user.User/FindWithinSevenDayRoomList", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}func (c *userClient) FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*chat.UserFindRoomListReply, error) {	out := new(chat.UserFindRoomListReply)	err := c.cc.Invoke(ctx, "/api.user.User/FindOverSevenDayRoomList", in, out, opts...)	if err != nil {		return nil, err	}	return out, nil}// UserServer is the server API for User service.// All implementations must embed UnimplementedUserServer// for forward compatibilitytype UserServer interface {	// 更新用户信息	UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error)	// 获取用户详情	GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error)	// 获取用户详情	GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)	// 获取用户访问数详情	GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error)	// 用户发送验证码	SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error)	// 用户验证验证码	CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)	// 检查用户是否与接待员关联	CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)	// 创建用户与接待员的关联	CreateUserPartnerRoom(context.Context, *common.PartnerIDParam) (*chat.RoomReply, error)	// 获取接待员的确认通过页面信息	GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error)	// 用户获取主页信息	UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error)	// 通过用户IDs查看用户信息列表	FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error)	// 查看看过我的列表	FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)	// 查看我喜欢的列表	FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)	// 查看喜欢我的列表	FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)	// 获取用户的访客数以及关注数	GetLookAndLikeStatisticsMessage(context.Context, *common.PersonParam) (*statistics.LookAndLikeMessageReply, error)	// 微信SDK初始化	WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error)	// 获取标签列表	FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)	// 获取标签列表	FindOnlineList(context.Context, *common.ListPage2Request) (*common.OnlinePersonListReply, error)	// 七天内列表(当前会话)	FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*chat.UserFindRoomListReply, error)	// 七天外列表(更早的聊天记录)	FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*chat.UserFindRoomListReply, error)	mustEmbedUnimplementedUserServer()}// UnimplementedUserServer must be embedded to have forward compatible implementations.type UnimplementedUserServer struct {}func (UnimplementedUserServer) UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error) {	return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInformation not implemented")}func (UnimplementedUserServer) GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error) {	return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo not implemented")}func (UnimplementedUserServer) GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) {	return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsg not implemented")}func (UnimplementedUserServer) GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method GetUserLookNum not implemented")}func (UnimplementedUserServer) SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error) {	return nil, status.Errorf(codes.Unimplemented, "method SendPhoneCode not implemented")}func (UnimplementedUserServer) CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) {	return nil, status.Errorf(codes.Unimplemented, "method CheckPhoneCode not implemented")}func (UnimplementedUserServer) CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")}func (UnimplementedUserServer) CreateUserPartnerRoom(context.Context, *common.PartnerIDParam) (*chat.RoomReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method CreateUserPartnerRoom not implemented")}func (UnimplementedUserServer) GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error) {	return nil, status.Errorf(codes.Unimplemented, "method GetPartnerCircleInfo not implemented")}func (UnimplementedUserServer) UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error) {	return nil, status.Errorf(codes.Unimplemented, "method UserGetHomeInfo not implemented")}func (UnimplementedUserServer) FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method FindUserDBList not implemented")}func (UnimplementedUserServer) FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method FindLookList not implemented")}func (UnimplementedUserServer) FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method FindLikeList not implemented")}func (UnimplementedUserServer) FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method FindLikedList not implemented")}func (UnimplementedUserServer) GetLookAndLikeStatisticsMessage(context.Context, *common.PersonParam) (*statistics.LookAndLikeMessageReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method GetLookAndLikeStatisticsMessage not implemented")}func (UnimplementedUserServer) WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error) {	return nil, status.Errorf(codes.Unimplemented, "method WxConf not implemented")}func (UnimplementedUserServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")}func (UnimplementedUserServer) FindOnlineList(context.Context, *common.ListPage2Request) (*common.OnlinePersonListReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method FindOnlineList not implemented")}func (UnimplementedUserServer) FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*chat.UserFindRoomListReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method FindWithinSevenDayRoomList not implemented")}func (UnimplementedUserServer) FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*chat.UserFindRoomListReply, error) {	return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayRoomList not implemented")}func (UnimplementedUserServer) mustEmbedUnimplementedUserServer() {}// UnsafeUserServer may be embedded to opt out of forward compatibility for this service.// Use of this interface is not recommended, as added methods to UserServer will// result in compilation errors.type UnsafeUserServer interface {	mustEmbedUnimplementedUserServer()}func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) {	s.RegisterService(&User_ServiceDesc, srv)}func _User_UpdateUserInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.UpdateInformationRequest)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).UpdateUserInformation(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/UpdateUserInformation",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).UpdateUserInformation(ctx, req.(*common.UpdateInformationRequest))	}	return interceptor(ctx, in, info, handler)}func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(emptypb.Empty)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).GetUserInfo(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/GetUserInfo",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).GetUserInfo(ctx, req.(*emptypb.Empty))	}	return interceptor(ctx, in, info, handler)}func _User_GetUserDBMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.PersonIDParam)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).GetUserDBMsg(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/GetUserDBMsg",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).GetUserDBMsg(ctx, req.(*common.PersonIDParam))	}	return interceptor(ctx, in, info, handler)}func _User_GetUserLookNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(emptypb.Empty)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).GetUserLookNum(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/GetUserLookNum",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).GetUserLookNum(ctx, req.(*emptypb.Empty))	}	return interceptor(ctx, in, info, handler)}func _User_SendPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.SendPhoneCodeRequest)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).SendPhoneCode(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/SendPhoneCode",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).SendPhoneCode(ctx, req.(*common.SendPhoneCodeRequest))	}	return interceptor(ctx, in, info, handler)}func _User_CheckPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.CheckPhoneCodeRequest)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).CheckPhoneCode(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/CheckPhoneCode",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).CheckPhoneCode(ctx, req.(*common.CheckPhoneCodeRequest))	}	return interceptor(ctx, in, info, handler)}func _User_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.PartnerIDParam)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/CheckUserPartnerIsRelationship",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, req.(*common.PartnerIDParam))	}	return interceptor(ctx, in, info, handler)}func _User_CreateUserPartnerRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.PartnerIDParam)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).CreateUserPartnerRoom(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/CreateUserPartnerRoom",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).CreateUserPartnerRoom(ctx, req.(*common.PartnerIDParam))	}	return interceptor(ctx, in, info, handler)}func _User_GetPartnerCircleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(KeyRequest)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).GetPartnerCircleInfo(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/GetPartnerCircleInfo",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).GetPartnerCircleInfo(ctx, req.(*KeyRequest))	}	return interceptor(ctx, in, info, handler)}func _User_UserGetHomeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.PersonParam)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).UserGetHomeInfo(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/UserGetHomeInfo",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).UserGetHomeInfo(ctx, req.(*common.PersonParam))	}	return interceptor(ctx, in, info, handler)}func _User_FindUserDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.PersonIDList)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).FindUserDBList(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/FindUserDBList",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).FindUserDBList(ctx, req.(*common.PersonIDList))	}	return interceptor(ctx, in, info, handler)}func _User_FindLookList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.ListPageRequest)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).FindLookList(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/FindLookList",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).FindLookList(ctx, req.(*common.ListPageRequest))	}	return interceptor(ctx, in, info, handler)}func _User_FindLikeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.ListPageRequest)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).FindLikeList(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/FindLikeList",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).FindLikeList(ctx, req.(*common.ListPageRequest))	}	return interceptor(ctx, in, info, handler)}func _User_FindLikedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.ListPageRequest)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).FindLikedList(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/FindLikedList",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).FindLikedList(ctx, req.(*common.ListPageRequest))	}	return interceptor(ctx, in, info, handler)}func _User_GetLookAndLikeStatisticsMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.PersonParam)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/GetLookAndLikeStatisticsMessage",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, req.(*common.PersonParam))	}	return interceptor(ctx, in, info, handler)}func _User_WxConf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.WxConfReq)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).WxConf(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/WxConf",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).WxConf(ctx, req.(*common.WxConfReq))	}	return interceptor(ctx, in, info, handler)}func _User_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.SexReq)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).FindTagListBySex(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/FindTagListBySex",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).FindTagListBySex(ctx, req.(*common.SexReq))	}	return interceptor(ctx, in, info, handler)}func _User_FindOnlineList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.ListPage2Request)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).FindOnlineList(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/FindOnlineList",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).FindOnlineList(ctx, req.(*common.ListPage2Request))	}	return interceptor(ctx, in, info, handler)}func _User_FindWithinSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.ListPageRequest)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).FindWithinSevenDayRoomList(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/FindWithinSevenDayRoomList",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).FindWithinSevenDayRoomList(ctx, req.(*common.ListPageRequest))	}	return interceptor(ctx, in, info, handler)}func _User_FindOverSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {	in := new(common.ListPageRequest)	if err := dec(in); err != nil {		return nil, err	}	if interceptor == nil {		return srv.(UserServer).FindOverSevenDayRoomList(ctx, in)	}	info := &grpc.UnaryServerInfo{		Server:     srv,		FullMethod: "/api.user.User/FindOverSevenDayRoomList",	}	handler := func(ctx context.Context, req interface{}) (interface{}, error) {		return srv.(UserServer).FindOverSevenDayRoomList(ctx, req.(*common.ListPageRequest))	}	return interceptor(ctx, in, info, handler)}// User_ServiceDesc is the grpc.ServiceDesc for User service.// It's only intended for direct use with grpc.RegisterService,// and not to be introspected or modified (even as a copy)var User_ServiceDesc = grpc.ServiceDesc{	ServiceName: "api.user.User",	HandlerType: (*UserServer)(nil),	Methods: []grpc.MethodDesc{		{			MethodName: "UpdateUserInformation",			Handler:    _User_UpdateUserInformation_Handler,		},		{			MethodName: "GetUserInfo",			Handler:    _User_GetUserInfo_Handler,		},		{			MethodName: "GetUserDBMsg",			Handler:    _User_GetUserDBMsg_Handler,		},		{			MethodName: "GetUserLookNum",			Handler:    _User_GetUserLookNum_Handler,		},		{			MethodName: "SendPhoneCode",			Handler:    _User_SendPhoneCode_Handler,		},		{			MethodName: "CheckPhoneCode",			Handler:    _User_CheckPhoneCode_Handler,		},		{			MethodName: "CheckUserPartnerIsRelationship",			Handler:    _User_CheckUserPartnerIsRelationship_Handler,		},		{			MethodName: "CreateUserPartnerRoom",			Handler:    _User_CreateUserPartnerRoom_Handler,		},		{			MethodName: "GetPartnerCircleInfo",			Handler:    _User_GetPartnerCircleInfo_Handler,		},		{			MethodName: "UserGetHomeInfo",			Handler:    _User_UserGetHomeInfo_Handler,		},		{			MethodName: "FindUserDBList",			Handler:    _User_FindUserDBList_Handler,		},		{			MethodName: "FindLookList",			Handler:    _User_FindLookList_Handler,		},		{			MethodName: "FindLikeList",			Handler:    _User_FindLikeList_Handler,		},		{			MethodName: "FindLikedList",			Handler:    _User_FindLikedList_Handler,		},		{			MethodName: "GetLookAndLikeStatisticsMessage",			Handler:    _User_GetLookAndLikeStatisticsMessage_Handler,		},		{			MethodName: "WxConf",			Handler:    _User_WxConf_Handler,		},		{			MethodName: "FindTagListBySex",			Handler:    _User_FindTagListBySex_Handler,		},		{			MethodName: "FindOnlineList",			Handler:    _User_FindOnlineList_Handler,		},		{			MethodName: "FindWithinSevenDayRoomList",			Handler:    _User_FindWithinSevenDayRoomList_Handler,		},		{			MethodName: "FindOverSevenDayRoomList",			Handler:    _User_FindOverSevenDayRoomList_Handler,		},	},	Streams:  []grpc.StreamDesc{},	Metadata: "user.proto",}
 |