123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005 |
- // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
- // versions:
- // - protoc-gen-go-grpc v1.2.0
- // - protoc v3.19.4
- // source: biService.proto
- package pb
- import (
- context "context"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- )
- // 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
- // BiServiceClient is the client API for BiService 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 BiServiceClient interface {
- MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error)
- AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error)
- GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error)
- DrawClue(ctx context.Context, in *DrawClueReq, opts ...grpc.CallOption) (*AddProjectResp, error)
- Call(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*BiResp, error)
- DistributeClue(ctx context.Context, in *DistributeClueReq, opts ...grpc.CallOption) (*AddProjectResp, error)
- ClueImport(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error)
- ClueAdd(ctx context.Context, in *ClueAddReq, opts ...grpc.CallOption) (*AddProjectResp, error)
- ClueImportTt(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error)
- AutoFollow(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*ClueImportResp, error)
- SqlManage(ctx context.Context, in *SqlManageReq, opts ...grpc.CallOption) (*BiReply, error)
- MyInfo(ctx context.Context, in *MyInfoReq, opts ...grpc.CallOption) (*BiReply, error)
- AllInfoExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error)
- AllProjectExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error)
- InfoOperate(ctx context.Context, in *OperateReq, opts ...grpc.CallOption) (*BiReply, error)
- GetCompanyType(ctx context.Context, in *CompanyReq, opts ...grpc.CallOption) (*CompanyResp, error)
- DistributeClueShow(ctx context.Context, in *DistributeClueShowReq, opts ...grpc.CallOption) (*DistributeClueShowResp, error)
- SendMail(ctx context.Context, in *ExportByDbReq, opts ...grpc.CallOption) (*BiReply, error)
- UpFile(ctx context.Context, in *UpFileReq, opts ...grpc.CallOption) (*BiReply, error)
- SendCommonMail(ctx context.Context, in *SendMailReq, opts ...grpc.CallOption) (*BiReply, error)
- AddAcceptance(ctx context.Context, in *AcceptanceReq, opts ...grpc.CallOption) (*AcceptanceResp, error)
- CreateClueByPhone(ctx context.Context, in *CreateCuleReq, opts ...grpc.CallOption) (*BiReply, error)
- TransferClueByPhone(ctx context.Context, in *TransferClueReq, opts ...grpc.CallOption) (*BiReply, error)
- FindClueInfo(ctx context.Context, in *FindClueInfoReq, opts ...grpc.CallOption) (*BiReply, error)
- GetClueInfoList(ctx context.Context, in *ClueInfoReq, opts ...grpc.CallOption) (*BiReply, error)
- MaterialSave(ctx context.Context, in *MaterialSaveReq, opts ...grpc.CallOption) (*MaterialSaveResp, error)
- }
- type biServiceClient struct {
- cc grpc.ClientConnInterface
- }
- func NewBiServiceClient(cc grpc.ClientConnInterface) BiServiceClient {
- return &biServiceClient{cc}
- }
- func (c *biServiceClient) MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error) {
- out := new(MyDataAssetResp)
- err := c.cc.Invoke(ctx, "/BiService/myDataAsset", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
- out := new(AddProjectResp)
- err := c.cc.Invoke(ctx, "/BiService/addProject", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error) {
- out := new(GetInfoIdResp)
- err := c.cc.Invoke(ctx, "/BiService/getInfoId", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) DrawClue(ctx context.Context, in *DrawClueReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
- out := new(AddProjectResp)
- err := c.cc.Invoke(ctx, "/BiService/drawClue", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) Call(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*BiResp, error) {
- out := new(BiResp)
- err := c.cc.Invoke(ctx, "/BiService/Call", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) DistributeClue(ctx context.Context, in *DistributeClueReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
- out := new(AddProjectResp)
- err := c.cc.Invoke(ctx, "/BiService/distributeClue", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) ClueImport(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error) {
- out := new(ClueImportResp)
- err := c.cc.Invoke(ctx, "/BiService/clueImport", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) ClueAdd(ctx context.Context, in *ClueAddReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
- out := new(AddProjectResp)
- err := c.cc.Invoke(ctx, "/BiService/clueAdd", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) ClueImportTt(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error) {
- out := new(ClueImportResp)
- err := c.cc.Invoke(ctx, "/BiService/clueImportTt", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) AutoFollow(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*ClueImportResp, error) {
- out := new(ClueImportResp)
- err := c.cc.Invoke(ctx, "/BiService/autoFollow", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) SqlManage(ctx context.Context, in *SqlManageReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/sqlManage", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) MyInfo(ctx context.Context, in *MyInfoReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/myInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) AllInfoExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/allInfoExport", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) AllProjectExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/allProjectExport", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) InfoOperate(ctx context.Context, in *OperateReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/infoOperate", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) GetCompanyType(ctx context.Context, in *CompanyReq, opts ...grpc.CallOption) (*CompanyResp, error) {
- out := new(CompanyResp)
- err := c.cc.Invoke(ctx, "/BiService/getCompanyType", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) DistributeClueShow(ctx context.Context, in *DistributeClueShowReq, opts ...grpc.CallOption) (*DistributeClueShowResp, error) {
- out := new(DistributeClueShowResp)
- err := c.cc.Invoke(ctx, "/BiService/distributeClueShow", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) SendMail(ctx context.Context, in *ExportByDbReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/sendMail", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) UpFile(ctx context.Context, in *UpFileReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/upFile", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) SendCommonMail(ctx context.Context, in *SendMailReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/sendCommonMail", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) AddAcceptance(ctx context.Context, in *AcceptanceReq, opts ...grpc.CallOption) (*AcceptanceResp, error) {
- out := new(AcceptanceResp)
- err := c.cc.Invoke(ctx, "/BiService/addAcceptance", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) CreateClueByPhone(ctx context.Context, in *CreateCuleReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/createClueByPhone", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) TransferClueByPhone(ctx context.Context, in *TransferClueReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/transferClueByPhone", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) FindClueInfo(ctx context.Context, in *FindClueInfoReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/findClueInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) GetClueInfoList(ctx context.Context, in *ClueInfoReq, opts ...grpc.CallOption) (*BiReply, error) {
- out := new(BiReply)
- err := c.cc.Invoke(ctx, "/BiService/getClueInfoList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *biServiceClient) MaterialSave(ctx context.Context, in *MaterialSaveReq, opts ...grpc.CallOption) (*MaterialSaveResp, error) {
- out := new(MaterialSaveResp)
- err := c.cc.Invoke(ctx, "/BiService/MaterialSave", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // BiServiceServer is the server API for BiService service.
- // All implementations must embed UnimplementedBiServiceServer
- // for forward compatibility
- type BiServiceServer interface {
- MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error)
- AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error)
- GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error)
- DrawClue(context.Context, *DrawClueReq) (*AddProjectResp, error)
- Call(context.Context, *CallReq) (*BiResp, error)
- DistributeClue(context.Context, *DistributeClueReq) (*AddProjectResp, error)
- ClueImport(context.Context, *ClueImportReq) (*ClueImportResp, error)
- ClueAdd(context.Context, *ClueAddReq) (*AddProjectResp, error)
- ClueImportTt(context.Context, *ClueImportReq) (*ClueImportResp, error)
- AutoFollow(context.Context, *CallReq) (*ClueImportResp, error)
- SqlManage(context.Context, *SqlManageReq) (*BiReply, error)
- MyInfo(context.Context, *MyInfoReq) (*BiReply, error)
- AllInfoExport(context.Context, *ExportReq) (*BiReply, error)
- AllProjectExport(context.Context, *ExportReq) (*BiReply, error)
- InfoOperate(context.Context, *OperateReq) (*BiReply, error)
- GetCompanyType(context.Context, *CompanyReq) (*CompanyResp, error)
- DistributeClueShow(context.Context, *DistributeClueShowReq) (*DistributeClueShowResp, error)
- SendMail(context.Context, *ExportByDbReq) (*BiReply, error)
- UpFile(context.Context, *UpFileReq) (*BiReply, error)
- SendCommonMail(context.Context, *SendMailReq) (*BiReply, error)
- AddAcceptance(context.Context, *AcceptanceReq) (*AcceptanceResp, error)
- CreateClueByPhone(context.Context, *CreateCuleReq) (*BiReply, error)
- TransferClueByPhone(context.Context, *TransferClueReq) (*BiReply, error)
- FindClueInfo(context.Context, *FindClueInfoReq) (*BiReply, error)
- GetClueInfoList(context.Context, *ClueInfoReq) (*BiReply, error)
- MaterialSave(context.Context, *MaterialSaveReq) (*MaterialSaveResp, error)
- mustEmbedUnimplementedBiServiceServer()
- }
- // UnimplementedBiServiceServer must be embedded to have forward compatible implementations.
- type UnimplementedBiServiceServer struct {
- }
- func (UnimplementedBiServiceServer) MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MyDataAsset not implemented")
- }
- func (UnimplementedBiServiceServer) AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddProject not implemented")
- }
- func (UnimplementedBiServiceServer) GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetInfoId not implemented")
- }
- func (UnimplementedBiServiceServer) DrawClue(context.Context, *DrawClueReq) (*AddProjectResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DrawClue not implemented")
- }
- func (UnimplementedBiServiceServer) Call(context.Context, *CallReq) (*BiResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Call not implemented")
- }
- func (UnimplementedBiServiceServer) DistributeClue(context.Context, *DistributeClueReq) (*AddProjectResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DistributeClue not implemented")
- }
- func (UnimplementedBiServiceServer) ClueImport(context.Context, *ClueImportReq) (*ClueImportResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ClueImport not implemented")
- }
- func (UnimplementedBiServiceServer) ClueAdd(context.Context, *ClueAddReq) (*AddProjectResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ClueAdd not implemented")
- }
- func (UnimplementedBiServiceServer) ClueImportTt(context.Context, *ClueImportReq) (*ClueImportResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ClueImportTt not implemented")
- }
- func (UnimplementedBiServiceServer) AutoFollow(context.Context, *CallReq) (*ClueImportResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AutoFollow not implemented")
- }
- func (UnimplementedBiServiceServer) SqlManage(context.Context, *SqlManageReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SqlManage not implemented")
- }
- func (UnimplementedBiServiceServer) MyInfo(context.Context, *MyInfoReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MyInfo not implemented")
- }
- func (UnimplementedBiServiceServer) AllInfoExport(context.Context, *ExportReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AllInfoExport not implemented")
- }
- func (UnimplementedBiServiceServer) AllProjectExport(context.Context, *ExportReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AllProjectExport not implemented")
- }
- func (UnimplementedBiServiceServer) InfoOperate(context.Context, *OperateReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method InfoOperate not implemented")
- }
- func (UnimplementedBiServiceServer) GetCompanyType(context.Context, *CompanyReq) (*CompanyResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetCompanyType not implemented")
- }
- func (UnimplementedBiServiceServer) DistributeClueShow(context.Context, *DistributeClueShowReq) (*DistributeClueShowResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DistributeClueShow not implemented")
- }
- func (UnimplementedBiServiceServer) SendMail(context.Context, *ExportByDbReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendMail not implemented")
- }
- func (UnimplementedBiServiceServer) UpFile(context.Context, *UpFileReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpFile not implemented")
- }
- func (UnimplementedBiServiceServer) SendCommonMail(context.Context, *SendMailReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendCommonMail not implemented")
- }
- func (UnimplementedBiServiceServer) AddAcceptance(context.Context, *AcceptanceReq) (*AcceptanceResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddAcceptance not implemented")
- }
- func (UnimplementedBiServiceServer) CreateClueByPhone(context.Context, *CreateCuleReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateClueByPhone not implemented")
- }
- func (UnimplementedBiServiceServer) TransferClueByPhone(context.Context, *TransferClueReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TransferClueByPhone not implemented")
- }
- func (UnimplementedBiServiceServer) FindClueInfo(context.Context, *FindClueInfoReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindClueInfo not implemented")
- }
- func (UnimplementedBiServiceServer) GetClueInfoList(context.Context, *ClueInfoReq) (*BiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetClueInfoList not implemented")
- }
- func (UnimplementedBiServiceServer) MaterialSave(context.Context, *MaterialSaveReq) (*MaterialSaveResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MaterialSave not implemented")
- }
- func (UnimplementedBiServiceServer) mustEmbedUnimplementedBiServiceServer() {}
- // UnsafeBiServiceServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to BiServiceServer will
- // result in compilation errors.
- type UnsafeBiServiceServer interface {
- mustEmbedUnimplementedBiServiceServer()
- }
- func RegisterBiServiceServer(s grpc.ServiceRegistrar, srv BiServiceServer) {
- s.RegisterService(&BiService_ServiceDesc, srv)
- }
- func _BiService_MyDataAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MyDataAssetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).MyDataAsset(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/myDataAsset",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).MyDataAsset(ctx, req.(*MyDataAssetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_AddProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AddProjectReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).AddProject(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/addProject",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).AddProject(ctx, req.(*AddProjectReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_GetInfoId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AddProjectReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).GetInfoId(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/getInfoId",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).GetInfoId(ctx, req.(*AddProjectReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_DrawClue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DrawClueReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).DrawClue(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/drawClue",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).DrawClue(ctx, req.(*DrawClueReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_Call_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CallReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).Call(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/Call",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).Call(ctx, req.(*CallReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_DistributeClue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DistributeClueReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).DistributeClue(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/distributeClue",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).DistributeClue(ctx, req.(*DistributeClueReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_ClueImport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ClueImportReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).ClueImport(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/clueImport",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).ClueImport(ctx, req.(*ClueImportReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_ClueAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ClueAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).ClueAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/clueAdd",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).ClueAdd(ctx, req.(*ClueAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_ClueImportTt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ClueImportReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).ClueImportTt(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/clueImportTt",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).ClueImportTt(ctx, req.(*ClueImportReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_AutoFollow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CallReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).AutoFollow(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/autoFollow",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).AutoFollow(ctx, req.(*CallReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_SqlManage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SqlManageReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).SqlManage(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/sqlManage",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).SqlManage(ctx, req.(*SqlManageReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_MyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MyInfoReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).MyInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/myInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).MyInfo(ctx, req.(*MyInfoReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_AllInfoExport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ExportReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).AllInfoExport(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/allInfoExport",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).AllInfoExport(ctx, req.(*ExportReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_AllProjectExport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ExportReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).AllProjectExport(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/allProjectExport",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).AllProjectExport(ctx, req.(*ExportReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_InfoOperate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OperateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).InfoOperate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/infoOperate",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).InfoOperate(ctx, req.(*OperateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_GetCompanyType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CompanyReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).GetCompanyType(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/getCompanyType",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).GetCompanyType(ctx, req.(*CompanyReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_DistributeClueShow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DistributeClueShowReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).DistributeClueShow(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/distributeClueShow",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).DistributeClueShow(ctx, req.(*DistributeClueShowReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_SendMail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ExportByDbReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).SendMail(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/sendMail",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).SendMail(ctx, req.(*ExportByDbReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_UpFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpFileReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).UpFile(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/upFile",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).UpFile(ctx, req.(*UpFileReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_SendCommonMail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SendMailReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).SendCommonMail(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/sendCommonMail",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).SendCommonMail(ctx, req.(*SendMailReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_AddAcceptance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AcceptanceReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).AddAcceptance(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/addAcceptance",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).AddAcceptance(ctx, req.(*AcceptanceReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_CreateClueByPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateCuleReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).CreateClueByPhone(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/createClueByPhone",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).CreateClueByPhone(ctx, req.(*CreateCuleReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_TransferClueByPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TransferClueReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).TransferClueByPhone(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/transferClueByPhone",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).TransferClueByPhone(ctx, req.(*TransferClueReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_FindClueInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FindClueInfoReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).FindClueInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/findClueInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).FindClueInfo(ctx, req.(*FindClueInfoReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_GetClueInfoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ClueInfoReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).GetClueInfoList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/getClueInfoList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).GetClueInfoList(ctx, req.(*ClueInfoReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _BiService_MaterialSave_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MaterialSaveReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BiServiceServer).MaterialSave(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/BiService/MaterialSave",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BiServiceServer).MaterialSave(ctx, req.(*MaterialSaveReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- // BiService_ServiceDesc is the grpc.ServiceDesc for BiService service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var BiService_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "BiService",
- HandlerType: (*BiServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "myDataAsset",
- Handler: _BiService_MyDataAsset_Handler,
- },
- {
- MethodName: "addProject",
- Handler: _BiService_AddProject_Handler,
- },
- {
- MethodName: "getInfoId",
- Handler: _BiService_GetInfoId_Handler,
- },
- {
- MethodName: "drawClue",
- Handler: _BiService_DrawClue_Handler,
- },
- {
- MethodName: "Call",
- Handler: _BiService_Call_Handler,
- },
- {
- MethodName: "distributeClue",
- Handler: _BiService_DistributeClue_Handler,
- },
- {
- MethodName: "clueImport",
- Handler: _BiService_ClueImport_Handler,
- },
- {
- MethodName: "clueAdd",
- Handler: _BiService_ClueAdd_Handler,
- },
- {
- MethodName: "clueImportTt",
- Handler: _BiService_ClueImportTt_Handler,
- },
- {
- MethodName: "autoFollow",
- Handler: _BiService_AutoFollow_Handler,
- },
- {
- MethodName: "sqlManage",
- Handler: _BiService_SqlManage_Handler,
- },
- {
- MethodName: "myInfo",
- Handler: _BiService_MyInfo_Handler,
- },
- {
- MethodName: "allInfoExport",
- Handler: _BiService_AllInfoExport_Handler,
- },
- {
- MethodName: "allProjectExport",
- Handler: _BiService_AllProjectExport_Handler,
- },
- {
- MethodName: "infoOperate",
- Handler: _BiService_InfoOperate_Handler,
- },
- {
- MethodName: "getCompanyType",
- Handler: _BiService_GetCompanyType_Handler,
- },
- {
- MethodName: "distributeClueShow",
- Handler: _BiService_DistributeClueShow_Handler,
- },
- {
- MethodName: "sendMail",
- Handler: _BiService_SendMail_Handler,
- },
- {
- MethodName: "upFile",
- Handler: _BiService_UpFile_Handler,
- },
- {
- MethodName: "sendCommonMail",
- Handler: _BiService_SendCommonMail_Handler,
- },
- {
- MethodName: "addAcceptance",
- Handler: _BiService_AddAcceptance_Handler,
- },
- {
- MethodName: "createClueByPhone",
- Handler: _BiService_CreateClueByPhone_Handler,
- },
- {
- MethodName: "transferClueByPhone",
- Handler: _BiService_TransferClueByPhone_Handler,
- },
- {
- MethodName: "findClueInfo",
- Handler: _BiService_FindClueInfo_Handler,
- },
- {
- MethodName: "getClueInfoList",
- Handler: _BiService_GetClueInfoList_Handler,
- },
- {
- MethodName: "MaterialSave",
- Handler: _BiService_MaterialSave_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "biService.proto",
- }
|