123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: household_service.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb
- import (
- context "context"
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- math "math"
- v1 "property-household-gateway/pb/v1"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- func init() {
- proto.RegisterFile("household_service.proto", fileDescriptor_29439a8e98771332)
- }
- var fileDescriptor_29439a8e98771332 = []byte{
- // 436 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4b, 0xef, 0xd2, 0x40,
- 0x14, 0xc5, 0xdd, 0x68, 0x64, 0xe2, 0xf3, 0xfa, 0x00, 0x2b, 0xa0, 0xf1, 0xb5, 0xa3, 0x04, 0xdd,
- 0x99, 0xb8, 0xc0, 0x10, 0x95, 0x84, 0x60, 0x6c, 0x42, 0x62, 0xdc, 0x90, 0x96, 0x5e, 0xa1, 0x5a,
- 0x3a, 0x63, 0x3b, 0x94, 0xf4, 0x3b, 0xf8, 0xa1, 0xff, 0x99, 0x4e, 0xa7, 0x4c, 0xe9, 0xb4, 0xfc,
- 0x77, 0xe5, 0x9c, 0x73, 0x7f, 0xe5, 0x9e, 0x4e, 0x86, 0x74, 0x77, 0xf4, 0x90, 0xe0, 0x8e, 0x86,
- 0xfe, 0x3a, 0xc1, 0x38, 0x0d, 0x36, 0x68, 0xb3, 0x98, 0x72, 0x0a, 0x84, 0x79, 0x76, 0xa1, 0x58,
- 0x90, 0x4e, 0xc6, 0x65, 0x4e, 0xfa, 0xef, 0xff, 0x13, 0xd2, 0xf9, 0xa6, 0x34, 0x98, 0x90, 0x9b,
- 0x0b, 0xba, 0x0d, 0x22, 0x78, 0x64, 0x33, 0x6f, 0x9d, 0x4e, 0xec, 0xfc, 0x97, 0x83, 0xff, 0x0e,
- 0x98, 0x70, 0xeb, 0x61, 0x55, 0x64, 0x61, 0xf6, 0xea, 0x06, 0x7c, 0x27, 0xf7, 0xcb, 0xf9, 0xfc,
- 0x21, 0x81, 0x41, 0x91, 0x3b, 0xd3, 0x15, 0xe6, 0x79, 0x93, 0x2d, 0x81, 0x5f, 0xc8, 0x1d, 0x07,
- 0xdd, 0x70, 0xe9, 0xee, 0x71, 0x7a, 0xe0, 0x3b, 0xb0, 0x8a, 0xb8, 0x2e, 0x2a, 0x54, 0xcf, 0xe8,
- 0x49, 0xce, 0x4f, 0x02, 0xab, 0x04, 0xe3, 0x15, 0xf3, 0x5d, 0x8e, 0xcb, 0x60, 0xf3, 0x57, 0x04,
- 0xe0, 0x65, 0x31, 0x51, 0xb7, 0x14, 0x73, 0xd8, 0x92, 0x90, 0xe4, 0x05, 0xb9, 0x57, 0xfe, 0xf7,
- 0x29, 0x63, 0x61, 0x06, 0xfd, 0xf3, 0x95, 0x72, 0x59, 0x11, 0xad, 0x06, 0x57, 0xd2, 0x1c, 0xf2,
- 0x40, 0x37, 0x62, 0x9a, 0x22, 0x0c, 0x0d, 0x13, 0xc2, 0x50, 0xc4, 0x7e, 0xa3, 0x2f, 0x99, 0x73,
- 0x72, 0xb7, 0xb4, 0x16, 0x41, 0xc2, 0xa1, 0xd6, 0xb9, 0x50, 0x15, 0xed, 0x99, 0xd9, 0x94, 0xa8,
- 0x8f, 0xe4, 0xb6, 0x68, 0x62, 0x1e, 0xfd, 0xa6, 0xf0, 0x54, 0xab, 0x46, 0x08, 0x0a, 0xf0, 0xb8,
- 0xa6, 0x57, 0x8b, 0x72, 0x30, 0xe2, 0x86, 0xa2, 0x4a, 0xd9, 0x58, 0x94, 0xe6, 0x56, 0x4f, 0x9a,
- 0x30, 0xe4, 0x87, 0xa9, 0x9e, 0xb4, 0x93, 0x6e, 0x3c, 0x69, 0xba, 0x5d, 0x6d, 0x49, 0x38, 0x33,
- 0x7a, 0x8c, 0xa0, 0x96, 0x17, 0xaa, 0xb1, 0xa5, 0x93, 0x59, 0x47, 0xd5, 0x0b, 0x57, 0x6a, 0x23,
- 0x4a, 0x2f, 0xfc, 0x13, 0xe9, 0x7c, 0x75, 0x39, 0xfe, 0xd8, 0x50, 0x1f, 0xa1, 0x5b, 0x24, 0x4b,
- 0x45, 0x21, 0x9e, 0xd4, 0x0d, 0x39, 0xbe, 0x25, 0x5d, 0xbd, 0x3e, 0x1a, 0x44, 0x7c, 0x2f, 0x1e,
- 0x7d, 0x1f, 0xde, 0x1a, 0xea, 0xd5, 0x7c, 0x85, 0x7e, 0x7d, 0x29, 0x26, 0x5f, 0xf4, 0x87, 0xf4,
- 0x4c, 0x89, 0x7c, 0xfb, 0x77, 0x2d, 0x08, 0xbd, 0x88, 0x37, 0x17, 0x73, 0xad, 0x4b, 0xcd, 0x30,
- 0x6c, 0x5d, 0x6a, 0x86, 0xe1, 0x75, 0x96, 0xca, 0x63, 0xf9, 0x8b, 0x3e, 0xbf, 0xf8, 0x35, 0x60,
- 0x31, 0x65, 0x18, 0xf3, 0x6c, 0x54, 0x5e, 0x95, 0xa3, 0xad, 0xcb, 0xf1, 0xe8, 0x66, 0x63, 0xe6,
- 0x79, 0xb7, 0xf2, 0x6b, 0xf3, 0xc3, 0x55, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xcf,
- 0x71, 0x05, 0x00, 0x00,
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConnInterface
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion6
- // HouseholdClient is the client API for Household service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type HouseholdClient interface {
- //
- Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error)
- // 获取住户房屋列表
- HouseholdHouses(ctx context.Context, in *v1.HouseholdHousesRequest, opts ...grpc.CallOption) (*v1.HouseholdHousesReply, error)
- RealNameAuth(ctx context.Context, in *v1.RealNameAuthRequest, opts ...grpc.CallOption) (*v1.RealNameAuthReply, error)
- UserUpdateNickName(ctx context.Context, in *v1.UserUpdateNickNameRequest, opts ...grpc.CallOption) (*v1.UserUpdateNickNameReply, error)
- HouseholdApply(ctx context.Context, in *v1.HouseholdApplyRequest, opts ...grpc.CallOption) (*v1.HouseholdApplyReply, error)
- HouseholdApprove(ctx context.Context, in *v1.HouseholdApproveRequest, opts ...grpc.CallOption) (*v1.HouseholdApproveReply, error)
- HouseholdList(ctx context.Context, in *v1.HouseholdListRequest, opts ...grpc.CallOption) (*v1.HouseholdListReply, error)
- UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error)
- // 房屋租赁
- HouseRentApply(ctx context.Context, in *v1.HouseRentApplyRequest, opts ...grpc.CallOption) (*v1.HouseRentApplyReply, error)
- HouseRentUpdate(ctx context.Context, in *v1.HouseRentUpdateRequest, opts ...grpc.CallOption) (*v1.HouseRentUpdateReply, error)
- HouseRentDown(ctx context.Context, in *v1.HouseRentDownRequest, opts ...grpc.CallOption) (*v1.HouseRentDownReply, error)
- HouseRentList(ctx context.Context, in *v1.HouseRentListRequest, opts ...grpc.CallOption) (*v1.HouseRentListReply, error)
- GateQcode(ctx context.Context, in *v1.GateQcodeRequest, opts ...grpc.CallOption) (*v1.GateQcodeReply, error)
- // 租房预约看房
- HouseRentAppointmentAdd(ctx context.Context, in *v1.HouseRentAppointmentAddRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentAddReply, error)
- // 租房预约列表
- HouseRentAppointmentList(ctx context.Context, in *v1.HouseRentAppointmentListRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentListReply, error)
- // 删除租房预约
- HouseRentAppointmentDel(ctx context.Context, in *v1.HouseRentAppointmentDelRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentDelReply, error)
- }
- type householdClient struct {
- cc grpc.ClientConnInterface
- }
- func NewHouseholdClient(cc grpc.ClientConnInterface) HouseholdClient {
- return &householdClient{cc}
- }
- func (c *householdClient) Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) {
- out := new(v1.LoginReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/Login", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseholdHouses(ctx context.Context, in *v1.HouseholdHousesRequest, opts ...grpc.CallOption) (*v1.HouseholdHousesReply, error) {
- out := new(v1.HouseholdHousesReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdHouses", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) RealNameAuth(ctx context.Context, in *v1.RealNameAuthRequest, opts ...grpc.CallOption) (*v1.RealNameAuthReply, error) {
- out := new(v1.RealNameAuthReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/RealNameAuth", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) UserUpdateNickName(ctx context.Context, in *v1.UserUpdateNickNameRequest, opts ...grpc.CallOption) (*v1.UserUpdateNickNameReply, error) {
- out := new(v1.UserUpdateNickNameReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/UserUpdateNickName", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseholdApply(ctx context.Context, in *v1.HouseholdApplyRequest, opts ...grpc.CallOption) (*v1.HouseholdApplyReply, error) {
- out := new(v1.HouseholdApplyReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdApply", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseholdApprove(ctx context.Context, in *v1.HouseholdApproveRequest, opts ...grpc.CallOption) (*v1.HouseholdApproveReply, error) {
- out := new(v1.HouseholdApproveReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdApprove", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseholdList(ctx context.Context, in *v1.HouseholdListRequest, opts ...grpc.CallOption) (*v1.HouseholdListReply, error) {
- out := new(v1.HouseholdListReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error) {
- out := new(v1.UserInfoReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/UserInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseRentApply(ctx context.Context, in *v1.HouseRentApplyRequest, opts ...grpc.CallOption) (*v1.HouseRentApplyReply, error) {
- out := new(v1.HouseRentApplyReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentApply", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseRentUpdate(ctx context.Context, in *v1.HouseRentUpdateRequest, opts ...grpc.CallOption) (*v1.HouseRentUpdateReply, error) {
- out := new(v1.HouseRentUpdateReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentUpdate", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseRentDown(ctx context.Context, in *v1.HouseRentDownRequest, opts ...grpc.CallOption) (*v1.HouseRentDownReply, error) {
- out := new(v1.HouseRentDownReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentDown", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseRentList(ctx context.Context, in *v1.HouseRentListRequest, opts ...grpc.CallOption) (*v1.HouseRentListReply, error) {
- out := new(v1.HouseRentListReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) GateQcode(ctx context.Context, in *v1.GateQcodeRequest, opts ...grpc.CallOption) (*v1.GateQcodeReply, error) {
- out := new(v1.GateQcodeReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/GateQcode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseRentAppointmentAdd(ctx context.Context, in *v1.HouseRentAppointmentAddRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentAddReply, error) {
- out := new(v1.HouseRentAppointmentAddReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentAdd", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseRentAppointmentList(ctx context.Context, in *v1.HouseRentAppointmentListRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentListReply, error) {
- out := new(v1.HouseRentAppointmentListReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *householdClient) HouseRentAppointmentDel(ctx context.Context, in *v1.HouseRentAppointmentDelRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentDelReply, error) {
- out := new(v1.HouseRentAppointmentDelReply)
- err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentDel", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // HouseholdServer is the server API for Household service.
- type HouseholdServer interface {
- //
- Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, error)
- // 获取住户房屋列表
- HouseholdHouses(context.Context, *v1.HouseholdHousesRequest) (*v1.HouseholdHousesReply, error)
- RealNameAuth(context.Context, *v1.RealNameAuthRequest) (*v1.RealNameAuthReply, error)
- UserUpdateNickName(context.Context, *v1.UserUpdateNickNameRequest) (*v1.UserUpdateNickNameReply, error)
- HouseholdApply(context.Context, *v1.HouseholdApplyRequest) (*v1.HouseholdApplyReply, error)
- HouseholdApprove(context.Context, *v1.HouseholdApproveRequest) (*v1.HouseholdApproveReply, error)
- HouseholdList(context.Context, *v1.HouseholdListRequest) (*v1.HouseholdListReply, error)
- UserInfo(context.Context, *v1.UserInfoRequest) (*v1.UserInfoReply, error)
- // 房屋租赁
- HouseRentApply(context.Context, *v1.HouseRentApplyRequest) (*v1.HouseRentApplyReply, error)
- HouseRentUpdate(context.Context, *v1.HouseRentUpdateRequest) (*v1.HouseRentUpdateReply, error)
- HouseRentDown(context.Context, *v1.HouseRentDownRequest) (*v1.HouseRentDownReply, error)
- HouseRentList(context.Context, *v1.HouseRentListRequest) (*v1.HouseRentListReply, error)
- GateQcode(context.Context, *v1.GateQcodeRequest) (*v1.GateQcodeReply, error)
- // 租房预约看房
- HouseRentAppointmentAdd(context.Context, *v1.HouseRentAppointmentAddRequest) (*v1.HouseRentAppointmentAddReply, error)
- // 租房预约列表
- HouseRentAppointmentList(context.Context, *v1.HouseRentAppointmentListRequest) (*v1.HouseRentAppointmentListReply, error)
- // 删除租房预约
- HouseRentAppointmentDel(context.Context, *v1.HouseRentAppointmentDelRequest) (*v1.HouseRentAppointmentDelReply, error)
- }
- // UnimplementedHouseholdServer can be embedded to have forward compatible implementations.
- type UnimplementedHouseholdServer struct {
- }
- func (*UnimplementedHouseholdServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Login not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseholdHouses(ctx context.Context, req *v1.HouseholdHousesRequest) (*v1.HouseholdHousesReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseholdHouses not implemented")
- }
- func (*UnimplementedHouseholdServer) RealNameAuth(ctx context.Context, req *v1.RealNameAuthRequest) (*v1.RealNameAuthReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RealNameAuth not implemented")
- }
- func (*UnimplementedHouseholdServer) UserUpdateNickName(ctx context.Context, req *v1.UserUpdateNickNameRequest) (*v1.UserUpdateNickNameReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserUpdateNickName not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseholdApply(ctx context.Context, req *v1.HouseholdApplyRequest) (*v1.HouseholdApplyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseholdApply not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseholdApprove(ctx context.Context, req *v1.HouseholdApproveRequest) (*v1.HouseholdApproveReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseholdApprove not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseholdList(ctx context.Context, req *v1.HouseholdListRequest) (*v1.HouseholdListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseholdList not implemented")
- }
- func (*UnimplementedHouseholdServer) UserInfo(ctx context.Context, req *v1.UserInfoRequest) (*v1.UserInfoReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseRentApply(ctx context.Context, req *v1.HouseRentApplyRequest) (*v1.HouseRentApplyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseRentApply not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseRentUpdate(ctx context.Context, req *v1.HouseRentUpdateRequest) (*v1.HouseRentUpdateReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseRentUpdate not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseRentDown(ctx context.Context, req *v1.HouseRentDownRequest) (*v1.HouseRentDownReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseRentDown not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseRentList(ctx context.Context, req *v1.HouseRentListRequest) (*v1.HouseRentListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseRentList not implemented")
- }
- func (*UnimplementedHouseholdServer) GateQcode(ctx context.Context, req *v1.GateQcodeRequest) (*v1.GateQcodeReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GateQcode not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseRentAppointmentAdd(ctx context.Context, req *v1.HouseRentAppointmentAddRequest) (*v1.HouseRentAppointmentAddReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentAdd not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseRentAppointmentList(ctx context.Context, req *v1.HouseRentAppointmentListRequest) (*v1.HouseRentAppointmentListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentList not implemented")
- }
- func (*UnimplementedHouseholdServer) HouseRentAppointmentDel(ctx context.Context, req *v1.HouseRentAppointmentDelRequest) (*v1.HouseRentAppointmentDelReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentDel not implemented")
- }
- func RegisterHouseholdServer(s *grpc.Server, srv HouseholdServer) {
- s.RegisterService(&_Household_serviceDesc, srv)
- }
- func _Household_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.LoginRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).Login(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/Login",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).Login(ctx, req.(*v1.LoginRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseholdHouses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseholdHousesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseholdHouses(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseholdHouses",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseholdHouses(ctx, req.(*v1.HouseholdHousesRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_RealNameAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.RealNameAuthRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).RealNameAuth(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/RealNameAuth",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).RealNameAuth(ctx, req.(*v1.RealNameAuthRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_UserUpdateNickName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UserUpdateNickNameRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).UserUpdateNickName(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/UserUpdateNickName",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).UserUpdateNickName(ctx, req.(*v1.UserUpdateNickNameRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseholdApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseholdApplyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseholdApply(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseholdApply",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseholdApply(ctx, req.(*v1.HouseholdApplyRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseholdApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseholdApproveRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseholdApprove(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseholdApprove",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseholdApprove(ctx, req.(*v1.HouseholdApproveRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseholdList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseholdListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseholdList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseholdList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseholdList(ctx, req.(*v1.HouseholdListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UserInfoRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).UserInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/UserInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).UserInfo(ctx, req.(*v1.UserInfoRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseRentApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseRentApplyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseRentApply(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseRentApply",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseRentApply(ctx, req.(*v1.HouseRentApplyRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseRentUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseRentUpdateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseRentUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseRentUpdate",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseRentUpdate(ctx, req.(*v1.HouseRentUpdateRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseRentDown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseRentDownRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseRentDown(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseRentDown",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseRentDown(ctx, req.(*v1.HouseRentDownRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseRentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseRentListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseRentList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseRentList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseRentList(ctx, req.(*v1.HouseRentListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_GateQcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.GateQcodeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).GateQcode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/GateQcode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).GateQcode(ctx, req.(*v1.GateQcodeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseRentAppointmentAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseRentAppointmentAddRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseRentAppointmentAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseRentAppointmentAdd",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseRentAppointmentAdd(ctx, req.(*v1.HouseRentAppointmentAddRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseRentAppointmentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseRentAppointmentListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseRentAppointmentList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseRentAppointmentList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseRentAppointmentList(ctx, req.(*v1.HouseRentAppointmentListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Household_HouseRentAppointmentDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.HouseRentAppointmentDelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(HouseholdServer).HouseRentAppointmentDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.Household/HouseRentAppointmentDel",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(HouseholdServer).HouseRentAppointmentDel(ctx, req.(*v1.HouseRentAppointmentDelRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _Household_serviceDesc = grpc.ServiceDesc{
- ServiceName: "pb.service.Household",
- HandlerType: (*HouseholdServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "Login",
- Handler: _Household_Login_Handler,
- },
- {
- MethodName: "HouseholdHouses",
- Handler: _Household_HouseholdHouses_Handler,
- },
- {
- MethodName: "RealNameAuth",
- Handler: _Household_RealNameAuth_Handler,
- },
- {
- MethodName: "UserUpdateNickName",
- Handler: _Household_UserUpdateNickName_Handler,
- },
- {
- MethodName: "HouseholdApply",
- Handler: _Household_HouseholdApply_Handler,
- },
- {
- MethodName: "HouseholdApprove",
- Handler: _Household_HouseholdApprove_Handler,
- },
- {
- MethodName: "HouseholdList",
- Handler: _Household_HouseholdList_Handler,
- },
- {
- MethodName: "UserInfo",
- Handler: _Household_UserInfo_Handler,
- },
- {
- MethodName: "HouseRentApply",
- Handler: _Household_HouseRentApply_Handler,
- },
- {
- MethodName: "HouseRentUpdate",
- Handler: _Household_HouseRentUpdate_Handler,
- },
- {
- MethodName: "HouseRentDown",
- Handler: _Household_HouseRentDown_Handler,
- },
- {
- MethodName: "HouseRentList",
- Handler: _Household_HouseRentList_Handler,
- },
- {
- MethodName: "GateQcode",
- Handler: _Household_GateQcode_Handler,
- },
- {
- MethodName: "HouseRentAppointmentAdd",
- Handler: _Household_HouseRentAppointmentAdd_Handler,
- },
- {
- MethodName: "HouseRentAppointmentList",
- Handler: _Household_HouseRentAppointmentList_Handler,
- },
- {
- MethodName: "HouseRentAppointmentDel",
- Handler: _Household_HouseRentAppointmentDel_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "household_service.proto",
- }
|