gorpc_grpc.pb.go 444 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. // versions:
  3. // - protoc-gen-go-grpc v1.5.1
  4. // - protoc v6.32.0
  5. // source: gorpc.proto
  6. package pb
  7. import (
  8. context "context"
  9. grpc "google.golang.org/grpc"
  10. codes "google.golang.org/grpc/codes"
  11. status "google.golang.org/grpc/status"
  12. )
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the grpc package it is being compiled against.
  15. // Requires gRPC-Go v1.64.0 or later.
  16. const _ = grpc.SupportPackageIsVersion9
  17. const (
  18. GoGameClient_GameAdd_FullMethodName = "/gorpc.GoGameClient/GameAdd"
  19. GoGameClient_GameUpdate_FullMethodName = "/gorpc.GoGameClient/GameUpdate"
  20. GoGameClient_GameDel_FullMethodName = "/gorpc.GoGameClient/GameDel"
  21. GoGameClient_GameGet_FullMethodName = "/gorpc.GoGameClient/GameGet"
  22. GoGameClient_GameList_FullMethodName = "/gorpc.GoGameClient/GameList"
  23. GoGameClient_GameAll_FullMethodName = "/gorpc.GoGameClient/GameAll"
  24. GoGameClient_GameRedisHScanByName_FullMethodName = "/gorpc.GoGameClient/GameRedisHScanByName"
  25. GoGameClient_RelGameRankAdd_FullMethodName = "/gorpc.GoGameClient/RelGameRankAdd"
  26. GoGameClient_RelGameRankUpdate_FullMethodName = "/gorpc.GoGameClient/RelGameRankUpdate"
  27. GoGameClient_RelGameRankDel_FullMethodName = "/gorpc.GoGameClient/RelGameRankDel"
  28. GoGameClient_RelGameRankGet_FullMethodName = "/gorpc.GoGameClient/RelGameRankGet"
  29. GoGameClient_RelGameRankList_FullMethodName = "/gorpc.GoGameClient/RelGameRankList"
  30. GoGameClient_RelGameVpnGroupAdd_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupAdd"
  31. GoGameClient_RelGameVpnGroupUpdate_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupUpdate"
  32. GoGameClient_RelGameVpnGroupDel_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupDel"
  33. GoGameClient_RelGameVpnGroupGet_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupGet"
  34. GoGameClient_RelGameVpnGroupList_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupList"
  35. GoGameClient_GameCustomerList_FullMethodName = "/gorpc.GoGameClient/GameCustomerList"
  36. GoGameClient_GameCustomerAdd_FullMethodName = "/gorpc.GoGameClient/GameCustomerAdd"
  37. GoGameClient_GameCustomerDel_FullMethodName = "/gorpc.GoGameClient/GameCustomerDel"
  38. GoGameClient_GameCategoryAdd_FullMethodName = "/gorpc.GoGameClient/GameCategoryAdd"
  39. GoGameClient_GameCategoryUpdate_FullMethodName = "/gorpc.GoGameClient/GameCategoryUpdate"
  40. GoGameClient_GameCategoryDel_FullMethodName = "/gorpc.GoGameClient/GameCategoryDel"
  41. GoGameClient_GameCategoryGet_FullMethodName = "/gorpc.GoGameClient/GameCategoryGet"
  42. GoGameClient_GameCategoryList_FullMethodName = "/gorpc.GoGameClient/GameCategoryList"
  43. GoGameClient_GameCategoryAll_FullMethodName = "/gorpc.GoGameClient/GameCategoryAll"
  44. )
  45. // GoGameClientClient is the client API for GoGameClient service.
  46. //
  47. // 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.
  48. type GoGameClientClient interface {
  49. // 加速器游戏管理
  50. GameAdd(ctx context.Context, in *GameVo, opts ...grpc.CallOption) (*GameVo, error)
  51. GameUpdate(ctx context.Context, in *GameVo, opts ...grpc.CallOption) (*Empty, error)
  52. GameDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  53. GameGet(ctx context.Context, in *GameReq, opts ...grpc.CallOption) (*GameVo, error)
  54. GameList(ctx context.Context, in *GameListReq, opts ...grpc.CallOption) (*GameListRes, error)
  55. GameAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*GameListRes, error)
  56. GameRedisHScanByName(ctx context.Context, in *GameRedisHScanByNameReq, opts ...grpc.CallOption) (*GameRedisHScanByNameResp, error)
  57. // 游戏榜单关联关系
  58. RelGameRankAdd(ctx context.Context, in *RelGameRankVo, opts ...grpc.CallOption) (*RelGameRankVo, error)
  59. RelGameRankUpdate(ctx context.Context, in *RelGameRankVo, opts ...grpc.CallOption) (*Empty, error)
  60. RelGameRankDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  61. RelGameRankGet(ctx context.Context, in *RelGameRankReq, opts ...grpc.CallOption) (*RelGameRankVo, error)
  62. RelGameRankList(ctx context.Context, in *RelGameRankListReq, opts ...grpc.CallOption) (*RelGameRankListRes, error)
  63. // 游戏地域关联关系
  64. RelGameVpnGroupAdd(ctx context.Context, in *RelGameVpnGroupVo, opts ...grpc.CallOption) (*RelGameVpnGroupVo, error)
  65. RelGameVpnGroupUpdate(ctx context.Context, in *RelGameVpnGroupVo, opts ...grpc.CallOption) (*Empty, error)
  66. RelGameVpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  67. RelGameVpnGroupGet(ctx context.Context, in *RelGameVpnGroupReq, opts ...grpc.CallOption) (*RelGameVpnGroupVo, error)
  68. RelGameVpnGroupList(ctx context.Context, in *RelGameVpnGroupListReq, opts ...grpc.CallOption) (*RelGameVpnGroupListRes, error)
  69. // 用户提交游戏
  70. GameCustomerList(ctx context.Context, in *GameCustomerListReq, opts ...grpc.CallOption) (*GameCustomerListRes, error)
  71. GameCustomerAdd(ctx context.Context, in *GameCustomerVo, opts ...grpc.CallOption) (*GameCustomerAddResp, error)
  72. GameCustomerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  73. GameCategoryAdd(ctx context.Context, in *GameCategoryVo, opts ...grpc.CallOption) (*GameCategoryVo, error)
  74. GameCategoryUpdate(ctx context.Context, in *GameCategoryVo, opts ...grpc.CallOption) (*Empty, error)
  75. GameCategoryDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  76. GameCategoryGet(ctx context.Context, in *GameCategoryReq, opts ...grpc.CallOption) (*GameCategoryVo, error)
  77. GameCategoryList(ctx context.Context, in *GameCategoryListReq, opts ...grpc.CallOption) (*GameCategoryListRes, error)
  78. GameCategoryAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*GameCategoryListRes, error)
  79. }
  80. type goGameClientClient struct {
  81. cc grpc.ClientConnInterface
  82. }
  83. func NewGoGameClientClient(cc grpc.ClientConnInterface) GoGameClientClient {
  84. return &goGameClientClient{cc}
  85. }
  86. func (c *goGameClientClient) GameAdd(ctx context.Context, in *GameVo, opts ...grpc.CallOption) (*GameVo, error) {
  87. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  88. out := new(GameVo)
  89. err := c.cc.Invoke(ctx, GoGameClient_GameAdd_FullMethodName, in, out, cOpts...)
  90. if err != nil {
  91. return nil, err
  92. }
  93. return out, nil
  94. }
  95. func (c *goGameClientClient) GameUpdate(ctx context.Context, in *GameVo, opts ...grpc.CallOption) (*Empty, error) {
  96. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  97. out := new(Empty)
  98. err := c.cc.Invoke(ctx, GoGameClient_GameUpdate_FullMethodName, in, out, cOpts...)
  99. if err != nil {
  100. return nil, err
  101. }
  102. return out, nil
  103. }
  104. func (c *goGameClientClient) GameDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  105. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  106. out := new(Empty)
  107. err := c.cc.Invoke(ctx, GoGameClient_GameDel_FullMethodName, in, out, cOpts...)
  108. if err != nil {
  109. return nil, err
  110. }
  111. return out, nil
  112. }
  113. func (c *goGameClientClient) GameGet(ctx context.Context, in *GameReq, opts ...grpc.CallOption) (*GameVo, error) {
  114. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  115. out := new(GameVo)
  116. err := c.cc.Invoke(ctx, GoGameClient_GameGet_FullMethodName, in, out, cOpts...)
  117. if err != nil {
  118. return nil, err
  119. }
  120. return out, nil
  121. }
  122. func (c *goGameClientClient) GameList(ctx context.Context, in *GameListReq, opts ...grpc.CallOption) (*GameListRes, error) {
  123. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  124. out := new(GameListRes)
  125. err := c.cc.Invoke(ctx, GoGameClient_GameList_FullMethodName, in, out, cOpts...)
  126. if err != nil {
  127. return nil, err
  128. }
  129. return out, nil
  130. }
  131. func (c *goGameClientClient) GameAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*GameListRes, error) {
  132. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  133. out := new(GameListRes)
  134. err := c.cc.Invoke(ctx, GoGameClient_GameAll_FullMethodName, in, out, cOpts...)
  135. if err != nil {
  136. return nil, err
  137. }
  138. return out, nil
  139. }
  140. func (c *goGameClientClient) GameRedisHScanByName(ctx context.Context, in *GameRedisHScanByNameReq, opts ...grpc.CallOption) (*GameRedisHScanByNameResp, error) {
  141. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  142. out := new(GameRedisHScanByNameResp)
  143. err := c.cc.Invoke(ctx, GoGameClient_GameRedisHScanByName_FullMethodName, in, out, cOpts...)
  144. if err != nil {
  145. return nil, err
  146. }
  147. return out, nil
  148. }
  149. func (c *goGameClientClient) RelGameRankAdd(ctx context.Context, in *RelGameRankVo, opts ...grpc.CallOption) (*RelGameRankVo, error) {
  150. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  151. out := new(RelGameRankVo)
  152. err := c.cc.Invoke(ctx, GoGameClient_RelGameRankAdd_FullMethodName, in, out, cOpts...)
  153. if err != nil {
  154. return nil, err
  155. }
  156. return out, nil
  157. }
  158. func (c *goGameClientClient) RelGameRankUpdate(ctx context.Context, in *RelGameRankVo, opts ...grpc.CallOption) (*Empty, error) {
  159. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  160. out := new(Empty)
  161. err := c.cc.Invoke(ctx, GoGameClient_RelGameRankUpdate_FullMethodName, in, out, cOpts...)
  162. if err != nil {
  163. return nil, err
  164. }
  165. return out, nil
  166. }
  167. func (c *goGameClientClient) RelGameRankDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  168. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  169. out := new(Empty)
  170. err := c.cc.Invoke(ctx, GoGameClient_RelGameRankDel_FullMethodName, in, out, cOpts...)
  171. if err != nil {
  172. return nil, err
  173. }
  174. return out, nil
  175. }
  176. func (c *goGameClientClient) RelGameRankGet(ctx context.Context, in *RelGameRankReq, opts ...grpc.CallOption) (*RelGameRankVo, error) {
  177. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  178. out := new(RelGameRankVo)
  179. err := c.cc.Invoke(ctx, GoGameClient_RelGameRankGet_FullMethodName, in, out, cOpts...)
  180. if err != nil {
  181. return nil, err
  182. }
  183. return out, nil
  184. }
  185. func (c *goGameClientClient) RelGameRankList(ctx context.Context, in *RelGameRankListReq, opts ...grpc.CallOption) (*RelGameRankListRes, error) {
  186. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  187. out := new(RelGameRankListRes)
  188. err := c.cc.Invoke(ctx, GoGameClient_RelGameRankList_FullMethodName, in, out, cOpts...)
  189. if err != nil {
  190. return nil, err
  191. }
  192. return out, nil
  193. }
  194. func (c *goGameClientClient) RelGameVpnGroupAdd(ctx context.Context, in *RelGameVpnGroupVo, opts ...grpc.CallOption) (*RelGameVpnGroupVo, error) {
  195. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  196. out := new(RelGameVpnGroupVo)
  197. err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupAdd_FullMethodName, in, out, cOpts...)
  198. if err != nil {
  199. return nil, err
  200. }
  201. return out, nil
  202. }
  203. func (c *goGameClientClient) RelGameVpnGroupUpdate(ctx context.Context, in *RelGameVpnGroupVo, opts ...grpc.CallOption) (*Empty, error) {
  204. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  205. out := new(Empty)
  206. err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupUpdate_FullMethodName, in, out, cOpts...)
  207. if err != nil {
  208. return nil, err
  209. }
  210. return out, nil
  211. }
  212. func (c *goGameClientClient) RelGameVpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  213. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  214. out := new(Empty)
  215. err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupDel_FullMethodName, in, out, cOpts...)
  216. if err != nil {
  217. return nil, err
  218. }
  219. return out, nil
  220. }
  221. func (c *goGameClientClient) RelGameVpnGroupGet(ctx context.Context, in *RelGameVpnGroupReq, opts ...grpc.CallOption) (*RelGameVpnGroupVo, error) {
  222. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  223. out := new(RelGameVpnGroupVo)
  224. err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupGet_FullMethodName, in, out, cOpts...)
  225. if err != nil {
  226. return nil, err
  227. }
  228. return out, nil
  229. }
  230. func (c *goGameClientClient) RelGameVpnGroupList(ctx context.Context, in *RelGameVpnGroupListReq, opts ...grpc.CallOption) (*RelGameVpnGroupListRes, error) {
  231. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  232. out := new(RelGameVpnGroupListRes)
  233. err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupList_FullMethodName, in, out, cOpts...)
  234. if err != nil {
  235. return nil, err
  236. }
  237. return out, nil
  238. }
  239. func (c *goGameClientClient) GameCustomerList(ctx context.Context, in *GameCustomerListReq, opts ...grpc.CallOption) (*GameCustomerListRes, error) {
  240. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  241. out := new(GameCustomerListRes)
  242. err := c.cc.Invoke(ctx, GoGameClient_GameCustomerList_FullMethodName, in, out, cOpts...)
  243. if err != nil {
  244. return nil, err
  245. }
  246. return out, nil
  247. }
  248. func (c *goGameClientClient) GameCustomerAdd(ctx context.Context, in *GameCustomerVo, opts ...grpc.CallOption) (*GameCustomerAddResp, error) {
  249. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  250. out := new(GameCustomerAddResp)
  251. err := c.cc.Invoke(ctx, GoGameClient_GameCustomerAdd_FullMethodName, in, out, cOpts...)
  252. if err != nil {
  253. return nil, err
  254. }
  255. return out, nil
  256. }
  257. func (c *goGameClientClient) GameCustomerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  258. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  259. out := new(Empty)
  260. err := c.cc.Invoke(ctx, GoGameClient_GameCustomerDel_FullMethodName, in, out, cOpts...)
  261. if err != nil {
  262. return nil, err
  263. }
  264. return out, nil
  265. }
  266. func (c *goGameClientClient) GameCategoryAdd(ctx context.Context, in *GameCategoryVo, opts ...grpc.CallOption) (*GameCategoryVo, error) {
  267. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  268. out := new(GameCategoryVo)
  269. err := c.cc.Invoke(ctx, GoGameClient_GameCategoryAdd_FullMethodName, in, out, cOpts...)
  270. if err != nil {
  271. return nil, err
  272. }
  273. return out, nil
  274. }
  275. func (c *goGameClientClient) GameCategoryUpdate(ctx context.Context, in *GameCategoryVo, opts ...grpc.CallOption) (*Empty, error) {
  276. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  277. out := new(Empty)
  278. err := c.cc.Invoke(ctx, GoGameClient_GameCategoryUpdate_FullMethodName, in, out, cOpts...)
  279. if err != nil {
  280. return nil, err
  281. }
  282. return out, nil
  283. }
  284. func (c *goGameClientClient) GameCategoryDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  285. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  286. out := new(Empty)
  287. err := c.cc.Invoke(ctx, GoGameClient_GameCategoryDel_FullMethodName, in, out, cOpts...)
  288. if err != nil {
  289. return nil, err
  290. }
  291. return out, nil
  292. }
  293. func (c *goGameClientClient) GameCategoryGet(ctx context.Context, in *GameCategoryReq, opts ...grpc.CallOption) (*GameCategoryVo, error) {
  294. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  295. out := new(GameCategoryVo)
  296. err := c.cc.Invoke(ctx, GoGameClient_GameCategoryGet_FullMethodName, in, out, cOpts...)
  297. if err != nil {
  298. return nil, err
  299. }
  300. return out, nil
  301. }
  302. func (c *goGameClientClient) GameCategoryList(ctx context.Context, in *GameCategoryListReq, opts ...grpc.CallOption) (*GameCategoryListRes, error) {
  303. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  304. out := new(GameCategoryListRes)
  305. err := c.cc.Invoke(ctx, GoGameClient_GameCategoryList_FullMethodName, in, out, cOpts...)
  306. if err != nil {
  307. return nil, err
  308. }
  309. return out, nil
  310. }
  311. func (c *goGameClientClient) GameCategoryAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*GameCategoryListRes, error) {
  312. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  313. out := new(GameCategoryListRes)
  314. err := c.cc.Invoke(ctx, GoGameClient_GameCategoryAll_FullMethodName, in, out, cOpts...)
  315. if err != nil {
  316. return nil, err
  317. }
  318. return out, nil
  319. }
  320. // GoGameClientServer is the server API for GoGameClient service.
  321. // All implementations must embed UnimplementedGoGameClientServer
  322. // for forward compatibility.
  323. type GoGameClientServer interface {
  324. // 加速器游戏管理
  325. GameAdd(context.Context, *GameVo) (*GameVo, error)
  326. GameUpdate(context.Context, *GameVo) (*Empty, error)
  327. GameDel(context.Context, *Ids) (*Empty, error)
  328. GameGet(context.Context, *GameReq) (*GameVo, error)
  329. GameList(context.Context, *GameListReq) (*GameListRes, error)
  330. GameAll(context.Context, *Request) (*GameListRes, error)
  331. GameRedisHScanByName(context.Context, *GameRedisHScanByNameReq) (*GameRedisHScanByNameResp, error)
  332. // 游戏榜单关联关系
  333. RelGameRankAdd(context.Context, *RelGameRankVo) (*RelGameRankVo, error)
  334. RelGameRankUpdate(context.Context, *RelGameRankVo) (*Empty, error)
  335. RelGameRankDel(context.Context, *Ids) (*Empty, error)
  336. RelGameRankGet(context.Context, *RelGameRankReq) (*RelGameRankVo, error)
  337. RelGameRankList(context.Context, *RelGameRankListReq) (*RelGameRankListRes, error)
  338. // 游戏地域关联关系
  339. RelGameVpnGroupAdd(context.Context, *RelGameVpnGroupVo) (*RelGameVpnGroupVo, error)
  340. RelGameVpnGroupUpdate(context.Context, *RelGameVpnGroupVo) (*Empty, error)
  341. RelGameVpnGroupDel(context.Context, *Ids) (*Empty, error)
  342. RelGameVpnGroupGet(context.Context, *RelGameVpnGroupReq) (*RelGameVpnGroupVo, error)
  343. RelGameVpnGroupList(context.Context, *RelGameVpnGroupListReq) (*RelGameVpnGroupListRes, error)
  344. // 用户提交游戏
  345. GameCustomerList(context.Context, *GameCustomerListReq) (*GameCustomerListRes, error)
  346. GameCustomerAdd(context.Context, *GameCustomerVo) (*GameCustomerAddResp, error)
  347. GameCustomerDel(context.Context, *Ids) (*Empty, error)
  348. GameCategoryAdd(context.Context, *GameCategoryVo) (*GameCategoryVo, error)
  349. GameCategoryUpdate(context.Context, *GameCategoryVo) (*Empty, error)
  350. GameCategoryDel(context.Context, *Ids) (*Empty, error)
  351. GameCategoryGet(context.Context, *GameCategoryReq) (*GameCategoryVo, error)
  352. GameCategoryList(context.Context, *GameCategoryListReq) (*GameCategoryListRes, error)
  353. GameCategoryAll(context.Context, *Request) (*GameCategoryListRes, error)
  354. mustEmbedUnimplementedGoGameClientServer()
  355. }
  356. // UnimplementedGoGameClientServer must be embedded to have
  357. // forward compatible implementations.
  358. //
  359. // NOTE: this should be embedded by value instead of pointer to avoid a nil
  360. // pointer dereference when methods are called.
  361. type UnimplementedGoGameClientServer struct{}
  362. func (UnimplementedGoGameClientServer) GameAdd(context.Context, *GameVo) (*GameVo, error) {
  363. return nil, status.Errorf(codes.Unimplemented, "method GameAdd not implemented")
  364. }
  365. func (UnimplementedGoGameClientServer) GameUpdate(context.Context, *GameVo) (*Empty, error) {
  366. return nil, status.Errorf(codes.Unimplemented, "method GameUpdate not implemented")
  367. }
  368. func (UnimplementedGoGameClientServer) GameDel(context.Context, *Ids) (*Empty, error) {
  369. return nil, status.Errorf(codes.Unimplemented, "method GameDel not implemented")
  370. }
  371. func (UnimplementedGoGameClientServer) GameGet(context.Context, *GameReq) (*GameVo, error) {
  372. return nil, status.Errorf(codes.Unimplemented, "method GameGet not implemented")
  373. }
  374. func (UnimplementedGoGameClientServer) GameList(context.Context, *GameListReq) (*GameListRes, error) {
  375. return nil, status.Errorf(codes.Unimplemented, "method GameList not implemented")
  376. }
  377. func (UnimplementedGoGameClientServer) GameAll(context.Context, *Request) (*GameListRes, error) {
  378. return nil, status.Errorf(codes.Unimplemented, "method GameAll not implemented")
  379. }
  380. func (UnimplementedGoGameClientServer) GameRedisHScanByName(context.Context, *GameRedisHScanByNameReq) (*GameRedisHScanByNameResp, error) {
  381. return nil, status.Errorf(codes.Unimplemented, "method GameRedisHScanByName not implemented")
  382. }
  383. func (UnimplementedGoGameClientServer) RelGameRankAdd(context.Context, *RelGameRankVo) (*RelGameRankVo, error) {
  384. return nil, status.Errorf(codes.Unimplemented, "method RelGameRankAdd not implemented")
  385. }
  386. func (UnimplementedGoGameClientServer) RelGameRankUpdate(context.Context, *RelGameRankVo) (*Empty, error) {
  387. return nil, status.Errorf(codes.Unimplemented, "method RelGameRankUpdate not implemented")
  388. }
  389. func (UnimplementedGoGameClientServer) RelGameRankDel(context.Context, *Ids) (*Empty, error) {
  390. return nil, status.Errorf(codes.Unimplemented, "method RelGameRankDel not implemented")
  391. }
  392. func (UnimplementedGoGameClientServer) RelGameRankGet(context.Context, *RelGameRankReq) (*RelGameRankVo, error) {
  393. return nil, status.Errorf(codes.Unimplemented, "method RelGameRankGet not implemented")
  394. }
  395. func (UnimplementedGoGameClientServer) RelGameRankList(context.Context, *RelGameRankListReq) (*RelGameRankListRes, error) {
  396. return nil, status.Errorf(codes.Unimplemented, "method RelGameRankList not implemented")
  397. }
  398. func (UnimplementedGoGameClientServer) RelGameVpnGroupAdd(context.Context, *RelGameVpnGroupVo) (*RelGameVpnGroupVo, error) {
  399. return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupAdd not implemented")
  400. }
  401. func (UnimplementedGoGameClientServer) RelGameVpnGroupUpdate(context.Context, *RelGameVpnGroupVo) (*Empty, error) {
  402. return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupUpdate not implemented")
  403. }
  404. func (UnimplementedGoGameClientServer) RelGameVpnGroupDel(context.Context, *Ids) (*Empty, error) {
  405. return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupDel not implemented")
  406. }
  407. func (UnimplementedGoGameClientServer) RelGameVpnGroupGet(context.Context, *RelGameVpnGroupReq) (*RelGameVpnGroupVo, error) {
  408. return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupGet not implemented")
  409. }
  410. func (UnimplementedGoGameClientServer) RelGameVpnGroupList(context.Context, *RelGameVpnGroupListReq) (*RelGameVpnGroupListRes, error) {
  411. return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupList not implemented")
  412. }
  413. func (UnimplementedGoGameClientServer) GameCustomerList(context.Context, *GameCustomerListReq) (*GameCustomerListRes, error) {
  414. return nil, status.Errorf(codes.Unimplemented, "method GameCustomerList not implemented")
  415. }
  416. func (UnimplementedGoGameClientServer) GameCustomerAdd(context.Context, *GameCustomerVo) (*GameCustomerAddResp, error) {
  417. return nil, status.Errorf(codes.Unimplemented, "method GameCustomerAdd not implemented")
  418. }
  419. func (UnimplementedGoGameClientServer) GameCustomerDel(context.Context, *Ids) (*Empty, error) {
  420. return nil, status.Errorf(codes.Unimplemented, "method GameCustomerDel not implemented")
  421. }
  422. func (UnimplementedGoGameClientServer) GameCategoryAdd(context.Context, *GameCategoryVo) (*GameCategoryVo, error) {
  423. return nil, status.Errorf(codes.Unimplemented, "method GameCategoryAdd not implemented")
  424. }
  425. func (UnimplementedGoGameClientServer) GameCategoryUpdate(context.Context, *GameCategoryVo) (*Empty, error) {
  426. return nil, status.Errorf(codes.Unimplemented, "method GameCategoryUpdate not implemented")
  427. }
  428. func (UnimplementedGoGameClientServer) GameCategoryDel(context.Context, *Ids) (*Empty, error) {
  429. return nil, status.Errorf(codes.Unimplemented, "method GameCategoryDel not implemented")
  430. }
  431. func (UnimplementedGoGameClientServer) GameCategoryGet(context.Context, *GameCategoryReq) (*GameCategoryVo, error) {
  432. return nil, status.Errorf(codes.Unimplemented, "method GameCategoryGet not implemented")
  433. }
  434. func (UnimplementedGoGameClientServer) GameCategoryList(context.Context, *GameCategoryListReq) (*GameCategoryListRes, error) {
  435. return nil, status.Errorf(codes.Unimplemented, "method GameCategoryList not implemented")
  436. }
  437. func (UnimplementedGoGameClientServer) GameCategoryAll(context.Context, *Request) (*GameCategoryListRes, error) {
  438. return nil, status.Errorf(codes.Unimplemented, "method GameCategoryAll not implemented")
  439. }
  440. func (UnimplementedGoGameClientServer) mustEmbedUnimplementedGoGameClientServer() {}
  441. func (UnimplementedGoGameClientServer) testEmbeddedByValue() {}
  442. // UnsafeGoGameClientServer may be embedded to opt out of forward compatibility for this service.
  443. // Use of this interface is not recommended, as added methods to GoGameClientServer will
  444. // result in compilation errors.
  445. type UnsafeGoGameClientServer interface {
  446. mustEmbedUnimplementedGoGameClientServer()
  447. }
  448. func RegisterGoGameClientServer(s grpc.ServiceRegistrar, srv GoGameClientServer) {
  449. // If the following call pancis, it indicates UnimplementedGoGameClientServer was
  450. // embedded by pointer and is nil. This will cause panics if an
  451. // unimplemented method is ever invoked, so we test this at initialization
  452. // time to prevent it from happening at runtime later due to I/O.
  453. if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
  454. t.testEmbeddedByValue()
  455. }
  456. s.RegisterService(&GoGameClient_ServiceDesc, srv)
  457. }
  458. func _GoGameClient_GameAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  459. in := new(GameVo)
  460. if err := dec(in); err != nil {
  461. return nil, err
  462. }
  463. if interceptor == nil {
  464. return srv.(GoGameClientServer).GameAdd(ctx, in)
  465. }
  466. info := &grpc.UnaryServerInfo{
  467. Server: srv,
  468. FullMethod: GoGameClient_GameAdd_FullMethodName,
  469. }
  470. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  471. return srv.(GoGameClientServer).GameAdd(ctx, req.(*GameVo))
  472. }
  473. return interceptor(ctx, in, info, handler)
  474. }
  475. func _GoGameClient_GameUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  476. in := new(GameVo)
  477. if err := dec(in); err != nil {
  478. return nil, err
  479. }
  480. if interceptor == nil {
  481. return srv.(GoGameClientServer).GameUpdate(ctx, in)
  482. }
  483. info := &grpc.UnaryServerInfo{
  484. Server: srv,
  485. FullMethod: GoGameClient_GameUpdate_FullMethodName,
  486. }
  487. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  488. return srv.(GoGameClientServer).GameUpdate(ctx, req.(*GameVo))
  489. }
  490. return interceptor(ctx, in, info, handler)
  491. }
  492. func _GoGameClient_GameDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  493. in := new(Ids)
  494. if err := dec(in); err != nil {
  495. return nil, err
  496. }
  497. if interceptor == nil {
  498. return srv.(GoGameClientServer).GameDel(ctx, in)
  499. }
  500. info := &grpc.UnaryServerInfo{
  501. Server: srv,
  502. FullMethod: GoGameClient_GameDel_FullMethodName,
  503. }
  504. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  505. return srv.(GoGameClientServer).GameDel(ctx, req.(*Ids))
  506. }
  507. return interceptor(ctx, in, info, handler)
  508. }
  509. func _GoGameClient_GameGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  510. in := new(GameReq)
  511. if err := dec(in); err != nil {
  512. return nil, err
  513. }
  514. if interceptor == nil {
  515. return srv.(GoGameClientServer).GameGet(ctx, in)
  516. }
  517. info := &grpc.UnaryServerInfo{
  518. Server: srv,
  519. FullMethod: GoGameClient_GameGet_FullMethodName,
  520. }
  521. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  522. return srv.(GoGameClientServer).GameGet(ctx, req.(*GameReq))
  523. }
  524. return interceptor(ctx, in, info, handler)
  525. }
  526. func _GoGameClient_GameList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  527. in := new(GameListReq)
  528. if err := dec(in); err != nil {
  529. return nil, err
  530. }
  531. if interceptor == nil {
  532. return srv.(GoGameClientServer).GameList(ctx, in)
  533. }
  534. info := &grpc.UnaryServerInfo{
  535. Server: srv,
  536. FullMethod: GoGameClient_GameList_FullMethodName,
  537. }
  538. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  539. return srv.(GoGameClientServer).GameList(ctx, req.(*GameListReq))
  540. }
  541. return interceptor(ctx, in, info, handler)
  542. }
  543. func _GoGameClient_GameAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  544. in := new(Request)
  545. if err := dec(in); err != nil {
  546. return nil, err
  547. }
  548. if interceptor == nil {
  549. return srv.(GoGameClientServer).GameAll(ctx, in)
  550. }
  551. info := &grpc.UnaryServerInfo{
  552. Server: srv,
  553. FullMethod: GoGameClient_GameAll_FullMethodName,
  554. }
  555. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  556. return srv.(GoGameClientServer).GameAll(ctx, req.(*Request))
  557. }
  558. return interceptor(ctx, in, info, handler)
  559. }
  560. func _GoGameClient_GameRedisHScanByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  561. in := new(GameRedisHScanByNameReq)
  562. if err := dec(in); err != nil {
  563. return nil, err
  564. }
  565. if interceptor == nil {
  566. return srv.(GoGameClientServer).GameRedisHScanByName(ctx, in)
  567. }
  568. info := &grpc.UnaryServerInfo{
  569. Server: srv,
  570. FullMethod: GoGameClient_GameRedisHScanByName_FullMethodName,
  571. }
  572. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  573. return srv.(GoGameClientServer).GameRedisHScanByName(ctx, req.(*GameRedisHScanByNameReq))
  574. }
  575. return interceptor(ctx, in, info, handler)
  576. }
  577. func _GoGameClient_RelGameRankAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  578. in := new(RelGameRankVo)
  579. if err := dec(in); err != nil {
  580. return nil, err
  581. }
  582. if interceptor == nil {
  583. return srv.(GoGameClientServer).RelGameRankAdd(ctx, in)
  584. }
  585. info := &grpc.UnaryServerInfo{
  586. Server: srv,
  587. FullMethod: GoGameClient_RelGameRankAdd_FullMethodName,
  588. }
  589. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  590. return srv.(GoGameClientServer).RelGameRankAdd(ctx, req.(*RelGameRankVo))
  591. }
  592. return interceptor(ctx, in, info, handler)
  593. }
  594. func _GoGameClient_RelGameRankUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  595. in := new(RelGameRankVo)
  596. if err := dec(in); err != nil {
  597. return nil, err
  598. }
  599. if interceptor == nil {
  600. return srv.(GoGameClientServer).RelGameRankUpdate(ctx, in)
  601. }
  602. info := &grpc.UnaryServerInfo{
  603. Server: srv,
  604. FullMethod: GoGameClient_RelGameRankUpdate_FullMethodName,
  605. }
  606. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  607. return srv.(GoGameClientServer).RelGameRankUpdate(ctx, req.(*RelGameRankVo))
  608. }
  609. return interceptor(ctx, in, info, handler)
  610. }
  611. func _GoGameClient_RelGameRankDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  612. in := new(Ids)
  613. if err := dec(in); err != nil {
  614. return nil, err
  615. }
  616. if interceptor == nil {
  617. return srv.(GoGameClientServer).RelGameRankDel(ctx, in)
  618. }
  619. info := &grpc.UnaryServerInfo{
  620. Server: srv,
  621. FullMethod: GoGameClient_RelGameRankDel_FullMethodName,
  622. }
  623. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  624. return srv.(GoGameClientServer).RelGameRankDel(ctx, req.(*Ids))
  625. }
  626. return interceptor(ctx, in, info, handler)
  627. }
  628. func _GoGameClient_RelGameRankGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  629. in := new(RelGameRankReq)
  630. if err := dec(in); err != nil {
  631. return nil, err
  632. }
  633. if interceptor == nil {
  634. return srv.(GoGameClientServer).RelGameRankGet(ctx, in)
  635. }
  636. info := &grpc.UnaryServerInfo{
  637. Server: srv,
  638. FullMethod: GoGameClient_RelGameRankGet_FullMethodName,
  639. }
  640. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  641. return srv.(GoGameClientServer).RelGameRankGet(ctx, req.(*RelGameRankReq))
  642. }
  643. return interceptor(ctx, in, info, handler)
  644. }
  645. func _GoGameClient_RelGameRankList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  646. in := new(RelGameRankListReq)
  647. if err := dec(in); err != nil {
  648. return nil, err
  649. }
  650. if interceptor == nil {
  651. return srv.(GoGameClientServer).RelGameRankList(ctx, in)
  652. }
  653. info := &grpc.UnaryServerInfo{
  654. Server: srv,
  655. FullMethod: GoGameClient_RelGameRankList_FullMethodName,
  656. }
  657. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  658. return srv.(GoGameClientServer).RelGameRankList(ctx, req.(*RelGameRankListReq))
  659. }
  660. return interceptor(ctx, in, info, handler)
  661. }
  662. func _GoGameClient_RelGameVpnGroupAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  663. in := new(RelGameVpnGroupVo)
  664. if err := dec(in); err != nil {
  665. return nil, err
  666. }
  667. if interceptor == nil {
  668. return srv.(GoGameClientServer).RelGameVpnGroupAdd(ctx, in)
  669. }
  670. info := &grpc.UnaryServerInfo{
  671. Server: srv,
  672. FullMethod: GoGameClient_RelGameVpnGroupAdd_FullMethodName,
  673. }
  674. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  675. return srv.(GoGameClientServer).RelGameVpnGroupAdd(ctx, req.(*RelGameVpnGroupVo))
  676. }
  677. return interceptor(ctx, in, info, handler)
  678. }
  679. func _GoGameClient_RelGameVpnGroupUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  680. in := new(RelGameVpnGroupVo)
  681. if err := dec(in); err != nil {
  682. return nil, err
  683. }
  684. if interceptor == nil {
  685. return srv.(GoGameClientServer).RelGameVpnGroupUpdate(ctx, in)
  686. }
  687. info := &grpc.UnaryServerInfo{
  688. Server: srv,
  689. FullMethod: GoGameClient_RelGameVpnGroupUpdate_FullMethodName,
  690. }
  691. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  692. return srv.(GoGameClientServer).RelGameVpnGroupUpdate(ctx, req.(*RelGameVpnGroupVo))
  693. }
  694. return interceptor(ctx, in, info, handler)
  695. }
  696. func _GoGameClient_RelGameVpnGroupDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  697. in := new(Ids)
  698. if err := dec(in); err != nil {
  699. return nil, err
  700. }
  701. if interceptor == nil {
  702. return srv.(GoGameClientServer).RelGameVpnGroupDel(ctx, in)
  703. }
  704. info := &grpc.UnaryServerInfo{
  705. Server: srv,
  706. FullMethod: GoGameClient_RelGameVpnGroupDel_FullMethodName,
  707. }
  708. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  709. return srv.(GoGameClientServer).RelGameVpnGroupDel(ctx, req.(*Ids))
  710. }
  711. return interceptor(ctx, in, info, handler)
  712. }
  713. func _GoGameClient_RelGameVpnGroupGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  714. in := new(RelGameVpnGroupReq)
  715. if err := dec(in); err != nil {
  716. return nil, err
  717. }
  718. if interceptor == nil {
  719. return srv.(GoGameClientServer).RelGameVpnGroupGet(ctx, in)
  720. }
  721. info := &grpc.UnaryServerInfo{
  722. Server: srv,
  723. FullMethod: GoGameClient_RelGameVpnGroupGet_FullMethodName,
  724. }
  725. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  726. return srv.(GoGameClientServer).RelGameVpnGroupGet(ctx, req.(*RelGameVpnGroupReq))
  727. }
  728. return interceptor(ctx, in, info, handler)
  729. }
  730. func _GoGameClient_RelGameVpnGroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  731. in := new(RelGameVpnGroupListReq)
  732. if err := dec(in); err != nil {
  733. return nil, err
  734. }
  735. if interceptor == nil {
  736. return srv.(GoGameClientServer).RelGameVpnGroupList(ctx, in)
  737. }
  738. info := &grpc.UnaryServerInfo{
  739. Server: srv,
  740. FullMethod: GoGameClient_RelGameVpnGroupList_FullMethodName,
  741. }
  742. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  743. return srv.(GoGameClientServer).RelGameVpnGroupList(ctx, req.(*RelGameVpnGroupListReq))
  744. }
  745. return interceptor(ctx, in, info, handler)
  746. }
  747. func _GoGameClient_GameCustomerList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  748. in := new(GameCustomerListReq)
  749. if err := dec(in); err != nil {
  750. return nil, err
  751. }
  752. if interceptor == nil {
  753. return srv.(GoGameClientServer).GameCustomerList(ctx, in)
  754. }
  755. info := &grpc.UnaryServerInfo{
  756. Server: srv,
  757. FullMethod: GoGameClient_GameCustomerList_FullMethodName,
  758. }
  759. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  760. return srv.(GoGameClientServer).GameCustomerList(ctx, req.(*GameCustomerListReq))
  761. }
  762. return interceptor(ctx, in, info, handler)
  763. }
  764. func _GoGameClient_GameCustomerAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  765. in := new(GameCustomerVo)
  766. if err := dec(in); err != nil {
  767. return nil, err
  768. }
  769. if interceptor == nil {
  770. return srv.(GoGameClientServer).GameCustomerAdd(ctx, in)
  771. }
  772. info := &grpc.UnaryServerInfo{
  773. Server: srv,
  774. FullMethod: GoGameClient_GameCustomerAdd_FullMethodName,
  775. }
  776. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  777. return srv.(GoGameClientServer).GameCustomerAdd(ctx, req.(*GameCustomerVo))
  778. }
  779. return interceptor(ctx, in, info, handler)
  780. }
  781. func _GoGameClient_GameCustomerDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  782. in := new(Ids)
  783. if err := dec(in); err != nil {
  784. return nil, err
  785. }
  786. if interceptor == nil {
  787. return srv.(GoGameClientServer).GameCustomerDel(ctx, in)
  788. }
  789. info := &grpc.UnaryServerInfo{
  790. Server: srv,
  791. FullMethod: GoGameClient_GameCustomerDel_FullMethodName,
  792. }
  793. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  794. return srv.(GoGameClientServer).GameCustomerDel(ctx, req.(*Ids))
  795. }
  796. return interceptor(ctx, in, info, handler)
  797. }
  798. func _GoGameClient_GameCategoryAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  799. in := new(GameCategoryVo)
  800. if err := dec(in); err != nil {
  801. return nil, err
  802. }
  803. if interceptor == nil {
  804. return srv.(GoGameClientServer).GameCategoryAdd(ctx, in)
  805. }
  806. info := &grpc.UnaryServerInfo{
  807. Server: srv,
  808. FullMethod: GoGameClient_GameCategoryAdd_FullMethodName,
  809. }
  810. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  811. return srv.(GoGameClientServer).GameCategoryAdd(ctx, req.(*GameCategoryVo))
  812. }
  813. return interceptor(ctx, in, info, handler)
  814. }
  815. func _GoGameClient_GameCategoryUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  816. in := new(GameCategoryVo)
  817. if err := dec(in); err != nil {
  818. return nil, err
  819. }
  820. if interceptor == nil {
  821. return srv.(GoGameClientServer).GameCategoryUpdate(ctx, in)
  822. }
  823. info := &grpc.UnaryServerInfo{
  824. Server: srv,
  825. FullMethod: GoGameClient_GameCategoryUpdate_FullMethodName,
  826. }
  827. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  828. return srv.(GoGameClientServer).GameCategoryUpdate(ctx, req.(*GameCategoryVo))
  829. }
  830. return interceptor(ctx, in, info, handler)
  831. }
  832. func _GoGameClient_GameCategoryDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  833. in := new(Ids)
  834. if err := dec(in); err != nil {
  835. return nil, err
  836. }
  837. if interceptor == nil {
  838. return srv.(GoGameClientServer).GameCategoryDel(ctx, in)
  839. }
  840. info := &grpc.UnaryServerInfo{
  841. Server: srv,
  842. FullMethod: GoGameClient_GameCategoryDel_FullMethodName,
  843. }
  844. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  845. return srv.(GoGameClientServer).GameCategoryDel(ctx, req.(*Ids))
  846. }
  847. return interceptor(ctx, in, info, handler)
  848. }
  849. func _GoGameClient_GameCategoryGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  850. in := new(GameCategoryReq)
  851. if err := dec(in); err != nil {
  852. return nil, err
  853. }
  854. if interceptor == nil {
  855. return srv.(GoGameClientServer).GameCategoryGet(ctx, in)
  856. }
  857. info := &grpc.UnaryServerInfo{
  858. Server: srv,
  859. FullMethod: GoGameClient_GameCategoryGet_FullMethodName,
  860. }
  861. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  862. return srv.(GoGameClientServer).GameCategoryGet(ctx, req.(*GameCategoryReq))
  863. }
  864. return interceptor(ctx, in, info, handler)
  865. }
  866. func _GoGameClient_GameCategoryList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  867. in := new(GameCategoryListReq)
  868. if err := dec(in); err != nil {
  869. return nil, err
  870. }
  871. if interceptor == nil {
  872. return srv.(GoGameClientServer).GameCategoryList(ctx, in)
  873. }
  874. info := &grpc.UnaryServerInfo{
  875. Server: srv,
  876. FullMethod: GoGameClient_GameCategoryList_FullMethodName,
  877. }
  878. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  879. return srv.(GoGameClientServer).GameCategoryList(ctx, req.(*GameCategoryListReq))
  880. }
  881. return interceptor(ctx, in, info, handler)
  882. }
  883. func _GoGameClient_GameCategoryAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  884. in := new(Request)
  885. if err := dec(in); err != nil {
  886. return nil, err
  887. }
  888. if interceptor == nil {
  889. return srv.(GoGameClientServer).GameCategoryAll(ctx, in)
  890. }
  891. info := &grpc.UnaryServerInfo{
  892. Server: srv,
  893. FullMethod: GoGameClient_GameCategoryAll_FullMethodName,
  894. }
  895. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  896. return srv.(GoGameClientServer).GameCategoryAll(ctx, req.(*Request))
  897. }
  898. return interceptor(ctx, in, info, handler)
  899. }
  900. // GoGameClient_ServiceDesc is the grpc.ServiceDesc for GoGameClient service.
  901. // It's only intended for direct use with grpc.RegisterService,
  902. // and not to be introspected or modified (even as a copy)
  903. var GoGameClient_ServiceDesc = grpc.ServiceDesc{
  904. ServiceName: "gorpc.GoGameClient",
  905. HandlerType: (*GoGameClientServer)(nil),
  906. Methods: []grpc.MethodDesc{
  907. {
  908. MethodName: "GameAdd",
  909. Handler: _GoGameClient_GameAdd_Handler,
  910. },
  911. {
  912. MethodName: "GameUpdate",
  913. Handler: _GoGameClient_GameUpdate_Handler,
  914. },
  915. {
  916. MethodName: "GameDel",
  917. Handler: _GoGameClient_GameDel_Handler,
  918. },
  919. {
  920. MethodName: "GameGet",
  921. Handler: _GoGameClient_GameGet_Handler,
  922. },
  923. {
  924. MethodName: "GameList",
  925. Handler: _GoGameClient_GameList_Handler,
  926. },
  927. {
  928. MethodName: "GameAll",
  929. Handler: _GoGameClient_GameAll_Handler,
  930. },
  931. {
  932. MethodName: "GameRedisHScanByName",
  933. Handler: _GoGameClient_GameRedisHScanByName_Handler,
  934. },
  935. {
  936. MethodName: "RelGameRankAdd",
  937. Handler: _GoGameClient_RelGameRankAdd_Handler,
  938. },
  939. {
  940. MethodName: "RelGameRankUpdate",
  941. Handler: _GoGameClient_RelGameRankUpdate_Handler,
  942. },
  943. {
  944. MethodName: "RelGameRankDel",
  945. Handler: _GoGameClient_RelGameRankDel_Handler,
  946. },
  947. {
  948. MethodName: "RelGameRankGet",
  949. Handler: _GoGameClient_RelGameRankGet_Handler,
  950. },
  951. {
  952. MethodName: "RelGameRankList",
  953. Handler: _GoGameClient_RelGameRankList_Handler,
  954. },
  955. {
  956. MethodName: "RelGameVpnGroupAdd",
  957. Handler: _GoGameClient_RelGameVpnGroupAdd_Handler,
  958. },
  959. {
  960. MethodName: "RelGameVpnGroupUpdate",
  961. Handler: _GoGameClient_RelGameVpnGroupUpdate_Handler,
  962. },
  963. {
  964. MethodName: "RelGameVpnGroupDel",
  965. Handler: _GoGameClient_RelGameVpnGroupDel_Handler,
  966. },
  967. {
  968. MethodName: "RelGameVpnGroupGet",
  969. Handler: _GoGameClient_RelGameVpnGroupGet_Handler,
  970. },
  971. {
  972. MethodName: "RelGameVpnGroupList",
  973. Handler: _GoGameClient_RelGameVpnGroupList_Handler,
  974. },
  975. {
  976. MethodName: "GameCustomerList",
  977. Handler: _GoGameClient_GameCustomerList_Handler,
  978. },
  979. {
  980. MethodName: "GameCustomerAdd",
  981. Handler: _GoGameClient_GameCustomerAdd_Handler,
  982. },
  983. {
  984. MethodName: "GameCustomerDel",
  985. Handler: _GoGameClient_GameCustomerDel_Handler,
  986. },
  987. {
  988. MethodName: "GameCategoryAdd",
  989. Handler: _GoGameClient_GameCategoryAdd_Handler,
  990. },
  991. {
  992. MethodName: "GameCategoryUpdate",
  993. Handler: _GoGameClient_GameCategoryUpdate_Handler,
  994. },
  995. {
  996. MethodName: "GameCategoryDel",
  997. Handler: _GoGameClient_GameCategoryDel_Handler,
  998. },
  999. {
  1000. MethodName: "GameCategoryGet",
  1001. Handler: _GoGameClient_GameCategoryGet_Handler,
  1002. },
  1003. {
  1004. MethodName: "GameCategoryList",
  1005. Handler: _GoGameClient_GameCategoryList_Handler,
  1006. },
  1007. {
  1008. MethodName: "GameCategoryAll",
  1009. Handler: _GoGameClient_GameCategoryAll_Handler,
  1010. },
  1011. },
  1012. Streams: []grpc.StreamDesc{},
  1013. Metadata: "gorpc.proto",
  1014. }
  1015. const (
  1016. GoPmpClient_Ping_FullMethodName = "/gorpc.GoPmpClient/Ping"
  1017. GoPmpClient_GlobalParamAdd_FullMethodName = "/gorpc.GoPmpClient/GlobalParamAdd"
  1018. GoPmpClient_GlobalParamUpdate_FullMethodName = "/gorpc.GoPmpClient/GlobalParamUpdate"
  1019. GoPmpClient_GlobalParamDel_FullMethodName = "/gorpc.GoPmpClient/GlobalParamDel"
  1020. GoPmpClient_GlobalParamGet_FullMethodName = "/gorpc.GoPmpClient/GlobalParamGet"
  1021. GoPmpClient_GlobalParamGetWithLang_FullMethodName = "/gorpc.GoPmpClient/GlobalParamGetWithLang"
  1022. GoPmpClient_GlobalParamList_FullMethodName = "/gorpc.GoPmpClient/GlobalParamList"
  1023. GoPmpClient_ProductAdd_FullMethodName = "/gorpc.GoPmpClient/ProductAdd"
  1024. GoPmpClient_ProductUpdate_FullMethodName = "/gorpc.GoPmpClient/ProductUpdate"
  1025. GoPmpClient_ProductDel_FullMethodName = "/gorpc.GoPmpClient/ProductDel"
  1026. GoPmpClient_ProductGet_FullMethodName = "/gorpc.GoPmpClient/ProductGet"
  1027. GoPmpClient_ProductList_FullMethodName = "/gorpc.GoPmpClient/ProductList"
  1028. GoPmpClient_ProductAll_FullMethodName = "/gorpc.GoPmpClient/ProductAll"
  1029. GoPmpClient_ProductParamAdd_FullMethodName = "/gorpc.GoPmpClient/ProductParamAdd"
  1030. GoPmpClient_ProductParamUpdate_FullMethodName = "/gorpc.GoPmpClient/ProductParamUpdate"
  1031. GoPmpClient_ProductParamDel_FullMethodName = "/gorpc.GoPmpClient/ProductParamDel"
  1032. GoPmpClient_ProductParamGet_FullMethodName = "/gorpc.GoPmpClient/ProductParamGet"
  1033. GoPmpClient_ProductParamGetWithLang_FullMethodName = "/gorpc.GoPmpClient/ProductParamGetWithLang"
  1034. GoPmpClient_ProductParamList_FullMethodName = "/gorpc.GoPmpClient/ProductParamList"
  1035. GoPmpClient_ProductActionAdd_FullMethodName = "/gorpc.GoPmpClient/ProductActionAdd"
  1036. GoPmpClient_ProductActionUpdate_FullMethodName = "/gorpc.GoPmpClient/ProductActionUpdate"
  1037. GoPmpClient_ProductActionDel_FullMethodName = "/gorpc.GoPmpClient/ProductActionDel"
  1038. GoPmpClient_ProductActionGet_FullMethodName = "/gorpc.GoPmpClient/ProductActionGet"
  1039. GoPmpClient_ProductActionList_FullMethodName = "/gorpc.GoPmpClient/ProductActionList"
  1040. GoPmpClient_AreaParamAdd_FullMethodName = "/gorpc.GoPmpClient/AreaParamAdd"
  1041. GoPmpClient_AreaParamUpdate_FullMethodName = "/gorpc.GoPmpClient/AreaParamUpdate"
  1042. GoPmpClient_AreaParamDel_FullMethodName = "/gorpc.GoPmpClient/AreaParamDel"
  1043. GoPmpClient_AreaParamGet_FullMethodName = "/gorpc.GoPmpClient/AreaParamGet"
  1044. GoPmpClient_AreaParamList_FullMethodName = "/gorpc.GoPmpClient/AreaParamList"
  1045. GoPmpClient_NationalLanguageAdd_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageAdd"
  1046. GoPmpClient_NationalLanguageUpdate_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageUpdate"
  1047. GoPmpClient_NationalLanguageDel_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageDel"
  1048. GoPmpClient_NationalLanguageGet_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageGet"
  1049. GoPmpClient_NationalLanguageList_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageList"
  1050. GoPmpClient_TipAdd_FullMethodName = "/gorpc.GoPmpClient/TipAdd"
  1051. GoPmpClient_TipUpdate_FullMethodName = "/gorpc.GoPmpClient/TipUpdate"
  1052. GoPmpClient_TipDel_FullMethodName = "/gorpc.GoPmpClient/TipDel"
  1053. GoPmpClient_TipGet_FullMethodName = "/gorpc.GoPmpClient/TipGet"
  1054. GoPmpClient_TipList_FullMethodName = "/gorpc.GoPmpClient/TipList"
  1055. GoPmpClient_DictAdd_FullMethodName = "/gorpc.GoPmpClient/DictAdd"
  1056. GoPmpClient_DictUpdate_FullMethodName = "/gorpc.GoPmpClient/DictUpdate"
  1057. GoPmpClient_DictDel_FullMethodName = "/gorpc.GoPmpClient/DictDel"
  1058. GoPmpClient_DictGet_FullMethodName = "/gorpc.GoPmpClient/DictGet"
  1059. GoPmpClient_DictList_FullMethodName = "/gorpc.GoPmpClient/DictList"
  1060. GoPmpClient_UpgradePkgPlanAdd_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanAdd"
  1061. GoPmpClient_UpgradePkgPlanUpdate_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanUpdate"
  1062. GoPmpClient_UpgradePkgPlanDel_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDel"
  1063. GoPmpClient_UpgradePkgPlanGet_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanGet"
  1064. GoPmpClient_UpgradePkgPlanList_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanList"
  1065. GoPmpClient_UpgradePkgPlanDetailAdd_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailAdd"
  1066. GoPmpClient_UpgradePkgPlanDetailUpdate_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailUpdate"
  1067. GoPmpClient_UpgradePkgPlanDetailDel_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailDel"
  1068. GoPmpClient_UpgradePkgPlanDetailGet_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailGet"
  1069. GoPmpClient_UpgradePkgPlanDetailList_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailList"
  1070. GoPmpClient_UpgradeResPlanAdd_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanAdd"
  1071. GoPmpClient_UpgradeResPlanUpdate_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanUpdate"
  1072. GoPmpClient_UpgradeResPlanDel_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDel"
  1073. GoPmpClient_UpgradeResPlanGet_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanGet"
  1074. GoPmpClient_UpgradeResPlanList_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanList"
  1075. GoPmpClient_UpgradeResPlanDetailAdd_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailAdd"
  1076. GoPmpClient_UpgradeResPlanDetailUpdate_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailUpdate"
  1077. GoPmpClient_UpgradeResPlanDetailDel_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailDel"
  1078. GoPmpClient_UpgradeResPlanDetailGet_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailGet"
  1079. GoPmpClient_UpgradeResPlanDetailList_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailList"
  1080. GoPmpClient_AdPlanAdd_FullMethodName = "/gorpc.GoPmpClient/AdPlanAdd"
  1081. GoPmpClient_AdPlanUpdate_FullMethodName = "/gorpc.GoPmpClient/AdPlanUpdate"
  1082. GoPmpClient_AdPlanDel_FullMethodName = "/gorpc.GoPmpClient/AdPlanDel"
  1083. GoPmpClient_AdPlanGet_FullMethodName = "/gorpc.GoPmpClient/AdPlanGet"
  1084. GoPmpClient_AdPlanList_FullMethodName = "/gorpc.GoPmpClient/AdPlanList"
  1085. GoPmpClient_AdPlanDetailAdd_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailAdd"
  1086. GoPmpClient_AdPlanDetailUpdate_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailUpdate"
  1087. GoPmpClient_AdPlanDetailDel_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailDel"
  1088. GoPmpClient_AdPlanDetailGet_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailGet"
  1089. GoPmpClient_AdPlanDetailList_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailList"
  1090. GoPmpClient_AdGlobalConfigGet_FullMethodName = "/gorpc.GoPmpClient/AdGlobalConfigGet"
  1091. GoPmpClient_AdGlobalConfigUpdate_FullMethodName = "/gorpc.GoPmpClient/AdGlobalConfigUpdate"
  1092. GoPmpClient_JobBatchAdd_FullMethodName = "/gorpc.GoPmpClient/JobBatchAdd"
  1093. GoPmpClient_JobBatchAddWithTasks_FullMethodName = "/gorpc.GoPmpClient/JobBatchAddWithTasks"
  1094. GoPmpClient_JobBatchUpdate_FullMethodName = "/gorpc.GoPmpClient/JobBatchUpdate"
  1095. GoPmpClient_JobBatchDel_FullMethodName = "/gorpc.GoPmpClient/JobBatchDel"
  1096. GoPmpClient_JobBatchGet_FullMethodName = "/gorpc.GoPmpClient/JobBatchGet"
  1097. GoPmpClient_JobBatchGetWithTasks_FullMethodName = "/gorpc.GoPmpClient/JobBatchGetWithTasks"
  1098. GoPmpClient_JobBatchList_FullMethodName = "/gorpc.GoPmpClient/JobBatchList"
  1099. GoPmpClient_JobBatchListWithTasks_FullMethodName = "/gorpc.GoPmpClient/JobBatchListWithTasks"
  1100. GoPmpClient_JobTasksAdd_FullMethodName = "/gorpc.GoPmpClient/JobTasksAdd"
  1101. GoPmpClient_JobTasksUpdate_FullMethodName = "/gorpc.GoPmpClient/JobTasksUpdate"
  1102. GoPmpClient_JobTasksDel_FullMethodName = "/gorpc.GoPmpClient/JobTasksDel"
  1103. GoPmpClient_JobTasksGet_FullMethodName = "/gorpc.GoPmpClient/JobTasksGet"
  1104. GoPmpClient_JobTasksList_FullMethodName = "/gorpc.GoPmpClient/JobTasksList"
  1105. GoPmpClient_DeployConfigAdd_FullMethodName = "/gorpc.GoPmpClient/DeployConfigAdd"
  1106. GoPmpClient_DeployConfigUpdate_FullMethodName = "/gorpc.GoPmpClient/DeployConfigUpdate"
  1107. GoPmpClient_DeployConfigDel_FullMethodName = "/gorpc.GoPmpClient/DeployConfigDel"
  1108. GoPmpClient_DeployConfigGet_FullMethodName = "/gorpc.GoPmpClient/DeployConfigGet"
  1109. GoPmpClient_DeployConfigList_FullMethodName = "/gorpc.GoPmpClient/DeployConfigList"
  1110. GoPmpClient_OperationLogAdd_FullMethodName = "/gorpc.GoPmpClient/OperationLogAdd"
  1111. GoPmpClient_OperationLogUpdate_FullMethodName = "/gorpc.GoPmpClient/OperationLogUpdate"
  1112. GoPmpClient_OperationLogGet_FullMethodName = "/gorpc.GoPmpClient/OperationLogGet"
  1113. GoPmpClient_OperationLogList_FullMethodName = "/gorpc.GoPmpClient/OperationLogList"
  1114. GoPmpClient_AnnouncePlanAdd_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanAdd"
  1115. GoPmpClient_AnnouncePlanUpdate_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanUpdate"
  1116. GoPmpClient_AnnouncePlanDel_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDel"
  1117. GoPmpClient_AnnouncePlanGet_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanGet"
  1118. GoPmpClient_AnnouncePlanList_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanList"
  1119. GoPmpClient_AnnouncePlanDetailAdd_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailAdd"
  1120. GoPmpClient_AnnouncePlanDetailUpdate_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailUpdate"
  1121. GoPmpClient_AnnouncePlanDetailDel_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailDel"
  1122. GoPmpClient_AnnouncePlanDetailGet_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailGet"
  1123. GoPmpClient_AnnouncePlanDetailList_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailList"
  1124. GoPmpClient_ServiceTypesAdd_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesAdd"
  1125. GoPmpClient_ServiceTypesUpdate_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesUpdate"
  1126. GoPmpClient_ServiceTypesDel_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesDel"
  1127. GoPmpClient_ServiceTypesGet_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesGet"
  1128. GoPmpClient_ServiceTypesList_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesList"
  1129. GoPmpClient_ServiceSetsAdd_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsAdd"
  1130. GoPmpClient_ServiceSetsUpdate_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsUpdate"
  1131. GoPmpClient_ServiceSetsDel_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsDel"
  1132. GoPmpClient_ServiceSetsGet_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsGet"
  1133. GoPmpClient_ServiceSetsList_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsList"
  1134. GoPmpClient_MessagePushAdd_FullMethodName = "/gorpc.GoPmpClient/MessagePushAdd"
  1135. GoPmpClient_MessagePushUpdate_FullMethodName = "/gorpc.GoPmpClient/MessagePushUpdate"
  1136. GoPmpClient_MessagePushList_FullMethodName = "/gorpc.GoPmpClient/MessagePushList"
  1137. )
  1138. // GoPmpClientClient is the client API for GoPmpClient service.
  1139. //
  1140. // 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.
  1141. //
  1142. // 基础服务: 产品管理,产品配置,升级配置、更新资源管理,资源版本管理,全局配置
  1143. type GoPmpClientClient interface {
  1144. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  1145. // GlobalParamVo
  1146. GlobalParamAdd(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error)
  1147. GlobalParamUpdate(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error)
  1148. GlobalParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1149. GlobalParamGet(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error)
  1150. GlobalParamGetWithLang(ctx context.Context, in *GlobalParamGetReq, opts ...grpc.CallOption) (*GlobalParamVo, error)
  1151. GlobalParamList(ctx context.Context, in *GlobalParamListReq, opts ...grpc.CallOption) (*GlobalParamListResp, error)
  1152. // ProductVo
  1153. ProductAdd(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error)
  1154. ProductUpdate(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error)
  1155. ProductDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1156. ProductGet(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error)
  1157. ProductList(ctx context.Context, in *ProductListReq, opts ...grpc.CallOption) (*ProductListResp, error)
  1158. ProductAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ProductListResp, error)
  1159. // ProductParamVo
  1160. ProductParamAdd(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error)
  1161. ProductParamUpdate(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error)
  1162. ProductParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1163. ProductParamGet(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error)
  1164. ProductParamGetWithLang(ctx context.Context, in *ProductParamGetReq, opts ...grpc.CallOption) (*ProductParamVo, error)
  1165. ProductParamList(ctx context.Context, in *ProductParamListReq, opts ...grpc.CallOption) (*ProductParamListResp, error)
  1166. // ProductAction 产品行为配置
  1167. ProductActionAdd(ctx context.Context, in *ProductActionVo, opts ...grpc.CallOption) (*ProductActionVo, error)
  1168. ProductActionUpdate(ctx context.Context, in *ProductActionVo, opts ...grpc.CallOption) (*ProductActionVo, error)
  1169. ProductActionDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1170. ProductActionGet(ctx context.Context, in *ProductActionReq, opts ...grpc.CallOption) (*ProductActionVo, error)
  1171. ProductActionList(ctx context.Context, in *ProductActionListReq, opts ...grpc.CallOption) (*ProductActionListResp, error)
  1172. // AreaParamVo
  1173. AreaParamAdd(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error)
  1174. AreaParamUpdate(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error)
  1175. AreaParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1176. AreaParamGet(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error)
  1177. AreaParamList(ctx context.Context, in *AreaParamListReq, opts ...grpc.CallOption) (*AreaParamListResp, error)
  1178. // NationalLanguage
  1179. NationalLanguageAdd(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error)
  1180. NationalLanguageUpdate(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error)
  1181. NationalLanguageDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1182. NationalLanguageGet(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error)
  1183. NationalLanguageList(ctx context.Context, in *NationalLanguageListReq, opts ...grpc.CallOption) (*NationalLanguageListResp, error)
  1184. // Tip
  1185. TipAdd(ctx context.Context, in *TipVo, opts ...grpc.CallOption) (*TipVo, error)
  1186. TipUpdate(ctx context.Context, in *TipVo, opts ...grpc.CallOption) (*TipVo, error)
  1187. TipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1188. TipGet(ctx context.Context, in *TipGetReq, opts ...grpc.CallOption) (*TipVo, error)
  1189. TipList(ctx context.Context, in *TipListReq, opts ...grpc.CallOption) (*TipListResp, error)
  1190. // Dict
  1191. DictAdd(ctx context.Context, in *DictVo, opts ...grpc.CallOption) (*DictVo, error)
  1192. DictUpdate(ctx context.Context, in *DictVo, opts ...grpc.CallOption) (*DictVo, error)
  1193. DictDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1194. DictGet(ctx context.Context, in *DictGetReq, opts ...grpc.CallOption) (*DictVo, error)
  1195. DictList(ctx context.Context, in *DictListReq, opts ...grpc.CallOption) (*DictListResp, error)
  1196. // UpgradePkgPlan
  1197. UpgradePkgPlanAdd(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error)
  1198. UpgradePkgPlanUpdate(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error)
  1199. UpgradePkgPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1200. UpgradePkgPlanGet(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error)
  1201. UpgradePkgPlanList(ctx context.Context, in *UpgradePkgPlanListReq, opts ...grpc.CallOption) (*UpgradePkgPlanListResp, error)
  1202. // UpgradePkgPlanDetail
  1203. UpgradePkgPlanDetailAdd(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error)
  1204. UpgradePkgPlanDetailUpdate(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error)
  1205. UpgradePkgPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1206. UpgradePkgPlanDetailGet(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error)
  1207. UpgradePkgPlanDetailList(ctx context.Context, in *UpgradePkgPlanDetailListReq, opts ...grpc.CallOption) (*UpgradePkgPlanDetailListResp, error)
  1208. // UpgradeResPlan
  1209. UpgradeResPlanAdd(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error)
  1210. UpgradeResPlanUpdate(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error)
  1211. UpgradeResPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1212. UpgradeResPlanGet(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error)
  1213. UpgradeResPlanList(ctx context.Context, in *UpgradeResPlanListReq, opts ...grpc.CallOption) (*UpgradeResPlanListResp, error)
  1214. // UpgradeResPlanDetail
  1215. UpgradeResPlanDetailAdd(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error)
  1216. UpgradeResPlanDetailUpdate(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error)
  1217. UpgradeResPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1218. UpgradeResPlanDetailGet(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error)
  1219. UpgradeResPlanDetailList(ctx context.Context, in *UpgradeResPlanDetailListReq, opts ...grpc.CallOption) (*UpgradeResPlanDetailListResp, error)
  1220. // AdPlan
  1221. AdPlanAdd(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error)
  1222. AdPlanUpdate(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error)
  1223. AdPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1224. AdPlanGet(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error)
  1225. AdPlanList(ctx context.Context, in *AdPlanListReq, opts ...grpc.CallOption) (*AdPlanListResp, error)
  1226. // AdPlanDetail
  1227. AdPlanDetailAdd(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error)
  1228. AdPlanDetailUpdate(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error)
  1229. AdPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1230. AdPlanDetailGet(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error)
  1231. AdPlanDetailList(ctx context.Context, in *AdPlanDetailListReq, opts ...grpc.CallOption) (*AdPlanDetailListResp, error)
  1232. // AdGlobalConfig
  1233. AdGlobalConfigGet(ctx context.Context, in *AdGlobalConfigGetReq, opts ...grpc.CallOption) (*AdGlobalConfigVo, error)
  1234. AdGlobalConfigUpdate(ctx context.Context, in *AdGlobalConfigVo, opts ...grpc.CallOption) (*AdGlobalConfigVo, error)
  1235. // JobBatch
  1236. JobBatchAdd(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error)
  1237. JobBatchAddWithTasks(ctx context.Context, in *JobBatchWithTasksVo, opts ...grpc.CallOption) (*JobBatchWithTasksVo, error)
  1238. JobBatchUpdate(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error)
  1239. JobBatchDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1240. JobBatchGet(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error)
  1241. JobBatchGetWithTasks(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchWithTasksVo, error)
  1242. JobBatchList(ctx context.Context, in *JobBatchListReq, opts ...grpc.CallOption) (*JobBatchListResp, error)
  1243. JobBatchListWithTasks(ctx context.Context, in *JobBatchListReq, opts ...grpc.CallOption) (*JobBatchListWithTasksResp, error)
  1244. // JobTasks
  1245. JobTasksAdd(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error)
  1246. JobTasksUpdate(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error)
  1247. JobTasksDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1248. JobTasksGet(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error)
  1249. JobTasksList(ctx context.Context, in *JobTasksListReq, opts ...grpc.CallOption) (*JobTasksListResp, error)
  1250. // DeployConfig
  1251. DeployConfigAdd(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error)
  1252. DeployConfigUpdate(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error)
  1253. DeployConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1254. DeployConfigGet(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error)
  1255. DeployConfigList(ctx context.Context, in *DeployConfigListReq, opts ...grpc.CallOption) (*DeployConfigListResp, error)
  1256. // OperationLog
  1257. OperationLogAdd(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error)
  1258. OperationLogUpdate(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error)
  1259. OperationLogGet(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error)
  1260. OperationLogList(ctx context.Context, in *OperationLogListReq, opts ...grpc.CallOption) (*OperationLogListResp, error)
  1261. // AnnouncePlan
  1262. AnnouncePlanAdd(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error)
  1263. AnnouncePlanUpdate(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error)
  1264. AnnouncePlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1265. AnnouncePlanGet(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error)
  1266. AnnouncePlanList(ctx context.Context, in *AnnouncePlanListReq, opts ...grpc.CallOption) (*AnnouncePlanListResp, error)
  1267. // AnnouncePlanDetail
  1268. AnnouncePlanDetailAdd(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error)
  1269. AnnouncePlanDetailUpdate(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error)
  1270. AnnouncePlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  1271. AnnouncePlanDetailGet(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error)
  1272. AnnouncePlanDetailList(ctx context.Context, in *AnnouncePlanDetailListReq, opts ...grpc.CallOption) (*AnnouncePlanDetailListResp, error)
  1273. // ServiceTypes
  1274. ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesVo, error)
  1275. ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesVo, error)
  1276. ServiceTypesDel(ctx context.Context, in *ServiceTypesDelReq, opts ...grpc.CallOption) (*Empty, error)
  1277. ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesVo, error)
  1278. ServiceTypesList(ctx context.Context, in *ServiceTypesListReq, opts ...grpc.CallOption) (*ServiceTypesListResp, error)
  1279. // ServiceSets
  1280. ServiceSetsAdd(ctx context.Context, in *ServiceSetsAddReq, opts ...grpc.CallOption) (*ServiceSetsVo, error)
  1281. ServiceSetsUpdate(ctx context.Context, in *ServiceSetsUpdateReq, opts ...grpc.CallOption) (*ServiceSetsVo, error)
  1282. ServiceSetsDel(ctx context.Context, in *ServiceSetsDelReq, opts ...grpc.CallOption) (*Empty, error)
  1283. ServiceSetsGet(ctx context.Context, in *ServiceSetsGetReq, opts ...grpc.CallOption) (*ServiceSetsVo, error)
  1284. ServiceSetsList(ctx context.Context, in *ServiceSetsListReq, opts ...grpc.CallOption) (*ServiceSetsListResp, error)
  1285. // MessagePush
  1286. MessagePushAdd(ctx context.Context, in *MessagePushVo, opts ...grpc.CallOption) (*MessagePushVo, error)
  1287. MessagePushUpdate(ctx context.Context, in *MessagePushVo, opts ...grpc.CallOption) (*MessagePushVo, error)
  1288. MessagePushList(ctx context.Context, in *MessagePushListReq, opts ...grpc.CallOption) (*MessagePushListResp, error)
  1289. }
  1290. type goPmpClientClient struct {
  1291. cc grpc.ClientConnInterface
  1292. }
  1293. func NewGoPmpClientClient(cc grpc.ClientConnInterface) GoPmpClientClient {
  1294. return &goPmpClientClient{cc}
  1295. }
  1296. func (c *goPmpClientClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  1297. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1298. out := new(Response)
  1299. err := c.cc.Invoke(ctx, GoPmpClient_Ping_FullMethodName, in, out, cOpts...)
  1300. if err != nil {
  1301. return nil, err
  1302. }
  1303. return out, nil
  1304. }
  1305. func (c *goPmpClientClient) GlobalParamAdd(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error) {
  1306. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1307. out := new(GlobalParamVo)
  1308. err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamAdd_FullMethodName, in, out, cOpts...)
  1309. if err != nil {
  1310. return nil, err
  1311. }
  1312. return out, nil
  1313. }
  1314. func (c *goPmpClientClient) GlobalParamUpdate(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error) {
  1315. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1316. out := new(GlobalParamVo)
  1317. err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamUpdate_FullMethodName, in, out, cOpts...)
  1318. if err != nil {
  1319. return nil, err
  1320. }
  1321. return out, nil
  1322. }
  1323. func (c *goPmpClientClient) GlobalParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1324. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1325. out := new(Empty)
  1326. err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamDel_FullMethodName, in, out, cOpts...)
  1327. if err != nil {
  1328. return nil, err
  1329. }
  1330. return out, nil
  1331. }
  1332. func (c *goPmpClientClient) GlobalParamGet(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error) {
  1333. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1334. out := new(GlobalParamVo)
  1335. err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamGet_FullMethodName, in, out, cOpts...)
  1336. if err != nil {
  1337. return nil, err
  1338. }
  1339. return out, nil
  1340. }
  1341. func (c *goPmpClientClient) GlobalParamGetWithLang(ctx context.Context, in *GlobalParamGetReq, opts ...grpc.CallOption) (*GlobalParamVo, error) {
  1342. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1343. out := new(GlobalParamVo)
  1344. err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamGetWithLang_FullMethodName, in, out, cOpts...)
  1345. if err != nil {
  1346. return nil, err
  1347. }
  1348. return out, nil
  1349. }
  1350. func (c *goPmpClientClient) GlobalParamList(ctx context.Context, in *GlobalParamListReq, opts ...grpc.CallOption) (*GlobalParamListResp, error) {
  1351. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1352. out := new(GlobalParamListResp)
  1353. err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamList_FullMethodName, in, out, cOpts...)
  1354. if err != nil {
  1355. return nil, err
  1356. }
  1357. return out, nil
  1358. }
  1359. func (c *goPmpClientClient) ProductAdd(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error) {
  1360. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1361. out := new(ProductVo)
  1362. err := c.cc.Invoke(ctx, GoPmpClient_ProductAdd_FullMethodName, in, out, cOpts...)
  1363. if err != nil {
  1364. return nil, err
  1365. }
  1366. return out, nil
  1367. }
  1368. func (c *goPmpClientClient) ProductUpdate(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error) {
  1369. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1370. out := new(ProductVo)
  1371. err := c.cc.Invoke(ctx, GoPmpClient_ProductUpdate_FullMethodName, in, out, cOpts...)
  1372. if err != nil {
  1373. return nil, err
  1374. }
  1375. return out, nil
  1376. }
  1377. func (c *goPmpClientClient) ProductDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1378. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1379. out := new(Empty)
  1380. err := c.cc.Invoke(ctx, GoPmpClient_ProductDel_FullMethodName, in, out, cOpts...)
  1381. if err != nil {
  1382. return nil, err
  1383. }
  1384. return out, nil
  1385. }
  1386. func (c *goPmpClientClient) ProductGet(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error) {
  1387. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1388. out := new(ProductVo)
  1389. err := c.cc.Invoke(ctx, GoPmpClient_ProductGet_FullMethodName, in, out, cOpts...)
  1390. if err != nil {
  1391. return nil, err
  1392. }
  1393. return out, nil
  1394. }
  1395. func (c *goPmpClientClient) ProductList(ctx context.Context, in *ProductListReq, opts ...grpc.CallOption) (*ProductListResp, error) {
  1396. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1397. out := new(ProductListResp)
  1398. err := c.cc.Invoke(ctx, GoPmpClient_ProductList_FullMethodName, in, out, cOpts...)
  1399. if err != nil {
  1400. return nil, err
  1401. }
  1402. return out, nil
  1403. }
  1404. func (c *goPmpClientClient) ProductAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ProductListResp, error) {
  1405. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1406. out := new(ProductListResp)
  1407. err := c.cc.Invoke(ctx, GoPmpClient_ProductAll_FullMethodName, in, out, cOpts...)
  1408. if err != nil {
  1409. return nil, err
  1410. }
  1411. return out, nil
  1412. }
  1413. func (c *goPmpClientClient) ProductParamAdd(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error) {
  1414. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1415. out := new(ProductParamVo)
  1416. err := c.cc.Invoke(ctx, GoPmpClient_ProductParamAdd_FullMethodName, in, out, cOpts...)
  1417. if err != nil {
  1418. return nil, err
  1419. }
  1420. return out, nil
  1421. }
  1422. func (c *goPmpClientClient) ProductParamUpdate(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error) {
  1423. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1424. out := new(ProductParamVo)
  1425. err := c.cc.Invoke(ctx, GoPmpClient_ProductParamUpdate_FullMethodName, in, out, cOpts...)
  1426. if err != nil {
  1427. return nil, err
  1428. }
  1429. return out, nil
  1430. }
  1431. func (c *goPmpClientClient) ProductParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1432. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1433. out := new(Empty)
  1434. err := c.cc.Invoke(ctx, GoPmpClient_ProductParamDel_FullMethodName, in, out, cOpts...)
  1435. if err != nil {
  1436. return nil, err
  1437. }
  1438. return out, nil
  1439. }
  1440. func (c *goPmpClientClient) ProductParamGet(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error) {
  1441. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1442. out := new(ProductParamVo)
  1443. err := c.cc.Invoke(ctx, GoPmpClient_ProductParamGet_FullMethodName, in, out, cOpts...)
  1444. if err != nil {
  1445. return nil, err
  1446. }
  1447. return out, nil
  1448. }
  1449. func (c *goPmpClientClient) ProductParamGetWithLang(ctx context.Context, in *ProductParamGetReq, opts ...grpc.CallOption) (*ProductParamVo, error) {
  1450. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1451. out := new(ProductParamVo)
  1452. err := c.cc.Invoke(ctx, GoPmpClient_ProductParamGetWithLang_FullMethodName, in, out, cOpts...)
  1453. if err != nil {
  1454. return nil, err
  1455. }
  1456. return out, nil
  1457. }
  1458. func (c *goPmpClientClient) ProductParamList(ctx context.Context, in *ProductParamListReq, opts ...grpc.CallOption) (*ProductParamListResp, error) {
  1459. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1460. out := new(ProductParamListResp)
  1461. err := c.cc.Invoke(ctx, GoPmpClient_ProductParamList_FullMethodName, in, out, cOpts...)
  1462. if err != nil {
  1463. return nil, err
  1464. }
  1465. return out, nil
  1466. }
  1467. func (c *goPmpClientClient) ProductActionAdd(ctx context.Context, in *ProductActionVo, opts ...grpc.CallOption) (*ProductActionVo, error) {
  1468. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1469. out := new(ProductActionVo)
  1470. err := c.cc.Invoke(ctx, GoPmpClient_ProductActionAdd_FullMethodName, in, out, cOpts...)
  1471. if err != nil {
  1472. return nil, err
  1473. }
  1474. return out, nil
  1475. }
  1476. func (c *goPmpClientClient) ProductActionUpdate(ctx context.Context, in *ProductActionVo, opts ...grpc.CallOption) (*ProductActionVo, error) {
  1477. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1478. out := new(ProductActionVo)
  1479. err := c.cc.Invoke(ctx, GoPmpClient_ProductActionUpdate_FullMethodName, in, out, cOpts...)
  1480. if err != nil {
  1481. return nil, err
  1482. }
  1483. return out, nil
  1484. }
  1485. func (c *goPmpClientClient) ProductActionDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1486. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1487. out := new(Empty)
  1488. err := c.cc.Invoke(ctx, GoPmpClient_ProductActionDel_FullMethodName, in, out, cOpts...)
  1489. if err != nil {
  1490. return nil, err
  1491. }
  1492. return out, nil
  1493. }
  1494. func (c *goPmpClientClient) ProductActionGet(ctx context.Context, in *ProductActionReq, opts ...grpc.CallOption) (*ProductActionVo, error) {
  1495. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1496. out := new(ProductActionVo)
  1497. err := c.cc.Invoke(ctx, GoPmpClient_ProductActionGet_FullMethodName, in, out, cOpts...)
  1498. if err != nil {
  1499. return nil, err
  1500. }
  1501. return out, nil
  1502. }
  1503. func (c *goPmpClientClient) ProductActionList(ctx context.Context, in *ProductActionListReq, opts ...grpc.CallOption) (*ProductActionListResp, error) {
  1504. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1505. out := new(ProductActionListResp)
  1506. err := c.cc.Invoke(ctx, GoPmpClient_ProductActionList_FullMethodName, in, out, cOpts...)
  1507. if err != nil {
  1508. return nil, err
  1509. }
  1510. return out, nil
  1511. }
  1512. func (c *goPmpClientClient) AreaParamAdd(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error) {
  1513. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1514. out := new(AreaParamVo)
  1515. err := c.cc.Invoke(ctx, GoPmpClient_AreaParamAdd_FullMethodName, in, out, cOpts...)
  1516. if err != nil {
  1517. return nil, err
  1518. }
  1519. return out, nil
  1520. }
  1521. func (c *goPmpClientClient) AreaParamUpdate(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error) {
  1522. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1523. out := new(AreaParamVo)
  1524. err := c.cc.Invoke(ctx, GoPmpClient_AreaParamUpdate_FullMethodName, in, out, cOpts...)
  1525. if err != nil {
  1526. return nil, err
  1527. }
  1528. return out, nil
  1529. }
  1530. func (c *goPmpClientClient) AreaParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1531. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1532. out := new(Empty)
  1533. err := c.cc.Invoke(ctx, GoPmpClient_AreaParamDel_FullMethodName, in, out, cOpts...)
  1534. if err != nil {
  1535. return nil, err
  1536. }
  1537. return out, nil
  1538. }
  1539. func (c *goPmpClientClient) AreaParamGet(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error) {
  1540. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1541. out := new(AreaParamVo)
  1542. err := c.cc.Invoke(ctx, GoPmpClient_AreaParamGet_FullMethodName, in, out, cOpts...)
  1543. if err != nil {
  1544. return nil, err
  1545. }
  1546. return out, nil
  1547. }
  1548. func (c *goPmpClientClient) AreaParamList(ctx context.Context, in *AreaParamListReq, opts ...grpc.CallOption) (*AreaParamListResp, error) {
  1549. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1550. out := new(AreaParamListResp)
  1551. err := c.cc.Invoke(ctx, GoPmpClient_AreaParamList_FullMethodName, in, out, cOpts...)
  1552. if err != nil {
  1553. return nil, err
  1554. }
  1555. return out, nil
  1556. }
  1557. func (c *goPmpClientClient) NationalLanguageAdd(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error) {
  1558. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1559. out := new(NationalLanguageVo)
  1560. err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageAdd_FullMethodName, in, out, cOpts...)
  1561. if err != nil {
  1562. return nil, err
  1563. }
  1564. return out, nil
  1565. }
  1566. func (c *goPmpClientClient) NationalLanguageUpdate(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error) {
  1567. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1568. out := new(NationalLanguageVo)
  1569. err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageUpdate_FullMethodName, in, out, cOpts...)
  1570. if err != nil {
  1571. return nil, err
  1572. }
  1573. return out, nil
  1574. }
  1575. func (c *goPmpClientClient) NationalLanguageDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1576. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1577. out := new(Empty)
  1578. err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageDel_FullMethodName, in, out, cOpts...)
  1579. if err != nil {
  1580. return nil, err
  1581. }
  1582. return out, nil
  1583. }
  1584. func (c *goPmpClientClient) NationalLanguageGet(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error) {
  1585. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1586. out := new(NationalLanguageVo)
  1587. err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageGet_FullMethodName, in, out, cOpts...)
  1588. if err != nil {
  1589. return nil, err
  1590. }
  1591. return out, nil
  1592. }
  1593. func (c *goPmpClientClient) NationalLanguageList(ctx context.Context, in *NationalLanguageListReq, opts ...grpc.CallOption) (*NationalLanguageListResp, error) {
  1594. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1595. out := new(NationalLanguageListResp)
  1596. err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageList_FullMethodName, in, out, cOpts...)
  1597. if err != nil {
  1598. return nil, err
  1599. }
  1600. return out, nil
  1601. }
  1602. func (c *goPmpClientClient) TipAdd(ctx context.Context, in *TipVo, opts ...grpc.CallOption) (*TipVo, error) {
  1603. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1604. out := new(TipVo)
  1605. err := c.cc.Invoke(ctx, GoPmpClient_TipAdd_FullMethodName, in, out, cOpts...)
  1606. if err != nil {
  1607. return nil, err
  1608. }
  1609. return out, nil
  1610. }
  1611. func (c *goPmpClientClient) TipUpdate(ctx context.Context, in *TipVo, opts ...grpc.CallOption) (*TipVo, error) {
  1612. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1613. out := new(TipVo)
  1614. err := c.cc.Invoke(ctx, GoPmpClient_TipUpdate_FullMethodName, in, out, cOpts...)
  1615. if err != nil {
  1616. return nil, err
  1617. }
  1618. return out, nil
  1619. }
  1620. func (c *goPmpClientClient) TipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1621. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1622. out := new(Empty)
  1623. err := c.cc.Invoke(ctx, GoPmpClient_TipDel_FullMethodName, in, out, cOpts...)
  1624. if err != nil {
  1625. return nil, err
  1626. }
  1627. return out, nil
  1628. }
  1629. func (c *goPmpClientClient) TipGet(ctx context.Context, in *TipGetReq, opts ...grpc.CallOption) (*TipVo, error) {
  1630. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1631. out := new(TipVo)
  1632. err := c.cc.Invoke(ctx, GoPmpClient_TipGet_FullMethodName, in, out, cOpts...)
  1633. if err != nil {
  1634. return nil, err
  1635. }
  1636. return out, nil
  1637. }
  1638. func (c *goPmpClientClient) TipList(ctx context.Context, in *TipListReq, opts ...grpc.CallOption) (*TipListResp, error) {
  1639. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1640. out := new(TipListResp)
  1641. err := c.cc.Invoke(ctx, GoPmpClient_TipList_FullMethodName, in, out, cOpts...)
  1642. if err != nil {
  1643. return nil, err
  1644. }
  1645. return out, nil
  1646. }
  1647. func (c *goPmpClientClient) DictAdd(ctx context.Context, in *DictVo, opts ...grpc.CallOption) (*DictVo, error) {
  1648. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1649. out := new(DictVo)
  1650. err := c.cc.Invoke(ctx, GoPmpClient_DictAdd_FullMethodName, in, out, cOpts...)
  1651. if err != nil {
  1652. return nil, err
  1653. }
  1654. return out, nil
  1655. }
  1656. func (c *goPmpClientClient) DictUpdate(ctx context.Context, in *DictVo, opts ...grpc.CallOption) (*DictVo, error) {
  1657. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1658. out := new(DictVo)
  1659. err := c.cc.Invoke(ctx, GoPmpClient_DictUpdate_FullMethodName, in, out, cOpts...)
  1660. if err != nil {
  1661. return nil, err
  1662. }
  1663. return out, nil
  1664. }
  1665. func (c *goPmpClientClient) DictDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1666. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1667. out := new(Empty)
  1668. err := c.cc.Invoke(ctx, GoPmpClient_DictDel_FullMethodName, in, out, cOpts...)
  1669. if err != nil {
  1670. return nil, err
  1671. }
  1672. return out, nil
  1673. }
  1674. func (c *goPmpClientClient) DictGet(ctx context.Context, in *DictGetReq, opts ...grpc.CallOption) (*DictVo, error) {
  1675. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1676. out := new(DictVo)
  1677. err := c.cc.Invoke(ctx, GoPmpClient_DictGet_FullMethodName, in, out, cOpts...)
  1678. if err != nil {
  1679. return nil, err
  1680. }
  1681. return out, nil
  1682. }
  1683. func (c *goPmpClientClient) DictList(ctx context.Context, in *DictListReq, opts ...grpc.CallOption) (*DictListResp, error) {
  1684. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1685. out := new(DictListResp)
  1686. err := c.cc.Invoke(ctx, GoPmpClient_DictList_FullMethodName, in, out, cOpts...)
  1687. if err != nil {
  1688. return nil, err
  1689. }
  1690. return out, nil
  1691. }
  1692. func (c *goPmpClientClient) UpgradePkgPlanAdd(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error) {
  1693. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1694. out := new(UpgradePkgPlanVo)
  1695. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanAdd_FullMethodName, in, out, cOpts...)
  1696. if err != nil {
  1697. return nil, err
  1698. }
  1699. return out, nil
  1700. }
  1701. func (c *goPmpClientClient) UpgradePkgPlanUpdate(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error) {
  1702. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1703. out := new(UpgradePkgPlanVo)
  1704. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanUpdate_FullMethodName, in, out, cOpts...)
  1705. if err != nil {
  1706. return nil, err
  1707. }
  1708. return out, nil
  1709. }
  1710. func (c *goPmpClientClient) UpgradePkgPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1711. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1712. out := new(Empty)
  1713. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDel_FullMethodName, in, out, cOpts...)
  1714. if err != nil {
  1715. return nil, err
  1716. }
  1717. return out, nil
  1718. }
  1719. func (c *goPmpClientClient) UpgradePkgPlanGet(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error) {
  1720. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1721. out := new(UpgradePkgPlanVo)
  1722. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanGet_FullMethodName, in, out, cOpts...)
  1723. if err != nil {
  1724. return nil, err
  1725. }
  1726. return out, nil
  1727. }
  1728. func (c *goPmpClientClient) UpgradePkgPlanList(ctx context.Context, in *UpgradePkgPlanListReq, opts ...grpc.CallOption) (*UpgradePkgPlanListResp, error) {
  1729. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1730. out := new(UpgradePkgPlanListResp)
  1731. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanList_FullMethodName, in, out, cOpts...)
  1732. if err != nil {
  1733. return nil, err
  1734. }
  1735. return out, nil
  1736. }
  1737. func (c *goPmpClientClient) UpgradePkgPlanDetailAdd(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error) {
  1738. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1739. out := new(UpgradePkgPlanDetailVo)
  1740. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailAdd_FullMethodName, in, out, cOpts...)
  1741. if err != nil {
  1742. return nil, err
  1743. }
  1744. return out, nil
  1745. }
  1746. func (c *goPmpClientClient) UpgradePkgPlanDetailUpdate(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error) {
  1747. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1748. out := new(UpgradePkgPlanDetailVo)
  1749. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailUpdate_FullMethodName, in, out, cOpts...)
  1750. if err != nil {
  1751. return nil, err
  1752. }
  1753. return out, nil
  1754. }
  1755. func (c *goPmpClientClient) UpgradePkgPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1756. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1757. out := new(Empty)
  1758. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailDel_FullMethodName, in, out, cOpts...)
  1759. if err != nil {
  1760. return nil, err
  1761. }
  1762. return out, nil
  1763. }
  1764. func (c *goPmpClientClient) UpgradePkgPlanDetailGet(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error) {
  1765. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1766. out := new(UpgradePkgPlanDetailVo)
  1767. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailGet_FullMethodName, in, out, cOpts...)
  1768. if err != nil {
  1769. return nil, err
  1770. }
  1771. return out, nil
  1772. }
  1773. func (c *goPmpClientClient) UpgradePkgPlanDetailList(ctx context.Context, in *UpgradePkgPlanDetailListReq, opts ...grpc.CallOption) (*UpgradePkgPlanDetailListResp, error) {
  1774. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1775. out := new(UpgradePkgPlanDetailListResp)
  1776. err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailList_FullMethodName, in, out, cOpts...)
  1777. if err != nil {
  1778. return nil, err
  1779. }
  1780. return out, nil
  1781. }
  1782. func (c *goPmpClientClient) UpgradeResPlanAdd(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error) {
  1783. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1784. out := new(UpgradeResPlanVo)
  1785. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanAdd_FullMethodName, in, out, cOpts...)
  1786. if err != nil {
  1787. return nil, err
  1788. }
  1789. return out, nil
  1790. }
  1791. func (c *goPmpClientClient) UpgradeResPlanUpdate(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error) {
  1792. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1793. out := new(UpgradeResPlanVo)
  1794. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanUpdate_FullMethodName, in, out, cOpts...)
  1795. if err != nil {
  1796. return nil, err
  1797. }
  1798. return out, nil
  1799. }
  1800. func (c *goPmpClientClient) UpgradeResPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1801. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1802. out := new(Empty)
  1803. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDel_FullMethodName, in, out, cOpts...)
  1804. if err != nil {
  1805. return nil, err
  1806. }
  1807. return out, nil
  1808. }
  1809. func (c *goPmpClientClient) UpgradeResPlanGet(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error) {
  1810. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1811. out := new(UpgradeResPlanVo)
  1812. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanGet_FullMethodName, in, out, cOpts...)
  1813. if err != nil {
  1814. return nil, err
  1815. }
  1816. return out, nil
  1817. }
  1818. func (c *goPmpClientClient) UpgradeResPlanList(ctx context.Context, in *UpgradeResPlanListReq, opts ...grpc.CallOption) (*UpgradeResPlanListResp, error) {
  1819. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1820. out := new(UpgradeResPlanListResp)
  1821. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanList_FullMethodName, in, out, cOpts...)
  1822. if err != nil {
  1823. return nil, err
  1824. }
  1825. return out, nil
  1826. }
  1827. func (c *goPmpClientClient) UpgradeResPlanDetailAdd(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error) {
  1828. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1829. out := new(UpgradeResPlanDetailVo)
  1830. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailAdd_FullMethodName, in, out, cOpts...)
  1831. if err != nil {
  1832. return nil, err
  1833. }
  1834. return out, nil
  1835. }
  1836. func (c *goPmpClientClient) UpgradeResPlanDetailUpdate(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error) {
  1837. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1838. out := new(UpgradeResPlanDetailVo)
  1839. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailUpdate_FullMethodName, in, out, cOpts...)
  1840. if err != nil {
  1841. return nil, err
  1842. }
  1843. return out, nil
  1844. }
  1845. func (c *goPmpClientClient) UpgradeResPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1846. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1847. out := new(Empty)
  1848. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailDel_FullMethodName, in, out, cOpts...)
  1849. if err != nil {
  1850. return nil, err
  1851. }
  1852. return out, nil
  1853. }
  1854. func (c *goPmpClientClient) UpgradeResPlanDetailGet(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error) {
  1855. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1856. out := new(UpgradeResPlanDetailVo)
  1857. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailGet_FullMethodName, in, out, cOpts...)
  1858. if err != nil {
  1859. return nil, err
  1860. }
  1861. return out, nil
  1862. }
  1863. func (c *goPmpClientClient) UpgradeResPlanDetailList(ctx context.Context, in *UpgradeResPlanDetailListReq, opts ...grpc.CallOption) (*UpgradeResPlanDetailListResp, error) {
  1864. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1865. out := new(UpgradeResPlanDetailListResp)
  1866. err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailList_FullMethodName, in, out, cOpts...)
  1867. if err != nil {
  1868. return nil, err
  1869. }
  1870. return out, nil
  1871. }
  1872. func (c *goPmpClientClient) AdPlanAdd(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error) {
  1873. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1874. out := new(AdPlanVo)
  1875. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanAdd_FullMethodName, in, out, cOpts...)
  1876. if err != nil {
  1877. return nil, err
  1878. }
  1879. return out, nil
  1880. }
  1881. func (c *goPmpClientClient) AdPlanUpdate(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error) {
  1882. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1883. out := new(AdPlanVo)
  1884. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanUpdate_FullMethodName, in, out, cOpts...)
  1885. if err != nil {
  1886. return nil, err
  1887. }
  1888. return out, nil
  1889. }
  1890. func (c *goPmpClientClient) AdPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1891. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1892. out := new(Empty)
  1893. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDel_FullMethodName, in, out, cOpts...)
  1894. if err != nil {
  1895. return nil, err
  1896. }
  1897. return out, nil
  1898. }
  1899. func (c *goPmpClientClient) AdPlanGet(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error) {
  1900. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1901. out := new(AdPlanVo)
  1902. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanGet_FullMethodName, in, out, cOpts...)
  1903. if err != nil {
  1904. return nil, err
  1905. }
  1906. return out, nil
  1907. }
  1908. func (c *goPmpClientClient) AdPlanList(ctx context.Context, in *AdPlanListReq, opts ...grpc.CallOption) (*AdPlanListResp, error) {
  1909. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1910. out := new(AdPlanListResp)
  1911. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanList_FullMethodName, in, out, cOpts...)
  1912. if err != nil {
  1913. return nil, err
  1914. }
  1915. return out, nil
  1916. }
  1917. func (c *goPmpClientClient) AdPlanDetailAdd(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error) {
  1918. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1919. out := new(AdPlanDetailVo)
  1920. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailAdd_FullMethodName, in, out, cOpts...)
  1921. if err != nil {
  1922. return nil, err
  1923. }
  1924. return out, nil
  1925. }
  1926. func (c *goPmpClientClient) AdPlanDetailUpdate(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error) {
  1927. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1928. out := new(AdPlanDetailVo)
  1929. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailUpdate_FullMethodName, in, out, cOpts...)
  1930. if err != nil {
  1931. return nil, err
  1932. }
  1933. return out, nil
  1934. }
  1935. func (c *goPmpClientClient) AdPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  1936. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1937. out := new(Empty)
  1938. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailDel_FullMethodName, in, out, cOpts...)
  1939. if err != nil {
  1940. return nil, err
  1941. }
  1942. return out, nil
  1943. }
  1944. func (c *goPmpClientClient) AdPlanDetailGet(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error) {
  1945. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1946. out := new(AdPlanDetailVo)
  1947. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailGet_FullMethodName, in, out, cOpts...)
  1948. if err != nil {
  1949. return nil, err
  1950. }
  1951. return out, nil
  1952. }
  1953. func (c *goPmpClientClient) AdPlanDetailList(ctx context.Context, in *AdPlanDetailListReq, opts ...grpc.CallOption) (*AdPlanDetailListResp, error) {
  1954. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1955. out := new(AdPlanDetailListResp)
  1956. err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailList_FullMethodName, in, out, cOpts...)
  1957. if err != nil {
  1958. return nil, err
  1959. }
  1960. return out, nil
  1961. }
  1962. func (c *goPmpClientClient) AdGlobalConfigGet(ctx context.Context, in *AdGlobalConfigGetReq, opts ...grpc.CallOption) (*AdGlobalConfigVo, error) {
  1963. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1964. out := new(AdGlobalConfigVo)
  1965. err := c.cc.Invoke(ctx, GoPmpClient_AdGlobalConfigGet_FullMethodName, in, out, cOpts...)
  1966. if err != nil {
  1967. return nil, err
  1968. }
  1969. return out, nil
  1970. }
  1971. func (c *goPmpClientClient) AdGlobalConfigUpdate(ctx context.Context, in *AdGlobalConfigVo, opts ...grpc.CallOption) (*AdGlobalConfigVo, error) {
  1972. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1973. out := new(AdGlobalConfigVo)
  1974. err := c.cc.Invoke(ctx, GoPmpClient_AdGlobalConfigUpdate_FullMethodName, in, out, cOpts...)
  1975. if err != nil {
  1976. return nil, err
  1977. }
  1978. return out, nil
  1979. }
  1980. func (c *goPmpClientClient) JobBatchAdd(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error) {
  1981. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1982. out := new(JobBatchVo)
  1983. err := c.cc.Invoke(ctx, GoPmpClient_JobBatchAdd_FullMethodName, in, out, cOpts...)
  1984. if err != nil {
  1985. return nil, err
  1986. }
  1987. return out, nil
  1988. }
  1989. func (c *goPmpClientClient) JobBatchAddWithTasks(ctx context.Context, in *JobBatchWithTasksVo, opts ...grpc.CallOption) (*JobBatchWithTasksVo, error) {
  1990. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  1991. out := new(JobBatchWithTasksVo)
  1992. err := c.cc.Invoke(ctx, GoPmpClient_JobBatchAddWithTasks_FullMethodName, in, out, cOpts...)
  1993. if err != nil {
  1994. return nil, err
  1995. }
  1996. return out, nil
  1997. }
  1998. func (c *goPmpClientClient) JobBatchUpdate(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error) {
  1999. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2000. out := new(JobBatchVo)
  2001. err := c.cc.Invoke(ctx, GoPmpClient_JobBatchUpdate_FullMethodName, in, out, cOpts...)
  2002. if err != nil {
  2003. return nil, err
  2004. }
  2005. return out, nil
  2006. }
  2007. func (c *goPmpClientClient) JobBatchDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  2008. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2009. out := new(Empty)
  2010. err := c.cc.Invoke(ctx, GoPmpClient_JobBatchDel_FullMethodName, in, out, cOpts...)
  2011. if err != nil {
  2012. return nil, err
  2013. }
  2014. return out, nil
  2015. }
  2016. func (c *goPmpClientClient) JobBatchGet(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error) {
  2017. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2018. out := new(JobBatchVo)
  2019. err := c.cc.Invoke(ctx, GoPmpClient_JobBatchGet_FullMethodName, in, out, cOpts...)
  2020. if err != nil {
  2021. return nil, err
  2022. }
  2023. return out, nil
  2024. }
  2025. func (c *goPmpClientClient) JobBatchGetWithTasks(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchWithTasksVo, error) {
  2026. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2027. out := new(JobBatchWithTasksVo)
  2028. err := c.cc.Invoke(ctx, GoPmpClient_JobBatchGetWithTasks_FullMethodName, in, out, cOpts...)
  2029. if err != nil {
  2030. return nil, err
  2031. }
  2032. return out, nil
  2033. }
  2034. func (c *goPmpClientClient) JobBatchList(ctx context.Context, in *JobBatchListReq, opts ...grpc.CallOption) (*JobBatchListResp, error) {
  2035. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2036. out := new(JobBatchListResp)
  2037. err := c.cc.Invoke(ctx, GoPmpClient_JobBatchList_FullMethodName, in, out, cOpts...)
  2038. if err != nil {
  2039. return nil, err
  2040. }
  2041. return out, nil
  2042. }
  2043. func (c *goPmpClientClient) JobBatchListWithTasks(ctx context.Context, in *JobBatchListReq, opts ...grpc.CallOption) (*JobBatchListWithTasksResp, error) {
  2044. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2045. out := new(JobBatchListWithTasksResp)
  2046. err := c.cc.Invoke(ctx, GoPmpClient_JobBatchListWithTasks_FullMethodName, in, out, cOpts...)
  2047. if err != nil {
  2048. return nil, err
  2049. }
  2050. return out, nil
  2051. }
  2052. func (c *goPmpClientClient) JobTasksAdd(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error) {
  2053. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2054. out := new(JobTasksVo)
  2055. err := c.cc.Invoke(ctx, GoPmpClient_JobTasksAdd_FullMethodName, in, out, cOpts...)
  2056. if err != nil {
  2057. return nil, err
  2058. }
  2059. return out, nil
  2060. }
  2061. func (c *goPmpClientClient) JobTasksUpdate(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error) {
  2062. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2063. out := new(JobTasksVo)
  2064. err := c.cc.Invoke(ctx, GoPmpClient_JobTasksUpdate_FullMethodName, in, out, cOpts...)
  2065. if err != nil {
  2066. return nil, err
  2067. }
  2068. return out, nil
  2069. }
  2070. func (c *goPmpClientClient) JobTasksDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  2071. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2072. out := new(Empty)
  2073. err := c.cc.Invoke(ctx, GoPmpClient_JobTasksDel_FullMethodName, in, out, cOpts...)
  2074. if err != nil {
  2075. return nil, err
  2076. }
  2077. return out, nil
  2078. }
  2079. func (c *goPmpClientClient) JobTasksGet(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error) {
  2080. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2081. out := new(JobTasksVo)
  2082. err := c.cc.Invoke(ctx, GoPmpClient_JobTasksGet_FullMethodName, in, out, cOpts...)
  2083. if err != nil {
  2084. return nil, err
  2085. }
  2086. return out, nil
  2087. }
  2088. func (c *goPmpClientClient) JobTasksList(ctx context.Context, in *JobTasksListReq, opts ...grpc.CallOption) (*JobTasksListResp, error) {
  2089. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2090. out := new(JobTasksListResp)
  2091. err := c.cc.Invoke(ctx, GoPmpClient_JobTasksList_FullMethodName, in, out, cOpts...)
  2092. if err != nil {
  2093. return nil, err
  2094. }
  2095. return out, nil
  2096. }
  2097. func (c *goPmpClientClient) DeployConfigAdd(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error) {
  2098. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2099. out := new(DeployConfigVo)
  2100. err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigAdd_FullMethodName, in, out, cOpts...)
  2101. if err != nil {
  2102. return nil, err
  2103. }
  2104. return out, nil
  2105. }
  2106. func (c *goPmpClientClient) DeployConfigUpdate(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error) {
  2107. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2108. out := new(DeployConfigVo)
  2109. err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigUpdate_FullMethodName, in, out, cOpts...)
  2110. if err != nil {
  2111. return nil, err
  2112. }
  2113. return out, nil
  2114. }
  2115. func (c *goPmpClientClient) DeployConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  2116. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2117. out := new(Empty)
  2118. err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigDel_FullMethodName, in, out, cOpts...)
  2119. if err != nil {
  2120. return nil, err
  2121. }
  2122. return out, nil
  2123. }
  2124. func (c *goPmpClientClient) DeployConfigGet(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error) {
  2125. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2126. out := new(DeployConfigVo)
  2127. err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigGet_FullMethodName, in, out, cOpts...)
  2128. if err != nil {
  2129. return nil, err
  2130. }
  2131. return out, nil
  2132. }
  2133. func (c *goPmpClientClient) DeployConfigList(ctx context.Context, in *DeployConfigListReq, opts ...grpc.CallOption) (*DeployConfigListResp, error) {
  2134. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2135. out := new(DeployConfigListResp)
  2136. err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigList_FullMethodName, in, out, cOpts...)
  2137. if err != nil {
  2138. return nil, err
  2139. }
  2140. return out, nil
  2141. }
  2142. func (c *goPmpClientClient) OperationLogAdd(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error) {
  2143. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2144. out := new(OperationLogVo)
  2145. err := c.cc.Invoke(ctx, GoPmpClient_OperationLogAdd_FullMethodName, in, out, cOpts...)
  2146. if err != nil {
  2147. return nil, err
  2148. }
  2149. return out, nil
  2150. }
  2151. func (c *goPmpClientClient) OperationLogUpdate(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error) {
  2152. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2153. out := new(OperationLogVo)
  2154. err := c.cc.Invoke(ctx, GoPmpClient_OperationLogUpdate_FullMethodName, in, out, cOpts...)
  2155. if err != nil {
  2156. return nil, err
  2157. }
  2158. return out, nil
  2159. }
  2160. func (c *goPmpClientClient) OperationLogGet(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error) {
  2161. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2162. out := new(OperationLogVo)
  2163. err := c.cc.Invoke(ctx, GoPmpClient_OperationLogGet_FullMethodName, in, out, cOpts...)
  2164. if err != nil {
  2165. return nil, err
  2166. }
  2167. return out, nil
  2168. }
  2169. func (c *goPmpClientClient) OperationLogList(ctx context.Context, in *OperationLogListReq, opts ...grpc.CallOption) (*OperationLogListResp, error) {
  2170. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2171. out := new(OperationLogListResp)
  2172. err := c.cc.Invoke(ctx, GoPmpClient_OperationLogList_FullMethodName, in, out, cOpts...)
  2173. if err != nil {
  2174. return nil, err
  2175. }
  2176. return out, nil
  2177. }
  2178. func (c *goPmpClientClient) AnnouncePlanAdd(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error) {
  2179. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2180. out := new(AnnouncePlanVo)
  2181. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanAdd_FullMethodName, in, out, cOpts...)
  2182. if err != nil {
  2183. return nil, err
  2184. }
  2185. return out, nil
  2186. }
  2187. func (c *goPmpClientClient) AnnouncePlanUpdate(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error) {
  2188. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2189. out := new(AnnouncePlanVo)
  2190. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanUpdate_FullMethodName, in, out, cOpts...)
  2191. if err != nil {
  2192. return nil, err
  2193. }
  2194. return out, nil
  2195. }
  2196. func (c *goPmpClientClient) AnnouncePlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  2197. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2198. out := new(Empty)
  2199. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDel_FullMethodName, in, out, cOpts...)
  2200. if err != nil {
  2201. return nil, err
  2202. }
  2203. return out, nil
  2204. }
  2205. func (c *goPmpClientClient) AnnouncePlanGet(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error) {
  2206. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2207. out := new(AnnouncePlanVo)
  2208. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanGet_FullMethodName, in, out, cOpts...)
  2209. if err != nil {
  2210. return nil, err
  2211. }
  2212. return out, nil
  2213. }
  2214. func (c *goPmpClientClient) AnnouncePlanList(ctx context.Context, in *AnnouncePlanListReq, opts ...grpc.CallOption) (*AnnouncePlanListResp, error) {
  2215. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2216. out := new(AnnouncePlanListResp)
  2217. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanList_FullMethodName, in, out, cOpts...)
  2218. if err != nil {
  2219. return nil, err
  2220. }
  2221. return out, nil
  2222. }
  2223. func (c *goPmpClientClient) AnnouncePlanDetailAdd(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error) {
  2224. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2225. out := new(AnnouncePlanDetailVo)
  2226. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailAdd_FullMethodName, in, out, cOpts...)
  2227. if err != nil {
  2228. return nil, err
  2229. }
  2230. return out, nil
  2231. }
  2232. func (c *goPmpClientClient) AnnouncePlanDetailUpdate(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error) {
  2233. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2234. out := new(AnnouncePlanDetailVo)
  2235. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailUpdate_FullMethodName, in, out, cOpts...)
  2236. if err != nil {
  2237. return nil, err
  2238. }
  2239. return out, nil
  2240. }
  2241. func (c *goPmpClientClient) AnnouncePlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  2242. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2243. out := new(Empty)
  2244. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailDel_FullMethodName, in, out, cOpts...)
  2245. if err != nil {
  2246. return nil, err
  2247. }
  2248. return out, nil
  2249. }
  2250. func (c *goPmpClientClient) AnnouncePlanDetailGet(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error) {
  2251. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2252. out := new(AnnouncePlanDetailVo)
  2253. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailGet_FullMethodName, in, out, cOpts...)
  2254. if err != nil {
  2255. return nil, err
  2256. }
  2257. return out, nil
  2258. }
  2259. func (c *goPmpClientClient) AnnouncePlanDetailList(ctx context.Context, in *AnnouncePlanDetailListReq, opts ...grpc.CallOption) (*AnnouncePlanDetailListResp, error) {
  2260. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2261. out := new(AnnouncePlanDetailListResp)
  2262. err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailList_FullMethodName, in, out, cOpts...)
  2263. if err != nil {
  2264. return nil, err
  2265. }
  2266. return out, nil
  2267. }
  2268. func (c *goPmpClientClient) ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesVo, error) {
  2269. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2270. out := new(ServiceTypesVo)
  2271. err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesAdd_FullMethodName, in, out, cOpts...)
  2272. if err != nil {
  2273. return nil, err
  2274. }
  2275. return out, nil
  2276. }
  2277. func (c *goPmpClientClient) ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesVo, error) {
  2278. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2279. out := new(ServiceTypesVo)
  2280. err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesUpdate_FullMethodName, in, out, cOpts...)
  2281. if err != nil {
  2282. return nil, err
  2283. }
  2284. return out, nil
  2285. }
  2286. func (c *goPmpClientClient) ServiceTypesDel(ctx context.Context, in *ServiceTypesDelReq, opts ...grpc.CallOption) (*Empty, error) {
  2287. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2288. out := new(Empty)
  2289. err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesDel_FullMethodName, in, out, cOpts...)
  2290. if err != nil {
  2291. return nil, err
  2292. }
  2293. return out, nil
  2294. }
  2295. func (c *goPmpClientClient) ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesVo, error) {
  2296. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2297. out := new(ServiceTypesVo)
  2298. err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesGet_FullMethodName, in, out, cOpts...)
  2299. if err != nil {
  2300. return nil, err
  2301. }
  2302. return out, nil
  2303. }
  2304. func (c *goPmpClientClient) ServiceTypesList(ctx context.Context, in *ServiceTypesListReq, opts ...grpc.CallOption) (*ServiceTypesListResp, error) {
  2305. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2306. out := new(ServiceTypesListResp)
  2307. err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesList_FullMethodName, in, out, cOpts...)
  2308. if err != nil {
  2309. return nil, err
  2310. }
  2311. return out, nil
  2312. }
  2313. func (c *goPmpClientClient) ServiceSetsAdd(ctx context.Context, in *ServiceSetsAddReq, opts ...grpc.CallOption) (*ServiceSetsVo, error) {
  2314. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2315. out := new(ServiceSetsVo)
  2316. err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsAdd_FullMethodName, in, out, cOpts...)
  2317. if err != nil {
  2318. return nil, err
  2319. }
  2320. return out, nil
  2321. }
  2322. func (c *goPmpClientClient) ServiceSetsUpdate(ctx context.Context, in *ServiceSetsUpdateReq, opts ...grpc.CallOption) (*ServiceSetsVo, error) {
  2323. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2324. out := new(ServiceSetsVo)
  2325. err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsUpdate_FullMethodName, in, out, cOpts...)
  2326. if err != nil {
  2327. return nil, err
  2328. }
  2329. return out, nil
  2330. }
  2331. func (c *goPmpClientClient) ServiceSetsDel(ctx context.Context, in *ServiceSetsDelReq, opts ...grpc.CallOption) (*Empty, error) {
  2332. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2333. out := new(Empty)
  2334. err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsDel_FullMethodName, in, out, cOpts...)
  2335. if err != nil {
  2336. return nil, err
  2337. }
  2338. return out, nil
  2339. }
  2340. func (c *goPmpClientClient) ServiceSetsGet(ctx context.Context, in *ServiceSetsGetReq, opts ...grpc.CallOption) (*ServiceSetsVo, error) {
  2341. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2342. out := new(ServiceSetsVo)
  2343. err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsGet_FullMethodName, in, out, cOpts...)
  2344. if err != nil {
  2345. return nil, err
  2346. }
  2347. return out, nil
  2348. }
  2349. func (c *goPmpClientClient) ServiceSetsList(ctx context.Context, in *ServiceSetsListReq, opts ...grpc.CallOption) (*ServiceSetsListResp, error) {
  2350. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2351. out := new(ServiceSetsListResp)
  2352. err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsList_FullMethodName, in, out, cOpts...)
  2353. if err != nil {
  2354. return nil, err
  2355. }
  2356. return out, nil
  2357. }
  2358. func (c *goPmpClientClient) MessagePushAdd(ctx context.Context, in *MessagePushVo, opts ...grpc.CallOption) (*MessagePushVo, error) {
  2359. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2360. out := new(MessagePushVo)
  2361. err := c.cc.Invoke(ctx, GoPmpClient_MessagePushAdd_FullMethodName, in, out, cOpts...)
  2362. if err != nil {
  2363. return nil, err
  2364. }
  2365. return out, nil
  2366. }
  2367. func (c *goPmpClientClient) MessagePushUpdate(ctx context.Context, in *MessagePushVo, opts ...grpc.CallOption) (*MessagePushVo, error) {
  2368. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2369. out := new(MessagePushVo)
  2370. err := c.cc.Invoke(ctx, GoPmpClient_MessagePushUpdate_FullMethodName, in, out, cOpts...)
  2371. if err != nil {
  2372. return nil, err
  2373. }
  2374. return out, nil
  2375. }
  2376. func (c *goPmpClientClient) MessagePushList(ctx context.Context, in *MessagePushListReq, opts ...grpc.CallOption) (*MessagePushListResp, error) {
  2377. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  2378. out := new(MessagePushListResp)
  2379. err := c.cc.Invoke(ctx, GoPmpClient_MessagePushList_FullMethodName, in, out, cOpts...)
  2380. if err != nil {
  2381. return nil, err
  2382. }
  2383. return out, nil
  2384. }
  2385. // GoPmpClientServer is the server API for GoPmpClient service.
  2386. // All implementations must embed UnimplementedGoPmpClientServer
  2387. // for forward compatibility.
  2388. //
  2389. // 基础服务: 产品管理,产品配置,升级配置、更新资源管理,资源版本管理,全局配置
  2390. type GoPmpClientServer interface {
  2391. Ping(context.Context, *Request) (*Response, error)
  2392. // GlobalParamVo
  2393. GlobalParamAdd(context.Context, *GlobalParamVo) (*GlobalParamVo, error)
  2394. GlobalParamUpdate(context.Context, *GlobalParamVo) (*GlobalParamVo, error)
  2395. GlobalParamDel(context.Context, *Ids) (*Empty, error)
  2396. GlobalParamGet(context.Context, *GlobalParamVo) (*GlobalParamVo, error)
  2397. GlobalParamGetWithLang(context.Context, *GlobalParamGetReq) (*GlobalParamVo, error)
  2398. GlobalParamList(context.Context, *GlobalParamListReq) (*GlobalParamListResp, error)
  2399. // ProductVo
  2400. ProductAdd(context.Context, *ProductVo) (*ProductVo, error)
  2401. ProductUpdate(context.Context, *ProductVo) (*ProductVo, error)
  2402. ProductDel(context.Context, *Ids) (*Empty, error)
  2403. ProductGet(context.Context, *ProductVo) (*ProductVo, error)
  2404. ProductList(context.Context, *ProductListReq) (*ProductListResp, error)
  2405. ProductAll(context.Context, *Request) (*ProductListResp, error)
  2406. // ProductParamVo
  2407. ProductParamAdd(context.Context, *ProductParamVo) (*ProductParamVo, error)
  2408. ProductParamUpdate(context.Context, *ProductParamVo) (*ProductParamVo, error)
  2409. ProductParamDel(context.Context, *Ids) (*Empty, error)
  2410. ProductParamGet(context.Context, *ProductParamVo) (*ProductParamVo, error)
  2411. ProductParamGetWithLang(context.Context, *ProductParamGetReq) (*ProductParamVo, error)
  2412. ProductParamList(context.Context, *ProductParamListReq) (*ProductParamListResp, error)
  2413. // ProductAction 产品行为配置
  2414. ProductActionAdd(context.Context, *ProductActionVo) (*ProductActionVo, error)
  2415. ProductActionUpdate(context.Context, *ProductActionVo) (*ProductActionVo, error)
  2416. ProductActionDel(context.Context, *Ids) (*Empty, error)
  2417. ProductActionGet(context.Context, *ProductActionReq) (*ProductActionVo, error)
  2418. ProductActionList(context.Context, *ProductActionListReq) (*ProductActionListResp, error)
  2419. // AreaParamVo
  2420. AreaParamAdd(context.Context, *AreaParamVo) (*AreaParamVo, error)
  2421. AreaParamUpdate(context.Context, *AreaParamVo) (*AreaParamVo, error)
  2422. AreaParamDel(context.Context, *Ids) (*Empty, error)
  2423. AreaParamGet(context.Context, *AreaParamVo) (*AreaParamVo, error)
  2424. AreaParamList(context.Context, *AreaParamListReq) (*AreaParamListResp, error)
  2425. // NationalLanguage
  2426. NationalLanguageAdd(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error)
  2427. NationalLanguageUpdate(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error)
  2428. NationalLanguageDel(context.Context, *Ids) (*Empty, error)
  2429. NationalLanguageGet(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error)
  2430. NationalLanguageList(context.Context, *NationalLanguageListReq) (*NationalLanguageListResp, error)
  2431. // Tip
  2432. TipAdd(context.Context, *TipVo) (*TipVo, error)
  2433. TipUpdate(context.Context, *TipVo) (*TipVo, error)
  2434. TipDel(context.Context, *Ids) (*Empty, error)
  2435. TipGet(context.Context, *TipGetReq) (*TipVo, error)
  2436. TipList(context.Context, *TipListReq) (*TipListResp, error)
  2437. // Dict
  2438. DictAdd(context.Context, *DictVo) (*DictVo, error)
  2439. DictUpdate(context.Context, *DictVo) (*DictVo, error)
  2440. DictDel(context.Context, *Ids) (*Empty, error)
  2441. DictGet(context.Context, *DictGetReq) (*DictVo, error)
  2442. DictList(context.Context, *DictListReq) (*DictListResp, error)
  2443. // UpgradePkgPlan
  2444. UpgradePkgPlanAdd(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error)
  2445. UpgradePkgPlanUpdate(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error)
  2446. UpgradePkgPlanDel(context.Context, *Ids) (*Empty, error)
  2447. UpgradePkgPlanGet(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error)
  2448. UpgradePkgPlanList(context.Context, *UpgradePkgPlanListReq) (*UpgradePkgPlanListResp, error)
  2449. // UpgradePkgPlanDetail
  2450. UpgradePkgPlanDetailAdd(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error)
  2451. UpgradePkgPlanDetailUpdate(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error)
  2452. UpgradePkgPlanDetailDel(context.Context, *Ids) (*Empty, error)
  2453. UpgradePkgPlanDetailGet(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error)
  2454. UpgradePkgPlanDetailList(context.Context, *UpgradePkgPlanDetailListReq) (*UpgradePkgPlanDetailListResp, error)
  2455. // UpgradeResPlan
  2456. UpgradeResPlanAdd(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error)
  2457. UpgradeResPlanUpdate(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error)
  2458. UpgradeResPlanDel(context.Context, *Ids) (*Empty, error)
  2459. UpgradeResPlanGet(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error)
  2460. UpgradeResPlanList(context.Context, *UpgradeResPlanListReq) (*UpgradeResPlanListResp, error)
  2461. // UpgradeResPlanDetail
  2462. UpgradeResPlanDetailAdd(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error)
  2463. UpgradeResPlanDetailUpdate(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error)
  2464. UpgradeResPlanDetailDel(context.Context, *Ids) (*Empty, error)
  2465. UpgradeResPlanDetailGet(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error)
  2466. UpgradeResPlanDetailList(context.Context, *UpgradeResPlanDetailListReq) (*UpgradeResPlanDetailListResp, error)
  2467. // AdPlan
  2468. AdPlanAdd(context.Context, *AdPlanVo) (*AdPlanVo, error)
  2469. AdPlanUpdate(context.Context, *AdPlanVo) (*AdPlanVo, error)
  2470. AdPlanDel(context.Context, *Ids) (*Empty, error)
  2471. AdPlanGet(context.Context, *AdPlanVo) (*AdPlanVo, error)
  2472. AdPlanList(context.Context, *AdPlanListReq) (*AdPlanListResp, error)
  2473. // AdPlanDetail
  2474. AdPlanDetailAdd(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error)
  2475. AdPlanDetailUpdate(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error)
  2476. AdPlanDetailDel(context.Context, *Ids) (*Empty, error)
  2477. AdPlanDetailGet(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error)
  2478. AdPlanDetailList(context.Context, *AdPlanDetailListReq) (*AdPlanDetailListResp, error)
  2479. // AdGlobalConfig
  2480. AdGlobalConfigGet(context.Context, *AdGlobalConfigGetReq) (*AdGlobalConfigVo, error)
  2481. AdGlobalConfigUpdate(context.Context, *AdGlobalConfigVo) (*AdGlobalConfigVo, error)
  2482. // JobBatch
  2483. JobBatchAdd(context.Context, *JobBatchVo) (*JobBatchVo, error)
  2484. JobBatchAddWithTasks(context.Context, *JobBatchWithTasksVo) (*JobBatchWithTasksVo, error)
  2485. JobBatchUpdate(context.Context, *JobBatchVo) (*JobBatchVo, error)
  2486. JobBatchDel(context.Context, *Ids) (*Empty, error)
  2487. JobBatchGet(context.Context, *JobBatchVo) (*JobBatchVo, error)
  2488. JobBatchGetWithTasks(context.Context, *JobBatchVo) (*JobBatchWithTasksVo, error)
  2489. JobBatchList(context.Context, *JobBatchListReq) (*JobBatchListResp, error)
  2490. JobBatchListWithTasks(context.Context, *JobBatchListReq) (*JobBatchListWithTasksResp, error)
  2491. // JobTasks
  2492. JobTasksAdd(context.Context, *JobTasksVo) (*JobTasksVo, error)
  2493. JobTasksUpdate(context.Context, *JobTasksVo) (*JobTasksVo, error)
  2494. JobTasksDel(context.Context, *Ids) (*Empty, error)
  2495. JobTasksGet(context.Context, *JobTasksVo) (*JobTasksVo, error)
  2496. JobTasksList(context.Context, *JobTasksListReq) (*JobTasksListResp, error)
  2497. // DeployConfig
  2498. DeployConfigAdd(context.Context, *DeployConfigVo) (*DeployConfigVo, error)
  2499. DeployConfigUpdate(context.Context, *DeployConfigVo) (*DeployConfigVo, error)
  2500. DeployConfigDel(context.Context, *Ids) (*Empty, error)
  2501. DeployConfigGet(context.Context, *DeployConfigVo) (*DeployConfigVo, error)
  2502. DeployConfigList(context.Context, *DeployConfigListReq) (*DeployConfigListResp, error)
  2503. // OperationLog
  2504. OperationLogAdd(context.Context, *OperationLogVo) (*OperationLogVo, error)
  2505. OperationLogUpdate(context.Context, *OperationLogVo) (*OperationLogVo, error)
  2506. OperationLogGet(context.Context, *OperationLogVo) (*OperationLogVo, error)
  2507. OperationLogList(context.Context, *OperationLogListReq) (*OperationLogListResp, error)
  2508. // AnnouncePlan
  2509. AnnouncePlanAdd(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error)
  2510. AnnouncePlanUpdate(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error)
  2511. AnnouncePlanDel(context.Context, *Ids) (*Empty, error)
  2512. AnnouncePlanGet(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error)
  2513. AnnouncePlanList(context.Context, *AnnouncePlanListReq) (*AnnouncePlanListResp, error)
  2514. // AnnouncePlanDetail
  2515. AnnouncePlanDetailAdd(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error)
  2516. AnnouncePlanDetailUpdate(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error)
  2517. AnnouncePlanDetailDel(context.Context, *Ids) (*Empty, error)
  2518. AnnouncePlanDetailGet(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error)
  2519. AnnouncePlanDetailList(context.Context, *AnnouncePlanDetailListReq) (*AnnouncePlanDetailListResp, error)
  2520. // ServiceTypes
  2521. ServiceTypesAdd(context.Context, *ServiceTypesAddReq) (*ServiceTypesVo, error)
  2522. ServiceTypesUpdate(context.Context, *ServiceTypesUpdateReq) (*ServiceTypesVo, error)
  2523. ServiceTypesDel(context.Context, *ServiceTypesDelReq) (*Empty, error)
  2524. ServiceTypesGet(context.Context, *ServiceTypesGetReq) (*ServiceTypesVo, error)
  2525. ServiceTypesList(context.Context, *ServiceTypesListReq) (*ServiceTypesListResp, error)
  2526. // ServiceSets
  2527. ServiceSetsAdd(context.Context, *ServiceSetsAddReq) (*ServiceSetsVo, error)
  2528. ServiceSetsUpdate(context.Context, *ServiceSetsUpdateReq) (*ServiceSetsVo, error)
  2529. ServiceSetsDel(context.Context, *ServiceSetsDelReq) (*Empty, error)
  2530. ServiceSetsGet(context.Context, *ServiceSetsGetReq) (*ServiceSetsVo, error)
  2531. ServiceSetsList(context.Context, *ServiceSetsListReq) (*ServiceSetsListResp, error)
  2532. // MessagePush
  2533. MessagePushAdd(context.Context, *MessagePushVo) (*MessagePushVo, error)
  2534. MessagePushUpdate(context.Context, *MessagePushVo) (*MessagePushVo, error)
  2535. MessagePushList(context.Context, *MessagePushListReq) (*MessagePushListResp, error)
  2536. mustEmbedUnimplementedGoPmpClientServer()
  2537. }
  2538. // UnimplementedGoPmpClientServer must be embedded to have
  2539. // forward compatible implementations.
  2540. //
  2541. // NOTE: this should be embedded by value instead of pointer to avoid a nil
  2542. // pointer dereference when methods are called.
  2543. type UnimplementedGoPmpClientServer struct{}
  2544. func (UnimplementedGoPmpClientServer) Ping(context.Context, *Request) (*Response, error) {
  2545. return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
  2546. }
  2547. func (UnimplementedGoPmpClientServer) GlobalParamAdd(context.Context, *GlobalParamVo) (*GlobalParamVo, error) {
  2548. return nil, status.Errorf(codes.Unimplemented, "method GlobalParamAdd not implemented")
  2549. }
  2550. func (UnimplementedGoPmpClientServer) GlobalParamUpdate(context.Context, *GlobalParamVo) (*GlobalParamVo, error) {
  2551. return nil, status.Errorf(codes.Unimplemented, "method GlobalParamUpdate not implemented")
  2552. }
  2553. func (UnimplementedGoPmpClientServer) GlobalParamDel(context.Context, *Ids) (*Empty, error) {
  2554. return nil, status.Errorf(codes.Unimplemented, "method GlobalParamDel not implemented")
  2555. }
  2556. func (UnimplementedGoPmpClientServer) GlobalParamGet(context.Context, *GlobalParamVo) (*GlobalParamVo, error) {
  2557. return nil, status.Errorf(codes.Unimplemented, "method GlobalParamGet not implemented")
  2558. }
  2559. func (UnimplementedGoPmpClientServer) GlobalParamGetWithLang(context.Context, *GlobalParamGetReq) (*GlobalParamVo, error) {
  2560. return nil, status.Errorf(codes.Unimplemented, "method GlobalParamGetWithLang not implemented")
  2561. }
  2562. func (UnimplementedGoPmpClientServer) GlobalParamList(context.Context, *GlobalParamListReq) (*GlobalParamListResp, error) {
  2563. return nil, status.Errorf(codes.Unimplemented, "method GlobalParamList not implemented")
  2564. }
  2565. func (UnimplementedGoPmpClientServer) ProductAdd(context.Context, *ProductVo) (*ProductVo, error) {
  2566. return nil, status.Errorf(codes.Unimplemented, "method ProductAdd not implemented")
  2567. }
  2568. func (UnimplementedGoPmpClientServer) ProductUpdate(context.Context, *ProductVo) (*ProductVo, error) {
  2569. return nil, status.Errorf(codes.Unimplemented, "method ProductUpdate not implemented")
  2570. }
  2571. func (UnimplementedGoPmpClientServer) ProductDel(context.Context, *Ids) (*Empty, error) {
  2572. return nil, status.Errorf(codes.Unimplemented, "method ProductDel not implemented")
  2573. }
  2574. func (UnimplementedGoPmpClientServer) ProductGet(context.Context, *ProductVo) (*ProductVo, error) {
  2575. return nil, status.Errorf(codes.Unimplemented, "method ProductGet not implemented")
  2576. }
  2577. func (UnimplementedGoPmpClientServer) ProductList(context.Context, *ProductListReq) (*ProductListResp, error) {
  2578. return nil, status.Errorf(codes.Unimplemented, "method ProductList not implemented")
  2579. }
  2580. func (UnimplementedGoPmpClientServer) ProductAll(context.Context, *Request) (*ProductListResp, error) {
  2581. return nil, status.Errorf(codes.Unimplemented, "method ProductAll not implemented")
  2582. }
  2583. func (UnimplementedGoPmpClientServer) ProductParamAdd(context.Context, *ProductParamVo) (*ProductParamVo, error) {
  2584. return nil, status.Errorf(codes.Unimplemented, "method ProductParamAdd not implemented")
  2585. }
  2586. func (UnimplementedGoPmpClientServer) ProductParamUpdate(context.Context, *ProductParamVo) (*ProductParamVo, error) {
  2587. return nil, status.Errorf(codes.Unimplemented, "method ProductParamUpdate not implemented")
  2588. }
  2589. func (UnimplementedGoPmpClientServer) ProductParamDel(context.Context, *Ids) (*Empty, error) {
  2590. return nil, status.Errorf(codes.Unimplemented, "method ProductParamDel not implemented")
  2591. }
  2592. func (UnimplementedGoPmpClientServer) ProductParamGet(context.Context, *ProductParamVo) (*ProductParamVo, error) {
  2593. return nil, status.Errorf(codes.Unimplemented, "method ProductParamGet not implemented")
  2594. }
  2595. func (UnimplementedGoPmpClientServer) ProductParamGetWithLang(context.Context, *ProductParamGetReq) (*ProductParamVo, error) {
  2596. return nil, status.Errorf(codes.Unimplemented, "method ProductParamGetWithLang not implemented")
  2597. }
  2598. func (UnimplementedGoPmpClientServer) ProductParamList(context.Context, *ProductParamListReq) (*ProductParamListResp, error) {
  2599. return nil, status.Errorf(codes.Unimplemented, "method ProductParamList not implemented")
  2600. }
  2601. func (UnimplementedGoPmpClientServer) ProductActionAdd(context.Context, *ProductActionVo) (*ProductActionVo, error) {
  2602. return nil, status.Errorf(codes.Unimplemented, "method ProductActionAdd not implemented")
  2603. }
  2604. func (UnimplementedGoPmpClientServer) ProductActionUpdate(context.Context, *ProductActionVo) (*ProductActionVo, error) {
  2605. return nil, status.Errorf(codes.Unimplemented, "method ProductActionUpdate not implemented")
  2606. }
  2607. func (UnimplementedGoPmpClientServer) ProductActionDel(context.Context, *Ids) (*Empty, error) {
  2608. return nil, status.Errorf(codes.Unimplemented, "method ProductActionDel not implemented")
  2609. }
  2610. func (UnimplementedGoPmpClientServer) ProductActionGet(context.Context, *ProductActionReq) (*ProductActionVo, error) {
  2611. return nil, status.Errorf(codes.Unimplemented, "method ProductActionGet not implemented")
  2612. }
  2613. func (UnimplementedGoPmpClientServer) ProductActionList(context.Context, *ProductActionListReq) (*ProductActionListResp, error) {
  2614. return nil, status.Errorf(codes.Unimplemented, "method ProductActionList not implemented")
  2615. }
  2616. func (UnimplementedGoPmpClientServer) AreaParamAdd(context.Context, *AreaParamVo) (*AreaParamVo, error) {
  2617. return nil, status.Errorf(codes.Unimplemented, "method AreaParamAdd not implemented")
  2618. }
  2619. func (UnimplementedGoPmpClientServer) AreaParamUpdate(context.Context, *AreaParamVo) (*AreaParamVo, error) {
  2620. return nil, status.Errorf(codes.Unimplemented, "method AreaParamUpdate not implemented")
  2621. }
  2622. func (UnimplementedGoPmpClientServer) AreaParamDel(context.Context, *Ids) (*Empty, error) {
  2623. return nil, status.Errorf(codes.Unimplemented, "method AreaParamDel not implemented")
  2624. }
  2625. func (UnimplementedGoPmpClientServer) AreaParamGet(context.Context, *AreaParamVo) (*AreaParamVo, error) {
  2626. return nil, status.Errorf(codes.Unimplemented, "method AreaParamGet not implemented")
  2627. }
  2628. func (UnimplementedGoPmpClientServer) AreaParamList(context.Context, *AreaParamListReq) (*AreaParamListResp, error) {
  2629. return nil, status.Errorf(codes.Unimplemented, "method AreaParamList not implemented")
  2630. }
  2631. func (UnimplementedGoPmpClientServer) NationalLanguageAdd(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error) {
  2632. return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageAdd not implemented")
  2633. }
  2634. func (UnimplementedGoPmpClientServer) NationalLanguageUpdate(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error) {
  2635. return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageUpdate not implemented")
  2636. }
  2637. func (UnimplementedGoPmpClientServer) NationalLanguageDel(context.Context, *Ids) (*Empty, error) {
  2638. return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageDel not implemented")
  2639. }
  2640. func (UnimplementedGoPmpClientServer) NationalLanguageGet(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error) {
  2641. return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageGet not implemented")
  2642. }
  2643. func (UnimplementedGoPmpClientServer) NationalLanguageList(context.Context, *NationalLanguageListReq) (*NationalLanguageListResp, error) {
  2644. return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageList not implemented")
  2645. }
  2646. func (UnimplementedGoPmpClientServer) TipAdd(context.Context, *TipVo) (*TipVo, error) {
  2647. return nil, status.Errorf(codes.Unimplemented, "method TipAdd not implemented")
  2648. }
  2649. func (UnimplementedGoPmpClientServer) TipUpdate(context.Context, *TipVo) (*TipVo, error) {
  2650. return nil, status.Errorf(codes.Unimplemented, "method TipUpdate not implemented")
  2651. }
  2652. func (UnimplementedGoPmpClientServer) TipDel(context.Context, *Ids) (*Empty, error) {
  2653. return nil, status.Errorf(codes.Unimplemented, "method TipDel not implemented")
  2654. }
  2655. func (UnimplementedGoPmpClientServer) TipGet(context.Context, *TipGetReq) (*TipVo, error) {
  2656. return nil, status.Errorf(codes.Unimplemented, "method TipGet not implemented")
  2657. }
  2658. func (UnimplementedGoPmpClientServer) TipList(context.Context, *TipListReq) (*TipListResp, error) {
  2659. return nil, status.Errorf(codes.Unimplemented, "method TipList not implemented")
  2660. }
  2661. func (UnimplementedGoPmpClientServer) DictAdd(context.Context, *DictVo) (*DictVo, error) {
  2662. return nil, status.Errorf(codes.Unimplemented, "method DictAdd not implemented")
  2663. }
  2664. func (UnimplementedGoPmpClientServer) DictUpdate(context.Context, *DictVo) (*DictVo, error) {
  2665. return nil, status.Errorf(codes.Unimplemented, "method DictUpdate not implemented")
  2666. }
  2667. func (UnimplementedGoPmpClientServer) DictDel(context.Context, *Ids) (*Empty, error) {
  2668. return nil, status.Errorf(codes.Unimplemented, "method DictDel not implemented")
  2669. }
  2670. func (UnimplementedGoPmpClientServer) DictGet(context.Context, *DictGetReq) (*DictVo, error) {
  2671. return nil, status.Errorf(codes.Unimplemented, "method DictGet not implemented")
  2672. }
  2673. func (UnimplementedGoPmpClientServer) DictList(context.Context, *DictListReq) (*DictListResp, error) {
  2674. return nil, status.Errorf(codes.Unimplemented, "method DictList not implemented")
  2675. }
  2676. func (UnimplementedGoPmpClientServer) UpgradePkgPlanAdd(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error) {
  2677. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanAdd not implemented")
  2678. }
  2679. func (UnimplementedGoPmpClientServer) UpgradePkgPlanUpdate(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error) {
  2680. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanUpdate not implemented")
  2681. }
  2682. func (UnimplementedGoPmpClientServer) UpgradePkgPlanDel(context.Context, *Ids) (*Empty, error) {
  2683. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDel not implemented")
  2684. }
  2685. func (UnimplementedGoPmpClientServer) UpgradePkgPlanGet(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error) {
  2686. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanGet not implemented")
  2687. }
  2688. func (UnimplementedGoPmpClientServer) UpgradePkgPlanList(context.Context, *UpgradePkgPlanListReq) (*UpgradePkgPlanListResp, error) {
  2689. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanList not implemented")
  2690. }
  2691. func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailAdd(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error) {
  2692. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailAdd not implemented")
  2693. }
  2694. func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailUpdate(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error) {
  2695. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailUpdate not implemented")
  2696. }
  2697. func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailDel(context.Context, *Ids) (*Empty, error) {
  2698. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailDel not implemented")
  2699. }
  2700. func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailGet(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error) {
  2701. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailGet not implemented")
  2702. }
  2703. func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailList(context.Context, *UpgradePkgPlanDetailListReq) (*UpgradePkgPlanDetailListResp, error) {
  2704. return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailList not implemented")
  2705. }
  2706. func (UnimplementedGoPmpClientServer) UpgradeResPlanAdd(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error) {
  2707. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanAdd not implemented")
  2708. }
  2709. func (UnimplementedGoPmpClientServer) UpgradeResPlanUpdate(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error) {
  2710. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanUpdate not implemented")
  2711. }
  2712. func (UnimplementedGoPmpClientServer) UpgradeResPlanDel(context.Context, *Ids) (*Empty, error) {
  2713. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDel not implemented")
  2714. }
  2715. func (UnimplementedGoPmpClientServer) UpgradeResPlanGet(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error) {
  2716. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanGet not implemented")
  2717. }
  2718. func (UnimplementedGoPmpClientServer) UpgradeResPlanList(context.Context, *UpgradeResPlanListReq) (*UpgradeResPlanListResp, error) {
  2719. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanList not implemented")
  2720. }
  2721. func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailAdd(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error) {
  2722. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailAdd not implemented")
  2723. }
  2724. func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailUpdate(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error) {
  2725. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailUpdate not implemented")
  2726. }
  2727. func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailDel(context.Context, *Ids) (*Empty, error) {
  2728. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailDel not implemented")
  2729. }
  2730. func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailGet(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error) {
  2731. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailGet not implemented")
  2732. }
  2733. func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailList(context.Context, *UpgradeResPlanDetailListReq) (*UpgradeResPlanDetailListResp, error) {
  2734. return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailList not implemented")
  2735. }
  2736. func (UnimplementedGoPmpClientServer) AdPlanAdd(context.Context, *AdPlanVo) (*AdPlanVo, error) {
  2737. return nil, status.Errorf(codes.Unimplemented, "method AdPlanAdd not implemented")
  2738. }
  2739. func (UnimplementedGoPmpClientServer) AdPlanUpdate(context.Context, *AdPlanVo) (*AdPlanVo, error) {
  2740. return nil, status.Errorf(codes.Unimplemented, "method AdPlanUpdate not implemented")
  2741. }
  2742. func (UnimplementedGoPmpClientServer) AdPlanDel(context.Context, *Ids) (*Empty, error) {
  2743. return nil, status.Errorf(codes.Unimplemented, "method AdPlanDel not implemented")
  2744. }
  2745. func (UnimplementedGoPmpClientServer) AdPlanGet(context.Context, *AdPlanVo) (*AdPlanVo, error) {
  2746. return nil, status.Errorf(codes.Unimplemented, "method AdPlanGet not implemented")
  2747. }
  2748. func (UnimplementedGoPmpClientServer) AdPlanList(context.Context, *AdPlanListReq) (*AdPlanListResp, error) {
  2749. return nil, status.Errorf(codes.Unimplemented, "method AdPlanList not implemented")
  2750. }
  2751. func (UnimplementedGoPmpClientServer) AdPlanDetailAdd(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error) {
  2752. return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailAdd not implemented")
  2753. }
  2754. func (UnimplementedGoPmpClientServer) AdPlanDetailUpdate(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error) {
  2755. return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailUpdate not implemented")
  2756. }
  2757. func (UnimplementedGoPmpClientServer) AdPlanDetailDel(context.Context, *Ids) (*Empty, error) {
  2758. return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailDel not implemented")
  2759. }
  2760. func (UnimplementedGoPmpClientServer) AdPlanDetailGet(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error) {
  2761. return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailGet not implemented")
  2762. }
  2763. func (UnimplementedGoPmpClientServer) AdPlanDetailList(context.Context, *AdPlanDetailListReq) (*AdPlanDetailListResp, error) {
  2764. return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailList not implemented")
  2765. }
  2766. func (UnimplementedGoPmpClientServer) AdGlobalConfigGet(context.Context, *AdGlobalConfigGetReq) (*AdGlobalConfigVo, error) {
  2767. return nil, status.Errorf(codes.Unimplemented, "method AdGlobalConfigGet not implemented")
  2768. }
  2769. func (UnimplementedGoPmpClientServer) AdGlobalConfigUpdate(context.Context, *AdGlobalConfigVo) (*AdGlobalConfigVo, error) {
  2770. return nil, status.Errorf(codes.Unimplemented, "method AdGlobalConfigUpdate not implemented")
  2771. }
  2772. func (UnimplementedGoPmpClientServer) JobBatchAdd(context.Context, *JobBatchVo) (*JobBatchVo, error) {
  2773. return nil, status.Errorf(codes.Unimplemented, "method JobBatchAdd not implemented")
  2774. }
  2775. func (UnimplementedGoPmpClientServer) JobBatchAddWithTasks(context.Context, *JobBatchWithTasksVo) (*JobBatchWithTasksVo, error) {
  2776. return nil, status.Errorf(codes.Unimplemented, "method JobBatchAddWithTasks not implemented")
  2777. }
  2778. func (UnimplementedGoPmpClientServer) JobBatchUpdate(context.Context, *JobBatchVo) (*JobBatchVo, error) {
  2779. return nil, status.Errorf(codes.Unimplemented, "method JobBatchUpdate not implemented")
  2780. }
  2781. func (UnimplementedGoPmpClientServer) JobBatchDel(context.Context, *Ids) (*Empty, error) {
  2782. return nil, status.Errorf(codes.Unimplemented, "method JobBatchDel not implemented")
  2783. }
  2784. func (UnimplementedGoPmpClientServer) JobBatchGet(context.Context, *JobBatchVo) (*JobBatchVo, error) {
  2785. return nil, status.Errorf(codes.Unimplemented, "method JobBatchGet not implemented")
  2786. }
  2787. func (UnimplementedGoPmpClientServer) JobBatchGetWithTasks(context.Context, *JobBatchVo) (*JobBatchWithTasksVo, error) {
  2788. return nil, status.Errorf(codes.Unimplemented, "method JobBatchGetWithTasks not implemented")
  2789. }
  2790. func (UnimplementedGoPmpClientServer) JobBatchList(context.Context, *JobBatchListReq) (*JobBatchListResp, error) {
  2791. return nil, status.Errorf(codes.Unimplemented, "method JobBatchList not implemented")
  2792. }
  2793. func (UnimplementedGoPmpClientServer) JobBatchListWithTasks(context.Context, *JobBatchListReq) (*JobBatchListWithTasksResp, error) {
  2794. return nil, status.Errorf(codes.Unimplemented, "method JobBatchListWithTasks not implemented")
  2795. }
  2796. func (UnimplementedGoPmpClientServer) JobTasksAdd(context.Context, *JobTasksVo) (*JobTasksVo, error) {
  2797. return nil, status.Errorf(codes.Unimplemented, "method JobTasksAdd not implemented")
  2798. }
  2799. func (UnimplementedGoPmpClientServer) JobTasksUpdate(context.Context, *JobTasksVo) (*JobTasksVo, error) {
  2800. return nil, status.Errorf(codes.Unimplemented, "method JobTasksUpdate not implemented")
  2801. }
  2802. func (UnimplementedGoPmpClientServer) JobTasksDel(context.Context, *Ids) (*Empty, error) {
  2803. return nil, status.Errorf(codes.Unimplemented, "method JobTasksDel not implemented")
  2804. }
  2805. func (UnimplementedGoPmpClientServer) JobTasksGet(context.Context, *JobTasksVo) (*JobTasksVo, error) {
  2806. return nil, status.Errorf(codes.Unimplemented, "method JobTasksGet not implemented")
  2807. }
  2808. func (UnimplementedGoPmpClientServer) JobTasksList(context.Context, *JobTasksListReq) (*JobTasksListResp, error) {
  2809. return nil, status.Errorf(codes.Unimplemented, "method JobTasksList not implemented")
  2810. }
  2811. func (UnimplementedGoPmpClientServer) DeployConfigAdd(context.Context, *DeployConfigVo) (*DeployConfigVo, error) {
  2812. return nil, status.Errorf(codes.Unimplemented, "method DeployConfigAdd not implemented")
  2813. }
  2814. func (UnimplementedGoPmpClientServer) DeployConfigUpdate(context.Context, *DeployConfigVo) (*DeployConfigVo, error) {
  2815. return nil, status.Errorf(codes.Unimplemented, "method DeployConfigUpdate not implemented")
  2816. }
  2817. func (UnimplementedGoPmpClientServer) DeployConfigDel(context.Context, *Ids) (*Empty, error) {
  2818. return nil, status.Errorf(codes.Unimplemented, "method DeployConfigDel not implemented")
  2819. }
  2820. func (UnimplementedGoPmpClientServer) DeployConfigGet(context.Context, *DeployConfigVo) (*DeployConfigVo, error) {
  2821. return nil, status.Errorf(codes.Unimplemented, "method DeployConfigGet not implemented")
  2822. }
  2823. func (UnimplementedGoPmpClientServer) DeployConfigList(context.Context, *DeployConfigListReq) (*DeployConfigListResp, error) {
  2824. return nil, status.Errorf(codes.Unimplemented, "method DeployConfigList not implemented")
  2825. }
  2826. func (UnimplementedGoPmpClientServer) OperationLogAdd(context.Context, *OperationLogVo) (*OperationLogVo, error) {
  2827. return nil, status.Errorf(codes.Unimplemented, "method OperationLogAdd not implemented")
  2828. }
  2829. func (UnimplementedGoPmpClientServer) OperationLogUpdate(context.Context, *OperationLogVo) (*OperationLogVo, error) {
  2830. return nil, status.Errorf(codes.Unimplemented, "method OperationLogUpdate not implemented")
  2831. }
  2832. func (UnimplementedGoPmpClientServer) OperationLogGet(context.Context, *OperationLogVo) (*OperationLogVo, error) {
  2833. return nil, status.Errorf(codes.Unimplemented, "method OperationLogGet not implemented")
  2834. }
  2835. func (UnimplementedGoPmpClientServer) OperationLogList(context.Context, *OperationLogListReq) (*OperationLogListResp, error) {
  2836. return nil, status.Errorf(codes.Unimplemented, "method OperationLogList not implemented")
  2837. }
  2838. func (UnimplementedGoPmpClientServer) AnnouncePlanAdd(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error) {
  2839. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanAdd not implemented")
  2840. }
  2841. func (UnimplementedGoPmpClientServer) AnnouncePlanUpdate(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error) {
  2842. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanUpdate not implemented")
  2843. }
  2844. func (UnimplementedGoPmpClientServer) AnnouncePlanDel(context.Context, *Ids) (*Empty, error) {
  2845. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDel not implemented")
  2846. }
  2847. func (UnimplementedGoPmpClientServer) AnnouncePlanGet(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error) {
  2848. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanGet not implemented")
  2849. }
  2850. func (UnimplementedGoPmpClientServer) AnnouncePlanList(context.Context, *AnnouncePlanListReq) (*AnnouncePlanListResp, error) {
  2851. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanList not implemented")
  2852. }
  2853. func (UnimplementedGoPmpClientServer) AnnouncePlanDetailAdd(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error) {
  2854. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailAdd not implemented")
  2855. }
  2856. func (UnimplementedGoPmpClientServer) AnnouncePlanDetailUpdate(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error) {
  2857. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailUpdate not implemented")
  2858. }
  2859. func (UnimplementedGoPmpClientServer) AnnouncePlanDetailDel(context.Context, *Ids) (*Empty, error) {
  2860. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailDel not implemented")
  2861. }
  2862. func (UnimplementedGoPmpClientServer) AnnouncePlanDetailGet(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error) {
  2863. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailGet not implemented")
  2864. }
  2865. func (UnimplementedGoPmpClientServer) AnnouncePlanDetailList(context.Context, *AnnouncePlanDetailListReq) (*AnnouncePlanDetailListResp, error) {
  2866. return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailList not implemented")
  2867. }
  2868. func (UnimplementedGoPmpClientServer) ServiceTypesAdd(context.Context, *ServiceTypesAddReq) (*ServiceTypesVo, error) {
  2869. return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesAdd not implemented")
  2870. }
  2871. func (UnimplementedGoPmpClientServer) ServiceTypesUpdate(context.Context, *ServiceTypesUpdateReq) (*ServiceTypesVo, error) {
  2872. return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesUpdate not implemented")
  2873. }
  2874. func (UnimplementedGoPmpClientServer) ServiceTypesDel(context.Context, *ServiceTypesDelReq) (*Empty, error) {
  2875. return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesDel not implemented")
  2876. }
  2877. func (UnimplementedGoPmpClientServer) ServiceTypesGet(context.Context, *ServiceTypesGetReq) (*ServiceTypesVo, error) {
  2878. return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesGet not implemented")
  2879. }
  2880. func (UnimplementedGoPmpClientServer) ServiceTypesList(context.Context, *ServiceTypesListReq) (*ServiceTypesListResp, error) {
  2881. return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesList not implemented")
  2882. }
  2883. func (UnimplementedGoPmpClientServer) ServiceSetsAdd(context.Context, *ServiceSetsAddReq) (*ServiceSetsVo, error) {
  2884. return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsAdd not implemented")
  2885. }
  2886. func (UnimplementedGoPmpClientServer) ServiceSetsUpdate(context.Context, *ServiceSetsUpdateReq) (*ServiceSetsVo, error) {
  2887. return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsUpdate not implemented")
  2888. }
  2889. func (UnimplementedGoPmpClientServer) ServiceSetsDel(context.Context, *ServiceSetsDelReq) (*Empty, error) {
  2890. return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsDel not implemented")
  2891. }
  2892. func (UnimplementedGoPmpClientServer) ServiceSetsGet(context.Context, *ServiceSetsGetReq) (*ServiceSetsVo, error) {
  2893. return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsGet not implemented")
  2894. }
  2895. func (UnimplementedGoPmpClientServer) ServiceSetsList(context.Context, *ServiceSetsListReq) (*ServiceSetsListResp, error) {
  2896. return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsList not implemented")
  2897. }
  2898. func (UnimplementedGoPmpClientServer) MessagePushAdd(context.Context, *MessagePushVo) (*MessagePushVo, error) {
  2899. return nil, status.Errorf(codes.Unimplemented, "method MessagePushAdd not implemented")
  2900. }
  2901. func (UnimplementedGoPmpClientServer) MessagePushUpdate(context.Context, *MessagePushVo) (*MessagePushVo, error) {
  2902. return nil, status.Errorf(codes.Unimplemented, "method MessagePushUpdate not implemented")
  2903. }
  2904. func (UnimplementedGoPmpClientServer) MessagePushList(context.Context, *MessagePushListReq) (*MessagePushListResp, error) {
  2905. return nil, status.Errorf(codes.Unimplemented, "method MessagePushList not implemented")
  2906. }
  2907. func (UnimplementedGoPmpClientServer) mustEmbedUnimplementedGoPmpClientServer() {}
  2908. func (UnimplementedGoPmpClientServer) testEmbeddedByValue() {}
  2909. // UnsafeGoPmpClientServer may be embedded to opt out of forward compatibility for this service.
  2910. // Use of this interface is not recommended, as added methods to GoPmpClientServer will
  2911. // result in compilation errors.
  2912. type UnsafeGoPmpClientServer interface {
  2913. mustEmbedUnimplementedGoPmpClientServer()
  2914. }
  2915. func RegisterGoPmpClientServer(s grpc.ServiceRegistrar, srv GoPmpClientServer) {
  2916. // If the following call pancis, it indicates UnimplementedGoPmpClientServer was
  2917. // embedded by pointer and is nil. This will cause panics if an
  2918. // unimplemented method is ever invoked, so we test this at initialization
  2919. // time to prevent it from happening at runtime later due to I/O.
  2920. if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
  2921. t.testEmbeddedByValue()
  2922. }
  2923. s.RegisterService(&GoPmpClient_ServiceDesc, srv)
  2924. }
  2925. func _GoPmpClient_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2926. in := new(Request)
  2927. if err := dec(in); err != nil {
  2928. return nil, err
  2929. }
  2930. if interceptor == nil {
  2931. return srv.(GoPmpClientServer).Ping(ctx, in)
  2932. }
  2933. info := &grpc.UnaryServerInfo{
  2934. Server: srv,
  2935. FullMethod: GoPmpClient_Ping_FullMethodName,
  2936. }
  2937. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2938. return srv.(GoPmpClientServer).Ping(ctx, req.(*Request))
  2939. }
  2940. return interceptor(ctx, in, info, handler)
  2941. }
  2942. func _GoPmpClient_GlobalParamAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2943. in := new(GlobalParamVo)
  2944. if err := dec(in); err != nil {
  2945. return nil, err
  2946. }
  2947. if interceptor == nil {
  2948. return srv.(GoPmpClientServer).GlobalParamAdd(ctx, in)
  2949. }
  2950. info := &grpc.UnaryServerInfo{
  2951. Server: srv,
  2952. FullMethod: GoPmpClient_GlobalParamAdd_FullMethodName,
  2953. }
  2954. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2955. return srv.(GoPmpClientServer).GlobalParamAdd(ctx, req.(*GlobalParamVo))
  2956. }
  2957. return interceptor(ctx, in, info, handler)
  2958. }
  2959. func _GoPmpClient_GlobalParamUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2960. in := new(GlobalParamVo)
  2961. if err := dec(in); err != nil {
  2962. return nil, err
  2963. }
  2964. if interceptor == nil {
  2965. return srv.(GoPmpClientServer).GlobalParamUpdate(ctx, in)
  2966. }
  2967. info := &grpc.UnaryServerInfo{
  2968. Server: srv,
  2969. FullMethod: GoPmpClient_GlobalParamUpdate_FullMethodName,
  2970. }
  2971. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2972. return srv.(GoPmpClientServer).GlobalParamUpdate(ctx, req.(*GlobalParamVo))
  2973. }
  2974. return interceptor(ctx, in, info, handler)
  2975. }
  2976. func _GoPmpClient_GlobalParamDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2977. in := new(Ids)
  2978. if err := dec(in); err != nil {
  2979. return nil, err
  2980. }
  2981. if interceptor == nil {
  2982. return srv.(GoPmpClientServer).GlobalParamDel(ctx, in)
  2983. }
  2984. info := &grpc.UnaryServerInfo{
  2985. Server: srv,
  2986. FullMethod: GoPmpClient_GlobalParamDel_FullMethodName,
  2987. }
  2988. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2989. return srv.(GoPmpClientServer).GlobalParamDel(ctx, req.(*Ids))
  2990. }
  2991. return interceptor(ctx, in, info, handler)
  2992. }
  2993. func _GoPmpClient_GlobalParamGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2994. in := new(GlobalParamVo)
  2995. if err := dec(in); err != nil {
  2996. return nil, err
  2997. }
  2998. if interceptor == nil {
  2999. return srv.(GoPmpClientServer).GlobalParamGet(ctx, in)
  3000. }
  3001. info := &grpc.UnaryServerInfo{
  3002. Server: srv,
  3003. FullMethod: GoPmpClient_GlobalParamGet_FullMethodName,
  3004. }
  3005. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3006. return srv.(GoPmpClientServer).GlobalParamGet(ctx, req.(*GlobalParamVo))
  3007. }
  3008. return interceptor(ctx, in, info, handler)
  3009. }
  3010. func _GoPmpClient_GlobalParamGetWithLang_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3011. in := new(GlobalParamGetReq)
  3012. if err := dec(in); err != nil {
  3013. return nil, err
  3014. }
  3015. if interceptor == nil {
  3016. return srv.(GoPmpClientServer).GlobalParamGetWithLang(ctx, in)
  3017. }
  3018. info := &grpc.UnaryServerInfo{
  3019. Server: srv,
  3020. FullMethod: GoPmpClient_GlobalParamGetWithLang_FullMethodName,
  3021. }
  3022. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3023. return srv.(GoPmpClientServer).GlobalParamGetWithLang(ctx, req.(*GlobalParamGetReq))
  3024. }
  3025. return interceptor(ctx, in, info, handler)
  3026. }
  3027. func _GoPmpClient_GlobalParamList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3028. in := new(GlobalParamListReq)
  3029. if err := dec(in); err != nil {
  3030. return nil, err
  3031. }
  3032. if interceptor == nil {
  3033. return srv.(GoPmpClientServer).GlobalParamList(ctx, in)
  3034. }
  3035. info := &grpc.UnaryServerInfo{
  3036. Server: srv,
  3037. FullMethod: GoPmpClient_GlobalParamList_FullMethodName,
  3038. }
  3039. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3040. return srv.(GoPmpClientServer).GlobalParamList(ctx, req.(*GlobalParamListReq))
  3041. }
  3042. return interceptor(ctx, in, info, handler)
  3043. }
  3044. func _GoPmpClient_ProductAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3045. in := new(ProductVo)
  3046. if err := dec(in); err != nil {
  3047. return nil, err
  3048. }
  3049. if interceptor == nil {
  3050. return srv.(GoPmpClientServer).ProductAdd(ctx, in)
  3051. }
  3052. info := &grpc.UnaryServerInfo{
  3053. Server: srv,
  3054. FullMethod: GoPmpClient_ProductAdd_FullMethodName,
  3055. }
  3056. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3057. return srv.(GoPmpClientServer).ProductAdd(ctx, req.(*ProductVo))
  3058. }
  3059. return interceptor(ctx, in, info, handler)
  3060. }
  3061. func _GoPmpClient_ProductUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3062. in := new(ProductVo)
  3063. if err := dec(in); err != nil {
  3064. return nil, err
  3065. }
  3066. if interceptor == nil {
  3067. return srv.(GoPmpClientServer).ProductUpdate(ctx, in)
  3068. }
  3069. info := &grpc.UnaryServerInfo{
  3070. Server: srv,
  3071. FullMethod: GoPmpClient_ProductUpdate_FullMethodName,
  3072. }
  3073. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3074. return srv.(GoPmpClientServer).ProductUpdate(ctx, req.(*ProductVo))
  3075. }
  3076. return interceptor(ctx, in, info, handler)
  3077. }
  3078. func _GoPmpClient_ProductDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3079. in := new(Ids)
  3080. if err := dec(in); err != nil {
  3081. return nil, err
  3082. }
  3083. if interceptor == nil {
  3084. return srv.(GoPmpClientServer).ProductDel(ctx, in)
  3085. }
  3086. info := &grpc.UnaryServerInfo{
  3087. Server: srv,
  3088. FullMethod: GoPmpClient_ProductDel_FullMethodName,
  3089. }
  3090. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3091. return srv.(GoPmpClientServer).ProductDel(ctx, req.(*Ids))
  3092. }
  3093. return interceptor(ctx, in, info, handler)
  3094. }
  3095. func _GoPmpClient_ProductGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3096. in := new(ProductVo)
  3097. if err := dec(in); err != nil {
  3098. return nil, err
  3099. }
  3100. if interceptor == nil {
  3101. return srv.(GoPmpClientServer).ProductGet(ctx, in)
  3102. }
  3103. info := &grpc.UnaryServerInfo{
  3104. Server: srv,
  3105. FullMethod: GoPmpClient_ProductGet_FullMethodName,
  3106. }
  3107. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3108. return srv.(GoPmpClientServer).ProductGet(ctx, req.(*ProductVo))
  3109. }
  3110. return interceptor(ctx, in, info, handler)
  3111. }
  3112. func _GoPmpClient_ProductList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3113. in := new(ProductListReq)
  3114. if err := dec(in); err != nil {
  3115. return nil, err
  3116. }
  3117. if interceptor == nil {
  3118. return srv.(GoPmpClientServer).ProductList(ctx, in)
  3119. }
  3120. info := &grpc.UnaryServerInfo{
  3121. Server: srv,
  3122. FullMethod: GoPmpClient_ProductList_FullMethodName,
  3123. }
  3124. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3125. return srv.(GoPmpClientServer).ProductList(ctx, req.(*ProductListReq))
  3126. }
  3127. return interceptor(ctx, in, info, handler)
  3128. }
  3129. func _GoPmpClient_ProductAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3130. in := new(Request)
  3131. if err := dec(in); err != nil {
  3132. return nil, err
  3133. }
  3134. if interceptor == nil {
  3135. return srv.(GoPmpClientServer).ProductAll(ctx, in)
  3136. }
  3137. info := &grpc.UnaryServerInfo{
  3138. Server: srv,
  3139. FullMethod: GoPmpClient_ProductAll_FullMethodName,
  3140. }
  3141. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3142. return srv.(GoPmpClientServer).ProductAll(ctx, req.(*Request))
  3143. }
  3144. return interceptor(ctx, in, info, handler)
  3145. }
  3146. func _GoPmpClient_ProductParamAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3147. in := new(ProductParamVo)
  3148. if err := dec(in); err != nil {
  3149. return nil, err
  3150. }
  3151. if interceptor == nil {
  3152. return srv.(GoPmpClientServer).ProductParamAdd(ctx, in)
  3153. }
  3154. info := &grpc.UnaryServerInfo{
  3155. Server: srv,
  3156. FullMethod: GoPmpClient_ProductParamAdd_FullMethodName,
  3157. }
  3158. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3159. return srv.(GoPmpClientServer).ProductParamAdd(ctx, req.(*ProductParamVo))
  3160. }
  3161. return interceptor(ctx, in, info, handler)
  3162. }
  3163. func _GoPmpClient_ProductParamUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3164. in := new(ProductParamVo)
  3165. if err := dec(in); err != nil {
  3166. return nil, err
  3167. }
  3168. if interceptor == nil {
  3169. return srv.(GoPmpClientServer).ProductParamUpdate(ctx, in)
  3170. }
  3171. info := &grpc.UnaryServerInfo{
  3172. Server: srv,
  3173. FullMethod: GoPmpClient_ProductParamUpdate_FullMethodName,
  3174. }
  3175. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3176. return srv.(GoPmpClientServer).ProductParamUpdate(ctx, req.(*ProductParamVo))
  3177. }
  3178. return interceptor(ctx, in, info, handler)
  3179. }
  3180. func _GoPmpClient_ProductParamDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3181. in := new(Ids)
  3182. if err := dec(in); err != nil {
  3183. return nil, err
  3184. }
  3185. if interceptor == nil {
  3186. return srv.(GoPmpClientServer).ProductParamDel(ctx, in)
  3187. }
  3188. info := &grpc.UnaryServerInfo{
  3189. Server: srv,
  3190. FullMethod: GoPmpClient_ProductParamDel_FullMethodName,
  3191. }
  3192. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3193. return srv.(GoPmpClientServer).ProductParamDel(ctx, req.(*Ids))
  3194. }
  3195. return interceptor(ctx, in, info, handler)
  3196. }
  3197. func _GoPmpClient_ProductParamGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3198. in := new(ProductParamVo)
  3199. if err := dec(in); err != nil {
  3200. return nil, err
  3201. }
  3202. if interceptor == nil {
  3203. return srv.(GoPmpClientServer).ProductParamGet(ctx, in)
  3204. }
  3205. info := &grpc.UnaryServerInfo{
  3206. Server: srv,
  3207. FullMethod: GoPmpClient_ProductParamGet_FullMethodName,
  3208. }
  3209. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3210. return srv.(GoPmpClientServer).ProductParamGet(ctx, req.(*ProductParamVo))
  3211. }
  3212. return interceptor(ctx, in, info, handler)
  3213. }
  3214. func _GoPmpClient_ProductParamGetWithLang_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3215. in := new(ProductParamGetReq)
  3216. if err := dec(in); err != nil {
  3217. return nil, err
  3218. }
  3219. if interceptor == nil {
  3220. return srv.(GoPmpClientServer).ProductParamGetWithLang(ctx, in)
  3221. }
  3222. info := &grpc.UnaryServerInfo{
  3223. Server: srv,
  3224. FullMethod: GoPmpClient_ProductParamGetWithLang_FullMethodName,
  3225. }
  3226. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3227. return srv.(GoPmpClientServer).ProductParamGetWithLang(ctx, req.(*ProductParamGetReq))
  3228. }
  3229. return interceptor(ctx, in, info, handler)
  3230. }
  3231. func _GoPmpClient_ProductParamList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3232. in := new(ProductParamListReq)
  3233. if err := dec(in); err != nil {
  3234. return nil, err
  3235. }
  3236. if interceptor == nil {
  3237. return srv.(GoPmpClientServer).ProductParamList(ctx, in)
  3238. }
  3239. info := &grpc.UnaryServerInfo{
  3240. Server: srv,
  3241. FullMethod: GoPmpClient_ProductParamList_FullMethodName,
  3242. }
  3243. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3244. return srv.(GoPmpClientServer).ProductParamList(ctx, req.(*ProductParamListReq))
  3245. }
  3246. return interceptor(ctx, in, info, handler)
  3247. }
  3248. func _GoPmpClient_ProductActionAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3249. in := new(ProductActionVo)
  3250. if err := dec(in); err != nil {
  3251. return nil, err
  3252. }
  3253. if interceptor == nil {
  3254. return srv.(GoPmpClientServer).ProductActionAdd(ctx, in)
  3255. }
  3256. info := &grpc.UnaryServerInfo{
  3257. Server: srv,
  3258. FullMethod: GoPmpClient_ProductActionAdd_FullMethodName,
  3259. }
  3260. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3261. return srv.(GoPmpClientServer).ProductActionAdd(ctx, req.(*ProductActionVo))
  3262. }
  3263. return interceptor(ctx, in, info, handler)
  3264. }
  3265. func _GoPmpClient_ProductActionUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3266. in := new(ProductActionVo)
  3267. if err := dec(in); err != nil {
  3268. return nil, err
  3269. }
  3270. if interceptor == nil {
  3271. return srv.(GoPmpClientServer).ProductActionUpdate(ctx, in)
  3272. }
  3273. info := &grpc.UnaryServerInfo{
  3274. Server: srv,
  3275. FullMethod: GoPmpClient_ProductActionUpdate_FullMethodName,
  3276. }
  3277. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3278. return srv.(GoPmpClientServer).ProductActionUpdate(ctx, req.(*ProductActionVo))
  3279. }
  3280. return interceptor(ctx, in, info, handler)
  3281. }
  3282. func _GoPmpClient_ProductActionDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3283. in := new(Ids)
  3284. if err := dec(in); err != nil {
  3285. return nil, err
  3286. }
  3287. if interceptor == nil {
  3288. return srv.(GoPmpClientServer).ProductActionDel(ctx, in)
  3289. }
  3290. info := &grpc.UnaryServerInfo{
  3291. Server: srv,
  3292. FullMethod: GoPmpClient_ProductActionDel_FullMethodName,
  3293. }
  3294. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3295. return srv.(GoPmpClientServer).ProductActionDel(ctx, req.(*Ids))
  3296. }
  3297. return interceptor(ctx, in, info, handler)
  3298. }
  3299. func _GoPmpClient_ProductActionGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3300. in := new(ProductActionReq)
  3301. if err := dec(in); err != nil {
  3302. return nil, err
  3303. }
  3304. if interceptor == nil {
  3305. return srv.(GoPmpClientServer).ProductActionGet(ctx, in)
  3306. }
  3307. info := &grpc.UnaryServerInfo{
  3308. Server: srv,
  3309. FullMethod: GoPmpClient_ProductActionGet_FullMethodName,
  3310. }
  3311. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3312. return srv.(GoPmpClientServer).ProductActionGet(ctx, req.(*ProductActionReq))
  3313. }
  3314. return interceptor(ctx, in, info, handler)
  3315. }
  3316. func _GoPmpClient_ProductActionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3317. in := new(ProductActionListReq)
  3318. if err := dec(in); err != nil {
  3319. return nil, err
  3320. }
  3321. if interceptor == nil {
  3322. return srv.(GoPmpClientServer).ProductActionList(ctx, in)
  3323. }
  3324. info := &grpc.UnaryServerInfo{
  3325. Server: srv,
  3326. FullMethod: GoPmpClient_ProductActionList_FullMethodName,
  3327. }
  3328. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3329. return srv.(GoPmpClientServer).ProductActionList(ctx, req.(*ProductActionListReq))
  3330. }
  3331. return interceptor(ctx, in, info, handler)
  3332. }
  3333. func _GoPmpClient_AreaParamAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3334. in := new(AreaParamVo)
  3335. if err := dec(in); err != nil {
  3336. return nil, err
  3337. }
  3338. if interceptor == nil {
  3339. return srv.(GoPmpClientServer).AreaParamAdd(ctx, in)
  3340. }
  3341. info := &grpc.UnaryServerInfo{
  3342. Server: srv,
  3343. FullMethod: GoPmpClient_AreaParamAdd_FullMethodName,
  3344. }
  3345. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3346. return srv.(GoPmpClientServer).AreaParamAdd(ctx, req.(*AreaParamVo))
  3347. }
  3348. return interceptor(ctx, in, info, handler)
  3349. }
  3350. func _GoPmpClient_AreaParamUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3351. in := new(AreaParamVo)
  3352. if err := dec(in); err != nil {
  3353. return nil, err
  3354. }
  3355. if interceptor == nil {
  3356. return srv.(GoPmpClientServer).AreaParamUpdate(ctx, in)
  3357. }
  3358. info := &grpc.UnaryServerInfo{
  3359. Server: srv,
  3360. FullMethod: GoPmpClient_AreaParamUpdate_FullMethodName,
  3361. }
  3362. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3363. return srv.(GoPmpClientServer).AreaParamUpdate(ctx, req.(*AreaParamVo))
  3364. }
  3365. return interceptor(ctx, in, info, handler)
  3366. }
  3367. func _GoPmpClient_AreaParamDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3368. in := new(Ids)
  3369. if err := dec(in); err != nil {
  3370. return nil, err
  3371. }
  3372. if interceptor == nil {
  3373. return srv.(GoPmpClientServer).AreaParamDel(ctx, in)
  3374. }
  3375. info := &grpc.UnaryServerInfo{
  3376. Server: srv,
  3377. FullMethod: GoPmpClient_AreaParamDel_FullMethodName,
  3378. }
  3379. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3380. return srv.(GoPmpClientServer).AreaParamDel(ctx, req.(*Ids))
  3381. }
  3382. return interceptor(ctx, in, info, handler)
  3383. }
  3384. func _GoPmpClient_AreaParamGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3385. in := new(AreaParamVo)
  3386. if err := dec(in); err != nil {
  3387. return nil, err
  3388. }
  3389. if interceptor == nil {
  3390. return srv.(GoPmpClientServer).AreaParamGet(ctx, in)
  3391. }
  3392. info := &grpc.UnaryServerInfo{
  3393. Server: srv,
  3394. FullMethod: GoPmpClient_AreaParamGet_FullMethodName,
  3395. }
  3396. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3397. return srv.(GoPmpClientServer).AreaParamGet(ctx, req.(*AreaParamVo))
  3398. }
  3399. return interceptor(ctx, in, info, handler)
  3400. }
  3401. func _GoPmpClient_AreaParamList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3402. in := new(AreaParamListReq)
  3403. if err := dec(in); err != nil {
  3404. return nil, err
  3405. }
  3406. if interceptor == nil {
  3407. return srv.(GoPmpClientServer).AreaParamList(ctx, in)
  3408. }
  3409. info := &grpc.UnaryServerInfo{
  3410. Server: srv,
  3411. FullMethod: GoPmpClient_AreaParamList_FullMethodName,
  3412. }
  3413. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3414. return srv.(GoPmpClientServer).AreaParamList(ctx, req.(*AreaParamListReq))
  3415. }
  3416. return interceptor(ctx, in, info, handler)
  3417. }
  3418. func _GoPmpClient_NationalLanguageAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3419. in := new(NationalLanguageVo)
  3420. if err := dec(in); err != nil {
  3421. return nil, err
  3422. }
  3423. if interceptor == nil {
  3424. return srv.(GoPmpClientServer).NationalLanguageAdd(ctx, in)
  3425. }
  3426. info := &grpc.UnaryServerInfo{
  3427. Server: srv,
  3428. FullMethod: GoPmpClient_NationalLanguageAdd_FullMethodName,
  3429. }
  3430. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3431. return srv.(GoPmpClientServer).NationalLanguageAdd(ctx, req.(*NationalLanguageVo))
  3432. }
  3433. return interceptor(ctx, in, info, handler)
  3434. }
  3435. func _GoPmpClient_NationalLanguageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3436. in := new(NationalLanguageVo)
  3437. if err := dec(in); err != nil {
  3438. return nil, err
  3439. }
  3440. if interceptor == nil {
  3441. return srv.(GoPmpClientServer).NationalLanguageUpdate(ctx, in)
  3442. }
  3443. info := &grpc.UnaryServerInfo{
  3444. Server: srv,
  3445. FullMethod: GoPmpClient_NationalLanguageUpdate_FullMethodName,
  3446. }
  3447. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3448. return srv.(GoPmpClientServer).NationalLanguageUpdate(ctx, req.(*NationalLanguageVo))
  3449. }
  3450. return interceptor(ctx, in, info, handler)
  3451. }
  3452. func _GoPmpClient_NationalLanguageDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3453. in := new(Ids)
  3454. if err := dec(in); err != nil {
  3455. return nil, err
  3456. }
  3457. if interceptor == nil {
  3458. return srv.(GoPmpClientServer).NationalLanguageDel(ctx, in)
  3459. }
  3460. info := &grpc.UnaryServerInfo{
  3461. Server: srv,
  3462. FullMethod: GoPmpClient_NationalLanguageDel_FullMethodName,
  3463. }
  3464. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3465. return srv.(GoPmpClientServer).NationalLanguageDel(ctx, req.(*Ids))
  3466. }
  3467. return interceptor(ctx, in, info, handler)
  3468. }
  3469. func _GoPmpClient_NationalLanguageGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3470. in := new(NationalLanguageVo)
  3471. if err := dec(in); err != nil {
  3472. return nil, err
  3473. }
  3474. if interceptor == nil {
  3475. return srv.(GoPmpClientServer).NationalLanguageGet(ctx, in)
  3476. }
  3477. info := &grpc.UnaryServerInfo{
  3478. Server: srv,
  3479. FullMethod: GoPmpClient_NationalLanguageGet_FullMethodName,
  3480. }
  3481. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3482. return srv.(GoPmpClientServer).NationalLanguageGet(ctx, req.(*NationalLanguageVo))
  3483. }
  3484. return interceptor(ctx, in, info, handler)
  3485. }
  3486. func _GoPmpClient_NationalLanguageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3487. in := new(NationalLanguageListReq)
  3488. if err := dec(in); err != nil {
  3489. return nil, err
  3490. }
  3491. if interceptor == nil {
  3492. return srv.(GoPmpClientServer).NationalLanguageList(ctx, in)
  3493. }
  3494. info := &grpc.UnaryServerInfo{
  3495. Server: srv,
  3496. FullMethod: GoPmpClient_NationalLanguageList_FullMethodName,
  3497. }
  3498. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3499. return srv.(GoPmpClientServer).NationalLanguageList(ctx, req.(*NationalLanguageListReq))
  3500. }
  3501. return interceptor(ctx, in, info, handler)
  3502. }
  3503. func _GoPmpClient_TipAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3504. in := new(TipVo)
  3505. if err := dec(in); err != nil {
  3506. return nil, err
  3507. }
  3508. if interceptor == nil {
  3509. return srv.(GoPmpClientServer).TipAdd(ctx, in)
  3510. }
  3511. info := &grpc.UnaryServerInfo{
  3512. Server: srv,
  3513. FullMethod: GoPmpClient_TipAdd_FullMethodName,
  3514. }
  3515. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3516. return srv.(GoPmpClientServer).TipAdd(ctx, req.(*TipVo))
  3517. }
  3518. return interceptor(ctx, in, info, handler)
  3519. }
  3520. func _GoPmpClient_TipUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3521. in := new(TipVo)
  3522. if err := dec(in); err != nil {
  3523. return nil, err
  3524. }
  3525. if interceptor == nil {
  3526. return srv.(GoPmpClientServer).TipUpdate(ctx, in)
  3527. }
  3528. info := &grpc.UnaryServerInfo{
  3529. Server: srv,
  3530. FullMethod: GoPmpClient_TipUpdate_FullMethodName,
  3531. }
  3532. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3533. return srv.(GoPmpClientServer).TipUpdate(ctx, req.(*TipVo))
  3534. }
  3535. return interceptor(ctx, in, info, handler)
  3536. }
  3537. func _GoPmpClient_TipDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3538. in := new(Ids)
  3539. if err := dec(in); err != nil {
  3540. return nil, err
  3541. }
  3542. if interceptor == nil {
  3543. return srv.(GoPmpClientServer).TipDel(ctx, in)
  3544. }
  3545. info := &grpc.UnaryServerInfo{
  3546. Server: srv,
  3547. FullMethod: GoPmpClient_TipDel_FullMethodName,
  3548. }
  3549. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3550. return srv.(GoPmpClientServer).TipDel(ctx, req.(*Ids))
  3551. }
  3552. return interceptor(ctx, in, info, handler)
  3553. }
  3554. func _GoPmpClient_TipGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3555. in := new(TipGetReq)
  3556. if err := dec(in); err != nil {
  3557. return nil, err
  3558. }
  3559. if interceptor == nil {
  3560. return srv.(GoPmpClientServer).TipGet(ctx, in)
  3561. }
  3562. info := &grpc.UnaryServerInfo{
  3563. Server: srv,
  3564. FullMethod: GoPmpClient_TipGet_FullMethodName,
  3565. }
  3566. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3567. return srv.(GoPmpClientServer).TipGet(ctx, req.(*TipGetReq))
  3568. }
  3569. return interceptor(ctx, in, info, handler)
  3570. }
  3571. func _GoPmpClient_TipList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3572. in := new(TipListReq)
  3573. if err := dec(in); err != nil {
  3574. return nil, err
  3575. }
  3576. if interceptor == nil {
  3577. return srv.(GoPmpClientServer).TipList(ctx, in)
  3578. }
  3579. info := &grpc.UnaryServerInfo{
  3580. Server: srv,
  3581. FullMethod: GoPmpClient_TipList_FullMethodName,
  3582. }
  3583. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3584. return srv.(GoPmpClientServer).TipList(ctx, req.(*TipListReq))
  3585. }
  3586. return interceptor(ctx, in, info, handler)
  3587. }
  3588. func _GoPmpClient_DictAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3589. in := new(DictVo)
  3590. if err := dec(in); err != nil {
  3591. return nil, err
  3592. }
  3593. if interceptor == nil {
  3594. return srv.(GoPmpClientServer).DictAdd(ctx, in)
  3595. }
  3596. info := &grpc.UnaryServerInfo{
  3597. Server: srv,
  3598. FullMethod: GoPmpClient_DictAdd_FullMethodName,
  3599. }
  3600. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3601. return srv.(GoPmpClientServer).DictAdd(ctx, req.(*DictVo))
  3602. }
  3603. return interceptor(ctx, in, info, handler)
  3604. }
  3605. func _GoPmpClient_DictUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3606. in := new(DictVo)
  3607. if err := dec(in); err != nil {
  3608. return nil, err
  3609. }
  3610. if interceptor == nil {
  3611. return srv.(GoPmpClientServer).DictUpdate(ctx, in)
  3612. }
  3613. info := &grpc.UnaryServerInfo{
  3614. Server: srv,
  3615. FullMethod: GoPmpClient_DictUpdate_FullMethodName,
  3616. }
  3617. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3618. return srv.(GoPmpClientServer).DictUpdate(ctx, req.(*DictVo))
  3619. }
  3620. return interceptor(ctx, in, info, handler)
  3621. }
  3622. func _GoPmpClient_DictDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3623. in := new(Ids)
  3624. if err := dec(in); err != nil {
  3625. return nil, err
  3626. }
  3627. if interceptor == nil {
  3628. return srv.(GoPmpClientServer).DictDel(ctx, in)
  3629. }
  3630. info := &grpc.UnaryServerInfo{
  3631. Server: srv,
  3632. FullMethod: GoPmpClient_DictDel_FullMethodName,
  3633. }
  3634. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3635. return srv.(GoPmpClientServer).DictDel(ctx, req.(*Ids))
  3636. }
  3637. return interceptor(ctx, in, info, handler)
  3638. }
  3639. func _GoPmpClient_DictGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3640. in := new(DictGetReq)
  3641. if err := dec(in); err != nil {
  3642. return nil, err
  3643. }
  3644. if interceptor == nil {
  3645. return srv.(GoPmpClientServer).DictGet(ctx, in)
  3646. }
  3647. info := &grpc.UnaryServerInfo{
  3648. Server: srv,
  3649. FullMethod: GoPmpClient_DictGet_FullMethodName,
  3650. }
  3651. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3652. return srv.(GoPmpClientServer).DictGet(ctx, req.(*DictGetReq))
  3653. }
  3654. return interceptor(ctx, in, info, handler)
  3655. }
  3656. func _GoPmpClient_DictList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3657. in := new(DictListReq)
  3658. if err := dec(in); err != nil {
  3659. return nil, err
  3660. }
  3661. if interceptor == nil {
  3662. return srv.(GoPmpClientServer).DictList(ctx, in)
  3663. }
  3664. info := &grpc.UnaryServerInfo{
  3665. Server: srv,
  3666. FullMethod: GoPmpClient_DictList_FullMethodName,
  3667. }
  3668. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3669. return srv.(GoPmpClientServer).DictList(ctx, req.(*DictListReq))
  3670. }
  3671. return interceptor(ctx, in, info, handler)
  3672. }
  3673. func _GoPmpClient_UpgradePkgPlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3674. in := new(UpgradePkgPlanVo)
  3675. if err := dec(in); err != nil {
  3676. return nil, err
  3677. }
  3678. if interceptor == nil {
  3679. return srv.(GoPmpClientServer).UpgradePkgPlanAdd(ctx, in)
  3680. }
  3681. info := &grpc.UnaryServerInfo{
  3682. Server: srv,
  3683. FullMethod: GoPmpClient_UpgradePkgPlanAdd_FullMethodName,
  3684. }
  3685. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3686. return srv.(GoPmpClientServer).UpgradePkgPlanAdd(ctx, req.(*UpgradePkgPlanVo))
  3687. }
  3688. return interceptor(ctx, in, info, handler)
  3689. }
  3690. func _GoPmpClient_UpgradePkgPlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3691. in := new(UpgradePkgPlanVo)
  3692. if err := dec(in); err != nil {
  3693. return nil, err
  3694. }
  3695. if interceptor == nil {
  3696. return srv.(GoPmpClientServer).UpgradePkgPlanUpdate(ctx, in)
  3697. }
  3698. info := &grpc.UnaryServerInfo{
  3699. Server: srv,
  3700. FullMethod: GoPmpClient_UpgradePkgPlanUpdate_FullMethodName,
  3701. }
  3702. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3703. return srv.(GoPmpClientServer).UpgradePkgPlanUpdate(ctx, req.(*UpgradePkgPlanVo))
  3704. }
  3705. return interceptor(ctx, in, info, handler)
  3706. }
  3707. func _GoPmpClient_UpgradePkgPlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3708. in := new(Ids)
  3709. if err := dec(in); err != nil {
  3710. return nil, err
  3711. }
  3712. if interceptor == nil {
  3713. return srv.(GoPmpClientServer).UpgradePkgPlanDel(ctx, in)
  3714. }
  3715. info := &grpc.UnaryServerInfo{
  3716. Server: srv,
  3717. FullMethod: GoPmpClient_UpgradePkgPlanDel_FullMethodName,
  3718. }
  3719. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3720. return srv.(GoPmpClientServer).UpgradePkgPlanDel(ctx, req.(*Ids))
  3721. }
  3722. return interceptor(ctx, in, info, handler)
  3723. }
  3724. func _GoPmpClient_UpgradePkgPlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3725. in := new(UpgradePkgPlanVo)
  3726. if err := dec(in); err != nil {
  3727. return nil, err
  3728. }
  3729. if interceptor == nil {
  3730. return srv.(GoPmpClientServer).UpgradePkgPlanGet(ctx, in)
  3731. }
  3732. info := &grpc.UnaryServerInfo{
  3733. Server: srv,
  3734. FullMethod: GoPmpClient_UpgradePkgPlanGet_FullMethodName,
  3735. }
  3736. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3737. return srv.(GoPmpClientServer).UpgradePkgPlanGet(ctx, req.(*UpgradePkgPlanVo))
  3738. }
  3739. return interceptor(ctx, in, info, handler)
  3740. }
  3741. func _GoPmpClient_UpgradePkgPlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3742. in := new(UpgradePkgPlanListReq)
  3743. if err := dec(in); err != nil {
  3744. return nil, err
  3745. }
  3746. if interceptor == nil {
  3747. return srv.(GoPmpClientServer).UpgradePkgPlanList(ctx, in)
  3748. }
  3749. info := &grpc.UnaryServerInfo{
  3750. Server: srv,
  3751. FullMethod: GoPmpClient_UpgradePkgPlanList_FullMethodName,
  3752. }
  3753. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3754. return srv.(GoPmpClientServer).UpgradePkgPlanList(ctx, req.(*UpgradePkgPlanListReq))
  3755. }
  3756. return interceptor(ctx, in, info, handler)
  3757. }
  3758. func _GoPmpClient_UpgradePkgPlanDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3759. in := new(UpgradePkgPlanDetailVo)
  3760. if err := dec(in); err != nil {
  3761. return nil, err
  3762. }
  3763. if interceptor == nil {
  3764. return srv.(GoPmpClientServer).UpgradePkgPlanDetailAdd(ctx, in)
  3765. }
  3766. info := &grpc.UnaryServerInfo{
  3767. Server: srv,
  3768. FullMethod: GoPmpClient_UpgradePkgPlanDetailAdd_FullMethodName,
  3769. }
  3770. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3771. return srv.(GoPmpClientServer).UpgradePkgPlanDetailAdd(ctx, req.(*UpgradePkgPlanDetailVo))
  3772. }
  3773. return interceptor(ctx, in, info, handler)
  3774. }
  3775. func _GoPmpClient_UpgradePkgPlanDetailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3776. in := new(UpgradePkgPlanDetailVo)
  3777. if err := dec(in); err != nil {
  3778. return nil, err
  3779. }
  3780. if interceptor == nil {
  3781. return srv.(GoPmpClientServer).UpgradePkgPlanDetailUpdate(ctx, in)
  3782. }
  3783. info := &grpc.UnaryServerInfo{
  3784. Server: srv,
  3785. FullMethod: GoPmpClient_UpgradePkgPlanDetailUpdate_FullMethodName,
  3786. }
  3787. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3788. return srv.(GoPmpClientServer).UpgradePkgPlanDetailUpdate(ctx, req.(*UpgradePkgPlanDetailVo))
  3789. }
  3790. return interceptor(ctx, in, info, handler)
  3791. }
  3792. func _GoPmpClient_UpgradePkgPlanDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3793. in := new(Ids)
  3794. if err := dec(in); err != nil {
  3795. return nil, err
  3796. }
  3797. if interceptor == nil {
  3798. return srv.(GoPmpClientServer).UpgradePkgPlanDetailDel(ctx, in)
  3799. }
  3800. info := &grpc.UnaryServerInfo{
  3801. Server: srv,
  3802. FullMethod: GoPmpClient_UpgradePkgPlanDetailDel_FullMethodName,
  3803. }
  3804. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3805. return srv.(GoPmpClientServer).UpgradePkgPlanDetailDel(ctx, req.(*Ids))
  3806. }
  3807. return interceptor(ctx, in, info, handler)
  3808. }
  3809. func _GoPmpClient_UpgradePkgPlanDetailGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3810. in := new(UpgradePkgPlanDetailVo)
  3811. if err := dec(in); err != nil {
  3812. return nil, err
  3813. }
  3814. if interceptor == nil {
  3815. return srv.(GoPmpClientServer).UpgradePkgPlanDetailGet(ctx, in)
  3816. }
  3817. info := &grpc.UnaryServerInfo{
  3818. Server: srv,
  3819. FullMethod: GoPmpClient_UpgradePkgPlanDetailGet_FullMethodName,
  3820. }
  3821. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3822. return srv.(GoPmpClientServer).UpgradePkgPlanDetailGet(ctx, req.(*UpgradePkgPlanDetailVo))
  3823. }
  3824. return interceptor(ctx, in, info, handler)
  3825. }
  3826. func _GoPmpClient_UpgradePkgPlanDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3827. in := new(UpgradePkgPlanDetailListReq)
  3828. if err := dec(in); err != nil {
  3829. return nil, err
  3830. }
  3831. if interceptor == nil {
  3832. return srv.(GoPmpClientServer).UpgradePkgPlanDetailList(ctx, in)
  3833. }
  3834. info := &grpc.UnaryServerInfo{
  3835. Server: srv,
  3836. FullMethod: GoPmpClient_UpgradePkgPlanDetailList_FullMethodName,
  3837. }
  3838. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3839. return srv.(GoPmpClientServer).UpgradePkgPlanDetailList(ctx, req.(*UpgradePkgPlanDetailListReq))
  3840. }
  3841. return interceptor(ctx, in, info, handler)
  3842. }
  3843. func _GoPmpClient_UpgradeResPlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3844. in := new(UpgradeResPlanVo)
  3845. if err := dec(in); err != nil {
  3846. return nil, err
  3847. }
  3848. if interceptor == nil {
  3849. return srv.(GoPmpClientServer).UpgradeResPlanAdd(ctx, in)
  3850. }
  3851. info := &grpc.UnaryServerInfo{
  3852. Server: srv,
  3853. FullMethod: GoPmpClient_UpgradeResPlanAdd_FullMethodName,
  3854. }
  3855. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3856. return srv.(GoPmpClientServer).UpgradeResPlanAdd(ctx, req.(*UpgradeResPlanVo))
  3857. }
  3858. return interceptor(ctx, in, info, handler)
  3859. }
  3860. func _GoPmpClient_UpgradeResPlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3861. in := new(UpgradeResPlanVo)
  3862. if err := dec(in); err != nil {
  3863. return nil, err
  3864. }
  3865. if interceptor == nil {
  3866. return srv.(GoPmpClientServer).UpgradeResPlanUpdate(ctx, in)
  3867. }
  3868. info := &grpc.UnaryServerInfo{
  3869. Server: srv,
  3870. FullMethod: GoPmpClient_UpgradeResPlanUpdate_FullMethodName,
  3871. }
  3872. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3873. return srv.(GoPmpClientServer).UpgradeResPlanUpdate(ctx, req.(*UpgradeResPlanVo))
  3874. }
  3875. return interceptor(ctx, in, info, handler)
  3876. }
  3877. func _GoPmpClient_UpgradeResPlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3878. in := new(Ids)
  3879. if err := dec(in); err != nil {
  3880. return nil, err
  3881. }
  3882. if interceptor == nil {
  3883. return srv.(GoPmpClientServer).UpgradeResPlanDel(ctx, in)
  3884. }
  3885. info := &grpc.UnaryServerInfo{
  3886. Server: srv,
  3887. FullMethod: GoPmpClient_UpgradeResPlanDel_FullMethodName,
  3888. }
  3889. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3890. return srv.(GoPmpClientServer).UpgradeResPlanDel(ctx, req.(*Ids))
  3891. }
  3892. return interceptor(ctx, in, info, handler)
  3893. }
  3894. func _GoPmpClient_UpgradeResPlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3895. in := new(UpgradeResPlanVo)
  3896. if err := dec(in); err != nil {
  3897. return nil, err
  3898. }
  3899. if interceptor == nil {
  3900. return srv.(GoPmpClientServer).UpgradeResPlanGet(ctx, in)
  3901. }
  3902. info := &grpc.UnaryServerInfo{
  3903. Server: srv,
  3904. FullMethod: GoPmpClient_UpgradeResPlanGet_FullMethodName,
  3905. }
  3906. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3907. return srv.(GoPmpClientServer).UpgradeResPlanGet(ctx, req.(*UpgradeResPlanVo))
  3908. }
  3909. return interceptor(ctx, in, info, handler)
  3910. }
  3911. func _GoPmpClient_UpgradeResPlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3912. in := new(UpgradeResPlanListReq)
  3913. if err := dec(in); err != nil {
  3914. return nil, err
  3915. }
  3916. if interceptor == nil {
  3917. return srv.(GoPmpClientServer).UpgradeResPlanList(ctx, in)
  3918. }
  3919. info := &grpc.UnaryServerInfo{
  3920. Server: srv,
  3921. FullMethod: GoPmpClient_UpgradeResPlanList_FullMethodName,
  3922. }
  3923. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3924. return srv.(GoPmpClientServer).UpgradeResPlanList(ctx, req.(*UpgradeResPlanListReq))
  3925. }
  3926. return interceptor(ctx, in, info, handler)
  3927. }
  3928. func _GoPmpClient_UpgradeResPlanDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3929. in := new(UpgradeResPlanDetailVo)
  3930. if err := dec(in); err != nil {
  3931. return nil, err
  3932. }
  3933. if interceptor == nil {
  3934. return srv.(GoPmpClientServer).UpgradeResPlanDetailAdd(ctx, in)
  3935. }
  3936. info := &grpc.UnaryServerInfo{
  3937. Server: srv,
  3938. FullMethod: GoPmpClient_UpgradeResPlanDetailAdd_FullMethodName,
  3939. }
  3940. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3941. return srv.(GoPmpClientServer).UpgradeResPlanDetailAdd(ctx, req.(*UpgradeResPlanDetailVo))
  3942. }
  3943. return interceptor(ctx, in, info, handler)
  3944. }
  3945. func _GoPmpClient_UpgradeResPlanDetailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3946. in := new(UpgradeResPlanDetailVo)
  3947. if err := dec(in); err != nil {
  3948. return nil, err
  3949. }
  3950. if interceptor == nil {
  3951. return srv.(GoPmpClientServer).UpgradeResPlanDetailUpdate(ctx, in)
  3952. }
  3953. info := &grpc.UnaryServerInfo{
  3954. Server: srv,
  3955. FullMethod: GoPmpClient_UpgradeResPlanDetailUpdate_FullMethodName,
  3956. }
  3957. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3958. return srv.(GoPmpClientServer).UpgradeResPlanDetailUpdate(ctx, req.(*UpgradeResPlanDetailVo))
  3959. }
  3960. return interceptor(ctx, in, info, handler)
  3961. }
  3962. func _GoPmpClient_UpgradeResPlanDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3963. in := new(Ids)
  3964. if err := dec(in); err != nil {
  3965. return nil, err
  3966. }
  3967. if interceptor == nil {
  3968. return srv.(GoPmpClientServer).UpgradeResPlanDetailDel(ctx, in)
  3969. }
  3970. info := &grpc.UnaryServerInfo{
  3971. Server: srv,
  3972. FullMethod: GoPmpClient_UpgradeResPlanDetailDel_FullMethodName,
  3973. }
  3974. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3975. return srv.(GoPmpClientServer).UpgradeResPlanDetailDel(ctx, req.(*Ids))
  3976. }
  3977. return interceptor(ctx, in, info, handler)
  3978. }
  3979. func _GoPmpClient_UpgradeResPlanDetailGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3980. in := new(UpgradeResPlanDetailVo)
  3981. if err := dec(in); err != nil {
  3982. return nil, err
  3983. }
  3984. if interceptor == nil {
  3985. return srv.(GoPmpClientServer).UpgradeResPlanDetailGet(ctx, in)
  3986. }
  3987. info := &grpc.UnaryServerInfo{
  3988. Server: srv,
  3989. FullMethod: GoPmpClient_UpgradeResPlanDetailGet_FullMethodName,
  3990. }
  3991. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3992. return srv.(GoPmpClientServer).UpgradeResPlanDetailGet(ctx, req.(*UpgradeResPlanDetailVo))
  3993. }
  3994. return interceptor(ctx, in, info, handler)
  3995. }
  3996. func _GoPmpClient_UpgradeResPlanDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3997. in := new(UpgradeResPlanDetailListReq)
  3998. if err := dec(in); err != nil {
  3999. return nil, err
  4000. }
  4001. if interceptor == nil {
  4002. return srv.(GoPmpClientServer).UpgradeResPlanDetailList(ctx, in)
  4003. }
  4004. info := &grpc.UnaryServerInfo{
  4005. Server: srv,
  4006. FullMethod: GoPmpClient_UpgradeResPlanDetailList_FullMethodName,
  4007. }
  4008. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4009. return srv.(GoPmpClientServer).UpgradeResPlanDetailList(ctx, req.(*UpgradeResPlanDetailListReq))
  4010. }
  4011. return interceptor(ctx, in, info, handler)
  4012. }
  4013. func _GoPmpClient_AdPlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4014. in := new(AdPlanVo)
  4015. if err := dec(in); err != nil {
  4016. return nil, err
  4017. }
  4018. if interceptor == nil {
  4019. return srv.(GoPmpClientServer).AdPlanAdd(ctx, in)
  4020. }
  4021. info := &grpc.UnaryServerInfo{
  4022. Server: srv,
  4023. FullMethod: GoPmpClient_AdPlanAdd_FullMethodName,
  4024. }
  4025. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4026. return srv.(GoPmpClientServer).AdPlanAdd(ctx, req.(*AdPlanVo))
  4027. }
  4028. return interceptor(ctx, in, info, handler)
  4029. }
  4030. func _GoPmpClient_AdPlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4031. in := new(AdPlanVo)
  4032. if err := dec(in); err != nil {
  4033. return nil, err
  4034. }
  4035. if interceptor == nil {
  4036. return srv.(GoPmpClientServer).AdPlanUpdate(ctx, in)
  4037. }
  4038. info := &grpc.UnaryServerInfo{
  4039. Server: srv,
  4040. FullMethod: GoPmpClient_AdPlanUpdate_FullMethodName,
  4041. }
  4042. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4043. return srv.(GoPmpClientServer).AdPlanUpdate(ctx, req.(*AdPlanVo))
  4044. }
  4045. return interceptor(ctx, in, info, handler)
  4046. }
  4047. func _GoPmpClient_AdPlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4048. in := new(Ids)
  4049. if err := dec(in); err != nil {
  4050. return nil, err
  4051. }
  4052. if interceptor == nil {
  4053. return srv.(GoPmpClientServer).AdPlanDel(ctx, in)
  4054. }
  4055. info := &grpc.UnaryServerInfo{
  4056. Server: srv,
  4057. FullMethod: GoPmpClient_AdPlanDel_FullMethodName,
  4058. }
  4059. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4060. return srv.(GoPmpClientServer).AdPlanDel(ctx, req.(*Ids))
  4061. }
  4062. return interceptor(ctx, in, info, handler)
  4063. }
  4064. func _GoPmpClient_AdPlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4065. in := new(AdPlanVo)
  4066. if err := dec(in); err != nil {
  4067. return nil, err
  4068. }
  4069. if interceptor == nil {
  4070. return srv.(GoPmpClientServer).AdPlanGet(ctx, in)
  4071. }
  4072. info := &grpc.UnaryServerInfo{
  4073. Server: srv,
  4074. FullMethod: GoPmpClient_AdPlanGet_FullMethodName,
  4075. }
  4076. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4077. return srv.(GoPmpClientServer).AdPlanGet(ctx, req.(*AdPlanVo))
  4078. }
  4079. return interceptor(ctx, in, info, handler)
  4080. }
  4081. func _GoPmpClient_AdPlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4082. in := new(AdPlanListReq)
  4083. if err := dec(in); err != nil {
  4084. return nil, err
  4085. }
  4086. if interceptor == nil {
  4087. return srv.(GoPmpClientServer).AdPlanList(ctx, in)
  4088. }
  4089. info := &grpc.UnaryServerInfo{
  4090. Server: srv,
  4091. FullMethod: GoPmpClient_AdPlanList_FullMethodName,
  4092. }
  4093. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4094. return srv.(GoPmpClientServer).AdPlanList(ctx, req.(*AdPlanListReq))
  4095. }
  4096. return interceptor(ctx, in, info, handler)
  4097. }
  4098. func _GoPmpClient_AdPlanDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4099. in := new(AdPlanDetailVo)
  4100. if err := dec(in); err != nil {
  4101. return nil, err
  4102. }
  4103. if interceptor == nil {
  4104. return srv.(GoPmpClientServer).AdPlanDetailAdd(ctx, in)
  4105. }
  4106. info := &grpc.UnaryServerInfo{
  4107. Server: srv,
  4108. FullMethod: GoPmpClient_AdPlanDetailAdd_FullMethodName,
  4109. }
  4110. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4111. return srv.(GoPmpClientServer).AdPlanDetailAdd(ctx, req.(*AdPlanDetailVo))
  4112. }
  4113. return interceptor(ctx, in, info, handler)
  4114. }
  4115. func _GoPmpClient_AdPlanDetailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4116. in := new(AdPlanDetailVo)
  4117. if err := dec(in); err != nil {
  4118. return nil, err
  4119. }
  4120. if interceptor == nil {
  4121. return srv.(GoPmpClientServer).AdPlanDetailUpdate(ctx, in)
  4122. }
  4123. info := &grpc.UnaryServerInfo{
  4124. Server: srv,
  4125. FullMethod: GoPmpClient_AdPlanDetailUpdate_FullMethodName,
  4126. }
  4127. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4128. return srv.(GoPmpClientServer).AdPlanDetailUpdate(ctx, req.(*AdPlanDetailVo))
  4129. }
  4130. return interceptor(ctx, in, info, handler)
  4131. }
  4132. func _GoPmpClient_AdPlanDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4133. in := new(Ids)
  4134. if err := dec(in); err != nil {
  4135. return nil, err
  4136. }
  4137. if interceptor == nil {
  4138. return srv.(GoPmpClientServer).AdPlanDetailDel(ctx, in)
  4139. }
  4140. info := &grpc.UnaryServerInfo{
  4141. Server: srv,
  4142. FullMethod: GoPmpClient_AdPlanDetailDel_FullMethodName,
  4143. }
  4144. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4145. return srv.(GoPmpClientServer).AdPlanDetailDel(ctx, req.(*Ids))
  4146. }
  4147. return interceptor(ctx, in, info, handler)
  4148. }
  4149. func _GoPmpClient_AdPlanDetailGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4150. in := new(AdPlanDetailVo)
  4151. if err := dec(in); err != nil {
  4152. return nil, err
  4153. }
  4154. if interceptor == nil {
  4155. return srv.(GoPmpClientServer).AdPlanDetailGet(ctx, in)
  4156. }
  4157. info := &grpc.UnaryServerInfo{
  4158. Server: srv,
  4159. FullMethod: GoPmpClient_AdPlanDetailGet_FullMethodName,
  4160. }
  4161. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4162. return srv.(GoPmpClientServer).AdPlanDetailGet(ctx, req.(*AdPlanDetailVo))
  4163. }
  4164. return interceptor(ctx, in, info, handler)
  4165. }
  4166. func _GoPmpClient_AdPlanDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4167. in := new(AdPlanDetailListReq)
  4168. if err := dec(in); err != nil {
  4169. return nil, err
  4170. }
  4171. if interceptor == nil {
  4172. return srv.(GoPmpClientServer).AdPlanDetailList(ctx, in)
  4173. }
  4174. info := &grpc.UnaryServerInfo{
  4175. Server: srv,
  4176. FullMethod: GoPmpClient_AdPlanDetailList_FullMethodName,
  4177. }
  4178. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4179. return srv.(GoPmpClientServer).AdPlanDetailList(ctx, req.(*AdPlanDetailListReq))
  4180. }
  4181. return interceptor(ctx, in, info, handler)
  4182. }
  4183. func _GoPmpClient_AdGlobalConfigGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4184. in := new(AdGlobalConfigGetReq)
  4185. if err := dec(in); err != nil {
  4186. return nil, err
  4187. }
  4188. if interceptor == nil {
  4189. return srv.(GoPmpClientServer).AdGlobalConfigGet(ctx, in)
  4190. }
  4191. info := &grpc.UnaryServerInfo{
  4192. Server: srv,
  4193. FullMethod: GoPmpClient_AdGlobalConfigGet_FullMethodName,
  4194. }
  4195. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4196. return srv.(GoPmpClientServer).AdGlobalConfigGet(ctx, req.(*AdGlobalConfigGetReq))
  4197. }
  4198. return interceptor(ctx, in, info, handler)
  4199. }
  4200. func _GoPmpClient_AdGlobalConfigUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4201. in := new(AdGlobalConfigVo)
  4202. if err := dec(in); err != nil {
  4203. return nil, err
  4204. }
  4205. if interceptor == nil {
  4206. return srv.(GoPmpClientServer).AdGlobalConfigUpdate(ctx, in)
  4207. }
  4208. info := &grpc.UnaryServerInfo{
  4209. Server: srv,
  4210. FullMethod: GoPmpClient_AdGlobalConfigUpdate_FullMethodName,
  4211. }
  4212. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4213. return srv.(GoPmpClientServer).AdGlobalConfigUpdate(ctx, req.(*AdGlobalConfigVo))
  4214. }
  4215. return interceptor(ctx, in, info, handler)
  4216. }
  4217. func _GoPmpClient_JobBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4218. in := new(JobBatchVo)
  4219. if err := dec(in); err != nil {
  4220. return nil, err
  4221. }
  4222. if interceptor == nil {
  4223. return srv.(GoPmpClientServer).JobBatchAdd(ctx, in)
  4224. }
  4225. info := &grpc.UnaryServerInfo{
  4226. Server: srv,
  4227. FullMethod: GoPmpClient_JobBatchAdd_FullMethodName,
  4228. }
  4229. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4230. return srv.(GoPmpClientServer).JobBatchAdd(ctx, req.(*JobBatchVo))
  4231. }
  4232. return interceptor(ctx, in, info, handler)
  4233. }
  4234. func _GoPmpClient_JobBatchAddWithTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4235. in := new(JobBatchWithTasksVo)
  4236. if err := dec(in); err != nil {
  4237. return nil, err
  4238. }
  4239. if interceptor == nil {
  4240. return srv.(GoPmpClientServer).JobBatchAddWithTasks(ctx, in)
  4241. }
  4242. info := &grpc.UnaryServerInfo{
  4243. Server: srv,
  4244. FullMethod: GoPmpClient_JobBatchAddWithTasks_FullMethodName,
  4245. }
  4246. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4247. return srv.(GoPmpClientServer).JobBatchAddWithTasks(ctx, req.(*JobBatchWithTasksVo))
  4248. }
  4249. return interceptor(ctx, in, info, handler)
  4250. }
  4251. func _GoPmpClient_JobBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4252. in := new(JobBatchVo)
  4253. if err := dec(in); err != nil {
  4254. return nil, err
  4255. }
  4256. if interceptor == nil {
  4257. return srv.(GoPmpClientServer).JobBatchUpdate(ctx, in)
  4258. }
  4259. info := &grpc.UnaryServerInfo{
  4260. Server: srv,
  4261. FullMethod: GoPmpClient_JobBatchUpdate_FullMethodName,
  4262. }
  4263. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4264. return srv.(GoPmpClientServer).JobBatchUpdate(ctx, req.(*JobBatchVo))
  4265. }
  4266. return interceptor(ctx, in, info, handler)
  4267. }
  4268. func _GoPmpClient_JobBatchDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4269. in := new(Ids)
  4270. if err := dec(in); err != nil {
  4271. return nil, err
  4272. }
  4273. if interceptor == nil {
  4274. return srv.(GoPmpClientServer).JobBatchDel(ctx, in)
  4275. }
  4276. info := &grpc.UnaryServerInfo{
  4277. Server: srv,
  4278. FullMethod: GoPmpClient_JobBatchDel_FullMethodName,
  4279. }
  4280. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4281. return srv.(GoPmpClientServer).JobBatchDel(ctx, req.(*Ids))
  4282. }
  4283. return interceptor(ctx, in, info, handler)
  4284. }
  4285. func _GoPmpClient_JobBatchGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4286. in := new(JobBatchVo)
  4287. if err := dec(in); err != nil {
  4288. return nil, err
  4289. }
  4290. if interceptor == nil {
  4291. return srv.(GoPmpClientServer).JobBatchGet(ctx, in)
  4292. }
  4293. info := &grpc.UnaryServerInfo{
  4294. Server: srv,
  4295. FullMethod: GoPmpClient_JobBatchGet_FullMethodName,
  4296. }
  4297. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4298. return srv.(GoPmpClientServer).JobBatchGet(ctx, req.(*JobBatchVo))
  4299. }
  4300. return interceptor(ctx, in, info, handler)
  4301. }
  4302. func _GoPmpClient_JobBatchGetWithTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4303. in := new(JobBatchVo)
  4304. if err := dec(in); err != nil {
  4305. return nil, err
  4306. }
  4307. if interceptor == nil {
  4308. return srv.(GoPmpClientServer).JobBatchGetWithTasks(ctx, in)
  4309. }
  4310. info := &grpc.UnaryServerInfo{
  4311. Server: srv,
  4312. FullMethod: GoPmpClient_JobBatchGetWithTasks_FullMethodName,
  4313. }
  4314. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4315. return srv.(GoPmpClientServer).JobBatchGetWithTasks(ctx, req.(*JobBatchVo))
  4316. }
  4317. return interceptor(ctx, in, info, handler)
  4318. }
  4319. func _GoPmpClient_JobBatchList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4320. in := new(JobBatchListReq)
  4321. if err := dec(in); err != nil {
  4322. return nil, err
  4323. }
  4324. if interceptor == nil {
  4325. return srv.(GoPmpClientServer).JobBatchList(ctx, in)
  4326. }
  4327. info := &grpc.UnaryServerInfo{
  4328. Server: srv,
  4329. FullMethod: GoPmpClient_JobBatchList_FullMethodName,
  4330. }
  4331. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4332. return srv.(GoPmpClientServer).JobBatchList(ctx, req.(*JobBatchListReq))
  4333. }
  4334. return interceptor(ctx, in, info, handler)
  4335. }
  4336. func _GoPmpClient_JobBatchListWithTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4337. in := new(JobBatchListReq)
  4338. if err := dec(in); err != nil {
  4339. return nil, err
  4340. }
  4341. if interceptor == nil {
  4342. return srv.(GoPmpClientServer).JobBatchListWithTasks(ctx, in)
  4343. }
  4344. info := &grpc.UnaryServerInfo{
  4345. Server: srv,
  4346. FullMethod: GoPmpClient_JobBatchListWithTasks_FullMethodName,
  4347. }
  4348. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4349. return srv.(GoPmpClientServer).JobBatchListWithTasks(ctx, req.(*JobBatchListReq))
  4350. }
  4351. return interceptor(ctx, in, info, handler)
  4352. }
  4353. func _GoPmpClient_JobTasksAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4354. in := new(JobTasksVo)
  4355. if err := dec(in); err != nil {
  4356. return nil, err
  4357. }
  4358. if interceptor == nil {
  4359. return srv.(GoPmpClientServer).JobTasksAdd(ctx, in)
  4360. }
  4361. info := &grpc.UnaryServerInfo{
  4362. Server: srv,
  4363. FullMethod: GoPmpClient_JobTasksAdd_FullMethodName,
  4364. }
  4365. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4366. return srv.(GoPmpClientServer).JobTasksAdd(ctx, req.(*JobTasksVo))
  4367. }
  4368. return interceptor(ctx, in, info, handler)
  4369. }
  4370. func _GoPmpClient_JobTasksUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4371. in := new(JobTasksVo)
  4372. if err := dec(in); err != nil {
  4373. return nil, err
  4374. }
  4375. if interceptor == nil {
  4376. return srv.(GoPmpClientServer).JobTasksUpdate(ctx, in)
  4377. }
  4378. info := &grpc.UnaryServerInfo{
  4379. Server: srv,
  4380. FullMethod: GoPmpClient_JobTasksUpdate_FullMethodName,
  4381. }
  4382. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4383. return srv.(GoPmpClientServer).JobTasksUpdate(ctx, req.(*JobTasksVo))
  4384. }
  4385. return interceptor(ctx, in, info, handler)
  4386. }
  4387. func _GoPmpClient_JobTasksDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4388. in := new(Ids)
  4389. if err := dec(in); err != nil {
  4390. return nil, err
  4391. }
  4392. if interceptor == nil {
  4393. return srv.(GoPmpClientServer).JobTasksDel(ctx, in)
  4394. }
  4395. info := &grpc.UnaryServerInfo{
  4396. Server: srv,
  4397. FullMethod: GoPmpClient_JobTasksDel_FullMethodName,
  4398. }
  4399. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4400. return srv.(GoPmpClientServer).JobTasksDel(ctx, req.(*Ids))
  4401. }
  4402. return interceptor(ctx, in, info, handler)
  4403. }
  4404. func _GoPmpClient_JobTasksGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4405. in := new(JobTasksVo)
  4406. if err := dec(in); err != nil {
  4407. return nil, err
  4408. }
  4409. if interceptor == nil {
  4410. return srv.(GoPmpClientServer).JobTasksGet(ctx, in)
  4411. }
  4412. info := &grpc.UnaryServerInfo{
  4413. Server: srv,
  4414. FullMethod: GoPmpClient_JobTasksGet_FullMethodName,
  4415. }
  4416. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4417. return srv.(GoPmpClientServer).JobTasksGet(ctx, req.(*JobTasksVo))
  4418. }
  4419. return interceptor(ctx, in, info, handler)
  4420. }
  4421. func _GoPmpClient_JobTasksList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4422. in := new(JobTasksListReq)
  4423. if err := dec(in); err != nil {
  4424. return nil, err
  4425. }
  4426. if interceptor == nil {
  4427. return srv.(GoPmpClientServer).JobTasksList(ctx, in)
  4428. }
  4429. info := &grpc.UnaryServerInfo{
  4430. Server: srv,
  4431. FullMethod: GoPmpClient_JobTasksList_FullMethodName,
  4432. }
  4433. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4434. return srv.(GoPmpClientServer).JobTasksList(ctx, req.(*JobTasksListReq))
  4435. }
  4436. return interceptor(ctx, in, info, handler)
  4437. }
  4438. func _GoPmpClient_DeployConfigAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4439. in := new(DeployConfigVo)
  4440. if err := dec(in); err != nil {
  4441. return nil, err
  4442. }
  4443. if interceptor == nil {
  4444. return srv.(GoPmpClientServer).DeployConfigAdd(ctx, in)
  4445. }
  4446. info := &grpc.UnaryServerInfo{
  4447. Server: srv,
  4448. FullMethod: GoPmpClient_DeployConfigAdd_FullMethodName,
  4449. }
  4450. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4451. return srv.(GoPmpClientServer).DeployConfigAdd(ctx, req.(*DeployConfigVo))
  4452. }
  4453. return interceptor(ctx, in, info, handler)
  4454. }
  4455. func _GoPmpClient_DeployConfigUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4456. in := new(DeployConfigVo)
  4457. if err := dec(in); err != nil {
  4458. return nil, err
  4459. }
  4460. if interceptor == nil {
  4461. return srv.(GoPmpClientServer).DeployConfigUpdate(ctx, in)
  4462. }
  4463. info := &grpc.UnaryServerInfo{
  4464. Server: srv,
  4465. FullMethod: GoPmpClient_DeployConfigUpdate_FullMethodName,
  4466. }
  4467. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4468. return srv.(GoPmpClientServer).DeployConfigUpdate(ctx, req.(*DeployConfigVo))
  4469. }
  4470. return interceptor(ctx, in, info, handler)
  4471. }
  4472. func _GoPmpClient_DeployConfigDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4473. in := new(Ids)
  4474. if err := dec(in); err != nil {
  4475. return nil, err
  4476. }
  4477. if interceptor == nil {
  4478. return srv.(GoPmpClientServer).DeployConfigDel(ctx, in)
  4479. }
  4480. info := &grpc.UnaryServerInfo{
  4481. Server: srv,
  4482. FullMethod: GoPmpClient_DeployConfigDel_FullMethodName,
  4483. }
  4484. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4485. return srv.(GoPmpClientServer).DeployConfigDel(ctx, req.(*Ids))
  4486. }
  4487. return interceptor(ctx, in, info, handler)
  4488. }
  4489. func _GoPmpClient_DeployConfigGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4490. in := new(DeployConfigVo)
  4491. if err := dec(in); err != nil {
  4492. return nil, err
  4493. }
  4494. if interceptor == nil {
  4495. return srv.(GoPmpClientServer).DeployConfigGet(ctx, in)
  4496. }
  4497. info := &grpc.UnaryServerInfo{
  4498. Server: srv,
  4499. FullMethod: GoPmpClient_DeployConfigGet_FullMethodName,
  4500. }
  4501. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4502. return srv.(GoPmpClientServer).DeployConfigGet(ctx, req.(*DeployConfigVo))
  4503. }
  4504. return interceptor(ctx, in, info, handler)
  4505. }
  4506. func _GoPmpClient_DeployConfigList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4507. in := new(DeployConfigListReq)
  4508. if err := dec(in); err != nil {
  4509. return nil, err
  4510. }
  4511. if interceptor == nil {
  4512. return srv.(GoPmpClientServer).DeployConfigList(ctx, in)
  4513. }
  4514. info := &grpc.UnaryServerInfo{
  4515. Server: srv,
  4516. FullMethod: GoPmpClient_DeployConfigList_FullMethodName,
  4517. }
  4518. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4519. return srv.(GoPmpClientServer).DeployConfigList(ctx, req.(*DeployConfigListReq))
  4520. }
  4521. return interceptor(ctx, in, info, handler)
  4522. }
  4523. func _GoPmpClient_OperationLogAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4524. in := new(OperationLogVo)
  4525. if err := dec(in); err != nil {
  4526. return nil, err
  4527. }
  4528. if interceptor == nil {
  4529. return srv.(GoPmpClientServer).OperationLogAdd(ctx, in)
  4530. }
  4531. info := &grpc.UnaryServerInfo{
  4532. Server: srv,
  4533. FullMethod: GoPmpClient_OperationLogAdd_FullMethodName,
  4534. }
  4535. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4536. return srv.(GoPmpClientServer).OperationLogAdd(ctx, req.(*OperationLogVo))
  4537. }
  4538. return interceptor(ctx, in, info, handler)
  4539. }
  4540. func _GoPmpClient_OperationLogUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4541. in := new(OperationLogVo)
  4542. if err := dec(in); err != nil {
  4543. return nil, err
  4544. }
  4545. if interceptor == nil {
  4546. return srv.(GoPmpClientServer).OperationLogUpdate(ctx, in)
  4547. }
  4548. info := &grpc.UnaryServerInfo{
  4549. Server: srv,
  4550. FullMethod: GoPmpClient_OperationLogUpdate_FullMethodName,
  4551. }
  4552. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4553. return srv.(GoPmpClientServer).OperationLogUpdate(ctx, req.(*OperationLogVo))
  4554. }
  4555. return interceptor(ctx, in, info, handler)
  4556. }
  4557. func _GoPmpClient_OperationLogGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4558. in := new(OperationLogVo)
  4559. if err := dec(in); err != nil {
  4560. return nil, err
  4561. }
  4562. if interceptor == nil {
  4563. return srv.(GoPmpClientServer).OperationLogGet(ctx, in)
  4564. }
  4565. info := &grpc.UnaryServerInfo{
  4566. Server: srv,
  4567. FullMethod: GoPmpClient_OperationLogGet_FullMethodName,
  4568. }
  4569. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4570. return srv.(GoPmpClientServer).OperationLogGet(ctx, req.(*OperationLogVo))
  4571. }
  4572. return interceptor(ctx, in, info, handler)
  4573. }
  4574. func _GoPmpClient_OperationLogList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4575. in := new(OperationLogListReq)
  4576. if err := dec(in); err != nil {
  4577. return nil, err
  4578. }
  4579. if interceptor == nil {
  4580. return srv.(GoPmpClientServer).OperationLogList(ctx, in)
  4581. }
  4582. info := &grpc.UnaryServerInfo{
  4583. Server: srv,
  4584. FullMethod: GoPmpClient_OperationLogList_FullMethodName,
  4585. }
  4586. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4587. return srv.(GoPmpClientServer).OperationLogList(ctx, req.(*OperationLogListReq))
  4588. }
  4589. return interceptor(ctx, in, info, handler)
  4590. }
  4591. func _GoPmpClient_AnnouncePlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4592. in := new(AnnouncePlanVo)
  4593. if err := dec(in); err != nil {
  4594. return nil, err
  4595. }
  4596. if interceptor == nil {
  4597. return srv.(GoPmpClientServer).AnnouncePlanAdd(ctx, in)
  4598. }
  4599. info := &grpc.UnaryServerInfo{
  4600. Server: srv,
  4601. FullMethod: GoPmpClient_AnnouncePlanAdd_FullMethodName,
  4602. }
  4603. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4604. return srv.(GoPmpClientServer).AnnouncePlanAdd(ctx, req.(*AnnouncePlanVo))
  4605. }
  4606. return interceptor(ctx, in, info, handler)
  4607. }
  4608. func _GoPmpClient_AnnouncePlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4609. in := new(AnnouncePlanVo)
  4610. if err := dec(in); err != nil {
  4611. return nil, err
  4612. }
  4613. if interceptor == nil {
  4614. return srv.(GoPmpClientServer).AnnouncePlanUpdate(ctx, in)
  4615. }
  4616. info := &grpc.UnaryServerInfo{
  4617. Server: srv,
  4618. FullMethod: GoPmpClient_AnnouncePlanUpdate_FullMethodName,
  4619. }
  4620. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4621. return srv.(GoPmpClientServer).AnnouncePlanUpdate(ctx, req.(*AnnouncePlanVo))
  4622. }
  4623. return interceptor(ctx, in, info, handler)
  4624. }
  4625. func _GoPmpClient_AnnouncePlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4626. in := new(Ids)
  4627. if err := dec(in); err != nil {
  4628. return nil, err
  4629. }
  4630. if interceptor == nil {
  4631. return srv.(GoPmpClientServer).AnnouncePlanDel(ctx, in)
  4632. }
  4633. info := &grpc.UnaryServerInfo{
  4634. Server: srv,
  4635. FullMethod: GoPmpClient_AnnouncePlanDel_FullMethodName,
  4636. }
  4637. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4638. return srv.(GoPmpClientServer).AnnouncePlanDel(ctx, req.(*Ids))
  4639. }
  4640. return interceptor(ctx, in, info, handler)
  4641. }
  4642. func _GoPmpClient_AnnouncePlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4643. in := new(AnnouncePlanVo)
  4644. if err := dec(in); err != nil {
  4645. return nil, err
  4646. }
  4647. if interceptor == nil {
  4648. return srv.(GoPmpClientServer).AnnouncePlanGet(ctx, in)
  4649. }
  4650. info := &grpc.UnaryServerInfo{
  4651. Server: srv,
  4652. FullMethod: GoPmpClient_AnnouncePlanGet_FullMethodName,
  4653. }
  4654. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4655. return srv.(GoPmpClientServer).AnnouncePlanGet(ctx, req.(*AnnouncePlanVo))
  4656. }
  4657. return interceptor(ctx, in, info, handler)
  4658. }
  4659. func _GoPmpClient_AnnouncePlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4660. in := new(AnnouncePlanListReq)
  4661. if err := dec(in); err != nil {
  4662. return nil, err
  4663. }
  4664. if interceptor == nil {
  4665. return srv.(GoPmpClientServer).AnnouncePlanList(ctx, in)
  4666. }
  4667. info := &grpc.UnaryServerInfo{
  4668. Server: srv,
  4669. FullMethod: GoPmpClient_AnnouncePlanList_FullMethodName,
  4670. }
  4671. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4672. return srv.(GoPmpClientServer).AnnouncePlanList(ctx, req.(*AnnouncePlanListReq))
  4673. }
  4674. return interceptor(ctx, in, info, handler)
  4675. }
  4676. func _GoPmpClient_AnnouncePlanDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4677. in := new(AnnouncePlanDetailVo)
  4678. if err := dec(in); err != nil {
  4679. return nil, err
  4680. }
  4681. if interceptor == nil {
  4682. return srv.(GoPmpClientServer).AnnouncePlanDetailAdd(ctx, in)
  4683. }
  4684. info := &grpc.UnaryServerInfo{
  4685. Server: srv,
  4686. FullMethod: GoPmpClient_AnnouncePlanDetailAdd_FullMethodName,
  4687. }
  4688. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4689. return srv.(GoPmpClientServer).AnnouncePlanDetailAdd(ctx, req.(*AnnouncePlanDetailVo))
  4690. }
  4691. return interceptor(ctx, in, info, handler)
  4692. }
  4693. func _GoPmpClient_AnnouncePlanDetailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4694. in := new(AnnouncePlanDetailVo)
  4695. if err := dec(in); err != nil {
  4696. return nil, err
  4697. }
  4698. if interceptor == nil {
  4699. return srv.(GoPmpClientServer).AnnouncePlanDetailUpdate(ctx, in)
  4700. }
  4701. info := &grpc.UnaryServerInfo{
  4702. Server: srv,
  4703. FullMethod: GoPmpClient_AnnouncePlanDetailUpdate_FullMethodName,
  4704. }
  4705. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4706. return srv.(GoPmpClientServer).AnnouncePlanDetailUpdate(ctx, req.(*AnnouncePlanDetailVo))
  4707. }
  4708. return interceptor(ctx, in, info, handler)
  4709. }
  4710. func _GoPmpClient_AnnouncePlanDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4711. in := new(Ids)
  4712. if err := dec(in); err != nil {
  4713. return nil, err
  4714. }
  4715. if interceptor == nil {
  4716. return srv.(GoPmpClientServer).AnnouncePlanDetailDel(ctx, in)
  4717. }
  4718. info := &grpc.UnaryServerInfo{
  4719. Server: srv,
  4720. FullMethod: GoPmpClient_AnnouncePlanDetailDel_FullMethodName,
  4721. }
  4722. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4723. return srv.(GoPmpClientServer).AnnouncePlanDetailDel(ctx, req.(*Ids))
  4724. }
  4725. return interceptor(ctx, in, info, handler)
  4726. }
  4727. func _GoPmpClient_AnnouncePlanDetailGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4728. in := new(AnnouncePlanDetailVo)
  4729. if err := dec(in); err != nil {
  4730. return nil, err
  4731. }
  4732. if interceptor == nil {
  4733. return srv.(GoPmpClientServer).AnnouncePlanDetailGet(ctx, in)
  4734. }
  4735. info := &grpc.UnaryServerInfo{
  4736. Server: srv,
  4737. FullMethod: GoPmpClient_AnnouncePlanDetailGet_FullMethodName,
  4738. }
  4739. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4740. return srv.(GoPmpClientServer).AnnouncePlanDetailGet(ctx, req.(*AnnouncePlanDetailVo))
  4741. }
  4742. return interceptor(ctx, in, info, handler)
  4743. }
  4744. func _GoPmpClient_AnnouncePlanDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4745. in := new(AnnouncePlanDetailListReq)
  4746. if err := dec(in); err != nil {
  4747. return nil, err
  4748. }
  4749. if interceptor == nil {
  4750. return srv.(GoPmpClientServer).AnnouncePlanDetailList(ctx, in)
  4751. }
  4752. info := &grpc.UnaryServerInfo{
  4753. Server: srv,
  4754. FullMethod: GoPmpClient_AnnouncePlanDetailList_FullMethodName,
  4755. }
  4756. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4757. return srv.(GoPmpClientServer).AnnouncePlanDetailList(ctx, req.(*AnnouncePlanDetailListReq))
  4758. }
  4759. return interceptor(ctx, in, info, handler)
  4760. }
  4761. func _GoPmpClient_ServiceTypesAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4762. in := new(ServiceTypesAddReq)
  4763. if err := dec(in); err != nil {
  4764. return nil, err
  4765. }
  4766. if interceptor == nil {
  4767. return srv.(GoPmpClientServer).ServiceTypesAdd(ctx, in)
  4768. }
  4769. info := &grpc.UnaryServerInfo{
  4770. Server: srv,
  4771. FullMethod: GoPmpClient_ServiceTypesAdd_FullMethodName,
  4772. }
  4773. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4774. return srv.(GoPmpClientServer).ServiceTypesAdd(ctx, req.(*ServiceTypesAddReq))
  4775. }
  4776. return interceptor(ctx, in, info, handler)
  4777. }
  4778. func _GoPmpClient_ServiceTypesUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4779. in := new(ServiceTypesUpdateReq)
  4780. if err := dec(in); err != nil {
  4781. return nil, err
  4782. }
  4783. if interceptor == nil {
  4784. return srv.(GoPmpClientServer).ServiceTypesUpdate(ctx, in)
  4785. }
  4786. info := &grpc.UnaryServerInfo{
  4787. Server: srv,
  4788. FullMethod: GoPmpClient_ServiceTypesUpdate_FullMethodName,
  4789. }
  4790. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4791. return srv.(GoPmpClientServer).ServiceTypesUpdate(ctx, req.(*ServiceTypesUpdateReq))
  4792. }
  4793. return interceptor(ctx, in, info, handler)
  4794. }
  4795. func _GoPmpClient_ServiceTypesDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4796. in := new(ServiceTypesDelReq)
  4797. if err := dec(in); err != nil {
  4798. return nil, err
  4799. }
  4800. if interceptor == nil {
  4801. return srv.(GoPmpClientServer).ServiceTypesDel(ctx, in)
  4802. }
  4803. info := &grpc.UnaryServerInfo{
  4804. Server: srv,
  4805. FullMethod: GoPmpClient_ServiceTypesDel_FullMethodName,
  4806. }
  4807. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4808. return srv.(GoPmpClientServer).ServiceTypesDel(ctx, req.(*ServiceTypesDelReq))
  4809. }
  4810. return interceptor(ctx, in, info, handler)
  4811. }
  4812. func _GoPmpClient_ServiceTypesGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4813. in := new(ServiceTypesGetReq)
  4814. if err := dec(in); err != nil {
  4815. return nil, err
  4816. }
  4817. if interceptor == nil {
  4818. return srv.(GoPmpClientServer).ServiceTypesGet(ctx, in)
  4819. }
  4820. info := &grpc.UnaryServerInfo{
  4821. Server: srv,
  4822. FullMethod: GoPmpClient_ServiceTypesGet_FullMethodName,
  4823. }
  4824. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4825. return srv.(GoPmpClientServer).ServiceTypesGet(ctx, req.(*ServiceTypesGetReq))
  4826. }
  4827. return interceptor(ctx, in, info, handler)
  4828. }
  4829. func _GoPmpClient_ServiceTypesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4830. in := new(ServiceTypesListReq)
  4831. if err := dec(in); err != nil {
  4832. return nil, err
  4833. }
  4834. if interceptor == nil {
  4835. return srv.(GoPmpClientServer).ServiceTypesList(ctx, in)
  4836. }
  4837. info := &grpc.UnaryServerInfo{
  4838. Server: srv,
  4839. FullMethod: GoPmpClient_ServiceTypesList_FullMethodName,
  4840. }
  4841. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4842. return srv.(GoPmpClientServer).ServiceTypesList(ctx, req.(*ServiceTypesListReq))
  4843. }
  4844. return interceptor(ctx, in, info, handler)
  4845. }
  4846. func _GoPmpClient_ServiceSetsAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4847. in := new(ServiceSetsAddReq)
  4848. if err := dec(in); err != nil {
  4849. return nil, err
  4850. }
  4851. if interceptor == nil {
  4852. return srv.(GoPmpClientServer).ServiceSetsAdd(ctx, in)
  4853. }
  4854. info := &grpc.UnaryServerInfo{
  4855. Server: srv,
  4856. FullMethod: GoPmpClient_ServiceSetsAdd_FullMethodName,
  4857. }
  4858. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4859. return srv.(GoPmpClientServer).ServiceSetsAdd(ctx, req.(*ServiceSetsAddReq))
  4860. }
  4861. return interceptor(ctx, in, info, handler)
  4862. }
  4863. func _GoPmpClient_ServiceSetsUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4864. in := new(ServiceSetsUpdateReq)
  4865. if err := dec(in); err != nil {
  4866. return nil, err
  4867. }
  4868. if interceptor == nil {
  4869. return srv.(GoPmpClientServer).ServiceSetsUpdate(ctx, in)
  4870. }
  4871. info := &grpc.UnaryServerInfo{
  4872. Server: srv,
  4873. FullMethod: GoPmpClient_ServiceSetsUpdate_FullMethodName,
  4874. }
  4875. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4876. return srv.(GoPmpClientServer).ServiceSetsUpdate(ctx, req.(*ServiceSetsUpdateReq))
  4877. }
  4878. return interceptor(ctx, in, info, handler)
  4879. }
  4880. func _GoPmpClient_ServiceSetsDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4881. in := new(ServiceSetsDelReq)
  4882. if err := dec(in); err != nil {
  4883. return nil, err
  4884. }
  4885. if interceptor == nil {
  4886. return srv.(GoPmpClientServer).ServiceSetsDel(ctx, in)
  4887. }
  4888. info := &grpc.UnaryServerInfo{
  4889. Server: srv,
  4890. FullMethod: GoPmpClient_ServiceSetsDel_FullMethodName,
  4891. }
  4892. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4893. return srv.(GoPmpClientServer).ServiceSetsDel(ctx, req.(*ServiceSetsDelReq))
  4894. }
  4895. return interceptor(ctx, in, info, handler)
  4896. }
  4897. func _GoPmpClient_ServiceSetsGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4898. in := new(ServiceSetsGetReq)
  4899. if err := dec(in); err != nil {
  4900. return nil, err
  4901. }
  4902. if interceptor == nil {
  4903. return srv.(GoPmpClientServer).ServiceSetsGet(ctx, in)
  4904. }
  4905. info := &grpc.UnaryServerInfo{
  4906. Server: srv,
  4907. FullMethod: GoPmpClient_ServiceSetsGet_FullMethodName,
  4908. }
  4909. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4910. return srv.(GoPmpClientServer).ServiceSetsGet(ctx, req.(*ServiceSetsGetReq))
  4911. }
  4912. return interceptor(ctx, in, info, handler)
  4913. }
  4914. func _GoPmpClient_ServiceSetsList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4915. in := new(ServiceSetsListReq)
  4916. if err := dec(in); err != nil {
  4917. return nil, err
  4918. }
  4919. if interceptor == nil {
  4920. return srv.(GoPmpClientServer).ServiceSetsList(ctx, in)
  4921. }
  4922. info := &grpc.UnaryServerInfo{
  4923. Server: srv,
  4924. FullMethod: GoPmpClient_ServiceSetsList_FullMethodName,
  4925. }
  4926. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4927. return srv.(GoPmpClientServer).ServiceSetsList(ctx, req.(*ServiceSetsListReq))
  4928. }
  4929. return interceptor(ctx, in, info, handler)
  4930. }
  4931. func _GoPmpClient_MessagePushAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4932. in := new(MessagePushVo)
  4933. if err := dec(in); err != nil {
  4934. return nil, err
  4935. }
  4936. if interceptor == nil {
  4937. return srv.(GoPmpClientServer).MessagePushAdd(ctx, in)
  4938. }
  4939. info := &grpc.UnaryServerInfo{
  4940. Server: srv,
  4941. FullMethod: GoPmpClient_MessagePushAdd_FullMethodName,
  4942. }
  4943. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4944. return srv.(GoPmpClientServer).MessagePushAdd(ctx, req.(*MessagePushVo))
  4945. }
  4946. return interceptor(ctx, in, info, handler)
  4947. }
  4948. func _GoPmpClient_MessagePushUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4949. in := new(MessagePushVo)
  4950. if err := dec(in); err != nil {
  4951. return nil, err
  4952. }
  4953. if interceptor == nil {
  4954. return srv.(GoPmpClientServer).MessagePushUpdate(ctx, in)
  4955. }
  4956. info := &grpc.UnaryServerInfo{
  4957. Server: srv,
  4958. FullMethod: GoPmpClient_MessagePushUpdate_FullMethodName,
  4959. }
  4960. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4961. return srv.(GoPmpClientServer).MessagePushUpdate(ctx, req.(*MessagePushVo))
  4962. }
  4963. return interceptor(ctx, in, info, handler)
  4964. }
  4965. func _GoPmpClient_MessagePushList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4966. in := new(MessagePushListReq)
  4967. if err := dec(in); err != nil {
  4968. return nil, err
  4969. }
  4970. if interceptor == nil {
  4971. return srv.(GoPmpClientServer).MessagePushList(ctx, in)
  4972. }
  4973. info := &grpc.UnaryServerInfo{
  4974. Server: srv,
  4975. FullMethod: GoPmpClient_MessagePushList_FullMethodName,
  4976. }
  4977. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4978. return srv.(GoPmpClientServer).MessagePushList(ctx, req.(*MessagePushListReq))
  4979. }
  4980. return interceptor(ctx, in, info, handler)
  4981. }
  4982. // GoPmpClient_ServiceDesc is the grpc.ServiceDesc for GoPmpClient service.
  4983. // It's only intended for direct use with grpc.RegisterService,
  4984. // and not to be introspected or modified (even as a copy)
  4985. var GoPmpClient_ServiceDesc = grpc.ServiceDesc{
  4986. ServiceName: "gorpc.GoPmpClient",
  4987. HandlerType: (*GoPmpClientServer)(nil),
  4988. Methods: []grpc.MethodDesc{
  4989. {
  4990. MethodName: "Ping",
  4991. Handler: _GoPmpClient_Ping_Handler,
  4992. },
  4993. {
  4994. MethodName: "GlobalParamAdd",
  4995. Handler: _GoPmpClient_GlobalParamAdd_Handler,
  4996. },
  4997. {
  4998. MethodName: "GlobalParamUpdate",
  4999. Handler: _GoPmpClient_GlobalParamUpdate_Handler,
  5000. },
  5001. {
  5002. MethodName: "GlobalParamDel",
  5003. Handler: _GoPmpClient_GlobalParamDel_Handler,
  5004. },
  5005. {
  5006. MethodName: "GlobalParamGet",
  5007. Handler: _GoPmpClient_GlobalParamGet_Handler,
  5008. },
  5009. {
  5010. MethodName: "GlobalParamGetWithLang",
  5011. Handler: _GoPmpClient_GlobalParamGetWithLang_Handler,
  5012. },
  5013. {
  5014. MethodName: "GlobalParamList",
  5015. Handler: _GoPmpClient_GlobalParamList_Handler,
  5016. },
  5017. {
  5018. MethodName: "ProductAdd",
  5019. Handler: _GoPmpClient_ProductAdd_Handler,
  5020. },
  5021. {
  5022. MethodName: "ProductUpdate",
  5023. Handler: _GoPmpClient_ProductUpdate_Handler,
  5024. },
  5025. {
  5026. MethodName: "ProductDel",
  5027. Handler: _GoPmpClient_ProductDel_Handler,
  5028. },
  5029. {
  5030. MethodName: "ProductGet",
  5031. Handler: _GoPmpClient_ProductGet_Handler,
  5032. },
  5033. {
  5034. MethodName: "ProductList",
  5035. Handler: _GoPmpClient_ProductList_Handler,
  5036. },
  5037. {
  5038. MethodName: "ProductAll",
  5039. Handler: _GoPmpClient_ProductAll_Handler,
  5040. },
  5041. {
  5042. MethodName: "ProductParamAdd",
  5043. Handler: _GoPmpClient_ProductParamAdd_Handler,
  5044. },
  5045. {
  5046. MethodName: "ProductParamUpdate",
  5047. Handler: _GoPmpClient_ProductParamUpdate_Handler,
  5048. },
  5049. {
  5050. MethodName: "ProductParamDel",
  5051. Handler: _GoPmpClient_ProductParamDel_Handler,
  5052. },
  5053. {
  5054. MethodName: "ProductParamGet",
  5055. Handler: _GoPmpClient_ProductParamGet_Handler,
  5056. },
  5057. {
  5058. MethodName: "ProductParamGetWithLang",
  5059. Handler: _GoPmpClient_ProductParamGetWithLang_Handler,
  5060. },
  5061. {
  5062. MethodName: "ProductParamList",
  5063. Handler: _GoPmpClient_ProductParamList_Handler,
  5064. },
  5065. {
  5066. MethodName: "ProductActionAdd",
  5067. Handler: _GoPmpClient_ProductActionAdd_Handler,
  5068. },
  5069. {
  5070. MethodName: "ProductActionUpdate",
  5071. Handler: _GoPmpClient_ProductActionUpdate_Handler,
  5072. },
  5073. {
  5074. MethodName: "ProductActionDel",
  5075. Handler: _GoPmpClient_ProductActionDel_Handler,
  5076. },
  5077. {
  5078. MethodName: "ProductActionGet",
  5079. Handler: _GoPmpClient_ProductActionGet_Handler,
  5080. },
  5081. {
  5082. MethodName: "ProductActionList",
  5083. Handler: _GoPmpClient_ProductActionList_Handler,
  5084. },
  5085. {
  5086. MethodName: "AreaParamAdd",
  5087. Handler: _GoPmpClient_AreaParamAdd_Handler,
  5088. },
  5089. {
  5090. MethodName: "AreaParamUpdate",
  5091. Handler: _GoPmpClient_AreaParamUpdate_Handler,
  5092. },
  5093. {
  5094. MethodName: "AreaParamDel",
  5095. Handler: _GoPmpClient_AreaParamDel_Handler,
  5096. },
  5097. {
  5098. MethodName: "AreaParamGet",
  5099. Handler: _GoPmpClient_AreaParamGet_Handler,
  5100. },
  5101. {
  5102. MethodName: "AreaParamList",
  5103. Handler: _GoPmpClient_AreaParamList_Handler,
  5104. },
  5105. {
  5106. MethodName: "NationalLanguageAdd",
  5107. Handler: _GoPmpClient_NationalLanguageAdd_Handler,
  5108. },
  5109. {
  5110. MethodName: "NationalLanguageUpdate",
  5111. Handler: _GoPmpClient_NationalLanguageUpdate_Handler,
  5112. },
  5113. {
  5114. MethodName: "NationalLanguageDel",
  5115. Handler: _GoPmpClient_NationalLanguageDel_Handler,
  5116. },
  5117. {
  5118. MethodName: "NationalLanguageGet",
  5119. Handler: _GoPmpClient_NationalLanguageGet_Handler,
  5120. },
  5121. {
  5122. MethodName: "NationalLanguageList",
  5123. Handler: _GoPmpClient_NationalLanguageList_Handler,
  5124. },
  5125. {
  5126. MethodName: "TipAdd",
  5127. Handler: _GoPmpClient_TipAdd_Handler,
  5128. },
  5129. {
  5130. MethodName: "TipUpdate",
  5131. Handler: _GoPmpClient_TipUpdate_Handler,
  5132. },
  5133. {
  5134. MethodName: "TipDel",
  5135. Handler: _GoPmpClient_TipDel_Handler,
  5136. },
  5137. {
  5138. MethodName: "TipGet",
  5139. Handler: _GoPmpClient_TipGet_Handler,
  5140. },
  5141. {
  5142. MethodName: "TipList",
  5143. Handler: _GoPmpClient_TipList_Handler,
  5144. },
  5145. {
  5146. MethodName: "DictAdd",
  5147. Handler: _GoPmpClient_DictAdd_Handler,
  5148. },
  5149. {
  5150. MethodName: "DictUpdate",
  5151. Handler: _GoPmpClient_DictUpdate_Handler,
  5152. },
  5153. {
  5154. MethodName: "DictDel",
  5155. Handler: _GoPmpClient_DictDel_Handler,
  5156. },
  5157. {
  5158. MethodName: "DictGet",
  5159. Handler: _GoPmpClient_DictGet_Handler,
  5160. },
  5161. {
  5162. MethodName: "DictList",
  5163. Handler: _GoPmpClient_DictList_Handler,
  5164. },
  5165. {
  5166. MethodName: "UpgradePkgPlanAdd",
  5167. Handler: _GoPmpClient_UpgradePkgPlanAdd_Handler,
  5168. },
  5169. {
  5170. MethodName: "UpgradePkgPlanUpdate",
  5171. Handler: _GoPmpClient_UpgradePkgPlanUpdate_Handler,
  5172. },
  5173. {
  5174. MethodName: "UpgradePkgPlanDel",
  5175. Handler: _GoPmpClient_UpgradePkgPlanDel_Handler,
  5176. },
  5177. {
  5178. MethodName: "UpgradePkgPlanGet",
  5179. Handler: _GoPmpClient_UpgradePkgPlanGet_Handler,
  5180. },
  5181. {
  5182. MethodName: "UpgradePkgPlanList",
  5183. Handler: _GoPmpClient_UpgradePkgPlanList_Handler,
  5184. },
  5185. {
  5186. MethodName: "UpgradePkgPlanDetailAdd",
  5187. Handler: _GoPmpClient_UpgradePkgPlanDetailAdd_Handler,
  5188. },
  5189. {
  5190. MethodName: "UpgradePkgPlanDetailUpdate",
  5191. Handler: _GoPmpClient_UpgradePkgPlanDetailUpdate_Handler,
  5192. },
  5193. {
  5194. MethodName: "UpgradePkgPlanDetailDel",
  5195. Handler: _GoPmpClient_UpgradePkgPlanDetailDel_Handler,
  5196. },
  5197. {
  5198. MethodName: "UpgradePkgPlanDetailGet",
  5199. Handler: _GoPmpClient_UpgradePkgPlanDetailGet_Handler,
  5200. },
  5201. {
  5202. MethodName: "UpgradePkgPlanDetailList",
  5203. Handler: _GoPmpClient_UpgradePkgPlanDetailList_Handler,
  5204. },
  5205. {
  5206. MethodName: "UpgradeResPlanAdd",
  5207. Handler: _GoPmpClient_UpgradeResPlanAdd_Handler,
  5208. },
  5209. {
  5210. MethodName: "UpgradeResPlanUpdate",
  5211. Handler: _GoPmpClient_UpgradeResPlanUpdate_Handler,
  5212. },
  5213. {
  5214. MethodName: "UpgradeResPlanDel",
  5215. Handler: _GoPmpClient_UpgradeResPlanDel_Handler,
  5216. },
  5217. {
  5218. MethodName: "UpgradeResPlanGet",
  5219. Handler: _GoPmpClient_UpgradeResPlanGet_Handler,
  5220. },
  5221. {
  5222. MethodName: "UpgradeResPlanList",
  5223. Handler: _GoPmpClient_UpgradeResPlanList_Handler,
  5224. },
  5225. {
  5226. MethodName: "UpgradeResPlanDetailAdd",
  5227. Handler: _GoPmpClient_UpgradeResPlanDetailAdd_Handler,
  5228. },
  5229. {
  5230. MethodName: "UpgradeResPlanDetailUpdate",
  5231. Handler: _GoPmpClient_UpgradeResPlanDetailUpdate_Handler,
  5232. },
  5233. {
  5234. MethodName: "UpgradeResPlanDetailDel",
  5235. Handler: _GoPmpClient_UpgradeResPlanDetailDel_Handler,
  5236. },
  5237. {
  5238. MethodName: "UpgradeResPlanDetailGet",
  5239. Handler: _GoPmpClient_UpgradeResPlanDetailGet_Handler,
  5240. },
  5241. {
  5242. MethodName: "UpgradeResPlanDetailList",
  5243. Handler: _GoPmpClient_UpgradeResPlanDetailList_Handler,
  5244. },
  5245. {
  5246. MethodName: "AdPlanAdd",
  5247. Handler: _GoPmpClient_AdPlanAdd_Handler,
  5248. },
  5249. {
  5250. MethodName: "AdPlanUpdate",
  5251. Handler: _GoPmpClient_AdPlanUpdate_Handler,
  5252. },
  5253. {
  5254. MethodName: "AdPlanDel",
  5255. Handler: _GoPmpClient_AdPlanDel_Handler,
  5256. },
  5257. {
  5258. MethodName: "AdPlanGet",
  5259. Handler: _GoPmpClient_AdPlanGet_Handler,
  5260. },
  5261. {
  5262. MethodName: "AdPlanList",
  5263. Handler: _GoPmpClient_AdPlanList_Handler,
  5264. },
  5265. {
  5266. MethodName: "AdPlanDetailAdd",
  5267. Handler: _GoPmpClient_AdPlanDetailAdd_Handler,
  5268. },
  5269. {
  5270. MethodName: "AdPlanDetailUpdate",
  5271. Handler: _GoPmpClient_AdPlanDetailUpdate_Handler,
  5272. },
  5273. {
  5274. MethodName: "AdPlanDetailDel",
  5275. Handler: _GoPmpClient_AdPlanDetailDel_Handler,
  5276. },
  5277. {
  5278. MethodName: "AdPlanDetailGet",
  5279. Handler: _GoPmpClient_AdPlanDetailGet_Handler,
  5280. },
  5281. {
  5282. MethodName: "AdPlanDetailList",
  5283. Handler: _GoPmpClient_AdPlanDetailList_Handler,
  5284. },
  5285. {
  5286. MethodName: "AdGlobalConfigGet",
  5287. Handler: _GoPmpClient_AdGlobalConfigGet_Handler,
  5288. },
  5289. {
  5290. MethodName: "AdGlobalConfigUpdate",
  5291. Handler: _GoPmpClient_AdGlobalConfigUpdate_Handler,
  5292. },
  5293. {
  5294. MethodName: "JobBatchAdd",
  5295. Handler: _GoPmpClient_JobBatchAdd_Handler,
  5296. },
  5297. {
  5298. MethodName: "JobBatchAddWithTasks",
  5299. Handler: _GoPmpClient_JobBatchAddWithTasks_Handler,
  5300. },
  5301. {
  5302. MethodName: "JobBatchUpdate",
  5303. Handler: _GoPmpClient_JobBatchUpdate_Handler,
  5304. },
  5305. {
  5306. MethodName: "JobBatchDel",
  5307. Handler: _GoPmpClient_JobBatchDel_Handler,
  5308. },
  5309. {
  5310. MethodName: "JobBatchGet",
  5311. Handler: _GoPmpClient_JobBatchGet_Handler,
  5312. },
  5313. {
  5314. MethodName: "JobBatchGetWithTasks",
  5315. Handler: _GoPmpClient_JobBatchGetWithTasks_Handler,
  5316. },
  5317. {
  5318. MethodName: "JobBatchList",
  5319. Handler: _GoPmpClient_JobBatchList_Handler,
  5320. },
  5321. {
  5322. MethodName: "JobBatchListWithTasks",
  5323. Handler: _GoPmpClient_JobBatchListWithTasks_Handler,
  5324. },
  5325. {
  5326. MethodName: "JobTasksAdd",
  5327. Handler: _GoPmpClient_JobTasksAdd_Handler,
  5328. },
  5329. {
  5330. MethodName: "JobTasksUpdate",
  5331. Handler: _GoPmpClient_JobTasksUpdate_Handler,
  5332. },
  5333. {
  5334. MethodName: "JobTasksDel",
  5335. Handler: _GoPmpClient_JobTasksDel_Handler,
  5336. },
  5337. {
  5338. MethodName: "JobTasksGet",
  5339. Handler: _GoPmpClient_JobTasksGet_Handler,
  5340. },
  5341. {
  5342. MethodName: "JobTasksList",
  5343. Handler: _GoPmpClient_JobTasksList_Handler,
  5344. },
  5345. {
  5346. MethodName: "DeployConfigAdd",
  5347. Handler: _GoPmpClient_DeployConfigAdd_Handler,
  5348. },
  5349. {
  5350. MethodName: "DeployConfigUpdate",
  5351. Handler: _GoPmpClient_DeployConfigUpdate_Handler,
  5352. },
  5353. {
  5354. MethodName: "DeployConfigDel",
  5355. Handler: _GoPmpClient_DeployConfigDel_Handler,
  5356. },
  5357. {
  5358. MethodName: "DeployConfigGet",
  5359. Handler: _GoPmpClient_DeployConfigGet_Handler,
  5360. },
  5361. {
  5362. MethodName: "DeployConfigList",
  5363. Handler: _GoPmpClient_DeployConfigList_Handler,
  5364. },
  5365. {
  5366. MethodName: "OperationLogAdd",
  5367. Handler: _GoPmpClient_OperationLogAdd_Handler,
  5368. },
  5369. {
  5370. MethodName: "OperationLogUpdate",
  5371. Handler: _GoPmpClient_OperationLogUpdate_Handler,
  5372. },
  5373. {
  5374. MethodName: "OperationLogGet",
  5375. Handler: _GoPmpClient_OperationLogGet_Handler,
  5376. },
  5377. {
  5378. MethodName: "OperationLogList",
  5379. Handler: _GoPmpClient_OperationLogList_Handler,
  5380. },
  5381. {
  5382. MethodName: "AnnouncePlanAdd",
  5383. Handler: _GoPmpClient_AnnouncePlanAdd_Handler,
  5384. },
  5385. {
  5386. MethodName: "AnnouncePlanUpdate",
  5387. Handler: _GoPmpClient_AnnouncePlanUpdate_Handler,
  5388. },
  5389. {
  5390. MethodName: "AnnouncePlanDel",
  5391. Handler: _GoPmpClient_AnnouncePlanDel_Handler,
  5392. },
  5393. {
  5394. MethodName: "AnnouncePlanGet",
  5395. Handler: _GoPmpClient_AnnouncePlanGet_Handler,
  5396. },
  5397. {
  5398. MethodName: "AnnouncePlanList",
  5399. Handler: _GoPmpClient_AnnouncePlanList_Handler,
  5400. },
  5401. {
  5402. MethodName: "AnnouncePlanDetailAdd",
  5403. Handler: _GoPmpClient_AnnouncePlanDetailAdd_Handler,
  5404. },
  5405. {
  5406. MethodName: "AnnouncePlanDetailUpdate",
  5407. Handler: _GoPmpClient_AnnouncePlanDetailUpdate_Handler,
  5408. },
  5409. {
  5410. MethodName: "AnnouncePlanDetailDel",
  5411. Handler: _GoPmpClient_AnnouncePlanDetailDel_Handler,
  5412. },
  5413. {
  5414. MethodName: "AnnouncePlanDetailGet",
  5415. Handler: _GoPmpClient_AnnouncePlanDetailGet_Handler,
  5416. },
  5417. {
  5418. MethodName: "AnnouncePlanDetailList",
  5419. Handler: _GoPmpClient_AnnouncePlanDetailList_Handler,
  5420. },
  5421. {
  5422. MethodName: "ServiceTypesAdd",
  5423. Handler: _GoPmpClient_ServiceTypesAdd_Handler,
  5424. },
  5425. {
  5426. MethodName: "ServiceTypesUpdate",
  5427. Handler: _GoPmpClient_ServiceTypesUpdate_Handler,
  5428. },
  5429. {
  5430. MethodName: "ServiceTypesDel",
  5431. Handler: _GoPmpClient_ServiceTypesDel_Handler,
  5432. },
  5433. {
  5434. MethodName: "ServiceTypesGet",
  5435. Handler: _GoPmpClient_ServiceTypesGet_Handler,
  5436. },
  5437. {
  5438. MethodName: "ServiceTypesList",
  5439. Handler: _GoPmpClient_ServiceTypesList_Handler,
  5440. },
  5441. {
  5442. MethodName: "ServiceSetsAdd",
  5443. Handler: _GoPmpClient_ServiceSetsAdd_Handler,
  5444. },
  5445. {
  5446. MethodName: "ServiceSetsUpdate",
  5447. Handler: _GoPmpClient_ServiceSetsUpdate_Handler,
  5448. },
  5449. {
  5450. MethodName: "ServiceSetsDel",
  5451. Handler: _GoPmpClient_ServiceSetsDel_Handler,
  5452. },
  5453. {
  5454. MethodName: "ServiceSetsGet",
  5455. Handler: _GoPmpClient_ServiceSetsGet_Handler,
  5456. },
  5457. {
  5458. MethodName: "ServiceSetsList",
  5459. Handler: _GoPmpClient_ServiceSetsList_Handler,
  5460. },
  5461. {
  5462. MethodName: "MessagePushAdd",
  5463. Handler: _GoPmpClient_MessagePushAdd_Handler,
  5464. },
  5465. {
  5466. MethodName: "MessagePushUpdate",
  5467. Handler: _GoPmpClient_MessagePushUpdate_Handler,
  5468. },
  5469. {
  5470. MethodName: "MessagePushList",
  5471. Handler: _GoPmpClient_MessagePushList_Handler,
  5472. },
  5473. },
  5474. Streams: []grpc.StreamDesc{},
  5475. Metadata: "gorpc.proto",
  5476. }
  5477. const (
  5478. GoShortDramaClient_ShortDramaAdd_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaAdd"
  5479. GoShortDramaClient_ShortDramaUpdate_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaUpdate"
  5480. GoShortDramaClient_ShortDramaDel_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaDel"
  5481. GoShortDramaClient_ShortDramaGet_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaGet"
  5482. GoShortDramaClient_ShortDramaList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaList"
  5483. GoShortDramaClient_ShortDramaUpdateModifier_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaUpdateModifier"
  5484. GoShortDramaClient_ShortDramaLanguageList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaLanguageList"
  5485. GoShortDramaClient_ShortDramaEpisodeAdd_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeAdd"
  5486. GoShortDramaClient_ShortDramaEpisodeBatchAdd_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeBatchAdd"
  5487. GoShortDramaClient_ShortDramaEpisodeUpdate_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeUpdate"
  5488. GoShortDramaClient_ShortDramaEpisodeDel_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeDel"
  5489. GoShortDramaClient_ShortDramaEpisodeGet_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeGet"
  5490. GoShortDramaClient_ShortDramaEpisodeList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeList"
  5491. GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeBatchRefreshUpdateTime"
  5492. GoShortDramaClient_ShortDramaEpisodeCount_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeCount"
  5493. GoShortDramaClient_ShortDramaCheckName_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaCheckName"
  5494. GoShortDramaClient_SetTotalStats_FullMethodName = "/gorpc.GoShortDramaClient/SetTotalStats"
  5495. GoShortDramaClient_ShortDramaStatsPlaysTotalList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaStatsPlaysTotalList"
  5496. )
  5497. // GoShortDramaClientClient is the client API for GoShortDramaClient service.
  5498. //
  5499. // 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.
  5500. type GoShortDramaClientClient interface {
  5501. // ShortDrama
  5502. ShortDramaAdd(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*ShortDramaVo, error)
  5503. ShortDramaUpdate(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*Empty, error)
  5504. ShortDramaDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  5505. ShortDramaGet(ctx context.Context, in *ShortDramaGetReq, opts ...grpc.CallOption) (*ShortDramaVo, error)
  5506. ShortDramaList(ctx context.Context, in *ShortDramaListReq, opts ...grpc.CallOption) (*ShortDramaListResp, error)
  5507. ShortDramaUpdateModifier(ctx context.Context, in *ShortDramaUpdateModifierReq, opts ...grpc.CallOption) (*Empty, error)
  5508. // ShortDramaLanguage
  5509. ShortDramaLanguageList(ctx context.Context, in *ShortDramaLanguageListReq, opts ...grpc.CallOption) (*ShortDramaLanguageListResp, error)
  5510. // ShortDramaEpisode
  5511. ShortDramaEpisodeAdd(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error)
  5512. ShortDramaEpisodeBatchAdd(ctx context.Context, in *ShortDramaEpisodeBatchAddReq, opts ...grpc.CallOption) (*Empty, error)
  5513. ShortDramaEpisodeUpdate(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*Empty, error)
  5514. ShortDramaEpisodeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  5515. ShortDramaEpisodeGet(ctx context.Context, in *ShortDramaEpisodeGetReq, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error)
  5516. ShortDramaEpisodeList(ctx context.Context, in *ShortDramaEpisodeListReq, opts ...grpc.CallOption) (*ShortDramaEpisodeListResp, error)
  5517. ShortDramaEpisodeBatchRefreshUpdateTime(ctx context.Context, in *ShortDramaEpisodeBatchRefreshUpdateTimeReq, opts ...grpc.CallOption) (*Empty, error)
  5518. // ShortDramaEpisodeCount
  5519. ShortDramaEpisodeCount(ctx context.Context, in *ShortDramaEpisodeCountReq, opts ...grpc.CallOption) (*ShortDramaEpisodeCountResp, error)
  5520. ShortDramaCheckName(ctx context.Context, in *ShortDramaCheckNameReq, opts ...grpc.CallOption) (*ShortDramaCheckNameResp, error)
  5521. // ShortDramaStats
  5522. SetTotalStats(ctx context.Context, in *SetTotalStatsReq, opts ...grpc.CallOption) (*Empty, error)
  5523. // ShortDramaStatsPlaysTotal
  5524. ShortDramaStatsPlaysTotalList(ctx context.Context, in *ShortDramaStatsPlaysTotalListReq, opts ...grpc.CallOption) (*ShortDramaStatsPlaysTotalListResp, error)
  5525. }
  5526. type goShortDramaClientClient struct {
  5527. cc grpc.ClientConnInterface
  5528. }
  5529. func NewGoShortDramaClientClient(cc grpc.ClientConnInterface) GoShortDramaClientClient {
  5530. return &goShortDramaClientClient{cc}
  5531. }
  5532. func (c *goShortDramaClientClient) ShortDramaAdd(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*ShortDramaVo, error) {
  5533. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5534. out := new(ShortDramaVo)
  5535. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaAdd_FullMethodName, in, out, cOpts...)
  5536. if err != nil {
  5537. return nil, err
  5538. }
  5539. return out, nil
  5540. }
  5541. func (c *goShortDramaClientClient) ShortDramaUpdate(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*Empty, error) {
  5542. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5543. out := new(Empty)
  5544. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaUpdate_FullMethodName, in, out, cOpts...)
  5545. if err != nil {
  5546. return nil, err
  5547. }
  5548. return out, nil
  5549. }
  5550. func (c *goShortDramaClientClient) ShortDramaDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  5551. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5552. out := new(Empty)
  5553. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaDel_FullMethodName, in, out, cOpts...)
  5554. if err != nil {
  5555. return nil, err
  5556. }
  5557. return out, nil
  5558. }
  5559. func (c *goShortDramaClientClient) ShortDramaGet(ctx context.Context, in *ShortDramaGetReq, opts ...grpc.CallOption) (*ShortDramaVo, error) {
  5560. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5561. out := new(ShortDramaVo)
  5562. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaGet_FullMethodName, in, out, cOpts...)
  5563. if err != nil {
  5564. return nil, err
  5565. }
  5566. return out, nil
  5567. }
  5568. func (c *goShortDramaClientClient) ShortDramaList(ctx context.Context, in *ShortDramaListReq, opts ...grpc.CallOption) (*ShortDramaListResp, error) {
  5569. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5570. out := new(ShortDramaListResp)
  5571. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaList_FullMethodName, in, out, cOpts...)
  5572. if err != nil {
  5573. return nil, err
  5574. }
  5575. return out, nil
  5576. }
  5577. func (c *goShortDramaClientClient) ShortDramaUpdateModifier(ctx context.Context, in *ShortDramaUpdateModifierReq, opts ...grpc.CallOption) (*Empty, error) {
  5578. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5579. out := new(Empty)
  5580. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaUpdateModifier_FullMethodName, in, out, cOpts...)
  5581. if err != nil {
  5582. return nil, err
  5583. }
  5584. return out, nil
  5585. }
  5586. func (c *goShortDramaClientClient) ShortDramaLanguageList(ctx context.Context, in *ShortDramaLanguageListReq, opts ...grpc.CallOption) (*ShortDramaLanguageListResp, error) {
  5587. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5588. out := new(ShortDramaLanguageListResp)
  5589. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaLanguageList_FullMethodName, in, out, cOpts...)
  5590. if err != nil {
  5591. return nil, err
  5592. }
  5593. return out, nil
  5594. }
  5595. func (c *goShortDramaClientClient) ShortDramaEpisodeAdd(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error) {
  5596. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5597. out := new(ShortDramaEpisodeVo)
  5598. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeAdd_FullMethodName, in, out, cOpts...)
  5599. if err != nil {
  5600. return nil, err
  5601. }
  5602. return out, nil
  5603. }
  5604. func (c *goShortDramaClientClient) ShortDramaEpisodeBatchAdd(ctx context.Context, in *ShortDramaEpisodeBatchAddReq, opts ...grpc.CallOption) (*Empty, error) {
  5605. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5606. out := new(Empty)
  5607. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeBatchAdd_FullMethodName, in, out, cOpts...)
  5608. if err != nil {
  5609. return nil, err
  5610. }
  5611. return out, nil
  5612. }
  5613. func (c *goShortDramaClientClient) ShortDramaEpisodeUpdate(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*Empty, error) {
  5614. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5615. out := new(Empty)
  5616. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeUpdate_FullMethodName, in, out, cOpts...)
  5617. if err != nil {
  5618. return nil, err
  5619. }
  5620. return out, nil
  5621. }
  5622. func (c *goShortDramaClientClient) ShortDramaEpisodeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  5623. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5624. out := new(Empty)
  5625. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeDel_FullMethodName, in, out, cOpts...)
  5626. if err != nil {
  5627. return nil, err
  5628. }
  5629. return out, nil
  5630. }
  5631. func (c *goShortDramaClientClient) ShortDramaEpisodeGet(ctx context.Context, in *ShortDramaEpisodeGetReq, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error) {
  5632. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5633. out := new(ShortDramaEpisodeVo)
  5634. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeGet_FullMethodName, in, out, cOpts...)
  5635. if err != nil {
  5636. return nil, err
  5637. }
  5638. return out, nil
  5639. }
  5640. func (c *goShortDramaClientClient) ShortDramaEpisodeList(ctx context.Context, in *ShortDramaEpisodeListReq, opts ...grpc.CallOption) (*ShortDramaEpisodeListResp, error) {
  5641. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5642. out := new(ShortDramaEpisodeListResp)
  5643. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeList_FullMethodName, in, out, cOpts...)
  5644. if err != nil {
  5645. return nil, err
  5646. }
  5647. return out, nil
  5648. }
  5649. func (c *goShortDramaClientClient) ShortDramaEpisodeBatchRefreshUpdateTime(ctx context.Context, in *ShortDramaEpisodeBatchRefreshUpdateTimeReq, opts ...grpc.CallOption) (*Empty, error) {
  5650. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5651. out := new(Empty)
  5652. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_FullMethodName, in, out, cOpts...)
  5653. if err != nil {
  5654. return nil, err
  5655. }
  5656. return out, nil
  5657. }
  5658. func (c *goShortDramaClientClient) ShortDramaEpisodeCount(ctx context.Context, in *ShortDramaEpisodeCountReq, opts ...grpc.CallOption) (*ShortDramaEpisodeCountResp, error) {
  5659. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5660. out := new(ShortDramaEpisodeCountResp)
  5661. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeCount_FullMethodName, in, out, cOpts...)
  5662. if err != nil {
  5663. return nil, err
  5664. }
  5665. return out, nil
  5666. }
  5667. func (c *goShortDramaClientClient) ShortDramaCheckName(ctx context.Context, in *ShortDramaCheckNameReq, opts ...grpc.CallOption) (*ShortDramaCheckNameResp, error) {
  5668. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5669. out := new(ShortDramaCheckNameResp)
  5670. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaCheckName_FullMethodName, in, out, cOpts...)
  5671. if err != nil {
  5672. return nil, err
  5673. }
  5674. return out, nil
  5675. }
  5676. func (c *goShortDramaClientClient) SetTotalStats(ctx context.Context, in *SetTotalStatsReq, opts ...grpc.CallOption) (*Empty, error) {
  5677. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5678. out := new(Empty)
  5679. err := c.cc.Invoke(ctx, GoShortDramaClient_SetTotalStats_FullMethodName, in, out, cOpts...)
  5680. if err != nil {
  5681. return nil, err
  5682. }
  5683. return out, nil
  5684. }
  5685. func (c *goShortDramaClientClient) ShortDramaStatsPlaysTotalList(ctx context.Context, in *ShortDramaStatsPlaysTotalListReq, opts ...grpc.CallOption) (*ShortDramaStatsPlaysTotalListResp, error) {
  5686. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  5687. out := new(ShortDramaStatsPlaysTotalListResp)
  5688. err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaStatsPlaysTotalList_FullMethodName, in, out, cOpts...)
  5689. if err != nil {
  5690. return nil, err
  5691. }
  5692. return out, nil
  5693. }
  5694. // GoShortDramaClientServer is the server API for GoShortDramaClient service.
  5695. // All implementations must embed UnimplementedGoShortDramaClientServer
  5696. // for forward compatibility.
  5697. type GoShortDramaClientServer interface {
  5698. // ShortDrama
  5699. ShortDramaAdd(context.Context, *ShortDramaVo) (*ShortDramaVo, error)
  5700. ShortDramaUpdate(context.Context, *ShortDramaVo) (*Empty, error)
  5701. ShortDramaDel(context.Context, *Ids) (*Empty, error)
  5702. ShortDramaGet(context.Context, *ShortDramaGetReq) (*ShortDramaVo, error)
  5703. ShortDramaList(context.Context, *ShortDramaListReq) (*ShortDramaListResp, error)
  5704. ShortDramaUpdateModifier(context.Context, *ShortDramaUpdateModifierReq) (*Empty, error)
  5705. // ShortDramaLanguage
  5706. ShortDramaLanguageList(context.Context, *ShortDramaLanguageListReq) (*ShortDramaLanguageListResp, error)
  5707. // ShortDramaEpisode
  5708. ShortDramaEpisodeAdd(context.Context, *ShortDramaEpisodeVo) (*ShortDramaEpisodeVo, error)
  5709. ShortDramaEpisodeBatchAdd(context.Context, *ShortDramaEpisodeBatchAddReq) (*Empty, error)
  5710. ShortDramaEpisodeUpdate(context.Context, *ShortDramaEpisodeVo) (*Empty, error)
  5711. ShortDramaEpisodeDel(context.Context, *Ids) (*Empty, error)
  5712. ShortDramaEpisodeGet(context.Context, *ShortDramaEpisodeGetReq) (*ShortDramaEpisodeVo, error)
  5713. ShortDramaEpisodeList(context.Context, *ShortDramaEpisodeListReq) (*ShortDramaEpisodeListResp, error)
  5714. ShortDramaEpisodeBatchRefreshUpdateTime(context.Context, *ShortDramaEpisodeBatchRefreshUpdateTimeReq) (*Empty, error)
  5715. // ShortDramaEpisodeCount
  5716. ShortDramaEpisodeCount(context.Context, *ShortDramaEpisodeCountReq) (*ShortDramaEpisodeCountResp, error)
  5717. ShortDramaCheckName(context.Context, *ShortDramaCheckNameReq) (*ShortDramaCheckNameResp, error)
  5718. // ShortDramaStats
  5719. SetTotalStats(context.Context, *SetTotalStatsReq) (*Empty, error)
  5720. // ShortDramaStatsPlaysTotal
  5721. ShortDramaStatsPlaysTotalList(context.Context, *ShortDramaStatsPlaysTotalListReq) (*ShortDramaStatsPlaysTotalListResp, error)
  5722. mustEmbedUnimplementedGoShortDramaClientServer()
  5723. }
  5724. // UnimplementedGoShortDramaClientServer must be embedded to have
  5725. // forward compatible implementations.
  5726. //
  5727. // NOTE: this should be embedded by value instead of pointer to avoid a nil
  5728. // pointer dereference when methods are called.
  5729. type UnimplementedGoShortDramaClientServer struct{}
  5730. func (UnimplementedGoShortDramaClientServer) ShortDramaAdd(context.Context, *ShortDramaVo) (*ShortDramaVo, error) {
  5731. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaAdd not implemented")
  5732. }
  5733. func (UnimplementedGoShortDramaClientServer) ShortDramaUpdate(context.Context, *ShortDramaVo) (*Empty, error) {
  5734. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaUpdate not implemented")
  5735. }
  5736. func (UnimplementedGoShortDramaClientServer) ShortDramaDel(context.Context, *Ids) (*Empty, error) {
  5737. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaDel not implemented")
  5738. }
  5739. func (UnimplementedGoShortDramaClientServer) ShortDramaGet(context.Context, *ShortDramaGetReq) (*ShortDramaVo, error) {
  5740. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaGet not implemented")
  5741. }
  5742. func (UnimplementedGoShortDramaClientServer) ShortDramaList(context.Context, *ShortDramaListReq) (*ShortDramaListResp, error) {
  5743. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaList not implemented")
  5744. }
  5745. func (UnimplementedGoShortDramaClientServer) ShortDramaUpdateModifier(context.Context, *ShortDramaUpdateModifierReq) (*Empty, error) {
  5746. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaUpdateModifier not implemented")
  5747. }
  5748. func (UnimplementedGoShortDramaClientServer) ShortDramaLanguageList(context.Context, *ShortDramaLanguageListReq) (*ShortDramaLanguageListResp, error) {
  5749. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaLanguageList not implemented")
  5750. }
  5751. func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeAdd(context.Context, *ShortDramaEpisodeVo) (*ShortDramaEpisodeVo, error) {
  5752. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeAdd not implemented")
  5753. }
  5754. func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeBatchAdd(context.Context, *ShortDramaEpisodeBatchAddReq) (*Empty, error) {
  5755. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeBatchAdd not implemented")
  5756. }
  5757. func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeUpdate(context.Context, *ShortDramaEpisodeVo) (*Empty, error) {
  5758. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeUpdate not implemented")
  5759. }
  5760. func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeDel(context.Context, *Ids) (*Empty, error) {
  5761. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeDel not implemented")
  5762. }
  5763. func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeGet(context.Context, *ShortDramaEpisodeGetReq) (*ShortDramaEpisodeVo, error) {
  5764. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeGet not implemented")
  5765. }
  5766. func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeList(context.Context, *ShortDramaEpisodeListReq) (*ShortDramaEpisodeListResp, error) {
  5767. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeList not implemented")
  5768. }
  5769. func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeBatchRefreshUpdateTime(context.Context, *ShortDramaEpisodeBatchRefreshUpdateTimeReq) (*Empty, error) {
  5770. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeBatchRefreshUpdateTime not implemented")
  5771. }
  5772. func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeCount(context.Context, *ShortDramaEpisodeCountReq) (*ShortDramaEpisodeCountResp, error) {
  5773. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeCount not implemented")
  5774. }
  5775. func (UnimplementedGoShortDramaClientServer) ShortDramaCheckName(context.Context, *ShortDramaCheckNameReq) (*ShortDramaCheckNameResp, error) {
  5776. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaCheckName not implemented")
  5777. }
  5778. func (UnimplementedGoShortDramaClientServer) SetTotalStats(context.Context, *SetTotalStatsReq) (*Empty, error) {
  5779. return nil, status.Errorf(codes.Unimplemented, "method SetTotalStats not implemented")
  5780. }
  5781. func (UnimplementedGoShortDramaClientServer) ShortDramaStatsPlaysTotalList(context.Context, *ShortDramaStatsPlaysTotalListReq) (*ShortDramaStatsPlaysTotalListResp, error) {
  5782. return nil, status.Errorf(codes.Unimplemented, "method ShortDramaStatsPlaysTotalList not implemented")
  5783. }
  5784. func (UnimplementedGoShortDramaClientServer) mustEmbedUnimplementedGoShortDramaClientServer() {}
  5785. func (UnimplementedGoShortDramaClientServer) testEmbeddedByValue() {}
  5786. // UnsafeGoShortDramaClientServer may be embedded to opt out of forward compatibility for this service.
  5787. // Use of this interface is not recommended, as added methods to GoShortDramaClientServer will
  5788. // result in compilation errors.
  5789. type UnsafeGoShortDramaClientServer interface {
  5790. mustEmbedUnimplementedGoShortDramaClientServer()
  5791. }
  5792. func RegisterGoShortDramaClientServer(s grpc.ServiceRegistrar, srv GoShortDramaClientServer) {
  5793. // If the following call pancis, it indicates UnimplementedGoShortDramaClientServer was
  5794. // embedded by pointer and is nil. This will cause panics if an
  5795. // unimplemented method is ever invoked, so we test this at initialization
  5796. // time to prevent it from happening at runtime later due to I/O.
  5797. if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
  5798. t.testEmbeddedByValue()
  5799. }
  5800. s.RegisterService(&GoShortDramaClient_ServiceDesc, srv)
  5801. }
  5802. func _GoShortDramaClient_ShortDramaAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5803. in := new(ShortDramaVo)
  5804. if err := dec(in); err != nil {
  5805. return nil, err
  5806. }
  5807. if interceptor == nil {
  5808. return srv.(GoShortDramaClientServer).ShortDramaAdd(ctx, in)
  5809. }
  5810. info := &grpc.UnaryServerInfo{
  5811. Server: srv,
  5812. FullMethod: GoShortDramaClient_ShortDramaAdd_FullMethodName,
  5813. }
  5814. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5815. return srv.(GoShortDramaClientServer).ShortDramaAdd(ctx, req.(*ShortDramaVo))
  5816. }
  5817. return interceptor(ctx, in, info, handler)
  5818. }
  5819. func _GoShortDramaClient_ShortDramaUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5820. in := new(ShortDramaVo)
  5821. if err := dec(in); err != nil {
  5822. return nil, err
  5823. }
  5824. if interceptor == nil {
  5825. return srv.(GoShortDramaClientServer).ShortDramaUpdate(ctx, in)
  5826. }
  5827. info := &grpc.UnaryServerInfo{
  5828. Server: srv,
  5829. FullMethod: GoShortDramaClient_ShortDramaUpdate_FullMethodName,
  5830. }
  5831. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5832. return srv.(GoShortDramaClientServer).ShortDramaUpdate(ctx, req.(*ShortDramaVo))
  5833. }
  5834. return interceptor(ctx, in, info, handler)
  5835. }
  5836. func _GoShortDramaClient_ShortDramaDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5837. in := new(Ids)
  5838. if err := dec(in); err != nil {
  5839. return nil, err
  5840. }
  5841. if interceptor == nil {
  5842. return srv.(GoShortDramaClientServer).ShortDramaDel(ctx, in)
  5843. }
  5844. info := &grpc.UnaryServerInfo{
  5845. Server: srv,
  5846. FullMethod: GoShortDramaClient_ShortDramaDel_FullMethodName,
  5847. }
  5848. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5849. return srv.(GoShortDramaClientServer).ShortDramaDel(ctx, req.(*Ids))
  5850. }
  5851. return interceptor(ctx, in, info, handler)
  5852. }
  5853. func _GoShortDramaClient_ShortDramaGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5854. in := new(ShortDramaGetReq)
  5855. if err := dec(in); err != nil {
  5856. return nil, err
  5857. }
  5858. if interceptor == nil {
  5859. return srv.(GoShortDramaClientServer).ShortDramaGet(ctx, in)
  5860. }
  5861. info := &grpc.UnaryServerInfo{
  5862. Server: srv,
  5863. FullMethod: GoShortDramaClient_ShortDramaGet_FullMethodName,
  5864. }
  5865. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5866. return srv.(GoShortDramaClientServer).ShortDramaGet(ctx, req.(*ShortDramaGetReq))
  5867. }
  5868. return interceptor(ctx, in, info, handler)
  5869. }
  5870. func _GoShortDramaClient_ShortDramaList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5871. in := new(ShortDramaListReq)
  5872. if err := dec(in); err != nil {
  5873. return nil, err
  5874. }
  5875. if interceptor == nil {
  5876. return srv.(GoShortDramaClientServer).ShortDramaList(ctx, in)
  5877. }
  5878. info := &grpc.UnaryServerInfo{
  5879. Server: srv,
  5880. FullMethod: GoShortDramaClient_ShortDramaList_FullMethodName,
  5881. }
  5882. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5883. return srv.(GoShortDramaClientServer).ShortDramaList(ctx, req.(*ShortDramaListReq))
  5884. }
  5885. return interceptor(ctx, in, info, handler)
  5886. }
  5887. func _GoShortDramaClient_ShortDramaUpdateModifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5888. in := new(ShortDramaUpdateModifierReq)
  5889. if err := dec(in); err != nil {
  5890. return nil, err
  5891. }
  5892. if interceptor == nil {
  5893. return srv.(GoShortDramaClientServer).ShortDramaUpdateModifier(ctx, in)
  5894. }
  5895. info := &grpc.UnaryServerInfo{
  5896. Server: srv,
  5897. FullMethod: GoShortDramaClient_ShortDramaUpdateModifier_FullMethodName,
  5898. }
  5899. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5900. return srv.(GoShortDramaClientServer).ShortDramaUpdateModifier(ctx, req.(*ShortDramaUpdateModifierReq))
  5901. }
  5902. return interceptor(ctx, in, info, handler)
  5903. }
  5904. func _GoShortDramaClient_ShortDramaLanguageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5905. in := new(ShortDramaLanguageListReq)
  5906. if err := dec(in); err != nil {
  5907. return nil, err
  5908. }
  5909. if interceptor == nil {
  5910. return srv.(GoShortDramaClientServer).ShortDramaLanguageList(ctx, in)
  5911. }
  5912. info := &grpc.UnaryServerInfo{
  5913. Server: srv,
  5914. FullMethod: GoShortDramaClient_ShortDramaLanguageList_FullMethodName,
  5915. }
  5916. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5917. return srv.(GoShortDramaClientServer).ShortDramaLanguageList(ctx, req.(*ShortDramaLanguageListReq))
  5918. }
  5919. return interceptor(ctx, in, info, handler)
  5920. }
  5921. func _GoShortDramaClient_ShortDramaEpisodeAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5922. in := new(ShortDramaEpisodeVo)
  5923. if err := dec(in); err != nil {
  5924. return nil, err
  5925. }
  5926. if interceptor == nil {
  5927. return srv.(GoShortDramaClientServer).ShortDramaEpisodeAdd(ctx, in)
  5928. }
  5929. info := &grpc.UnaryServerInfo{
  5930. Server: srv,
  5931. FullMethod: GoShortDramaClient_ShortDramaEpisodeAdd_FullMethodName,
  5932. }
  5933. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5934. return srv.(GoShortDramaClientServer).ShortDramaEpisodeAdd(ctx, req.(*ShortDramaEpisodeVo))
  5935. }
  5936. return interceptor(ctx, in, info, handler)
  5937. }
  5938. func _GoShortDramaClient_ShortDramaEpisodeBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5939. in := new(ShortDramaEpisodeBatchAddReq)
  5940. if err := dec(in); err != nil {
  5941. return nil, err
  5942. }
  5943. if interceptor == nil {
  5944. return srv.(GoShortDramaClientServer).ShortDramaEpisodeBatchAdd(ctx, in)
  5945. }
  5946. info := &grpc.UnaryServerInfo{
  5947. Server: srv,
  5948. FullMethod: GoShortDramaClient_ShortDramaEpisodeBatchAdd_FullMethodName,
  5949. }
  5950. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5951. return srv.(GoShortDramaClientServer).ShortDramaEpisodeBatchAdd(ctx, req.(*ShortDramaEpisodeBatchAddReq))
  5952. }
  5953. return interceptor(ctx, in, info, handler)
  5954. }
  5955. func _GoShortDramaClient_ShortDramaEpisodeUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5956. in := new(ShortDramaEpisodeVo)
  5957. if err := dec(in); err != nil {
  5958. return nil, err
  5959. }
  5960. if interceptor == nil {
  5961. return srv.(GoShortDramaClientServer).ShortDramaEpisodeUpdate(ctx, in)
  5962. }
  5963. info := &grpc.UnaryServerInfo{
  5964. Server: srv,
  5965. FullMethod: GoShortDramaClient_ShortDramaEpisodeUpdate_FullMethodName,
  5966. }
  5967. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5968. return srv.(GoShortDramaClientServer).ShortDramaEpisodeUpdate(ctx, req.(*ShortDramaEpisodeVo))
  5969. }
  5970. return interceptor(ctx, in, info, handler)
  5971. }
  5972. func _GoShortDramaClient_ShortDramaEpisodeDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5973. in := new(Ids)
  5974. if err := dec(in); err != nil {
  5975. return nil, err
  5976. }
  5977. if interceptor == nil {
  5978. return srv.(GoShortDramaClientServer).ShortDramaEpisodeDel(ctx, in)
  5979. }
  5980. info := &grpc.UnaryServerInfo{
  5981. Server: srv,
  5982. FullMethod: GoShortDramaClient_ShortDramaEpisodeDel_FullMethodName,
  5983. }
  5984. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5985. return srv.(GoShortDramaClientServer).ShortDramaEpisodeDel(ctx, req.(*Ids))
  5986. }
  5987. return interceptor(ctx, in, info, handler)
  5988. }
  5989. func _GoShortDramaClient_ShortDramaEpisodeGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5990. in := new(ShortDramaEpisodeGetReq)
  5991. if err := dec(in); err != nil {
  5992. return nil, err
  5993. }
  5994. if interceptor == nil {
  5995. return srv.(GoShortDramaClientServer).ShortDramaEpisodeGet(ctx, in)
  5996. }
  5997. info := &grpc.UnaryServerInfo{
  5998. Server: srv,
  5999. FullMethod: GoShortDramaClient_ShortDramaEpisodeGet_FullMethodName,
  6000. }
  6001. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6002. return srv.(GoShortDramaClientServer).ShortDramaEpisodeGet(ctx, req.(*ShortDramaEpisodeGetReq))
  6003. }
  6004. return interceptor(ctx, in, info, handler)
  6005. }
  6006. func _GoShortDramaClient_ShortDramaEpisodeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6007. in := new(ShortDramaEpisodeListReq)
  6008. if err := dec(in); err != nil {
  6009. return nil, err
  6010. }
  6011. if interceptor == nil {
  6012. return srv.(GoShortDramaClientServer).ShortDramaEpisodeList(ctx, in)
  6013. }
  6014. info := &grpc.UnaryServerInfo{
  6015. Server: srv,
  6016. FullMethod: GoShortDramaClient_ShortDramaEpisodeList_FullMethodName,
  6017. }
  6018. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6019. return srv.(GoShortDramaClientServer).ShortDramaEpisodeList(ctx, req.(*ShortDramaEpisodeListReq))
  6020. }
  6021. return interceptor(ctx, in, info, handler)
  6022. }
  6023. func _GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6024. in := new(ShortDramaEpisodeBatchRefreshUpdateTimeReq)
  6025. if err := dec(in); err != nil {
  6026. return nil, err
  6027. }
  6028. if interceptor == nil {
  6029. return srv.(GoShortDramaClientServer).ShortDramaEpisodeBatchRefreshUpdateTime(ctx, in)
  6030. }
  6031. info := &grpc.UnaryServerInfo{
  6032. Server: srv,
  6033. FullMethod: GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_FullMethodName,
  6034. }
  6035. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6036. return srv.(GoShortDramaClientServer).ShortDramaEpisodeBatchRefreshUpdateTime(ctx, req.(*ShortDramaEpisodeBatchRefreshUpdateTimeReq))
  6037. }
  6038. return interceptor(ctx, in, info, handler)
  6039. }
  6040. func _GoShortDramaClient_ShortDramaEpisodeCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6041. in := new(ShortDramaEpisodeCountReq)
  6042. if err := dec(in); err != nil {
  6043. return nil, err
  6044. }
  6045. if interceptor == nil {
  6046. return srv.(GoShortDramaClientServer).ShortDramaEpisodeCount(ctx, in)
  6047. }
  6048. info := &grpc.UnaryServerInfo{
  6049. Server: srv,
  6050. FullMethod: GoShortDramaClient_ShortDramaEpisodeCount_FullMethodName,
  6051. }
  6052. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6053. return srv.(GoShortDramaClientServer).ShortDramaEpisodeCount(ctx, req.(*ShortDramaEpisodeCountReq))
  6054. }
  6055. return interceptor(ctx, in, info, handler)
  6056. }
  6057. func _GoShortDramaClient_ShortDramaCheckName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6058. in := new(ShortDramaCheckNameReq)
  6059. if err := dec(in); err != nil {
  6060. return nil, err
  6061. }
  6062. if interceptor == nil {
  6063. return srv.(GoShortDramaClientServer).ShortDramaCheckName(ctx, in)
  6064. }
  6065. info := &grpc.UnaryServerInfo{
  6066. Server: srv,
  6067. FullMethod: GoShortDramaClient_ShortDramaCheckName_FullMethodName,
  6068. }
  6069. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6070. return srv.(GoShortDramaClientServer).ShortDramaCheckName(ctx, req.(*ShortDramaCheckNameReq))
  6071. }
  6072. return interceptor(ctx, in, info, handler)
  6073. }
  6074. func _GoShortDramaClient_SetTotalStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6075. in := new(SetTotalStatsReq)
  6076. if err := dec(in); err != nil {
  6077. return nil, err
  6078. }
  6079. if interceptor == nil {
  6080. return srv.(GoShortDramaClientServer).SetTotalStats(ctx, in)
  6081. }
  6082. info := &grpc.UnaryServerInfo{
  6083. Server: srv,
  6084. FullMethod: GoShortDramaClient_SetTotalStats_FullMethodName,
  6085. }
  6086. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6087. return srv.(GoShortDramaClientServer).SetTotalStats(ctx, req.(*SetTotalStatsReq))
  6088. }
  6089. return interceptor(ctx, in, info, handler)
  6090. }
  6091. func _GoShortDramaClient_ShortDramaStatsPlaysTotalList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6092. in := new(ShortDramaStatsPlaysTotalListReq)
  6093. if err := dec(in); err != nil {
  6094. return nil, err
  6095. }
  6096. if interceptor == nil {
  6097. return srv.(GoShortDramaClientServer).ShortDramaStatsPlaysTotalList(ctx, in)
  6098. }
  6099. info := &grpc.UnaryServerInfo{
  6100. Server: srv,
  6101. FullMethod: GoShortDramaClient_ShortDramaStatsPlaysTotalList_FullMethodName,
  6102. }
  6103. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6104. return srv.(GoShortDramaClientServer).ShortDramaStatsPlaysTotalList(ctx, req.(*ShortDramaStatsPlaysTotalListReq))
  6105. }
  6106. return interceptor(ctx, in, info, handler)
  6107. }
  6108. // GoShortDramaClient_ServiceDesc is the grpc.ServiceDesc for GoShortDramaClient service.
  6109. // It's only intended for direct use with grpc.RegisterService,
  6110. // and not to be introspected or modified (even as a copy)
  6111. var GoShortDramaClient_ServiceDesc = grpc.ServiceDesc{
  6112. ServiceName: "gorpc.GoShortDramaClient",
  6113. HandlerType: (*GoShortDramaClientServer)(nil),
  6114. Methods: []grpc.MethodDesc{
  6115. {
  6116. MethodName: "ShortDramaAdd",
  6117. Handler: _GoShortDramaClient_ShortDramaAdd_Handler,
  6118. },
  6119. {
  6120. MethodName: "ShortDramaUpdate",
  6121. Handler: _GoShortDramaClient_ShortDramaUpdate_Handler,
  6122. },
  6123. {
  6124. MethodName: "ShortDramaDel",
  6125. Handler: _GoShortDramaClient_ShortDramaDel_Handler,
  6126. },
  6127. {
  6128. MethodName: "ShortDramaGet",
  6129. Handler: _GoShortDramaClient_ShortDramaGet_Handler,
  6130. },
  6131. {
  6132. MethodName: "ShortDramaList",
  6133. Handler: _GoShortDramaClient_ShortDramaList_Handler,
  6134. },
  6135. {
  6136. MethodName: "ShortDramaUpdateModifier",
  6137. Handler: _GoShortDramaClient_ShortDramaUpdateModifier_Handler,
  6138. },
  6139. {
  6140. MethodName: "ShortDramaLanguageList",
  6141. Handler: _GoShortDramaClient_ShortDramaLanguageList_Handler,
  6142. },
  6143. {
  6144. MethodName: "ShortDramaEpisodeAdd",
  6145. Handler: _GoShortDramaClient_ShortDramaEpisodeAdd_Handler,
  6146. },
  6147. {
  6148. MethodName: "ShortDramaEpisodeBatchAdd",
  6149. Handler: _GoShortDramaClient_ShortDramaEpisodeBatchAdd_Handler,
  6150. },
  6151. {
  6152. MethodName: "ShortDramaEpisodeUpdate",
  6153. Handler: _GoShortDramaClient_ShortDramaEpisodeUpdate_Handler,
  6154. },
  6155. {
  6156. MethodName: "ShortDramaEpisodeDel",
  6157. Handler: _GoShortDramaClient_ShortDramaEpisodeDel_Handler,
  6158. },
  6159. {
  6160. MethodName: "ShortDramaEpisodeGet",
  6161. Handler: _GoShortDramaClient_ShortDramaEpisodeGet_Handler,
  6162. },
  6163. {
  6164. MethodName: "ShortDramaEpisodeList",
  6165. Handler: _GoShortDramaClient_ShortDramaEpisodeList_Handler,
  6166. },
  6167. {
  6168. MethodName: "ShortDramaEpisodeBatchRefreshUpdateTime",
  6169. Handler: _GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_Handler,
  6170. },
  6171. {
  6172. MethodName: "ShortDramaEpisodeCount",
  6173. Handler: _GoShortDramaClient_ShortDramaEpisodeCount_Handler,
  6174. },
  6175. {
  6176. MethodName: "ShortDramaCheckName",
  6177. Handler: _GoShortDramaClient_ShortDramaCheckName_Handler,
  6178. },
  6179. {
  6180. MethodName: "SetTotalStats",
  6181. Handler: _GoShortDramaClient_SetTotalStats_Handler,
  6182. },
  6183. {
  6184. MethodName: "ShortDramaStatsPlaysTotalList",
  6185. Handler: _GoShortDramaClient_ShortDramaStatsPlaysTotalList_Handler,
  6186. },
  6187. },
  6188. Streams: []grpc.StreamDesc{},
  6189. Metadata: "gorpc.proto",
  6190. }
  6191. const (
  6192. GoSysClient_Ping_FullMethodName = "/gorpc.GoSysClient/Ping"
  6193. GoSysClient_SysUserAdd_FullMethodName = "/gorpc.GoSysClient/SysUserAdd"
  6194. GoSysClient_SysUserUpdate_FullMethodName = "/gorpc.GoSysClient/SysUserUpdate"
  6195. GoSysClient_SysUserDelete_FullMethodName = "/gorpc.GoSysClient/SysUserDelete"
  6196. GoSysClient_SysUserGet_FullMethodName = "/gorpc.GoSysClient/SysUserGet"
  6197. GoSysClient_SysUserList_FullMethodName = "/gorpc.GoSysClient/SysUserList"
  6198. GoSysClient_SysUserAddWithRolesAndPerms_FullMethodName = "/gorpc.GoSysClient/SysUserAddWithRolesAndPerms"
  6199. GoSysClient_SysUserUpdateWithRolesAndPerms_FullMethodName = "/gorpc.GoSysClient/SysUserUpdateWithRolesAndPerms"
  6200. GoSysClient_SysUserGetWithRolesAndPerms_FullMethodName = "/gorpc.GoSysClient/SysUserGetWithRolesAndPerms"
  6201. GoSysClient_SysUserListWithRolesAndPerms_FullMethodName = "/gorpc.GoSysClient/SysUserListWithRolesAndPerms"
  6202. GoSysClient_SysRoleAdd_FullMethodName = "/gorpc.GoSysClient/SysRoleAdd"
  6203. GoSysClient_SysRoleUpdate_FullMethodName = "/gorpc.GoSysClient/SysRoleUpdate"
  6204. GoSysClient_SysRoleDelete_FullMethodName = "/gorpc.GoSysClient/SysRoleDelete"
  6205. GoSysClient_SysRoleGet_FullMethodName = "/gorpc.GoSysClient/SysRoleGet"
  6206. GoSysClient_SysRoleList_FullMethodName = "/gorpc.GoSysClient/SysRoleList"
  6207. GoSysClient_SysRoleAddWithPerms_FullMethodName = "/gorpc.GoSysClient/SysRoleAddWithPerms"
  6208. GoSysClient_SysRoleUpdateWithPerms_FullMethodName = "/gorpc.GoSysClient/SysRoleUpdateWithPerms"
  6209. GoSysClient_SysRoleGetWithPerms_FullMethodName = "/gorpc.GoSysClient/SysRoleGetWithPerms"
  6210. GoSysClient_SysRoleListWithPerms_FullMethodName = "/gorpc.GoSysClient/SysRoleListWithPerms"
  6211. GoSysClient_SysPermAdd_FullMethodName = "/gorpc.GoSysClient/SysPermAdd"
  6212. GoSysClient_SysPermUpdate_FullMethodName = "/gorpc.GoSysClient/SysPermUpdate"
  6213. GoSysClient_SysPermDelete_FullMethodName = "/gorpc.GoSysClient/SysPermDelete"
  6214. GoSysClient_SysPermGet_FullMethodName = "/gorpc.GoSysClient/SysPermGet"
  6215. GoSysClient_SysPermList_FullMethodName = "/gorpc.GoSysClient/SysPermList"
  6216. GoSysClient_SysUserRoleAdd_FullMethodName = "/gorpc.GoSysClient/SysUserRoleAdd"
  6217. GoSysClient_SysUserRoleUpdate_FullMethodName = "/gorpc.GoSysClient/SysUserRoleUpdate"
  6218. GoSysClient_SysUserRoleDelete_FullMethodName = "/gorpc.GoSysClient/SysUserRoleDelete"
  6219. GoSysClient_SysUserRoleGet_FullMethodName = "/gorpc.GoSysClient/SysUserRoleGet"
  6220. GoSysClient_SysUserRoleList_FullMethodName = "/gorpc.GoSysClient/SysUserRoleList"
  6221. GoSysClient_SysRolePermAdd_FullMethodName = "/gorpc.GoSysClient/SysRolePermAdd"
  6222. GoSysClient_SysRolePermUpdate_FullMethodName = "/gorpc.GoSysClient/SysRolePermUpdate"
  6223. GoSysClient_SysRolePermDelete_FullMethodName = "/gorpc.GoSysClient/SysRolePermDelete"
  6224. GoSysClient_SysRolePermGet_FullMethodName = "/gorpc.GoSysClient/SysRolePermGet"
  6225. GoSysClient_SysRolePermList_FullMethodName = "/gorpc.GoSysClient/SysRolePermList"
  6226. GoSysClient_SysUserPermAdd_FullMethodName = "/gorpc.GoSysClient/SysUserPermAdd"
  6227. GoSysClient_SysUserPermUpdate_FullMethodName = "/gorpc.GoSysClient/SysUserPermUpdate"
  6228. GoSysClient_SysUserPermDelete_FullMethodName = "/gorpc.GoSysClient/SysUserPermDelete"
  6229. GoSysClient_SysUserPermGet_FullMethodName = "/gorpc.GoSysClient/SysUserPermGet"
  6230. GoSysClient_SysUserPermList_FullMethodName = "/gorpc.GoSysClient/SysUserPermList"
  6231. )
  6232. // GoSysClientClient is the client API for GoSysClient service.
  6233. //
  6234. // 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.
  6235. type GoSysClientClient interface {
  6236. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  6237. // 用户管理
  6238. SysUserAdd(ctx context.Context, in *SysUserVo, opts ...grpc.CallOption) (*SysUserVo, error)
  6239. SysUserUpdate(ctx context.Context, in *SysUserVo, opts ...grpc.CallOption) (*SysUserVo, error)
  6240. SysUserDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  6241. SysUserGet(ctx context.Context, in *SysUserGetReq, opts ...grpc.CallOption) (*SysUserVo, error)
  6242. SysUserList(ctx context.Context, in *SysUserListReq, opts ...grpc.CallOption) (*SysUserListResp, error)
  6243. SysUserAddWithRolesAndPerms(ctx context.Context, in *SysUserWithRoleIdsAndPermRules, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error)
  6244. SysUserUpdateWithRolesAndPerms(ctx context.Context, in *SysUserWithRoleIdsAndPermRules, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error)
  6245. SysUserGetWithRolesAndPerms(ctx context.Context, in *SysUserGetReq, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error)
  6246. SysUserListWithRolesAndPerms(ctx context.Context, in *SysUserListReq, opts ...grpc.CallOption) (*SysUserListWithRolesAndPermsResp, error)
  6247. // 角色管理
  6248. SysRoleAdd(ctx context.Context, in *SysRoleVo, opts ...grpc.CallOption) (*SysRoleVo, error)
  6249. SysRoleUpdate(ctx context.Context, in *SysRoleVo, opts ...grpc.CallOption) (*SysRoleVo, error)
  6250. SysRoleDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  6251. SysRoleGet(ctx context.Context, in *SysRoleGetReq, opts ...grpc.CallOption) (*SysRoleVo, error)
  6252. SysRoleList(ctx context.Context, in *SysRoleListReq, opts ...grpc.CallOption) (*SysRoleListResp, error)
  6253. SysRoleAddWithPerms(ctx context.Context, in *SysRoleWithPermIds, opts ...grpc.CallOption) (*SysRoleWithPerms, error)
  6254. SysRoleUpdateWithPerms(ctx context.Context, in *SysRoleWithPermIds, opts ...grpc.CallOption) (*SysRoleWithPerms, error)
  6255. SysRoleGetWithPerms(ctx context.Context, in *SysRoleGetReq, opts ...grpc.CallOption) (*SysRoleWithPerms, error)
  6256. SysRoleListWithPerms(ctx context.Context, in *SysRoleListReq, opts ...grpc.CallOption) (*SysRoleListWithPermsResp, error)
  6257. // 权限管理
  6258. SysPermAdd(ctx context.Context, in *SysPermVo, opts ...grpc.CallOption) (*SysPermVo, error)
  6259. SysPermUpdate(ctx context.Context, in *SysPermVo, opts ...grpc.CallOption) (*SysPermVo, error)
  6260. SysPermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  6261. SysPermGet(ctx context.Context, in *SysPermGetReq, opts ...grpc.CallOption) (*SysPermVo, error)
  6262. SysPermList(ctx context.Context, in *SysPermListReq, opts ...grpc.CallOption) (*SysPermListResp, error)
  6263. // 用户角色管理
  6264. SysUserRoleAdd(ctx context.Context, in *SysUserRoleVo, opts ...grpc.CallOption) (*SysUserRoleVo, error)
  6265. SysUserRoleUpdate(ctx context.Context, in *SysUserRoleVo, opts ...grpc.CallOption) (*SysUserRoleVo, error)
  6266. SysUserRoleDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  6267. SysUserRoleGet(ctx context.Context, in *SysUserRoleGetReq, opts ...grpc.CallOption) (*SysUserRoleVo, error)
  6268. SysUserRoleList(ctx context.Context, in *SysUserRoleListReq, opts ...grpc.CallOption) (*SysUserRoleListResp, error)
  6269. // 角色权限管理
  6270. SysRolePermAdd(ctx context.Context, in *SysRolePermVo, opts ...grpc.CallOption) (*SysRolePermVo, error)
  6271. SysRolePermUpdate(ctx context.Context, in *SysRolePermVo, opts ...grpc.CallOption) (*SysRolePermVo, error)
  6272. SysRolePermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  6273. SysRolePermGet(ctx context.Context, in *SysRolePermGetReq, opts ...grpc.CallOption) (*SysRolePermVo, error)
  6274. SysRolePermList(ctx context.Context, in *SysRolePermListReq, opts ...grpc.CallOption) (*SysRolePermListResp, error)
  6275. // 用户权限管理
  6276. SysUserPermAdd(ctx context.Context, in *SysUserPermVo, opts ...grpc.CallOption) (*SysUserPermVo, error)
  6277. SysUserPermUpdate(ctx context.Context, in *SysUserPermVo, opts ...grpc.CallOption) (*SysUserPermVo, error)
  6278. SysUserPermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  6279. SysUserPermGet(ctx context.Context, in *SysUserPermGetReq, opts ...grpc.CallOption) (*SysUserPermVo, error)
  6280. SysUserPermList(ctx context.Context, in *SysUserPermListReq, opts ...grpc.CallOption) (*SysUserPermListResp, error)
  6281. }
  6282. type goSysClientClient struct {
  6283. cc grpc.ClientConnInterface
  6284. }
  6285. func NewGoSysClientClient(cc grpc.ClientConnInterface) GoSysClientClient {
  6286. return &goSysClientClient{cc}
  6287. }
  6288. func (c *goSysClientClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  6289. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6290. out := new(Response)
  6291. err := c.cc.Invoke(ctx, GoSysClient_Ping_FullMethodName, in, out, cOpts...)
  6292. if err != nil {
  6293. return nil, err
  6294. }
  6295. return out, nil
  6296. }
  6297. func (c *goSysClientClient) SysUserAdd(ctx context.Context, in *SysUserVo, opts ...grpc.CallOption) (*SysUserVo, error) {
  6298. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6299. out := new(SysUserVo)
  6300. err := c.cc.Invoke(ctx, GoSysClient_SysUserAdd_FullMethodName, in, out, cOpts...)
  6301. if err != nil {
  6302. return nil, err
  6303. }
  6304. return out, nil
  6305. }
  6306. func (c *goSysClientClient) SysUserUpdate(ctx context.Context, in *SysUserVo, opts ...grpc.CallOption) (*SysUserVo, error) {
  6307. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6308. out := new(SysUserVo)
  6309. err := c.cc.Invoke(ctx, GoSysClient_SysUserUpdate_FullMethodName, in, out, cOpts...)
  6310. if err != nil {
  6311. return nil, err
  6312. }
  6313. return out, nil
  6314. }
  6315. func (c *goSysClientClient) SysUserDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  6316. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6317. out := new(Empty)
  6318. err := c.cc.Invoke(ctx, GoSysClient_SysUserDelete_FullMethodName, in, out, cOpts...)
  6319. if err != nil {
  6320. return nil, err
  6321. }
  6322. return out, nil
  6323. }
  6324. func (c *goSysClientClient) SysUserGet(ctx context.Context, in *SysUserGetReq, opts ...grpc.CallOption) (*SysUserVo, error) {
  6325. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6326. out := new(SysUserVo)
  6327. err := c.cc.Invoke(ctx, GoSysClient_SysUserGet_FullMethodName, in, out, cOpts...)
  6328. if err != nil {
  6329. return nil, err
  6330. }
  6331. return out, nil
  6332. }
  6333. func (c *goSysClientClient) SysUserList(ctx context.Context, in *SysUserListReq, opts ...grpc.CallOption) (*SysUserListResp, error) {
  6334. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6335. out := new(SysUserListResp)
  6336. err := c.cc.Invoke(ctx, GoSysClient_SysUserList_FullMethodName, in, out, cOpts...)
  6337. if err != nil {
  6338. return nil, err
  6339. }
  6340. return out, nil
  6341. }
  6342. func (c *goSysClientClient) SysUserAddWithRolesAndPerms(ctx context.Context, in *SysUserWithRoleIdsAndPermRules, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error) {
  6343. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6344. out := new(SysUserWithRolesAndPerms)
  6345. err := c.cc.Invoke(ctx, GoSysClient_SysUserAddWithRolesAndPerms_FullMethodName, in, out, cOpts...)
  6346. if err != nil {
  6347. return nil, err
  6348. }
  6349. return out, nil
  6350. }
  6351. func (c *goSysClientClient) SysUserUpdateWithRolesAndPerms(ctx context.Context, in *SysUserWithRoleIdsAndPermRules, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error) {
  6352. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6353. out := new(SysUserWithRolesAndPerms)
  6354. err := c.cc.Invoke(ctx, GoSysClient_SysUserUpdateWithRolesAndPerms_FullMethodName, in, out, cOpts...)
  6355. if err != nil {
  6356. return nil, err
  6357. }
  6358. return out, nil
  6359. }
  6360. func (c *goSysClientClient) SysUserGetWithRolesAndPerms(ctx context.Context, in *SysUserGetReq, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error) {
  6361. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6362. out := new(SysUserWithRolesAndPerms)
  6363. err := c.cc.Invoke(ctx, GoSysClient_SysUserGetWithRolesAndPerms_FullMethodName, in, out, cOpts...)
  6364. if err != nil {
  6365. return nil, err
  6366. }
  6367. return out, nil
  6368. }
  6369. func (c *goSysClientClient) SysUserListWithRolesAndPerms(ctx context.Context, in *SysUserListReq, opts ...grpc.CallOption) (*SysUserListWithRolesAndPermsResp, error) {
  6370. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6371. out := new(SysUserListWithRolesAndPermsResp)
  6372. err := c.cc.Invoke(ctx, GoSysClient_SysUserListWithRolesAndPerms_FullMethodName, in, out, cOpts...)
  6373. if err != nil {
  6374. return nil, err
  6375. }
  6376. return out, nil
  6377. }
  6378. func (c *goSysClientClient) SysRoleAdd(ctx context.Context, in *SysRoleVo, opts ...grpc.CallOption) (*SysRoleVo, error) {
  6379. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6380. out := new(SysRoleVo)
  6381. err := c.cc.Invoke(ctx, GoSysClient_SysRoleAdd_FullMethodName, in, out, cOpts...)
  6382. if err != nil {
  6383. return nil, err
  6384. }
  6385. return out, nil
  6386. }
  6387. func (c *goSysClientClient) SysRoleUpdate(ctx context.Context, in *SysRoleVo, opts ...grpc.CallOption) (*SysRoleVo, error) {
  6388. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6389. out := new(SysRoleVo)
  6390. err := c.cc.Invoke(ctx, GoSysClient_SysRoleUpdate_FullMethodName, in, out, cOpts...)
  6391. if err != nil {
  6392. return nil, err
  6393. }
  6394. return out, nil
  6395. }
  6396. func (c *goSysClientClient) SysRoleDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  6397. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6398. out := new(Empty)
  6399. err := c.cc.Invoke(ctx, GoSysClient_SysRoleDelete_FullMethodName, in, out, cOpts...)
  6400. if err != nil {
  6401. return nil, err
  6402. }
  6403. return out, nil
  6404. }
  6405. func (c *goSysClientClient) SysRoleGet(ctx context.Context, in *SysRoleGetReq, opts ...grpc.CallOption) (*SysRoleVo, error) {
  6406. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6407. out := new(SysRoleVo)
  6408. err := c.cc.Invoke(ctx, GoSysClient_SysRoleGet_FullMethodName, in, out, cOpts...)
  6409. if err != nil {
  6410. return nil, err
  6411. }
  6412. return out, nil
  6413. }
  6414. func (c *goSysClientClient) SysRoleList(ctx context.Context, in *SysRoleListReq, opts ...grpc.CallOption) (*SysRoleListResp, error) {
  6415. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6416. out := new(SysRoleListResp)
  6417. err := c.cc.Invoke(ctx, GoSysClient_SysRoleList_FullMethodName, in, out, cOpts...)
  6418. if err != nil {
  6419. return nil, err
  6420. }
  6421. return out, nil
  6422. }
  6423. func (c *goSysClientClient) SysRoleAddWithPerms(ctx context.Context, in *SysRoleWithPermIds, opts ...grpc.CallOption) (*SysRoleWithPerms, error) {
  6424. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6425. out := new(SysRoleWithPerms)
  6426. err := c.cc.Invoke(ctx, GoSysClient_SysRoleAddWithPerms_FullMethodName, in, out, cOpts...)
  6427. if err != nil {
  6428. return nil, err
  6429. }
  6430. return out, nil
  6431. }
  6432. func (c *goSysClientClient) SysRoleUpdateWithPerms(ctx context.Context, in *SysRoleWithPermIds, opts ...grpc.CallOption) (*SysRoleWithPerms, error) {
  6433. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6434. out := new(SysRoleWithPerms)
  6435. err := c.cc.Invoke(ctx, GoSysClient_SysRoleUpdateWithPerms_FullMethodName, in, out, cOpts...)
  6436. if err != nil {
  6437. return nil, err
  6438. }
  6439. return out, nil
  6440. }
  6441. func (c *goSysClientClient) SysRoleGetWithPerms(ctx context.Context, in *SysRoleGetReq, opts ...grpc.CallOption) (*SysRoleWithPerms, error) {
  6442. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6443. out := new(SysRoleWithPerms)
  6444. err := c.cc.Invoke(ctx, GoSysClient_SysRoleGetWithPerms_FullMethodName, in, out, cOpts...)
  6445. if err != nil {
  6446. return nil, err
  6447. }
  6448. return out, nil
  6449. }
  6450. func (c *goSysClientClient) SysRoleListWithPerms(ctx context.Context, in *SysRoleListReq, opts ...grpc.CallOption) (*SysRoleListWithPermsResp, error) {
  6451. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6452. out := new(SysRoleListWithPermsResp)
  6453. err := c.cc.Invoke(ctx, GoSysClient_SysRoleListWithPerms_FullMethodName, in, out, cOpts...)
  6454. if err != nil {
  6455. return nil, err
  6456. }
  6457. return out, nil
  6458. }
  6459. func (c *goSysClientClient) SysPermAdd(ctx context.Context, in *SysPermVo, opts ...grpc.CallOption) (*SysPermVo, error) {
  6460. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6461. out := new(SysPermVo)
  6462. err := c.cc.Invoke(ctx, GoSysClient_SysPermAdd_FullMethodName, in, out, cOpts...)
  6463. if err != nil {
  6464. return nil, err
  6465. }
  6466. return out, nil
  6467. }
  6468. func (c *goSysClientClient) SysPermUpdate(ctx context.Context, in *SysPermVo, opts ...grpc.CallOption) (*SysPermVo, error) {
  6469. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6470. out := new(SysPermVo)
  6471. err := c.cc.Invoke(ctx, GoSysClient_SysPermUpdate_FullMethodName, in, out, cOpts...)
  6472. if err != nil {
  6473. return nil, err
  6474. }
  6475. return out, nil
  6476. }
  6477. func (c *goSysClientClient) SysPermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  6478. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6479. out := new(Empty)
  6480. err := c.cc.Invoke(ctx, GoSysClient_SysPermDelete_FullMethodName, in, out, cOpts...)
  6481. if err != nil {
  6482. return nil, err
  6483. }
  6484. return out, nil
  6485. }
  6486. func (c *goSysClientClient) SysPermGet(ctx context.Context, in *SysPermGetReq, opts ...grpc.CallOption) (*SysPermVo, error) {
  6487. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6488. out := new(SysPermVo)
  6489. err := c.cc.Invoke(ctx, GoSysClient_SysPermGet_FullMethodName, in, out, cOpts...)
  6490. if err != nil {
  6491. return nil, err
  6492. }
  6493. return out, nil
  6494. }
  6495. func (c *goSysClientClient) SysPermList(ctx context.Context, in *SysPermListReq, opts ...grpc.CallOption) (*SysPermListResp, error) {
  6496. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6497. out := new(SysPermListResp)
  6498. err := c.cc.Invoke(ctx, GoSysClient_SysPermList_FullMethodName, in, out, cOpts...)
  6499. if err != nil {
  6500. return nil, err
  6501. }
  6502. return out, nil
  6503. }
  6504. func (c *goSysClientClient) SysUserRoleAdd(ctx context.Context, in *SysUserRoleVo, opts ...grpc.CallOption) (*SysUserRoleVo, error) {
  6505. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6506. out := new(SysUserRoleVo)
  6507. err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleAdd_FullMethodName, in, out, cOpts...)
  6508. if err != nil {
  6509. return nil, err
  6510. }
  6511. return out, nil
  6512. }
  6513. func (c *goSysClientClient) SysUserRoleUpdate(ctx context.Context, in *SysUserRoleVo, opts ...grpc.CallOption) (*SysUserRoleVo, error) {
  6514. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6515. out := new(SysUserRoleVo)
  6516. err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleUpdate_FullMethodName, in, out, cOpts...)
  6517. if err != nil {
  6518. return nil, err
  6519. }
  6520. return out, nil
  6521. }
  6522. func (c *goSysClientClient) SysUserRoleDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  6523. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6524. out := new(Empty)
  6525. err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleDelete_FullMethodName, in, out, cOpts...)
  6526. if err != nil {
  6527. return nil, err
  6528. }
  6529. return out, nil
  6530. }
  6531. func (c *goSysClientClient) SysUserRoleGet(ctx context.Context, in *SysUserRoleGetReq, opts ...grpc.CallOption) (*SysUserRoleVo, error) {
  6532. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6533. out := new(SysUserRoleVo)
  6534. err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleGet_FullMethodName, in, out, cOpts...)
  6535. if err != nil {
  6536. return nil, err
  6537. }
  6538. return out, nil
  6539. }
  6540. func (c *goSysClientClient) SysUserRoleList(ctx context.Context, in *SysUserRoleListReq, opts ...grpc.CallOption) (*SysUserRoleListResp, error) {
  6541. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6542. out := new(SysUserRoleListResp)
  6543. err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleList_FullMethodName, in, out, cOpts...)
  6544. if err != nil {
  6545. return nil, err
  6546. }
  6547. return out, nil
  6548. }
  6549. func (c *goSysClientClient) SysRolePermAdd(ctx context.Context, in *SysRolePermVo, opts ...grpc.CallOption) (*SysRolePermVo, error) {
  6550. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6551. out := new(SysRolePermVo)
  6552. err := c.cc.Invoke(ctx, GoSysClient_SysRolePermAdd_FullMethodName, in, out, cOpts...)
  6553. if err != nil {
  6554. return nil, err
  6555. }
  6556. return out, nil
  6557. }
  6558. func (c *goSysClientClient) SysRolePermUpdate(ctx context.Context, in *SysRolePermVo, opts ...grpc.CallOption) (*SysRolePermVo, error) {
  6559. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6560. out := new(SysRolePermVo)
  6561. err := c.cc.Invoke(ctx, GoSysClient_SysRolePermUpdate_FullMethodName, in, out, cOpts...)
  6562. if err != nil {
  6563. return nil, err
  6564. }
  6565. return out, nil
  6566. }
  6567. func (c *goSysClientClient) SysRolePermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  6568. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6569. out := new(Empty)
  6570. err := c.cc.Invoke(ctx, GoSysClient_SysRolePermDelete_FullMethodName, in, out, cOpts...)
  6571. if err != nil {
  6572. return nil, err
  6573. }
  6574. return out, nil
  6575. }
  6576. func (c *goSysClientClient) SysRolePermGet(ctx context.Context, in *SysRolePermGetReq, opts ...grpc.CallOption) (*SysRolePermVo, error) {
  6577. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6578. out := new(SysRolePermVo)
  6579. err := c.cc.Invoke(ctx, GoSysClient_SysRolePermGet_FullMethodName, in, out, cOpts...)
  6580. if err != nil {
  6581. return nil, err
  6582. }
  6583. return out, nil
  6584. }
  6585. func (c *goSysClientClient) SysRolePermList(ctx context.Context, in *SysRolePermListReq, opts ...grpc.CallOption) (*SysRolePermListResp, error) {
  6586. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6587. out := new(SysRolePermListResp)
  6588. err := c.cc.Invoke(ctx, GoSysClient_SysRolePermList_FullMethodName, in, out, cOpts...)
  6589. if err != nil {
  6590. return nil, err
  6591. }
  6592. return out, nil
  6593. }
  6594. func (c *goSysClientClient) SysUserPermAdd(ctx context.Context, in *SysUserPermVo, opts ...grpc.CallOption) (*SysUserPermVo, error) {
  6595. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6596. out := new(SysUserPermVo)
  6597. err := c.cc.Invoke(ctx, GoSysClient_SysUserPermAdd_FullMethodName, in, out, cOpts...)
  6598. if err != nil {
  6599. return nil, err
  6600. }
  6601. return out, nil
  6602. }
  6603. func (c *goSysClientClient) SysUserPermUpdate(ctx context.Context, in *SysUserPermVo, opts ...grpc.CallOption) (*SysUserPermVo, error) {
  6604. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6605. out := new(SysUserPermVo)
  6606. err := c.cc.Invoke(ctx, GoSysClient_SysUserPermUpdate_FullMethodName, in, out, cOpts...)
  6607. if err != nil {
  6608. return nil, err
  6609. }
  6610. return out, nil
  6611. }
  6612. func (c *goSysClientClient) SysUserPermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  6613. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6614. out := new(Empty)
  6615. err := c.cc.Invoke(ctx, GoSysClient_SysUserPermDelete_FullMethodName, in, out, cOpts...)
  6616. if err != nil {
  6617. return nil, err
  6618. }
  6619. return out, nil
  6620. }
  6621. func (c *goSysClientClient) SysUserPermGet(ctx context.Context, in *SysUserPermGetReq, opts ...grpc.CallOption) (*SysUserPermVo, error) {
  6622. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6623. out := new(SysUserPermVo)
  6624. err := c.cc.Invoke(ctx, GoSysClient_SysUserPermGet_FullMethodName, in, out, cOpts...)
  6625. if err != nil {
  6626. return nil, err
  6627. }
  6628. return out, nil
  6629. }
  6630. func (c *goSysClientClient) SysUserPermList(ctx context.Context, in *SysUserPermListReq, opts ...grpc.CallOption) (*SysUserPermListResp, error) {
  6631. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  6632. out := new(SysUserPermListResp)
  6633. err := c.cc.Invoke(ctx, GoSysClient_SysUserPermList_FullMethodName, in, out, cOpts...)
  6634. if err != nil {
  6635. return nil, err
  6636. }
  6637. return out, nil
  6638. }
  6639. // GoSysClientServer is the server API for GoSysClient service.
  6640. // All implementations must embed UnimplementedGoSysClientServer
  6641. // for forward compatibility.
  6642. type GoSysClientServer interface {
  6643. Ping(context.Context, *Request) (*Response, error)
  6644. // 用户管理
  6645. SysUserAdd(context.Context, *SysUserVo) (*SysUserVo, error)
  6646. SysUserUpdate(context.Context, *SysUserVo) (*SysUserVo, error)
  6647. SysUserDelete(context.Context, *Ids) (*Empty, error)
  6648. SysUserGet(context.Context, *SysUserGetReq) (*SysUserVo, error)
  6649. SysUserList(context.Context, *SysUserListReq) (*SysUserListResp, error)
  6650. SysUserAddWithRolesAndPerms(context.Context, *SysUserWithRoleIdsAndPermRules) (*SysUserWithRolesAndPerms, error)
  6651. SysUserUpdateWithRolesAndPerms(context.Context, *SysUserWithRoleIdsAndPermRules) (*SysUserWithRolesAndPerms, error)
  6652. SysUserGetWithRolesAndPerms(context.Context, *SysUserGetReq) (*SysUserWithRolesAndPerms, error)
  6653. SysUserListWithRolesAndPerms(context.Context, *SysUserListReq) (*SysUserListWithRolesAndPermsResp, error)
  6654. // 角色管理
  6655. SysRoleAdd(context.Context, *SysRoleVo) (*SysRoleVo, error)
  6656. SysRoleUpdate(context.Context, *SysRoleVo) (*SysRoleVo, error)
  6657. SysRoleDelete(context.Context, *Ids) (*Empty, error)
  6658. SysRoleGet(context.Context, *SysRoleGetReq) (*SysRoleVo, error)
  6659. SysRoleList(context.Context, *SysRoleListReq) (*SysRoleListResp, error)
  6660. SysRoleAddWithPerms(context.Context, *SysRoleWithPermIds) (*SysRoleWithPerms, error)
  6661. SysRoleUpdateWithPerms(context.Context, *SysRoleWithPermIds) (*SysRoleWithPerms, error)
  6662. SysRoleGetWithPerms(context.Context, *SysRoleGetReq) (*SysRoleWithPerms, error)
  6663. SysRoleListWithPerms(context.Context, *SysRoleListReq) (*SysRoleListWithPermsResp, error)
  6664. // 权限管理
  6665. SysPermAdd(context.Context, *SysPermVo) (*SysPermVo, error)
  6666. SysPermUpdate(context.Context, *SysPermVo) (*SysPermVo, error)
  6667. SysPermDelete(context.Context, *Ids) (*Empty, error)
  6668. SysPermGet(context.Context, *SysPermGetReq) (*SysPermVo, error)
  6669. SysPermList(context.Context, *SysPermListReq) (*SysPermListResp, error)
  6670. // 用户角色管理
  6671. SysUserRoleAdd(context.Context, *SysUserRoleVo) (*SysUserRoleVo, error)
  6672. SysUserRoleUpdate(context.Context, *SysUserRoleVo) (*SysUserRoleVo, error)
  6673. SysUserRoleDelete(context.Context, *Ids) (*Empty, error)
  6674. SysUserRoleGet(context.Context, *SysUserRoleGetReq) (*SysUserRoleVo, error)
  6675. SysUserRoleList(context.Context, *SysUserRoleListReq) (*SysUserRoleListResp, error)
  6676. // 角色权限管理
  6677. SysRolePermAdd(context.Context, *SysRolePermVo) (*SysRolePermVo, error)
  6678. SysRolePermUpdate(context.Context, *SysRolePermVo) (*SysRolePermVo, error)
  6679. SysRolePermDelete(context.Context, *Ids) (*Empty, error)
  6680. SysRolePermGet(context.Context, *SysRolePermGetReq) (*SysRolePermVo, error)
  6681. SysRolePermList(context.Context, *SysRolePermListReq) (*SysRolePermListResp, error)
  6682. // 用户权限管理
  6683. SysUserPermAdd(context.Context, *SysUserPermVo) (*SysUserPermVo, error)
  6684. SysUserPermUpdate(context.Context, *SysUserPermVo) (*SysUserPermVo, error)
  6685. SysUserPermDelete(context.Context, *Ids) (*Empty, error)
  6686. SysUserPermGet(context.Context, *SysUserPermGetReq) (*SysUserPermVo, error)
  6687. SysUserPermList(context.Context, *SysUserPermListReq) (*SysUserPermListResp, error)
  6688. mustEmbedUnimplementedGoSysClientServer()
  6689. }
  6690. // UnimplementedGoSysClientServer must be embedded to have
  6691. // forward compatible implementations.
  6692. //
  6693. // NOTE: this should be embedded by value instead of pointer to avoid a nil
  6694. // pointer dereference when methods are called.
  6695. type UnimplementedGoSysClientServer struct{}
  6696. func (UnimplementedGoSysClientServer) Ping(context.Context, *Request) (*Response, error) {
  6697. return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
  6698. }
  6699. func (UnimplementedGoSysClientServer) SysUserAdd(context.Context, *SysUserVo) (*SysUserVo, error) {
  6700. return nil, status.Errorf(codes.Unimplemented, "method SysUserAdd not implemented")
  6701. }
  6702. func (UnimplementedGoSysClientServer) SysUserUpdate(context.Context, *SysUserVo) (*SysUserVo, error) {
  6703. return nil, status.Errorf(codes.Unimplemented, "method SysUserUpdate not implemented")
  6704. }
  6705. func (UnimplementedGoSysClientServer) SysUserDelete(context.Context, *Ids) (*Empty, error) {
  6706. return nil, status.Errorf(codes.Unimplemented, "method SysUserDelete not implemented")
  6707. }
  6708. func (UnimplementedGoSysClientServer) SysUserGet(context.Context, *SysUserGetReq) (*SysUserVo, error) {
  6709. return nil, status.Errorf(codes.Unimplemented, "method SysUserGet not implemented")
  6710. }
  6711. func (UnimplementedGoSysClientServer) SysUserList(context.Context, *SysUserListReq) (*SysUserListResp, error) {
  6712. return nil, status.Errorf(codes.Unimplemented, "method SysUserList not implemented")
  6713. }
  6714. func (UnimplementedGoSysClientServer) SysUserAddWithRolesAndPerms(context.Context, *SysUserWithRoleIdsAndPermRules) (*SysUserWithRolesAndPerms, error) {
  6715. return nil, status.Errorf(codes.Unimplemented, "method SysUserAddWithRolesAndPerms not implemented")
  6716. }
  6717. func (UnimplementedGoSysClientServer) SysUserUpdateWithRolesAndPerms(context.Context, *SysUserWithRoleIdsAndPermRules) (*SysUserWithRolesAndPerms, error) {
  6718. return nil, status.Errorf(codes.Unimplemented, "method SysUserUpdateWithRolesAndPerms not implemented")
  6719. }
  6720. func (UnimplementedGoSysClientServer) SysUserGetWithRolesAndPerms(context.Context, *SysUserGetReq) (*SysUserWithRolesAndPerms, error) {
  6721. return nil, status.Errorf(codes.Unimplemented, "method SysUserGetWithRolesAndPerms not implemented")
  6722. }
  6723. func (UnimplementedGoSysClientServer) SysUserListWithRolesAndPerms(context.Context, *SysUserListReq) (*SysUserListWithRolesAndPermsResp, error) {
  6724. return nil, status.Errorf(codes.Unimplemented, "method SysUserListWithRolesAndPerms not implemented")
  6725. }
  6726. func (UnimplementedGoSysClientServer) SysRoleAdd(context.Context, *SysRoleVo) (*SysRoleVo, error) {
  6727. return nil, status.Errorf(codes.Unimplemented, "method SysRoleAdd not implemented")
  6728. }
  6729. func (UnimplementedGoSysClientServer) SysRoleUpdate(context.Context, *SysRoleVo) (*SysRoleVo, error) {
  6730. return nil, status.Errorf(codes.Unimplemented, "method SysRoleUpdate not implemented")
  6731. }
  6732. func (UnimplementedGoSysClientServer) SysRoleDelete(context.Context, *Ids) (*Empty, error) {
  6733. return nil, status.Errorf(codes.Unimplemented, "method SysRoleDelete not implemented")
  6734. }
  6735. func (UnimplementedGoSysClientServer) SysRoleGet(context.Context, *SysRoleGetReq) (*SysRoleVo, error) {
  6736. return nil, status.Errorf(codes.Unimplemented, "method SysRoleGet not implemented")
  6737. }
  6738. func (UnimplementedGoSysClientServer) SysRoleList(context.Context, *SysRoleListReq) (*SysRoleListResp, error) {
  6739. return nil, status.Errorf(codes.Unimplemented, "method SysRoleList not implemented")
  6740. }
  6741. func (UnimplementedGoSysClientServer) SysRoleAddWithPerms(context.Context, *SysRoleWithPermIds) (*SysRoleWithPerms, error) {
  6742. return nil, status.Errorf(codes.Unimplemented, "method SysRoleAddWithPerms not implemented")
  6743. }
  6744. func (UnimplementedGoSysClientServer) SysRoleUpdateWithPerms(context.Context, *SysRoleWithPermIds) (*SysRoleWithPerms, error) {
  6745. return nil, status.Errorf(codes.Unimplemented, "method SysRoleUpdateWithPerms not implemented")
  6746. }
  6747. func (UnimplementedGoSysClientServer) SysRoleGetWithPerms(context.Context, *SysRoleGetReq) (*SysRoleWithPerms, error) {
  6748. return nil, status.Errorf(codes.Unimplemented, "method SysRoleGetWithPerms not implemented")
  6749. }
  6750. func (UnimplementedGoSysClientServer) SysRoleListWithPerms(context.Context, *SysRoleListReq) (*SysRoleListWithPermsResp, error) {
  6751. return nil, status.Errorf(codes.Unimplemented, "method SysRoleListWithPerms not implemented")
  6752. }
  6753. func (UnimplementedGoSysClientServer) SysPermAdd(context.Context, *SysPermVo) (*SysPermVo, error) {
  6754. return nil, status.Errorf(codes.Unimplemented, "method SysPermAdd not implemented")
  6755. }
  6756. func (UnimplementedGoSysClientServer) SysPermUpdate(context.Context, *SysPermVo) (*SysPermVo, error) {
  6757. return nil, status.Errorf(codes.Unimplemented, "method SysPermUpdate not implemented")
  6758. }
  6759. func (UnimplementedGoSysClientServer) SysPermDelete(context.Context, *Ids) (*Empty, error) {
  6760. return nil, status.Errorf(codes.Unimplemented, "method SysPermDelete not implemented")
  6761. }
  6762. func (UnimplementedGoSysClientServer) SysPermGet(context.Context, *SysPermGetReq) (*SysPermVo, error) {
  6763. return nil, status.Errorf(codes.Unimplemented, "method SysPermGet not implemented")
  6764. }
  6765. func (UnimplementedGoSysClientServer) SysPermList(context.Context, *SysPermListReq) (*SysPermListResp, error) {
  6766. return nil, status.Errorf(codes.Unimplemented, "method SysPermList not implemented")
  6767. }
  6768. func (UnimplementedGoSysClientServer) SysUserRoleAdd(context.Context, *SysUserRoleVo) (*SysUserRoleVo, error) {
  6769. return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleAdd not implemented")
  6770. }
  6771. func (UnimplementedGoSysClientServer) SysUserRoleUpdate(context.Context, *SysUserRoleVo) (*SysUserRoleVo, error) {
  6772. return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleUpdate not implemented")
  6773. }
  6774. func (UnimplementedGoSysClientServer) SysUserRoleDelete(context.Context, *Ids) (*Empty, error) {
  6775. return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleDelete not implemented")
  6776. }
  6777. func (UnimplementedGoSysClientServer) SysUserRoleGet(context.Context, *SysUserRoleGetReq) (*SysUserRoleVo, error) {
  6778. return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleGet not implemented")
  6779. }
  6780. func (UnimplementedGoSysClientServer) SysUserRoleList(context.Context, *SysUserRoleListReq) (*SysUserRoleListResp, error) {
  6781. return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleList not implemented")
  6782. }
  6783. func (UnimplementedGoSysClientServer) SysRolePermAdd(context.Context, *SysRolePermVo) (*SysRolePermVo, error) {
  6784. return nil, status.Errorf(codes.Unimplemented, "method SysRolePermAdd not implemented")
  6785. }
  6786. func (UnimplementedGoSysClientServer) SysRolePermUpdate(context.Context, *SysRolePermVo) (*SysRolePermVo, error) {
  6787. return nil, status.Errorf(codes.Unimplemented, "method SysRolePermUpdate not implemented")
  6788. }
  6789. func (UnimplementedGoSysClientServer) SysRolePermDelete(context.Context, *Ids) (*Empty, error) {
  6790. return nil, status.Errorf(codes.Unimplemented, "method SysRolePermDelete not implemented")
  6791. }
  6792. func (UnimplementedGoSysClientServer) SysRolePermGet(context.Context, *SysRolePermGetReq) (*SysRolePermVo, error) {
  6793. return nil, status.Errorf(codes.Unimplemented, "method SysRolePermGet not implemented")
  6794. }
  6795. func (UnimplementedGoSysClientServer) SysRolePermList(context.Context, *SysRolePermListReq) (*SysRolePermListResp, error) {
  6796. return nil, status.Errorf(codes.Unimplemented, "method SysRolePermList not implemented")
  6797. }
  6798. func (UnimplementedGoSysClientServer) SysUserPermAdd(context.Context, *SysUserPermVo) (*SysUserPermVo, error) {
  6799. return nil, status.Errorf(codes.Unimplemented, "method SysUserPermAdd not implemented")
  6800. }
  6801. func (UnimplementedGoSysClientServer) SysUserPermUpdate(context.Context, *SysUserPermVo) (*SysUserPermVo, error) {
  6802. return nil, status.Errorf(codes.Unimplemented, "method SysUserPermUpdate not implemented")
  6803. }
  6804. func (UnimplementedGoSysClientServer) SysUserPermDelete(context.Context, *Ids) (*Empty, error) {
  6805. return nil, status.Errorf(codes.Unimplemented, "method SysUserPermDelete not implemented")
  6806. }
  6807. func (UnimplementedGoSysClientServer) SysUserPermGet(context.Context, *SysUserPermGetReq) (*SysUserPermVo, error) {
  6808. return nil, status.Errorf(codes.Unimplemented, "method SysUserPermGet not implemented")
  6809. }
  6810. func (UnimplementedGoSysClientServer) SysUserPermList(context.Context, *SysUserPermListReq) (*SysUserPermListResp, error) {
  6811. return nil, status.Errorf(codes.Unimplemented, "method SysUserPermList not implemented")
  6812. }
  6813. func (UnimplementedGoSysClientServer) mustEmbedUnimplementedGoSysClientServer() {}
  6814. func (UnimplementedGoSysClientServer) testEmbeddedByValue() {}
  6815. // UnsafeGoSysClientServer may be embedded to opt out of forward compatibility for this service.
  6816. // Use of this interface is not recommended, as added methods to GoSysClientServer will
  6817. // result in compilation errors.
  6818. type UnsafeGoSysClientServer interface {
  6819. mustEmbedUnimplementedGoSysClientServer()
  6820. }
  6821. func RegisterGoSysClientServer(s grpc.ServiceRegistrar, srv GoSysClientServer) {
  6822. // If the following call pancis, it indicates UnimplementedGoSysClientServer was
  6823. // embedded by pointer and is nil. This will cause panics if an
  6824. // unimplemented method is ever invoked, so we test this at initialization
  6825. // time to prevent it from happening at runtime later due to I/O.
  6826. if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
  6827. t.testEmbeddedByValue()
  6828. }
  6829. s.RegisterService(&GoSysClient_ServiceDesc, srv)
  6830. }
  6831. func _GoSysClient_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6832. in := new(Request)
  6833. if err := dec(in); err != nil {
  6834. return nil, err
  6835. }
  6836. if interceptor == nil {
  6837. return srv.(GoSysClientServer).Ping(ctx, in)
  6838. }
  6839. info := &grpc.UnaryServerInfo{
  6840. Server: srv,
  6841. FullMethod: GoSysClient_Ping_FullMethodName,
  6842. }
  6843. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6844. return srv.(GoSysClientServer).Ping(ctx, req.(*Request))
  6845. }
  6846. return interceptor(ctx, in, info, handler)
  6847. }
  6848. func _GoSysClient_SysUserAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6849. in := new(SysUserVo)
  6850. if err := dec(in); err != nil {
  6851. return nil, err
  6852. }
  6853. if interceptor == nil {
  6854. return srv.(GoSysClientServer).SysUserAdd(ctx, in)
  6855. }
  6856. info := &grpc.UnaryServerInfo{
  6857. Server: srv,
  6858. FullMethod: GoSysClient_SysUserAdd_FullMethodName,
  6859. }
  6860. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6861. return srv.(GoSysClientServer).SysUserAdd(ctx, req.(*SysUserVo))
  6862. }
  6863. return interceptor(ctx, in, info, handler)
  6864. }
  6865. func _GoSysClient_SysUserUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6866. in := new(SysUserVo)
  6867. if err := dec(in); err != nil {
  6868. return nil, err
  6869. }
  6870. if interceptor == nil {
  6871. return srv.(GoSysClientServer).SysUserUpdate(ctx, in)
  6872. }
  6873. info := &grpc.UnaryServerInfo{
  6874. Server: srv,
  6875. FullMethod: GoSysClient_SysUserUpdate_FullMethodName,
  6876. }
  6877. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6878. return srv.(GoSysClientServer).SysUserUpdate(ctx, req.(*SysUserVo))
  6879. }
  6880. return interceptor(ctx, in, info, handler)
  6881. }
  6882. func _GoSysClient_SysUserDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6883. in := new(Ids)
  6884. if err := dec(in); err != nil {
  6885. return nil, err
  6886. }
  6887. if interceptor == nil {
  6888. return srv.(GoSysClientServer).SysUserDelete(ctx, in)
  6889. }
  6890. info := &grpc.UnaryServerInfo{
  6891. Server: srv,
  6892. FullMethod: GoSysClient_SysUserDelete_FullMethodName,
  6893. }
  6894. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6895. return srv.(GoSysClientServer).SysUserDelete(ctx, req.(*Ids))
  6896. }
  6897. return interceptor(ctx, in, info, handler)
  6898. }
  6899. func _GoSysClient_SysUserGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6900. in := new(SysUserGetReq)
  6901. if err := dec(in); err != nil {
  6902. return nil, err
  6903. }
  6904. if interceptor == nil {
  6905. return srv.(GoSysClientServer).SysUserGet(ctx, in)
  6906. }
  6907. info := &grpc.UnaryServerInfo{
  6908. Server: srv,
  6909. FullMethod: GoSysClient_SysUserGet_FullMethodName,
  6910. }
  6911. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6912. return srv.(GoSysClientServer).SysUserGet(ctx, req.(*SysUserGetReq))
  6913. }
  6914. return interceptor(ctx, in, info, handler)
  6915. }
  6916. func _GoSysClient_SysUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6917. in := new(SysUserListReq)
  6918. if err := dec(in); err != nil {
  6919. return nil, err
  6920. }
  6921. if interceptor == nil {
  6922. return srv.(GoSysClientServer).SysUserList(ctx, in)
  6923. }
  6924. info := &grpc.UnaryServerInfo{
  6925. Server: srv,
  6926. FullMethod: GoSysClient_SysUserList_FullMethodName,
  6927. }
  6928. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6929. return srv.(GoSysClientServer).SysUserList(ctx, req.(*SysUserListReq))
  6930. }
  6931. return interceptor(ctx, in, info, handler)
  6932. }
  6933. func _GoSysClient_SysUserAddWithRolesAndPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6934. in := new(SysUserWithRoleIdsAndPermRules)
  6935. if err := dec(in); err != nil {
  6936. return nil, err
  6937. }
  6938. if interceptor == nil {
  6939. return srv.(GoSysClientServer).SysUserAddWithRolesAndPerms(ctx, in)
  6940. }
  6941. info := &grpc.UnaryServerInfo{
  6942. Server: srv,
  6943. FullMethod: GoSysClient_SysUserAddWithRolesAndPerms_FullMethodName,
  6944. }
  6945. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6946. return srv.(GoSysClientServer).SysUserAddWithRolesAndPerms(ctx, req.(*SysUserWithRoleIdsAndPermRules))
  6947. }
  6948. return interceptor(ctx, in, info, handler)
  6949. }
  6950. func _GoSysClient_SysUserUpdateWithRolesAndPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6951. in := new(SysUserWithRoleIdsAndPermRules)
  6952. if err := dec(in); err != nil {
  6953. return nil, err
  6954. }
  6955. if interceptor == nil {
  6956. return srv.(GoSysClientServer).SysUserUpdateWithRolesAndPerms(ctx, in)
  6957. }
  6958. info := &grpc.UnaryServerInfo{
  6959. Server: srv,
  6960. FullMethod: GoSysClient_SysUserUpdateWithRolesAndPerms_FullMethodName,
  6961. }
  6962. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6963. return srv.(GoSysClientServer).SysUserUpdateWithRolesAndPerms(ctx, req.(*SysUserWithRoleIdsAndPermRules))
  6964. }
  6965. return interceptor(ctx, in, info, handler)
  6966. }
  6967. func _GoSysClient_SysUserGetWithRolesAndPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6968. in := new(SysUserGetReq)
  6969. if err := dec(in); err != nil {
  6970. return nil, err
  6971. }
  6972. if interceptor == nil {
  6973. return srv.(GoSysClientServer).SysUserGetWithRolesAndPerms(ctx, in)
  6974. }
  6975. info := &grpc.UnaryServerInfo{
  6976. Server: srv,
  6977. FullMethod: GoSysClient_SysUserGetWithRolesAndPerms_FullMethodName,
  6978. }
  6979. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6980. return srv.(GoSysClientServer).SysUserGetWithRolesAndPerms(ctx, req.(*SysUserGetReq))
  6981. }
  6982. return interceptor(ctx, in, info, handler)
  6983. }
  6984. func _GoSysClient_SysUserListWithRolesAndPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  6985. in := new(SysUserListReq)
  6986. if err := dec(in); err != nil {
  6987. return nil, err
  6988. }
  6989. if interceptor == nil {
  6990. return srv.(GoSysClientServer).SysUserListWithRolesAndPerms(ctx, in)
  6991. }
  6992. info := &grpc.UnaryServerInfo{
  6993. Server: srv,
  6994. FullMethod: GoSysClient_SysUserListWithRolesAndPerms_FullMethodName,
  6995. }
  6996. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  6997. return srv.(GoSysClientServer).SysUserListWithRolesAndPerms(ctx, req.(*SysUserListReq))
  6998. }
  6999. return interceptor(ctx, in, info, handler)
  7000. }
  7001. func _GoSysClient_SysRoleAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7002. in := new(SysRoleVo)
  7003. if err := dec(in); err != nil {
  7004. return nil, err
  7005. }
  7006. if interceptor == nil {
  7007. return srv.(GoSysClientServer).SysRoleAdd(ctx, in)
  7008. }
  7009. info := &grpc.UnaryServerInfo{
  7010. Server: srv,
  7011. FullMethod: GoSysClient_SysRoleAdd_FullMethodName,
  7012. }
  7013. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7014. return srv.(GoSysClientServer).SysRoleAdd(ctx, req.(*SysRoleVo))
  7015. }
  7016. return interceptor(ctx, in, info, handler)
  7017. }
  7018. func _GoSysClient_SysRoleUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7019. in := new(SysRoleVo)
  7020. if err := dec(in); err != nil {
  7021. return nil, err
  7022. }
  7023. if interceptor == nil {
  7024. return srv.(GoSysClientServer).SysRoleUpdate(ctx, in)
  7025. }
  7026. info := &grpc.UnaryServerInfo{
  7027. Server: srv,
  7028. FullMethod: GoSysClient_SysRoleUpdate_FullMethodName,
  7029. }
  7030. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7031. return srv.(GoSysClientServer).SysRoleUpdate(ctx, req.(*SysRoleVo))
  7032. }
  7033. return interceptor(ctx, in, info, handler)
  7034. }
  7035. func _GoSysClient_SysRoleDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7036. in := new(Ids)
  7037. if err := dec(in); err != nil {
  7038. return nil, err
  7039. }
  7040. if interceptor == nil {
  7041. return srv.(GoSysClientServer).SysRoleDelete(ctx, in)
  7042. }
  7043. info := &grpc.UnaryServerInfo{
  7044. Server: srv,
  7045. FullMethod: GoSysClient_SysRoleDelete_FullMethodName,
  7046. }
  7047. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7048. return srv.(GoSysClientServer).SysRoleDelete(ctx, req.(*Ids))
  7049. }
  7050. return interceptor(ctx, in, info, handler)
  7051. }
  7052. func _GoSysClient_SysRoleGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7053. in := new(SysRoleGetReq)
  7054. if err := dec(in); err != nil {
  7055. return nil, err
  7056. }
  7057. if interceptor == nil {
  7058. return srv.(GoSysClientServer).SysRoleGet(ctx, in)
  7059. }
  7060. info := &grpc.UnaryServerInfo{
  7061. Server: srv,
  7062. FullMethod: GoSysClient_SysRoleGet_FullMethodName,
  7063. }
  7064. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7065. return srv.(GoSysClientServer).SysRoleGet(ctx, req.(*SysRoleGetReq))
  7066. }
  7067. return interceptor(ctx, in, info, handler)
  7068. }
  7069. func _GoSysClient_SysRoleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7070. in := new(SysRoleListReq)
  7071. if err := dec(in); err != nil {
  7072. return nil, err
  7073. }
  7074. if interceptor == nil {
  7075. return srv.(GoSysClientServer).SysRoleList(ctx, in)
  7076. }
  7077. info := &grpc.UnaryServerInfo{
  7078. Server: srv,
  7079. FullMethod: GoSysClient_SysRoleList_FullMethodName,
  7080. }
  7081. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7082. return srv.(GoSysClientServer).SysRoleList(ctx, req.(*SysRoleListReq))
  7083. }
  7084. return interceptor(ctx, in, info, handler)
  7085. }
  7086. func _GoSysClient_SysRoleAddWithPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7087. in := new(SysRoleWithPermIds)
  7088. if err := dec(in); err != nil {
  7089. return nil, err
  7090. }
  7091. if interceptor == nil {
  7092. return srv.(GoSysClientServer).SysRoleAddWithPerms(ctx, in)
  7093. }
  7094. info := &grpc.UnaryServerInfo{
  7095. Server: srv,
  7096. FullMethod: GoSysClient_SysRoleAddWithPerms_FullMethodName,
  7097. }
  7098. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7099. return srv.(GoSysClientServer).SysRoleAddWithPerms(ctx, req.(*SysRoleWithPermIds))
  7100. }
  7101. return interceptor(ctx, in, info, handler)
  7102. }
  7103. func _GoSysClient_SysRoleUpdateWithPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7104. in := new(SysRoleWithPermIds)
  7105. if err := dec(in); err != nil {
  7106. return nil, err
  7107. }
  7108. if interceptor == nil {
  7109. return srv.(GoSysClientServer).SysRoleUpdateWithPerms(ctx, in)
  7110. }
  7111. info := &grpc.UnaryServerInfo{
  7112. Server: srv,
  7113. FullMethod: GoSysClient_SysRoleUpdateWithPerms_FullMethodName,
  7114. }
  7115. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7116. return srv.(GoSysClientServer).SysRoleUpdateWithPerms(ctx, req.(*SysRoleWithPermIds))
  7117. }
  7118. return interceptor(ctx, in, info, handler)
  7119. }
  7120. func _GoSysClient_SysRoleGetWithPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7121. in := new(SysRoleGetReq)
  7122. if err := dec(in); err != nil {
  7123. return nil, err
  7124. }
  7125. if interceptor == nil {
  7126. return srv.(GoSysClientServer).SysRoleGetWithPerms(ctx, in)
  7127. }
  7128. info := &grpc.UnaryServerInfo{
  7129. Server: srv,
  7130. FullMethod: GoSysClient_SysRoleGetWithPerms_FullMethodName,
  7131. }
  7132. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7133. return srv.(GoSysClientServer).SysRoleGetWithPerms(ctx, req.(*SysRoleGetReq))
  7134. }
  7135. return interceptor(ctx, in, info, handler)
  7136. }
  7137. func _GoSysClient_SysRoleListWithPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7138. in := new(SysRoleListReq)
  7139. if err := dec(in); err != nil {
  7140. return nil, err
  7141. }
  7142. if interceptor == nil {
  7143. return srv.(GoSysClientServer).SysRoleListWithPerms(ctx, in)
  7144. }
  7145. info := &grpc.UnaryServerInfo{
  7146. Server: srv,
  7147. FullMethod: GoSysClient_SysRoleListWithPerms_FullMethodName,
  7148. }
  7149. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7150. return srv.(GoSysClientServer).SysRoleListWithPerms(ctx, req.(*SysRoleListReq))
  7151. }
  7152. return interceptor(ctx, in, info, handler)
  7153. }
  7154. func _GoSysClient_SysPermAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7155. in := new(SysPermVo)
  7156. if err := dec(in); err != nil {
  7157. return nil, err
  7158. }
  7159. if interceptor == nil {
  7160. return srv.(GoSysClientServer).SysPermAdd(ctx, in)
  7161. }
  7162. info := &grpc.UnaryServerInfo{
  7163. Server: srv,
  7164. FullMethod: GoSysClient_SysPermAdd_FullMethodName,
  7165. }
  7166. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7167. return srv.(GoSysClientServer).SysPermAdd(ctx, req.(*SysPermVo))
  7168. }
  7169. return interceptor(ctx, in, info, handler)
  7170. }
  7171. func _GoSysClient_SysPermUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7172. in := new(SysPermVo)
  7173. if err := dec(in); err != nil {
  7174. return nil, err
  7175. }
  7176. if interceptor == nil {
  7177. return srv.(GoSysClientServer).SysPermUpdate(ctx, in)
  7178. }
  7179. info := &grpc.UnaryServerInfo{
  7180. Server: srv,
  7181. FullMethod: GoSysClient_SysPermUpdate_FullMethodName,
  7182. }
  7183. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7184. return srv.(GoSysClientServer).SysPermUpdate(ctx, req.(*SysPermVo))
  7185. }
  7186. return interceptor(ctx, in, info, handler)
  7187. }
  7188. func _GoSysClient_SysPermDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7189. in := new(Ids)
  7190. if err := dec(in); err != nil {
  7191. return nil, err
  7192. }
  7193. if interceptor == nil {
  7194. return srv.(GoSysClientServer).SysPermDelete(ctx, in)
  7195. }
  7196. info := &grpc.UnaryServerInfo{
  7197. Server: srv,
  7198. FullMethod: GoSysClient_SysPermDelete_FullMethodName,
  7199. }
  7200. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7201. return srv.(GoSysClientServer).SysPermDelete(ctx, req.(*Ids))
  7202. }
  7203. return interceptor(ctx, in, info, handler)
  7204. }
  7205. func _GoSysClient_SysPermGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7206. in := new(SysPermGetReq)
  7207. if err := dec(in); err != nil {
  7208. return nil, err
  7209. }
  7210. if interceptor == nil {
  7211. return srv.(GoSysClientServer).SysPermGet(ctx, in)
  7212. }
  7213. info := &grpc.UnaryServerInfo{
  7214. Server: srv,
  7215. FullMethod: GoSysClient_SysPermGet_FullMethodName,
  7216. }
  7217. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7218. return srv.(GoSysClientServer).SysPermGet(ctx, req.(*SysPermGetReq))
  7219. }
  7220. return interceptor(ctx, in, info, handler)
  7221. }
  7222. func _GoSysClient_SysPermList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7223. in := new(SysPermListReq)
  7224. if err := dec(in); err != nil {
  7225. return nil, err
  7226. }
  7227. if interceptor == nil {
  7228. return srv.(GoSysClientServer).SysPermList(ctx, in)
  7229. }
  7230. info := &grpc.UnaryServerInfo{
  7231. Server: srv,
  7232. FullMethod: GoSysClient_SysPermList_FullMethodName,
  7233. }
  7234. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7235. return srv.(GoSysClientServer).SysPermList(ctx, req.(*SysPermListReq))
  7236. }
  7237. return interceptor(ctx, in, info, handler)
  7238. }
  7239. func _GoSysClient_SysUserRoleAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7240. in := new(SysUserRoleVo)
  7241. if err := dec(in); err != nil {
  7242. return nil, err
  7243. }
  7244. if interceptor == nil {
  7245. return srv.(GoSysClientServer).SysUserRoleAdd(ctx, in)
  7246. }
  7247. info := &grpc.UnaryServerInfo{
  7248. Server: srv,
  7249. FullMethod: GoSysClient_SysUserRoleAdd_FullMethodName,
  7250. }
  7251. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7252. return srv.(GoSysClientServer).SysUserRoleAdd(ctx, req.(*SysUserRoleVo))
  7253. }
  7254. return interceptor(ctx, in, info, handler)
  7255. }
  7256. func _GoSysClient_SysUserRoleUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7257. in := new(SysUserRoleVo)
  7258. if err := dec(in); err != nil {
  7259. return nil, err
  7260. }
  7261. if interceptor == nil {
  7262. return srv.(GoSysClientServer).SysUserRoleUpdate(ctx, in)
  7263. }
  7264. info := &grpc.UnaryServerInfo{
  7265. Server: srv,
  7266. FullMethod: GoSysClient_SysUserRoleUpdate_FullMethodName,
  7267. }
  7268. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7269. return srv.(GoSysClientServer).SysUserRoleUpdate(ctx, req.(*SysUserRoleVo))
  7270. }
  7271. return interceptor(ctx, in, info, handler)
  7272. }
  7273. func _GoSysClient_SysUserRoleDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7274. in := new(Ids)
  7275. if err := dec(in); err != nil {
  7276. return nil, err
  7277. }
  7278. if interceptor == nil {
  7279. return srv.(GoSysClientServer).SysUserRoleDelete(ctx, in)
  7280. }
  7281. info := &grpc.UnaryServerInfo{
  7282. Server: srv,
  7283. FullMethod: GoSysClient_SysUserRoleDelete_FullMethodName,
  7284. }
  7285. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7286. return srv.(GoSysClientServer).SysUserRoleDelete(ctx, req.(*Ids))
  7287. }
  7288. return interceptor(ctx, in, info, handler)
  7289. }
  7290. func _GoSysClient_SysUserRoleGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7291. in := new(SysUserRoleGetReq)
  7292. if err := dec(in); err != nil {
  7293. return nil, err
  7294. }
  7295. if interceptor == nil {
  7296. return srv.(GoSysClientServer).SysUserRoleGet(ctx, in)
  7297. }
  7298. info := &grpc.UnaryServerInfo{
  7299. Server: srv,
  7300. FullMethod: GoSysClient_SysUserRoleGet_FullMethodName,
  7301. }
  7302. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7303. return srv.(GoSysClientServer).SysUserRoleGet(ctx, req.(*SysUserRoleGetReq))
  7304. }
  7305. return interceptor(ctx, in, info, handler)
  7306. }
  7307. func _GoSysClient_SysUserRoleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7308. in := new(SysUserRoleListReq)
  7309. if err := dec(in); err != nil {
  7310. return nil, err
  7311. }
  7312. if interceptor == nil {
  7313. return srv.(GoSysClientServer).SysUserRoleList(ctx, in)
  7314. }
  7315. info := &grpc.UnaryServerInfo{
  7316. Server: srv,
  7317. FullMethod: GoSysClient_SysUserRoleList_FullMethodName,
  7318. }
  7319. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7320. return srv.(GoSysClientServer).SysUserRoleList(ctx, req.(*SysUserRoleListReq))
  7321. }
  7322. return interceptor(ctx, in, info, handler)
  7323. }
  7324. func _GoSysClient_SysRolePermAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7325. in := new(SysRolePermVo)
  7326. if err := dec(in); err != nil {
  7327. return nil, err
  7328. }
  7329. if interceptor == nil {
  7330. return srv.(GoSysClientServer).SysRolePermAdd(ctx, in)
  7331. }
  7332. info := &grpc.UnaryServerInfo{
  7333. Server: srv,
  7334. FullMethod: GoSysClient_SysRolePermAdd_FullMethodName,
  7335. }
  7336. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7337. return srv.(GoSysClientServer).SysRolePermAdd(ctx, req.(*SysRolePermVo))
  7338. }
  7339. return interceptor(ctx, in, info, handler)
  7340. }
  7341. func _GoSysClient_SysRolePermUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7342. in := new(SysRolePermVo)
  7343. if err := dec(in); err != nil {
  7344. return nil, err
  7345. }
  7346. if interceptor == nil {
  7347. return srv.(GoSysClientServer).SysRolePermUpdate(ctx, in)
  7348. }
  7349. info := &grpc.UnaryServerInfo{
  7350. Server: srv,
  7351. FullMethod: GoSysClient_SysRolePermUpdate_FullMethodName,
  7352. }
  7353. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7354. return srv.(GoSysClientServer).SysRolePermUpdate(ctx, req.(*SysRolePermVo))
  7355. }
  7356. return interceptor(ctx, in, info, handler)
  7357. }
  7358. func _GoSysClient_SysRolePermDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7359. in := new(Ids)
  7360. if err := dec(in); err != nil {
  7361. return nil, err
  7362. }
  7363. if interceptor == nil {
  7364. return srv.(GoSysClientServer).SysRolePermDelete(ctx, in)
  7365. }
  7366. info := &grpc.UnaryServerInfo{
  7367. Server: srv,
  7368. FullMethod: GoSysClient_SysRolePermDelete_FullMethodName,
  7369. }
  7370. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7371. return srv.(GoSysClientServer).SysRolePermDelete(ctx, req.(*Ids))
  7372. }
  7373. return interceptor(ctx, in, info, handler)
  7374. }
  7375. func _GoSysClient_SysRolePermGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7376. in := new(SysRolePermGetReq)
  7377. if err := dec(in); err != nil {
  7378. return nil, err
  7379. }
  7380. if interceptor == nil {
  7381. return srv.(GoSysClientServer).SysRolePermGet(ctx, in)
  7382. }
  7383. info := &grpc.UnaryServerInfo{
  7384. Server: srv,
  7385. FullMethod: GoSysClient_SysRolePermGet_FullMethodName,
  7386. }
  7387. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7388. return srv.(GoSysClientServer).SysRolePermGet(ctx, req.(*SysRolePermGetReq))
  7389. }
  7390. return interceptor(ctx, in, info, handler)
  7391. }
  7392. func _GoSysClient_SysRolePermList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7393. in := new(SysRolePermListReq)
  7394. if err := dec(in); err != nil {
  7395. return nil, err
  7396. }
  7397. if interceptor == nil {
  7398. return srv.(GoSysClientServer).SysRolePermList(ctx, in)
  7399. }
  7400. info := &grpc.UnaryServerInfo{
  7401. Server: srv,
  7402. FullMethod: GoSysClient_SysRolePermList_FullMethodName,
  7403. }
  7404. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7405. return srv.(GoSysClientServer).SysRolePermList(ctx, req.(*SysRolePermListReq))
  7406. }
  7407. return interceptor(ctx, in, info, handler)
  7408. }
  7409. func _GoSysClient_SysUserPermAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7410. in := new(SysUserPermVo)
  7411. if err := dec(in); err != nil {
  7412. return nil, err
  7413. }
  7414. if interceptor == nil {
  7415. return srv.(GoSysClientServer).SysUserPermAdd(ctx, in)
  7416. }
  7417. info := &grpc.UnaryServerInfo{
  7418. Server: srv,
  7419. FullMethod: GoSysClient_SysUserPermAdd_FullMethodName,
  7420. }
  7421. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7422. return srv.(GoSysClientServer).SysUserPermAdd(ctx, req.(*SysUserPermVo))
  7423. }
  7424. return interceptor(ctx, in, info, handler)
  7425. }
  7426. func _GoSysClient_SysUserPermUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7427. in := new(SysUserPermVo)
  7428. if err := dec(in); err != nil {
  7429. return nil, err
  7430. }
  7431. if interceptor == nil {
  7432. return srv.(GoSysClientServer).SysUserPermUpdate(ctx, in)
  7433. }
  7434. info := &grpc.UnaryServerInfo{
  7435. Server: srv,
  7436. FullMethod: GoSysClient_SysUserPermUpdate_FullMethodName,
  7437. }
  7438. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7439. return srv.(GoSysClientServer).SysUserPermUpdate(ctx, req.(*SysUserPermVo))
  7440. }
  7441. return interceptor(ctx, in, info, handler)
  7442. }
  7443. func _GoSysClient_SysUserPermDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7444. in := new(Ids)
  7445. if err := dec(in); err != nil {
  7446. return nil, err
  7447. }
  7448. if interceptor == nil {
  7449. return srv.(GoSysClientServer).SysUserPermDelete(ctx, in)
  7450. }
  7451. info := &grpc.UnaryServerInfo{
  7452. Server: srv,
  7453. FullMethod: GoSysClient_SysUserPermDelete_FullMethodName,
  7454. }
  7455. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7456. return srv.(GoSysClientServer).SysUserPermDelete(ctx, req.(*Ids))
  7457. }
  7458. return interceptor(ctx, in, info, handler)
  7459. }
  7460. func _GoSysClient_SysUserPermGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7461. in := new(SysUserPermGetReq)
  7462. if err := dec(in); err != nil {
  7463. return nil, err
  7464. }
  7465. if interceptor == nil {
  7466. return srv.(GoSysClientServer).SysUserPermGet(ctx, in)
  7467. }
  7468. info := &grpc.UnaryServerInfo{
  7469. Server: srv,
  7470. FullMethod: GoSysClient_SysUserPermGet_FullMethodName,
  7471. }
  7472. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7473. return srv.(GoSysClientServer).SysUserPermGet(ctx, req.(*SysUserPermGetReq))
  7474. }
  7475. return interceptor(ctx, in, info, handler)
  7476. }
  7477. func _GoSysClient_SysUserPermList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  7478. in := new(SysUserPermListReq)
  7479. if err := dec(in); err != nil {
  7480. return nil, err
  7481. }
  7482. if interceptor == nil {
  7483. return srv.(GoSysClientServer).SysUserPermList(ctx, in)
  7484. }
  7485. info := &grpc.UnaryServerInfo{
  7486. Server: srv,
  7487. FullMethod: GoSysClient_SysUserPermList_FullMethodName,
  7488. }
  7489. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  7490. return srv.(GoSysClientServer).SysUserPermList(ctx, req.(*SysUserPermListReq))
  7491. }
  7492. return interceptor(ctx, in, info, handler)
  7493. }
  7494. // GoSysClient_ServiceDesc is the grpc.ServiceDesc for GoSysClient service.
  7495. // It's only intended for direct use with grpc.RegisterService,
  7496. // and not to be introspected or modified (even as a copy)
  7497. var GoSysClient_ServiceDesc = grpc.ServiceDesc{
  7498. ServiceName: "gorpc.GoSysClient",
  7499. HandlerType: (*GoSysClientServer)(nil),
  7500. Methods: []grpc.MethodDesc{
  7501. {
  7502. MethodName: "Ping",
  7503. Handler: _GoSysClient_Ping_Handler,
  7504. },
  7505. {
  7506. MethodName: "SysUserAdd",
  7507. Handler: _GoSysClient_SysUserAdd_Handler,
  7508. },
  7509. {
  7510. MethodName: "SysUserUpdate",
  7511. Handler: _GoSysClient_SysUserUpdate_Handler,
  7512. },
  7513. {
  7514. MethodName: "SysUserDelete",
  7515. Handler: _GoSysClient_SysUserDelete_Handler,
  7516. },
  7517. {
  7518. MethodName: "SysUserGet",
  7519. Handler: _GoSysClient_SysUserGet_Handler,
  7520. },
  7521. {
  7522. MethodName: "SysUserList",
  7523. Handler: _GoSysClient_SysUserList_Handler,
  7524. },
  7525. {
  7526. MethodName: "SysUserAddWithRolesAndPerms",
  7527. Handler: _GoSysClient_SysUserAddWithRolesAndPerms_Handler,
  7528. },
  7529. {
  7530. MethodName: "SysUserUpdateWithRolesAndPerms",
  7531. Handler: _GoSysClient_SysUserUpdateWithRolesAndPerms_Handler,
  7532. },
  7533. {
  7534. MethodName: "SysUserGetWithRolesAndPerms",
  7535. Handler: _GoSysClient_SysUserGetWithRolesAndPerms_Handler,
  7536. },
  7537. {
  7538. MethodName: "SysUserListWithRolesAndPerms",
  7539. Handler: _GoSysClient_SysUserListWithRolesAndPerms_Handler,
  7540. },
  7541. {
  7542. MethodName: "SysRoleAdd",
  7543. Handler: _GoSysClient_SysRoleAdd_Handler,
  7544. },
  7545. {
  7546. MethodName: "SysRoleUpdate",
  7547. Handler: _GoSysClient_SysRoleUpdate_Handler,
  7548. },
  7549. {
  7550. MethodName: "SysRoleDelete",
  7551. Handler: _GoSysClient_SysRoleDelete_Handler,
  7552. },
  7553. {
  7554. MethodName: "SysRoleGet",
  7555. Handler: _GoSysClient_SysRoleGet_Handler,
  7556. },
  7557. {
  7558. MethodName: "SysRoleList",
  7559. Handler: _GoSysClient_SysRoleList_Handler,
  7560. },
  7561. {
  7562. MethodName: "SysRoleAddWithPerms",
  7563. Handler: _GoSysClient_SysRoleAddWithPerms_Handler,
  7564. },
  7565. {
  7566. MethodName: "SysRoleUpdateWithPerms",
  7567. Handler: _GoSysClient_SysRoleUpdateWithPerms_Handler,
  7568. },
  7569. {
  7570. MethodName: "SysRoleGetWithPerms",
  7571. Handler: _GoSysClient_SysRoleGetWithPerms_Handler,
  7572. },
  7573. {
  7574. MethodName: "SysRoleListWithPerms",
  7575. Handler: _GoSysClient_SysRoleListWithPerms_Handler,
  7576. },
  7577. {
  7578. MethodName: "SysPermAdd",
  7579. Handler: _GoSysClient_SysPermAdd_Handler,
  7580. },
  7581. {
  7582. MethodName: "SysPermUpdate",
  7583. Handler: _GoSysClient_SysPermUpdate_Handler,
  7584. },
  7585. {
  7586. MethodName: "SysPermDelete",
  7587. Handler: _GoSysClient_SysPermDelete_Handler,
  7588. },
  7589. {
  7590. MethodName: "SysPermGet",
  7591. Handler: _GoSysClient_SysPermGet_Handler,
  7592. },
  7593. {
  7594. MethodName: "SysPermList",
  7595. Handler: _GoSysClient_SysPermList_Handler,
  7596. },
  7597. {
  7598. MethodName: "SysUserRoleAdd",
  7599. Handler: _GoSysClient_SysUserRoleAdd_Handler,
  7600. },
  7601. {
  7602. MethodName: "SysUserRoleUpdate",
  7603. Handler: _GoSysClient_SysUserRoleUpdate_Handler,
  7604. },
  7605. {
  7606. MethodName: "SysUserRoleDelete",
  7607. Handler: _GoSysClient_SysUserRoleDelete_Handler,
  7608. },
  7609. {
  7610. MethodName: "SysUserRoleGet",
  7611. Handler: _GoSysClient_SysUserRoleGet_Handler,
  7612. },
  7613. {
  7614. MethodName: "SysUserRoleList",
  7615. Handler: _GoSysClient_SysUserRoleList_Handler,
  7616. },
  7617. {
  7618. MethodName: "SysRolePermAdd",
  7619. Handler: _GoSysClient_SysRolePermAdd_Handler,
  7620. },
  7621. {
  7622. MethodName: "SysRolePermUpdate",
  7623. Handler: _GoSysClient_SysRolePermUpdate_Handler,
  7624. },
  7625. {
  7626. MethodName: "SysRolePermDelete",
  7627. Handler: _GoSysClient_SysRolePermDelete_Handler,
  7628. },
  7629. {
  7630. MethodName: "SysRolePermGet",
  7631. Handler: _GoSysClient_SysRolePermGet_Handler,
  7632. },
  7633. {
  7634. MethodName: "SysRolePermList",
  7635. Handler: _GoSysClient_SysRolePermList_Handler,
  7636. },
  7637. {
  7638. MethodName: "SysUserPermAdd",
  7639. Handler: _GoSysClient_SysUserPermAdd_Handler,
  7640. },
  7641. {
  7642. MethodName: "SysUserPermUpdate",
  7643. Handler: _GoSysClient_SysUserPermUpdate_Handler,
  7644. },
  7645. {
  7646. MethodName: "SysUserPermDelete",
  7647. Handler: _GoSysClient_SysUserPermDelete_Handler,
  7648. },
  7649. {
  7650. MethodName: "SysUserPermGet",
  7651. Handler: _GoSysClient_SysUserPermGet_Handler,
  7652. },
  7653. {
  7654. MethodName: "SysUserPermList",
  7655. Handler: _GoSysClient_SysUserPermList_Handler,
  7656. },
  7657. },
  7658. Streams: []grpc.StreamDesc{},
  7659. Metadata: "gorpc.proto",
  7660. }
  7661. const (
  7662. GoUserClient_Ping_FullMethodName = "/gorpc.GoUserClient/Ping"
  7663. GoUserClient_UserAppConfigAdd_FullMethodName = "/gorpc.GoUserClient/UserAppConfigAdd"
  7664. GoUserClient_UserAppConfigUpdate_FullMethodName = "/gorpc.GoUserClient/UserAppConfigUpdate"
  7665. GoUserClient_UserAppConfigDel_FullMethodName = "/gorpc.GoUserClient/UserAppConfigDel"
  7666. GoUserClient_UserAppConfigGet_FullMethodName = "/gorpc.GoUserClient/UserAppConfigGet"
  7667. GoUserClient_UserAppConfigList_FullMethodName = "/gorpc.GoUserClient/UserAppConfigList"
  7668. GoUserClient_DeviceAdd_FullMethodName = "/gorpc.GoUserClient/DeviceAdd"
  7669. GoUserClient_DeviceUpdate_FullMethodName = "/gorpc.GoUserClient/DeviceUpdate"
  7670. GoUserClient_DeviceDel_FullMethodName = "/gorpc.GoUserClient/DeviceDel"
  7671. GoUserClient_DeviceGet_FullMethodName = "/gorpc.GoUserClient/DeviceGet"
  7672. GoUserClient_DeviceList_FullMethodName = "/gorpc.GoUserClient/DeviceList"
  7673. GoUserClient_AccountAdd_FullMethodName = "/gorpc.GoUserClient/AccountAdd"
  7674. GoUserClient_AccountUpdate_FullMethodName = "/gorpc.GoUserClient/AccountUpdate"
  7675. GoUserClient_AccountDel_FullMethodName = "/gorpc.GoUserClient/AccountDel"
  7676. GoUserClient_AccountGet_FullMethodName = "/gorpc.GoUserClient/AccountGet"
  7677. GoUserClient_AccountList_FullMethodName = "/gorpc.GoUserClient/AccountList"
  7678. GoUserClient_AccountDeviceAdd_FullMethodName = "/gorpc.GoUserClient/AccountDeviceAdd"
  7679. GoUserClient_AccountDeviceUpdate_FullMethodName = "/gorpc.GoUserClient/AccountDeviceUpdate"
  7680. GoUserClient_AccountDeviceDel_FullMethodName = "/gorpc.GoUserClient/AccountDeviceDel"
  7681. GoUserClient_AccountDeviceGet_FullMethodName = "/gorpc.GoUserClient/AccountDeviceGet"
  7682. GoUserClient_AccountDeviceList_FullMethodName = "/gorpc.GoUserClient/AccountDeviceList"
  7683. )
  7684. // GoUserClientClient is the client API for GoUserClient service.
  7685. //
  7686. // 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.
  7687. //
  7688. // 用户模块
  7689. type GoUserClientClient interface {
  7690. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  7691. // 用户app配置管理(ring)
  7692. UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  7693. UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  7694. UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  7695. UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  7696. UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error)
  7697. // 设备管理
  7698. DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  7699. DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  7700. DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  7701. DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  7702. DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error)
  7703. // Account
  7704. AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  7705. AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  7706. AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  7707. AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  7708. AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error)
  7709. // AccountDevice
  7710. AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  7711. AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  7712. AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  7713. AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  7714. AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error)
  7715. }
  7716. type goUserClientClient struct {
  7717. cc grpc.ClientConnInterface
  7718. }
  7719. func NewGoUserClientClient(cc grpc.ClientConnInterface) GoUserClientClient {
  7720. return &goUserClientClient{cc}
  7721. }
  7722. func (c *goUserClientClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  7723. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7724. out := new(Response)
  7725. err := c.cc.Invoke(ctx, GoUserClient_Ping_FullMethodName, in, out, cOpts...)
  7726. if err != nil {
  7727. return nil, err
  7728. }
  7729. return out, nil
  7730. }
  7731. func (c *goUserClientClient) UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  7732. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7733. out := new(UserAppConfigVo)
  7734. err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigAdd_FullMethodName, in, out, cOpts...)
  7735. if err != nil {
  7736. return nil, err
  7737. }
  7738. return out, nil
  7739. }
  7740. func (c *goUserClientClient) UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  7741. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7742. out := new(UserAppConfigVo)
  7743. err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigUpdate_FullMethodName, in, out, cOpts...)
  7744. if err != nil {
  7745. return nil, err
  7746. }
  7747. return out, nil
  7748. }
  7749. func (c *goUserClientClient) UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  7750. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7751. out := new(Empty)
  7752. err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigDel_FullMethodName, in, out, cOpts...)
  7753. if err != nil {
  7754. return nil, err
  7755. }
  7756. return out, nil
  7757. }
  7758. func (c *goUserClientClient) UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  7759. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7760. out := new(UserAppConfigVo)
  7761. err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigGet_FullMethodName, in, out, cOpts...)
  7762. if err != nil {
  7763. return nil, err
  7764. }
  7765. return out, nil
  7766. }
  7767. func (c *goUserClientClient) UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error) {
  7768. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7769. out := new(UserAppConfigListRes)
  7770. err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigList_FullMethodName, in, out, cOpts...)
  7771. if err != nil {
  7772. return nil, err
  7773. }
  7774. return out, nil
  7775. }
  7776. func (c *goUserClientClient) DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  7777. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7778. out := new(DeviceVo)
  7779. err := c.cc.Invoke(ctx, GoUserClient_DeviceAdd_FullMethodName, in, out, cOpts...)
  7780. if err != nil {
  7781. return nil, err
  7782. }
  7783. return out, nil
  7784. }
  7785. func (c *goUserClientClient) DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  7786. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7787. out := new(DeviceVo)
  7788. err := c.cc.Invoke(ctx, GoUserClient_DeviceUpdate_FullMethodName, in, out, cOpts...)
  7789. if err != nil {
  7790. return nil, err
  7791. }
  7792. return out, nil
  7793. }
  7794. func (c *goUserClientClient) DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  7795. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7796. out := new(Empty)
  7797. err := c.cc.Invoke(ctx, GoUserClient_DeviceDel_FullMethodName, in, out, cOpts...)
  7798. if err != nil {
  7799. return nil, err
  7800. }
  7801. return out, nil
  7802. }
  7803. func (c *goUserClientClient) DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  7804. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7805. out := new(DeviceVo)
  7806. err := c.cc.Invoke(ctx, GoUserClient_DeviceGet_FullMethodName, in, out, cOpts...)
  7807. if err != nil {
  7808. return nil, err
  7809. }
  7810. return out, nil
  7811. }
  7812. func (c *goUserClientClient) DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error) {
  7813. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7814. out := new(DeviceListRes)
  7815. err := c.cc.Invoke(ctx, GoUserClient_DeviceList_FullMethodName, in, out, cOpts...)
  7816. if err != nil {
  7817. return nil, err
  7818. }
  7819. return out, nil
  7820. }
  7821. func (c *goUserClientClient) AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  7822. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7823. out := new(AccountVo)
  7824. err := c.cc.Invoke(ctx, GoUserClient_AccountAdd_FullMethodName, in, out, cOpts...)
  7825. if err != nil {
  7826. return nil, err
  7827. }
  7828. return out, nil
  7829. }
  7830. func (c *goUserClientClient) AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  7831. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7832. out := new(AccountVo)
  7833. err := c.cc.Invoke(ctx, GoUserClient_AccountUpdate_FullMethodName, in, out, cOpts...)
  7834. if err != nil {
  7835. return nil, err
  7836. }
  7837. return out, nil
  7838. }
  7839. func (c *goUserClientClient) AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  7840. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7841. out := new(Empty)
  7842. err := c.cc.Invoke(ctx, GoUserClient_AccountDel_FullMethodName, in, out, cOpts...)
  7843. if err != nil {
  7844. return nil, err
  7845. }
  7846. return out, nil
  7847. }
  7848. func (c *goUserClientClient) AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  7849. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7850. out := new(AccountVo)
  7851. err := c.cc.Invoke(ctx, GoUserClient_AccountGet_FullMethodName, in, out, cOpts...)
  7852. if err != nil {
  7853. return nil, err
  7854. }
  7855. return out, nil
  7856. }
  7857. func (c *goUserClientClient) AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error) {
  7858. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7859. out := new(AccountListResp)
  7860. err := c.cc.Invoke(ctx, GoUserClient_AccountList_FullMethodName, in, out, cOpts...)
  7861. if err != nil {
  7862. return nil, err
  7863. }
  7864. return out, nil
  7865. }
  7866. func (c *goUserClientClient) AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  7867. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7868. out := new(AccountDeviceVo)
  7869. err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceAdd_FullMethodName, in, out, cOpts...)
  7870. if err != nil {
  7871. return nil, err
  7872. }
  7873. return out, nil
  7874. }
  7875. func (c *goUserClientClient) AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  7876. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7877. out := new(AccountDeviceVo)
  7878. err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceUpdate_FullMethodName, in, out, cOpts...)
  7879. if err != nil {
  7880. return nil, err
  7881. }
  7882. return out, nil
  7883. }
  7884. func (c *goUserClientClient) AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  7885. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7886. out := new(Empty)
  7887. err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceDel_FullMethodName, in, out, cOpts...)
  7888. if err != nil {
  7889. return nil, err
  7890. }
  7891. return out, nil
  7892. }
  7893. func (c *goUserClientClient) AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  7894. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7895. out := new(AccountDeviceVo)
  7896. err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceGet_FullMethodName, in, out, cOpts...)
  7897. if err != nil {
  7898. return nil, err
  7899. }
  7900. return out, nil
  7901. }
  7902. func (c *goUserClientClient) AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error) {
  7903. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  7904. out := new(AccountDeviceListResp)
  7905. err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceList_FullMethodName, in, out, cOpts...)
  7906. if err != nil {
  7907. return nil, err
  7908. }
  7909. return out, nil
  7910. }
  7911. // GoUserClientServer is the server API for GoUserClient service.
  7912. // All implementations must embed UnimplementedGoUserClientServer
  7913. // for forward compatibility.
  7914. //
  7915. // 用户模块
  7916. type GoUserClientServer interface {
  7917. Ping(context.Context, *Request) (*Response, error)
  7918. // 用户app配置管理(ring)
  7919. UserAppConfigAdd(context.Context, *UserAppConfigVo) (*UserAppConfigVo, error)
  7920. UserAppConfigUpdate(context.Context, *UserAppConfigVo) (*UserAppConfigVo, error)
  7921. UserAppConfigDel(context.Context, *Ids) (*Empty, error)
  7922. UserAppConfigGet(context.Context, *UserAppConfigGetReq) (*UserAppConfigVo, error)
  7923. UserAppConfigList(context.Context, *UserAppConfigListReq) (*UserAppConfigListRes, error)
  7924. // 设备管理
  7925. DeviceAdd(context.Context, *DeviceVo) (*DeviceVo, error)
  7926. DeviceUpdate(context.Context, *DeviceVo) (*DeviceVo, error)
  7927. DeviceDel(context.Context, *Ids) (*Empty, error)
  7928. DeviceGet(context.Context, *DeviceVo) (*DeviceVo, error)
  7929. DeviceList(context.Context, *DeviceListReq) (*DeviceListRes, error)
  7930. // Account
  7931. AccountAdd(context.Context, *AccountVo) (*AccountVo, error)
  7932. AccountUpdate(context.Context, *AccountVo) (*AccountVo, error)
  7933. AccountDel(context.Context, *Ids) (*Empty, error)
  7934. AccountGet(context.Context, *AccountVo) (*AccountVo, error)
  7935. AccountList(context.Context, *AccountListReq) (*AccountListResp, error)
  7936. // AccountDevice
  7937. AccountDeviceAdd(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error)
  7938. AccountDeviceUpdate(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error)
  7939. AccountDeviceDel(context.Context, *Ids) (*Empty, error)
  7940. AccountDeviceGet(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error)
  7941. AccountDeviceList(context.Context, *AccountDeviceListReq) (*AccountDeviceListResp, error)
  7942. mustEmbedUnimplementedGoUserClientServer()
  7943. }
  7944. // UnimplementedGoUserClientServer must be embedded to have
  7945. // forward compatible implementations.
  7946. //
  7947. // NOTE: this should be embedded by value instead of pointer to avoid a nil
  7948. // pointer dereference when methods are called.
  7949. type UnimplementedGoUserClientServer struct{}
  7950. func (UnimplementedGoUserClientServer) Ping(context.Context, *Request) (*Response, error) {
  7951. return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
  7952. }
  7953. func (UnimplementedGoUserClientServer) UserAppConfigAdd(context.Context, *UserAppConfigVo) (*UserAppConfigVo, error) {
  7954. return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigAdd not implemented")
  7955. }
  7956. func (UnimplementedGoUserClientServer) UserAppConfigUpdate(context.Context, *UserAppConfigVo) (*UserAppConfigVo, error) {
  7957. return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigUpdate not implemented")
  7958. }
  7959. func (UnimplementedGoUserClientServer) UserAppConfigDel(context.Context, *Ids) (*Empty, error) {
  7960. return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigDel not implemented")
  7961. }
  7962. func (UnimplementedGoUserClientServer) UserAppConfigGet(context.Context, *UserAppConfigGetReq) (*UserAppConfigVo, error) {
  7963. return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigGet not implemented")
  7964. }
  7965. func (UnimplementedGoUserClientServer) UserAppConfigList(context.Context, *UserAppConfigListReq) (*UserAppConfigListRes, error) {
  7966. return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigList not implemented")
  7967. }
  7968. func (UnimplementedGoUserClientServer) DeviceAdd(context.Context, *DeviceVo) (*DeviceVo, error) {
  7969. return nil, status.Errorf(codes.Unimplemented, "method DeviceAdd not implemented")
  7970. }
  7971. func (UnimplementedGoUserClientServer) DeviceUpdate(context.Context, *DeviceVo) (*DeviceVo, error) {
  7972. return nil, status.Errorf(codes.Unimplemented, "method DeviceUpdate not implemented")
  7973. }
  7974. func (UnimplementedGoUserClientServer) DeviceDel(context.Context, *Ids) (*Empty, error) {
  7975. return nil, status.Errorf(codes.Unimplemented, "method DeviceDel not implemented")
  7976. }
  7977. func (UnimplementedGoUserClientServer) DeviceGet(context.Context, *DeviceVo) (*DeviceVo, error) {
  7978. return nil, status.Errorf(codes.Unimplemented, "method DeviceGet not implemented")
  7979. }
  7980. func (UnimplementedGoUserClientServer) DeviceList(context.Context, *DeviceListReq) (*DeviceListRes, error) {
  7981. return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented")
  7982. }
  7983. func (UnimplementedGoUserClientServer) AccountAdd(context.Context, *AccountVo) (*AccountVo, error) {
  7984. return nil, status.Errorf(codes.Unimplemented, "method AccountAdd not implemented")
  7985. }
  7986. func (UnimplementedGoUserClientServer) AccountUpdate(context.Context, *AccountVo) (*AccountVo, error) {
  7987. return nil, status.Errorf(codes.Unimplemented, "method AccountUpdate not implemented")
  7988. }
  7989. func (UnimplementedGoUserClientServer) AccountDel(context.Context, *Ids) (*Empty, error) {
  7990. return nil, status.Errorf(codes.Unimplemented, "method AccountDel not implemented")
  7991. }
  7992. func (UnimplementedGoUserClientServer) AccountGet(context.Context, *AccountVo) (*AccountVo, error) {
  7993. return nil, status.Errorf(codes.Unimplemented, "method AccountGet not implemented")
  7994. }
  7995. func (UnimplementedGoUserClientServer) AccountList(context.Context, *AccountListReq) (*AccountListResp, error) {
  7996. return nil, status.Errorf(codes.Unimplemented, "method AccountList not implemented")
  7997. }
  7998. func (UnimplementedGoUserClientServer) AccountDeviceAdd(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error) {
  7999. return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceAdd not implemented")
  8000. }
  8001. func (UnimplementedGoUserClientServer) AccountDeviceUpdate(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error) {
  8002. return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceUpdate not implemented")
  8003. }
  8004. func (UnimplementedGoUserClientServer) AccountDeviceDel(context.Context, *Ids) (*Empty, error) {
  8005. return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceDel not implemented")
  8006. }
  8007. func (UnimplementedGoUserClientServer) AccountDeviceGet(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error) {
  8008. return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceGet not implemented")
  8009. }
  8010. func (UnimplementedGoUserClientServer) AccountDeviceList(context.Context, *AccountDeviceListReq) (*AccountDeviceListResp, error) {
  8011. return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceList not implemented")
  8012. }
  8013. func (UnimplementedGoUserClientServer) mustEmbedUnimplementedGoUserClientServer() {}
  8014. func (UnimplementedGoUserClientServer) testEmbeddedByValue() {}
  8015. // UnsafeGoUserClientServer may be embedded to opt out of forward compatibility for this service.
  8016. // Use of this interface is not recommended, as added methods to GoUserClientServer will
  8017. // result in compilation errors.
  8018. type UnsafeGoUserClientServer interface {
  8019. mustEmbedUnimplementedGoUserClientServer()
  8020. }
  8021. func RegisterGoUserClientServer(s grpc.ServiceRegistrar, srv GoUserClientServer) {
  8022. // If the following call pancis, it indicates UnimplementedGoUserClientServer was
  8023. // embedded by pointer and is nil. This will cause panics if an
  8024. // unimplemented method is ever invoked, so we test this at initialization
  8025. // time to prevent it from happening at runtime later due to I/O.
  8026. if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
  8027. t.testEmbeddedByValue()
  8028. }
  8029. s.RegisterService(&GoUserClient_ServiceDesc, srv)
  8030. }
  8031. func _GoUserClient_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8032. in := new(Request)
  8033. if err := dec(in); err != nil {
  8034. return nil, err
  8035. }
  8036. if interceptor == nil {
  8037. return srv.(GoUserClientServer).Ping(ctx, in)
  8038. }
  8039. info := &grpc.UnaryServerInfo{
  8040. Server: srv,
  8041. FullMethod: GoUserClient_Ping_FullMethodName,
  8042. }
  8043. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8044. return srv.(GoUserClientServer).Ping(ctx, req.(*Request))
  8045. }
  8046. return interceptor(ctx, in, info, handler)
  8047. }
  8048. func _GoUserClient_UserAppConfigAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8049. in := new(UserAppConfigVo)
  8050. if err := dec(in); err != nil {
  8051. return nil, err
  8052. }
  8053. if interceptor == nil {
  8054. return srv.(GoUserClientServer).UserAppConfigAdd(ctx, in)
  8055. }
  8056. info := &grpc.UnaryServerInfo{
  8057. Server: srv,
  8058. FullMethod: GoUserClient_UserAppConfigAdd_FullMethodName,
  8059. }
  8060. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8061. return srv.(GoUserClientServer).UserAppConfigAdd(ctx, req.(*UserAppConfigVo))
  8062. }
  8063. return interceptor(ctx, in, info, handler)
  8064. }
  8065. func _GoUserClient_UserAppConfigUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8066. in := new(UserAppConfigVo)
  8067. if err := dec(in); err != nil {
  8068. return nil, err
  8069. }
  8070. if interceptor == nil {
  8071. return srv.(GoUserClientServer).UserAppConfigUpdate(ctx, in)
  8072. }
  8073. info := &grpc.UnaryServerInfo{
  8074. Server: srv,
  8075. FullMethod: GoUserClient_UserAppConfigUpdate_FullMethodName,
  8076. }
  8077. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8078. return srv.(GoUserClientServer).UserAppConfigUpdate(ctx, req.(*UserAppConfigVo))
  8079. }
  8080. return interceptor(ctx, in, info, handler)
  8081. }
  8082. func _GoUserClient_UserAppConfigDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8083. in := new(Ids)
  8084. if err := dec(in); err != nil {
  8085. return nil, err
  8086. }
  8087. if interceptor == nil {
  8088. return srv.(GoUserClientServer).UserAppConfigDel(ctx, in)
  8089. }
  8090. info := &grpc.UnaryServerInfo{
  8091. Server: srv,
  8092. FullMethod: GoUserClient_UserAppConfigDel_FullMethodName,
  8093. }
  8094. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8095. return srv.(GoUserClientServer).UserAppConfigDel(ctx, req.(*Ids))
  8096. }
  8097. return interceptor(ctx, in, info, handler)
  8098. }
  8099. func _GoUserClient_UserAppConfigGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8100. in := new(UserAppConfigGetReq)
  8101. if err := dec(in); err != nil {
  8102. return nil, err
  8103. }
  8104. if interceptor == nil {
  8105. return srv.(GoUserClientServer).UserAppConfigGet(ctx, in)
  8106. }
  8107. info := &grpc.UnaryServerInfo{
  8108. Server: srv,
  8109. FullMethod: GoUserClient_UserAppConfigGet_FullMethodName,
  8110. }
  8111. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8112. return srv.(GoUserClientServer).UserAppConfigGet(ctx, req.(*UserAppConfigGetReq))
  8113. }
  8114. return interceptor(ctx, in, info, handler)
  8115. }
  8116. func _GoUserClient_UserAppConfigList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8117. in := new(UserAppConfigListReq)
  8118. if err := dec(in); err != nil {
  8119. return nil, err
  8120. }
  8121. if interceptor == nil {
  8122. return srv.(GoUserClientServer).UserAppConfigList(ctx, in)
  8123. }
  8124. info := &grpc.UnaryServerInfo{
  8125. Server: srv,
  8126. FullMethod: GoUserClient_UserAppConfigList_FullMethodName,
  8127. }
  8128. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8129. return srv.(GoUserClientServer).UserAppConfigList(ctx, req.(*UserAppConfigListReq))
  8130. }
  8131. return interceptor(ctx, in, info, handler)
  8132. }
  8133. func _GoUserClient_DeviceAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8134. in := new(DeviceVo)
  8135. if err := dec(in); err != nil {
  8136. return nil, err
  8137. }
  8138. if interceptor == nil {
  8139. return srv.(GoUserClientServer).DeviceAdd(ctx, in)
  8140. }
  8141. info := &grpc.UnaryServerInfo{
  8142. Server: srv,
  8143. FullMethod: GoUserClient_DeviceAdd_FullMethodName,
  8144. }
  8145. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8146. return srv.(GoUserClientServer).DeviceAdd(ctx, req.(*DeviceVo))
  8147. }
  8148. return interceptor(ctx, in, info, handler)
  8149. }
  8150. func _GoUserClient_DeviceUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8151. in := new(DeviceVo)
  8152. if err := dec(in); err != nil {
  8153. return nil, err
  8154. }
  8155. if interceptor == nil {
  8156. return srv.(GoUserClientServer).DeviceUpdate(ctx, in)
  8157. }
  8158. info := &grpc.UnaryServerInfo{
  8159. Server: srv,
  8160. FullMethod: GoUserClient_DeviceUpdate_FullMethodName,
  8161. }
  8162. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8163. return srv.(GoUserClientServer).DeviceUpdate(ctx, req.(*DeviceVo))
  8164. }
  8165. return interceptor(ctx, in, info, handler)
  8166. }
  8167. func _GoUserClient_DeviceDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8168. in := new(Ids)
  8169. if err := dec(in); err != nil {
  8170. return nil, err
  8171. }
  8172. if interceptor == nil {
  8173. return srv.(GoUserClientServer).DeviceDel(ctx, in)
  8174. }
  8175. info := &grpc.UnaryServerInfo{
  8176. Server: srv,
  8177. FullMethod: GoUserClient_DeviceDel_FullMethodName,
  8178. }
  8179. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8180. return srv.(GoUserClientServer).DeviceDel(ctx, req.(*Ids))
  8181. }
  8182. return interceptor(ctx, in, info, handler)
  8183. }
  8184. func _GoUserClient_DeviceGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8185. in := new(DeviceVo)
  8186. if err := dec(in); err != nil {
  8187. return nil, err
  8188. }
  8189. if interceptor == nil {
  8190. return srv.(GoUserClientServer).DeviceGet(ctx, in)
  8191. }
  8192. info := &grpc.UnaryServerInfo{
  8193. Server: srv,
  8194. FullMethod: GoUserClient_DeviceGet_FullMethodName,
  8195. }
  8196. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8197. return srv.(GoUserClientServer).DeviceGet(ctx, req.(*DeviceVo))
  8198. }
  8199. return interceptor(ctx, in, info, handler)
  8200. }
  8201. func _GoUserClient_DeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8202. in := new(DeviceListReq)
  8203. if err := dec(in); err != nil {
  8204. return nil, err
  8205. }
  8206. if interceptor == nil {
  8207. return srv.(GoUserClientServer).DeviceList(ctx, in)
  8208. }
  8209. info := &grpc.UnaryServerInfo{
  8210. Server: srv,
  8211. FullMethod: GoUserClient_DeviceList_FullMethodName,
  8212. }
  8213. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8214. return srv.(GoUserClientServer).DeviceList(ctx, req.(*DeviceListReq))
  8215. }
  8216. return interceptor(ctx, in, info, handler)
  8217. }
  8218. func _GoUserClient_AccountAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8219. in := new(AccountVo)
  8220. if err := dec(in); err != nil {
  8221. return nil, err
  8222. }
  8223. if interceptor == nil {
  8224. return srv.(GoUserClientServer).AccountAdd(ctx, in)
  8225. }
  8226. info := &grpc.UnaryServerInfo{
  8227. Server: srv,
  8228. FullMethod: GoUserClient_AccountAdd_FullMethodName,
  8229. }
  8230. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8231. return srv.(GoUserClientServer).AccountAdd(ctx, req.(*AccountVo))
  8232. }
  8233. return interceptor(ctx, in, info, handler)
  8234. }
  8235. func _GoUserClient_AccountUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8236. in := new(AccountVo)
  8237. if err := dec(in); err != nil {
  8238. return nil, err
  8239. }
  8240. if interceptor == nil {
  8241. return srv.(GoUserClientServer).AccountUpdate(ctx, in)
  8242. }
  8243. info := &grpc.UnaryServerInfo{
  8244. Server: srv,
  8245. FullMethod: GoUserClient_AccountUpdate_FullMethodName,
  8246. }
  8247. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8248. return srv.(GoUserClientServer).AccountUpdate(ctx, req.(*AccountVo))
  8249. }
  8250. return interceptor(ctx, in, info, handler)
  8251. }
  8252. func _GoUserClient_AccountDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8253. in := new(Ids)
  8254. if err := dec(in); err != nil {
  8255. return nil, err
  8256. }
  8257. if interceptor == nil {
  8258. return srv.(GoUserClientServer).AccountDel(ctx, in)
  8259. }
  8260. info := &grpc.UnaryServerInfo{
  8261. Server: srv,
  8262. FullMethod: GoUserClient_AccountDel_FullMethodName,
  8263. }
  8264. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8265. return srv.(GoUserClientServer).AccountDel(ctx, req.(*Ids))
  8266. }
  8267. return interceptor(ctx, in, info, handler)
  8268. }
  8269. func _GoUserClient_AccountGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8270. in := new(AccountVo)
  8271. if err := dec(in); err != nil {
  8272. return nil, err
  8273. }
  8274. if interceptor == nil {
  8275. return srv.(GoUserClientServer).AccountGet(ctx, in)
  8276. }
  8277. info := &grpc.UnaryServerInfo{
  8278. Server: srv,
  8279. FullMethod: GoUserClient_AccountGet_FullMethodName,
  8280. }
  8281. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8282. return srv.(GoUserClientServer).AccountGet(ctx, req.(*AccountVo))
  8283. }
  8284. return interceptor(ctx, in, info, handler)
  8285. }
  8286. func _GoUserClient_AccountList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8287. in := new(AccountListReq)
  8288. if err := dec(in); err != nil {
  8289. return nil, err
  8290. }
  8291. if interceptor == nil {
  8292. return srv.(GoUserClientServer).AccountList(ctx, in)
  8293. }
  8294. info := &grpc.UnaryServerInfo{
  8295. Server: srv,
  8296. FullMethod: GoUserClient_AccountList_FullMethodName,
  8297. }
  8298. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8299. return srv.(GoUserClientServer).AccountList(ctx, req.(*AccountListReq))
  8300. }
  8301. return interceptor(ctx, in, info, handler)
  8302. }
  8303. func _GoUserClient_AccountDeviceAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8304. in := new(AccountDeviceVo)
  8305. if err := dec(in); err != nil {
  8306. return nil, err
  8307. }
  8308. if interceptor == nil {
  8309. return srv.(GoUserClientServer).AccountDeviceAdd(ctx, in)
  8310. }
  8311. info := &grpc.UnaryServerInfo{
  8312. Server: srv,
  8313. FullMethod: GoUserClient_AccountDeviceAdd_FullMethodName,
  8314. }
  8315. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8316. return srv.(GoUserClientServer).AccountDeviceAdd(ctx, req.(*AccountDeviceVo))
  8317. }
  8318. return interceptor(ctx, in, info, handler)
  8319. }
  8320. func _GoUserClient_AccountDeviceUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8321. in := new(AccountDeviceVo)
  8322. if err := dec(in); err != nil {
  8323. return nil, err
  8324. }
  8325. if interceptor == nil {
  8326. return srv.(GoUserClientServer).AccountDeviceUpdate(ctx, in)
  8327. }
  8328. info := &grpc.UnaryServerInfo{
  8329. Server: srv,
  8330. FullMethod: GoUserClient_AccountDeviceUpdate_FullMethodName,
  8331. }
  8332. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8333. return srv.(GoUserClientServer).AccountDeviceUpdate(ctx, req.(*AccountDeviceVo))
  8334. }
  8335. return interceptor(ctx, in, info, handler)
  8336. }
  8337. func _GoUserClient_AccountDeviceDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8338. in := new(Ids)
  8339. if err := dec(in); err != nil {
  8340. return nil, err
  8341. }
  8342. if interceptor == nil {
  8343. return srv.(GoUserClientServer).AccountDeviceDel(ctx, in)
  8344. }
  8345. info := &grpc.UnaryServerInfo{
  8346. Server: srv,
  8347. FullMethod: GoUserClient_AccountDeviceDel_FullMethodName,
  8348. }
  8349. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8350. return srv.(GoUserClientServer).AccountDeviceDel(ctx, req.(*Ids))
  8351. }
  8352. return interceptor(ctx, in, info, handler)
  8353. }
  8354. func _GoUserClient_AccountDeviceGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8355. in := new(AccountDeviceVo)
  8356. if err := dec(in); err != nil {
  8357. return nil, err
  8358. }
  8359. if interceptor == nil {
  8360. return srv.(GoUserClientServer).AccountDeviceGet(ctx, in)
  8361. }
  8362. info := &grpc.UnaryServerInfo{
  8363. Server: srv,
  8364. FullMethod: GoUserClient_AccountDeviceGet_FullMethodName,
  8365. }
  8366. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8367. return srv.(GoUserClientServer).AccountDeviceGet(ctx, req.(*AccountDeviceVo))
  8368. }
  8369. return interceptor(ctx, in, info, handler)
  8370. }
  8371. func _GoUserClient_AccountDeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  8372. in := new(AccountDeviceListReq)
  8373. if err := dec(in); err != nil {
  8374. return nil, err
  8375. }
  8376. if interceptor == nil {
  8377. return srv.(GoUserClientServer).AccountDeviceList(ctx, in)
  8378. }
  8379. info := &grpc.UnaryServerInfo{
  8380. Server: srv,
  8381. FullMethod: GoUserClient_AccountDeviceList_FullMethodName,
  8382. }
  8383. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  8384. return srv.(GoUserClientServer).AccountDeviceList(ctx, req.(*AccountDeviceListReq))
  8385. }
  8386. return interceptor(ctx, in, info, handler)
  8387. }
  8388. // GoUserClient_ServiceDesc is the grpc.ServiceDesc for GoUserClient service.
  8389. // It's only intended for direct use with grpc.RegisterService,
  8390. // and not to be introspected or modified (even as a copy)
  8391. var GoUserClient_ServiceDesc = grpc.ServiceDesc{
  8392. ServiceName: "gorpc.GoUserClient",
  8393. HandlerType: (*GoUserClientServer)(nil),
  8394. Methods: []grpc.MethodDesc{
  8395. {
  8396. MethodName: "Ping",
  8397. Handler: _GoUserClient_Ping_Handler,
  8398. },
  8399. {
  8400. MethodName: "UserAppConfigAdd",
  8401. Handler: _GoUserClient_UserAppConfigAdd_Handler,
  8402. },
  8403. {
  8404. MethodName: "UserAppConfigUpdate",
  8405. Handler: _GoUserClient_UserAppConfigUpdate_Handler,
  8406. },
  8407. {
  8408. MethodName: "UserAppConfigDel",
  8409. Handler: _GoUserClient_UserAppConfigDel_Handler,
  8410. },
  8411. {
  8412. MethodName: "UserAppConfigGet",
  8413. Handler: _GoUserClient_UserAppConfigGet_Handler,
  8414. },
  8415. {
  8416. MethodName: "UserAppConfigList",
  8417. Handler: _GoUserClient_UserAppConfigList_Handler,
  8418. },
  8419. {
  8420. MethodName: "DeviceAdd",
  8421. Handler: _GoUserClient_DeviceAdd_Handler,
  8422. },
  8423. {
  8424. MethodName: "DeviceUpdate",
  8425. Handler: _GoUserClient_DeviceUpdate_Handler,
  8426. },
  8427. {
  8428. MethodName: "DeviceDel",
  8429. Handler: _GoUserClient_DeviceDel_Handler,
  8430. },
  8431. {
  8432. MethodName: "DeviceGet",
  8433. Handler: _GoUserClient_DeviceGet_Handler,
  8434. },
  8435. {
  8436. MethodName: "DeviceList",
  8437. Handler: _GoUserClient_DeviceList_Handler,
  8438. },
  8439. {
  8440. MethodName: "AccountAdd",
  8441. Handler: _GoUserClient_AccountAdd_Handler,
  8442. },
  8443. {
  8444. MethodName: "AccountUpdate",
  8445. Handler: _GoUserClient_AccountUpdate_Handler,
  8446. },
  8447. {
  8448. MethodName: "AccountDel",
  8449. Handler: _GoUserClient_AccountDel_Handler,
  8450. },
  8451. {
  8452. MethodName: "AccountGet",
  8453. Handler: _GoUserClient_AccountGet_Handler,
  8454. },
  8455. {
  8456. MethodName: "AccountList",
  8457. Handler: _GoUserClient_AccountList_Handler,
  8458. },
  8459. {
  8460. MethodName: "AccountDeviceAdd",
  8461. Handler: _GoUserClient_AccountDeviceAdd_Handler,
  8462. },
  8463. {
  8464. MethodName: "AccountDeviceUpdate",
  8465. Handler: _GoUserClient_AccountDeviceUpdate_Handler,
  8466. },
  8467. {
  8468. MethodName: "AccountDeviceDel",
  8469. Handler: _GoUserClient_AccountDeviceDel_Handler,
  8470. },
  8471. {
  8472. MethodName: "AccountDeviceGet",
  8473. Handler: _GoUserClient_AccountDeviceGet_Handler,
  8474. },
  8475. {
  8476. MethodName: "AccountDeviceList",
  8477. Handler: _GoUserClient_AccountDeviceList_Handler,
  8478. },
  8479. },
  8480. Streams: []grpc.StreamDesc{},
  8481. Metadata: "gorpc.proto",
  8482. }
  8483. const (
  8484. GoVpnClient_Ping_FullMethodName = "/gorpc.GoVpnClient/Ping"
  8485. GoVpnClient_Transaction_FullMethodName = "/gorpc.GoVpnClient/Transaction"
  8486. GoVpnClient_VpnTagAdd_FullMethodName = "/gorpc.GoVpnClient/VpnTagAdd"
  8487. GoVpnClient_VpnTagUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnTagUpdate"
  8488. GoVpnClient_VpnTagDel_FullMethodName = "/gorpc.GoVpnClient/VpnTagDel"
  8489. GoVpnClient_VpnTagGet_FullMethodName = "/gorpc.GoVpnClient/VpnTagGet"
  8490. GoVpnClient_VpnTagList_FullMethodName = "/gorpc.GoVpnClient/VpnTagList"
  8491. GoVpnClient_VpnTagBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnTagBatchAdd"
  8492. GoVpnClient_VpnTagBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnTagBatchUpdate"
  8493. GoVpnClient_VpnGroupAdd_FullMethodName = "/gorpc.GoVpnClient/VpnGroupAdd"
  8494. GoVpnClient_VpnGroupUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnGroupUpdate"
  8495. GoVpnClient_VpnGroupDel_FullMethodName = "/gorpc.GoVpnClient/VpnGroupDel"
  8496. GoVpnClient_VpnGroupGet_FullMethodName = "/gorpc.GoVpnClient/VpnGroupGet"
  8497. GoVpnClient_VpnGroupList_FullMethodName = "/gorpc.GoVpnClient/VpnGroupList"
  8498. GoVpnClient_VpnGroupBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnGroupBatchAdd"
  8499. GoVpnClient_VpnGroupBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnGroupBatchUpdate"
  8500. GoVpnClient_VpnGroupTagAdd_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagAdd"
  8501. GoVpnClient_VpnGroupTagUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagUpdate"
  8502. GoVpnClient_VpnGroupTagDel_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagDel"
  8503. GoVpnClient_VpnGroupTagGet_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagGet"
  8504. GoVpnClient_VpnGroupTagList_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagList"
  8505. GoVpnClient_VpnLocationAdd_FullMethodName = "/gorpc.GoVpnClient/VpnLocationAdd"
  8506. GoVpnClient_VpnLocationUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnLocationUpdate"
  8507. GoVpnClient_VpnLocationDel_FullMethodName = "/gorpc.GoVpnClient/VpnLocationDel"
  8508. GoVpnClient_VpnLocationGet_FullMethodName = "/gorpc.GoVpnClient/VpnLocationGet"
  8509. GoVpnClient_VpnLocationList_FullMethodName = "/gorpc.GoVpnClient/VpnLocationList"
  8510. GoVpnClient_VpnLocationBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnLocationBatchAdd"
  8511. GoVpnClient_VpnLocationBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnLocationBatchUpdate"
  8512. GoVpnClient_VpnServerAdd_FullMethodName = "/gorpc.GoVpnClient/VpnServerAdd"
  8513. GoVpnClient_VpnServerUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnServerUpdate"
  8514. GoVpnClient_VpnServerDel_FullMethodName = "/gorpc.GoVpnClient/VpnServerDel"
  8515. GoVpnClient_VpnServerGet_FullMethodName = "/gorpc.GoVpnClient/VpnServerGet"
  8516. GoVpnClient_VpnServerList_FullMethodName = "/gorpc.GoVpnClient/VpnServerList"
  8517. GoVpnClient_VpnServerExList_FullMethodName = "/gorpc.GoVpnClient/VpnServerExList"
  8518. GoVpnClient_VpnServerBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnServerBatchAdd"
  8519. GoVpnClient_VpnServerBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnServerBatchUpdate"
  8520. GoVpnClient_VpnServerLocationAdd_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationAdd"
  8521. GoVpnClient_VpnServerLocationUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationUpdate"
  8522. GoVpnClient_VpnServerLocationDel_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationDel"
  8523. GoVpnClient_VpnServerLocationGet_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationGet"
  8524. GoVpnClient_VpnServerLocationList_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationList"
  8525. GoVpnClient_VpnLocationServerCount_FullMethodName = "/gorpc.GoVpnClient/VpnLocationServerCount"
  8526. GoVpnClient_VpnProbeTaskAdd_FullMethodName = "/gorpc.GoVpnClient/VpnProbeTaskAdd"
  8527. GoVpnClient_VpnProbeTaskUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnProbeTaskUpdate"
  8528. GoVpnClient_VpnProbeTaskList_FullMethodName = "/gorpc.GoVpnClient/VpnProbeTaskList"
  8529. )
  8530. // GoVpnClientClient is the client API for GoVpnClient service.
  8531. //
  8532. // 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.
  8533. //
  8534. // govpn 模块,VPN相关服务
  8535. type GoVpnClientClient interface {
  8536. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  8537. // 表的事务操作
  8538. Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error)
  8539. // VpnTag
  8540. VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
  8541. VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
  8542. VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  8543. VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error)
  8544. VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error)
  8545. VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error)
  8546. VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error)
  8547. // VpnGroup
  8548. VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
  8549. VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error)
  8550. VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  8551. VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
  8552. VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error)
  8553. VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error)
  8554. VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error)
  8555. // VpnGroupTag
  8556. VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  8557. VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  8558. VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  8559. VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  8560. VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error)
  8561. // VpnLocation
  8562. VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error)
  8563. VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error)
  8564. VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  8565. VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error)
  8566. VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error)
  8567. VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error)
  8568. VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error)
  8569. // VpnServer
  8570. VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
  8571. VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
  8572. VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  8573. VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error)
  8574. VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error)
  8575. VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error)
  8576. VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error)
  8577. VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error)
  8578. // VpnServerLocation
  8579. VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
  8580. VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error)
  8581. VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  8582. VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
  8583. VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error)
  8584. // VpnLocationServerCount
  8585. VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error)
  8586. // VpnProbeTask
  8587. VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error)
  8588. VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error)
  8589. VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error)
  8590. }
  8591. type goVpnClientClient struct {
  8592. cc grpc.ClientConnInterface
  8593. }
  8594. func NewGoVpnClientClient(cc grpc.ClientConnInterface) GoVpnClientClient {
  8595. return &goVpnClientClient{cc}
  8596. }
  8597. func (c *goVpnClientClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  8598. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8599. out := new(Response)
  8600. err := c.cc.Invoke(ctx, GoVpnClient_Ping_FullMethodName, in, out, cOpts...)
  8601. if err != nil {
  8602. return nil, err
  8603. }
  8604. return out, nil
  8605. }
  8606. func (c *goVpnClientClient) Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error) {
  8607. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8608. out := new(Empty)
  8609. err := c.cc.Invoke(ctx, GoVpnClient_Transaction_FullMethodName, in, out, cOpts...)
  8610. if err != nil {
  8611. return nil, err
  8612. }
  8613. return out, nil
  8614. }
  8615. func (c *goVpnClientClient) VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
  8616. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8617. out := new(VpnTagVo)
  8618. err := c.cc.Invoke(ctx, GoVpnClient_VpnTagAdd_FullMethodName, in, out, cOpts...)
  8619. if err != nil {
  8620. return nil, err
  8621. }
  8622. return out, nil
  8623. }
  8624. func (c *goVpnClientClient) VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
  8625. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8626. out := new(VpnTagVo)
  8627. err := c.cc.Invoke(ctx, GoVpnClient_VpnTagUpdate_FullMethodName, in, out, cOpts...)
  8628. if err != nil {
  8629. return nil, err
  8630. }
  8631. return out, nil
  8632. }
  8633. func (c *goVpnClientClient) VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  8634. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8635. out := new(Empty)
  8636. err := c.cc.Invoke(ctx, GoVpnClient_VpnTagDel_FullMethodName, in, out, cOpts...)
  8637. if err != nil {
  8638. return nil, err
  8639. }
  8640. return out, nil
  8641. }
  8642. func (c *goVpnClientClient) VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error) {
  8643. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8644. out := new(VpnTagVo)
  8645. err := c.cc.Invoke(ctx, GoVpnClient_VpnTagGet_FullMethodName, in, out, cOpts...)
  8646. if err != nil {
  8647. return nil, err
  8648. }
  8649. return out, nil
  8650. }
  8651. func (c *goVpnClientClient) VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error) {
  8652. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8653. out := new(VpnTagListResp)
  8654. err := c.cc.Invoke(ctx, GoVpnClient_VpnTagList_FullMethodName, in, out, cOpts...)
  8655. if err != nil {
  8656. return nil, err
  8657. }
  8658. return out, nil
  8659. }
  8660. func (c *goVpnClientClient) VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error) {
  8661. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8662. out := new(VpnTagBatchAddResp)
  8663. err := c.cc.Invoke(ctx, GoVpnClient_VpnTagBatchAdd_FullMethodName, in, out, cOpts...)
  8664. if err != nil {
  8665. return nil, err
  8666. }
  8667. return out, nil
  8668. }
  8669. func (c *goVpnClientClient) VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error) {
  8670. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8671. out := new(VpnTagBatchUpdateResp)
  8672. err := c.cc.Invoke(ctx, GoVpnClient_VpnTagBatchUpdate_FullMethodName, in, out, cOpts...)
  8673. if err != nil {
  8674. return nil, err
  8675. }
  8676. return out, nil
  8677. }
  8678. func (c *goVpnClientClient) VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
  8679. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8680. out := new(VpnGroupVo)
  8681. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupAdd_FullMethodName, in, out, cOpts...)
  8682. if err != nil {
  8683. return nil, err
  8684. }
  8685. return out, nil
  8686. }
  8687. func (c *goVpnClientClient) VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error) {
  8688. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8689. out := new(Empty)
  8690. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupUpdate_FullMethodName, in, out, cOpts...)
  8691. if err != nil {
  8692. return nil, err
  8693. }
  8694. return out, nil
  8695. }
  8696. func (c *goVpnClientClient) VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  8697. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8698. out := new(Empty)
  8699. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupDel_FullMethodName, in, out, cOpts...)
  8700. if err != nil {
  8701. return nil, err
  8702. }
  8703. return out, nil
  8704. }
  8705. func (c *goVpnClientClient) VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
  8706. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8707. out := new(VpnGroupVo)
  8708. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupGet_FullMethodName, in, out, cOpts...)
  8709. if err != nil {
  8710. return nil, err
  8711. }
  8712. return out, nil
  8713. }
  8714. func (c *goVpnClientClient) VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error) {
  8715. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8716. out := new(VpnGroupListResp)
  8717. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupList_FullMethodName, in, out, cOpts...)
  8718. if err != nil {
  8719. return nil, err
  8720. }
  8721. return out, nil
  8722. }
  8723. func (c *goVpnClientClient) VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error) {
  8724. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8725. out := new(VpnGroupBatchAddResp)
  8726. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupBatchAdd_FullMethodName, in, out, cOpts...)
  8727. if err != nil {
  8728. return nil, err
  8729. }
  8730. return out, nil
  8731. }
  8732. func (c *goVpnClientClient) VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error) {
  8733. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8734. out := new(VpnGroupBatchUpdateResp)
  8735. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupBatchUpdate_FullMethodName, in, out, cOpts...)
  8736. if err != nil {
  8737. return nil, err
  8738. }
  8739. return out, nil
  8740. }
  8741. func (c *goVpnClientClient) VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  8742. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8743. out := new(VpnGroupTagVo)
  8744. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagAdd_FullMethodName, in, out, cOpts...)
  8745. if err != nil {
  8746. return nil, err
  8747. }
  8748. return out, nil
  8749. }
  8750. func (c *goVpnClientClient) VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  8751. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8752. out := new(VpnGroupTagVo)
  8753. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagUpdate_FullMethodName, in, out, cOpts...)
  8754. if err != nil {
  8755. return nil, err
  8756. }
  8757. return out, nil
  8758. }
  8759. func (c *goVpnClientClient) VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  8760. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8761. out := new(Empty)
  8762. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagDel_FullMethodName, in, out, cOpts...)
  8763. if err != nil {
  8764. return nil, err
  8765. }
  8766. return out, nil
  8767. }
  8768. func (c *goVpnClientClient) VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  8769. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8770. out := new(VpnGroupTagVo)
  8771. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagGet_FullMethodName, in, out, cOpts...)
  8772. if err != nil {
  8773. return nil, err
  8774. }
  8775. return out, nil
  8776. }
  8777. func (c *goVpnClientClient) VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error) {
  8778. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8779. out := new(VpnGroupTagListResp)
  8780. err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagList_FullMethodName, in, out, cOpts...)
  8781. if err != nil {
  8782. return nil, err
  8783. }
  8784. return out, nil
  8785. }
  8786. func (c *goVpnClientClient) VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error) {
  8787. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8788. out := new(VpnLocationVo)
  8789. err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationAdd_FullMethodName, in, out, cOpts...)
  8790. if err != nil {
  8791. return nil, err
  8792. }
  8793. return out, nil
  8794. }
  8795. func (c *goVpnClientClient) VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error) {
  8796. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8797. out := new(Empty)
  8798. err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationUpdate_FullMethodName, in, out, cOpts...)
  8799. if err != nil {
  8800. return nil, err
  8801. }
  8802. return out, nil
  8803. }
  8804. func (c *goVpnClientClient) VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  8805. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8806. out := new(Empty)
  8807. err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationDel_FullMethodName, in, out, cOpts...)
  8808. if err != nil {
  8809. return nil, err
  8810. }
  8811. return out, nil
  8812. }
  8813. func (c *goVpnClientClient) VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error) {
  8814. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8815. out := new(VpnLocationVo)
  8816. err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationGet_FullMethodName, in, out, cOpts...)
  8817. if err != nil {
  8818. return nil, err
  8819. }
  8820. return out, nil
  8821. }
  8822. func (c *goVpnClientClient) VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error) {
  8823. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8824. out := new(VpnLocationListResp)
  8825. err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationList_FullMethodName, in, out, cOpts...)
  8826. if err != nil {
  8827. return nil, err
  8828. }
  8829. return out, nil
  8830. }
  8831. func (c *goVpnClientClient) VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error) {
  8832. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8833. out := new(VpnLocationBatchAddResp)
  8834. err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationBatchAdd_FullMethodName, in, out, cOpts...)
  8835. if err != nil {
  8836. return nil, err
  8837. }
  8838. return out, nil
  8839. }
  8840. func (c *goVpnClientClient) VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error) {
  8841. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8842. out := new(VpnLocationBatchUpdateResp)
  8843. err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationBatchUpdate_FullMethodName, in, out, cOpts...)
  8844. if err != nil {
  8845. return nil, err
  8846. }
  8847. return out, nil
  8848. }
  8849. func (c *goVpnClientClient) VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
  8850. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8851. out := new(VpnServerAddReq)
  8852. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerAdd_FullMethodName, in, out, cOpts...)
  8853. if err != nil {
  8854. return nil, err
  8855. }
  8856. return out, nil
  8857. }
  8858. func (c *goVpnClientClient) VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
  8859. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8860. out := new(VpnServerAddReq)
  8861. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerUpdate_FullMethodName, in, out, cOpts...)
  8862. if err != nil {
  8863. return nil, err
  8864. }
  8865. return out, nil
  8866. }
  8867. func (c *goVpnClientClient) VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  8868. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8869. out := new(Empty)
  8870. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerDel_FullMethodName, in, out, cOpts...)
  8871. if err != nil {
  8872. return nil, err
  8873. }
  8874. return out, nil
  8875. }
  8876. func (c *goVpnClientClient) VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error) {
  8877. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8878. out := new(VpnServerVo)
  8879. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerGet_FullMethodName, in, out, cOpts...)
  8880. if err != nil {
  8881. return nil, err
  8882. }
  8883. return out, nil
  8884. }
  8885. func (c *goVpnClientClient) VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error) {
  8886. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8887. out := new(VpnServerListResp)
  8888. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerList_FullMethodName, in, out, cOpts...)
  8889. if err != nil {
  8890. return nil, err
  8891. }
  8892. return out, nil
  8893. }
  8894. func (c *goVpnClientClient) VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error) {
  8895. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8896. out := new(VpnServerExListResp)
  8897. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerExList_FullMethodName, in, out, cOpts...)
  8898. if err != nil {
  8899. return nil, err
  8900. }
  8901. return out, nil
  8902. }
  8903. func (c *goVpnClientClient) VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error) {
  8904. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8905. out := new(VpnServerBatchAddResp)
  8906. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerBatchAdd_FullMethodName, in, out, cOpts...)
  8907. if err != nil {
  8908. return nil, err
  8909. }
  8910. return out, nil
  8911. }
  8912. func (c *goVpnClientClient) VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error) {
  8913. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8914. out := new(VpnServerBatchUpdateResp)
  8915. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerBatchUpdate_FullMethodName, in, out, cOpts...)
  8916. if err != nil {
  8917. return nil, err
  8918. }
  8919. return out, nil
  8920. }
  8921. func (c *goVpnClientClient) VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
  8922. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8923. out := new(VpnServerLocationVo)
  8924. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationAdd_FullMethodName, in, out, cOpts...)
  8925. if err != nil {
  8926. return nil, err
  8927. }
  8928. return out, nil
  8929. }
  8930. func (c *goVpnClientClient) VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error) {
  8931. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8932. out := new(Empty)
  8933. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationUpdate_FullMethodName, in, out, cOpts...)
  8934. if err != nil {
  8935. return nil, err
  8936. }
  8937. return out, nil
  8938. }
  8939. func (c *goVpnClientClient) VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  8940. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8941. out := new(Empty)
  8942. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationDel_FullMethodName, in, out, cOpts...)
  8943. if err != nil {
  8944. return nil, err
  8945. }
  8946. return out, nil
  8947. }
  8948. func (c *goVpnClientClient) VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
  8949. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8950. out := new(VpnServerLocationVo)
  8951. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationGet_FullMethodName, in, out, cOpts...)
  8952. if err != nil {
  8953. return nil, err
  8954. }
  8955. return out, nil
  8956. }
  8957. func (c *goVpnClientClient) VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error) {
  8958. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8959. out := new(VpnServerLocationListResp)
  8960. err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationList_FullMethodName, in, out, cOpts...)
  8961. if err != nil {
  8962. return nil, err
  8963. }
  8964. return out, nil
  8965. }
  8966. func (c *goVpnClientClient) VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error) {
  8967. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8968. out := new(VpnLocationServerCountResp)
  8969. err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationServerCount_FullMethodName, in, out, cOpts...)
  8970. if err != nil {
  8971. return nil, err
  8972. }
  8973. return out, nil
  8974. }
  8975. func (c *goVpnClientClient) VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error) {
  8976. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8977. out := new(VpnProbeTaskVo)
  8978. err := c.cc.Invoke(ctx, GoVpnClient_VpnProbeTaskAdd_FullMethodName, in, out, cOpts...)
  8979. if err != nil {
  8980. return nil, err
  8981. }
  8982. return out, nil
  8983. }
  8984. func (c *goVpnClientClient) VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error) {
  8985. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8986. out := new(Empty)
  8987. err := c.cc.Invoke(ctx, GoVpnClient_VpnProbeTaskUpdate_FullMethodName, in, out, cOpts...)
  8988. if err != nil {
  8989. return nil, err
  8990. }
  8991. return out, nil
  8992. }
  8993. func (c *goVpnClientClient) VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error) {
  8994. cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
  8995. out := new(VpnProbeTaskListResp)
  8996. err := c.cc.Invoke(ctx, GoVpnClient_VpnProbeTaskList_FullMethodName, in, out, cOpts...)
  8997. if err != nil {
  8998. return nil, err
  8999. }
  9000. return out, nil
  9001. }
  9002. // GoVpnClientServer is the server API for GoVpnClient service.
  9003. // All implementations must embed UnimplementedGoVpnClientServer
  9004. // for forward compatibility.
  9005. //
  9006. // govpn 模块,VPN相关服务
  9007. type GoVpnClientServer interface {
  9008. Ping(context.Context, *Request) (*Response, error)
  9009. // 表的事务操作
  9010. Transaction(context.Context, *TransactionReq) (*Empty, error)
  9011. // VpnTag
  9012. VpnTagAdd(context.Context, *VpnTagVo) (*VpnTagVo, error)
  9013. VpnTagUpdate(context.Context, *VpnTagVo) (*VpnTagVo, error)
  9014. VpnTagDel(context.Context, *Ids) (*Empty, error)
  9015. VpnTagGet(context.Context, *VpnTagGetReq) (*VpnTagVo, error)
  9016. VpnTagList(context.Context, *VpnTagListReq) (*VpnTagListResp, error)
  9017. VpnTagBatchAdd(context.Context, *VpnTagBatchAddReq) (*VpnTagBatchAddResp, error)
  9018. VpnTagBatchUpdate(context.Context, *VpnTagBatchUpdateReq) (*VpnTagBatchUpdateResp, error)
  9019. // VpnGroup
  9020. VpnGroupAdd(context.Context, *VpnGroupAddReq) (*VpnGroupVo, error)
  9021. VpnGroupUpdate(context.Context, *VpnGroupAddReq) (*Empty, error)
  9022. VpnGroupDel(context.Context, *Ids) (*Empty, error)
  9023. VpnGroupGet(context.Context, *VpnGroupGetReq) (*VpnGroupVo, error)
  9024. VpnGroupList(context.Context, *VpnGroupListReq) (*VpnGroupListResp, error)
  9025. VpnGroupBatchAdd(context.Context, *VpnGroupBatchAddReq) (*VpnGroupBatchAddResp, error)
  9026. VpnGroupBatchUpdate(context.Context, *VpnGroupBatchUpdateReq) (*VpnGroupBatchUpdateResp, error)
  9027. // VpnGroupTag
  9028. VpnGroupTagAdd(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
  9029. VpnGroupTagUpdate(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
  9030. VpnGroupTagDel(context.Context, *Ids) (*Empty, error)
  9031. VpnGroupTagGet(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
  9032. VpnGroupTagList(context.Context, *VpnGroupTagListReq) (*VpnGroupTagListResp, error)
  9033. // VpnLocation
  9034. VpnLocationAdd(context.Context, *VpnLocationVo) (*VpnLocationVo, error)
  9035. VpnLocationUpdate(context.Context, *VpnLocationVo) (*Empty, error)
  9036. VpnLocationDel(context.Context, *Ids) (*Empty, error)
  9037. VpnLocationGet(context.Context, *VpnLocationGetReq) (*VpnLocationVo, error)
  9038. VpnLocationList(context.Context, *VpnLocationListReq) (*VpnLocationListResp, error)
  9039. VpnLocationBatchAdd(context.Context, *VpnLocationBatchAddReq) (*VpnLocationBatchAddResp, error)
  9040. VpnLocationBatchUpdate(context.Context, *VpnLocationBatchUpdateReq) (*VpnLocationBatchUpdateResp, error)
  9041. // VpnServer
  9042. VpnServerAdd(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error)
  9043. VpnServerUpdate(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error)
  9044. VpnServerDel(context.Context, *Ids) (*Empty, error)
  9045. VpnServerGet(context.Context, *VpnServerVo) (*VpnServerVo, error)
  9046. VpnServerList(context.Context, *VpnServerListReq) (*VpnServerListResp, error)
  9047. VpnServerExList(context.Context, *VpnServerListReq) (*VpnServerExListResp, error)
  9048. VpnServerBatchAdd(context.Context, *VpnServerBatchAddReq) (*VpnServerBatchAddResp, error)
  9049. VpnServerBatchUpdate(context.Context, *VpnServerBatchUpdateReq) (*VpnServerBatchUpdateResp, error)
  9050. // VpnServerLocation
  9051. VpnServerLocationAdd(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error)
  9052. VpnServerLocationUpdate(context.Context, *VpnServerLocationVo) (*Empty, error)
  9053. VpnServerLocationDel(context.Context, *Ids) (*Empty, error)
  9054. VpnServerLocationGet(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error)
  9055. VpnServerLocationList(context.Context, *VpnServerLocationListReq) (*VpnServerLocationListResp, error)
  9056. // VpnLocationServerCount
  9057. VpnLocationServerCount(context.Context, *VpnLocationServerCountReq) (*VpnLocationServerCountResp, error)
  9058. // VpnProbeTask
  9059. VpnProbeTaskAdd(context.Context, *VpnProbeTaskVo) (*VpnProbeTaskVo, error)
  9060. VpnProbeTaskUpdate(context.Context, *VpnProbeTaskVo) (*Empty, error)
  9061. VpnProbeTaskList(context.Context, *VpnProbeTaskListReq) (*VpnProbeTaskListResp, error)
  9062. mustEmbedUnimplementedGoVpnClientServer()
  9063. }
  9064. // UnimplementedGoVpnClientServer must be embedded to have
  9065. // forward compatible implementations.
  9066. //
  9067. // NOTE: this should be embedded by value instead of pointer to avoid a nil
  9068. // pointer dereference when methods are called.
  9069. type UnimplementedGoVpnClientServer struct{}
  9070. func (UnimplementedGoVpnClientServer) Ping(context.Context, *Request) (*Response, error) {
  9071. return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
  9072. }
  9073. func (UnimplementedGoVpnClientServer) Transaction(context.Context, *TransactionReq) (*Empty, error) {
  9074. return nil, status.Errorf(codes.Unimplemented, "method Transaction not implemented")
  9075. }
  9076. func (UnimplementedGoVpnClientServer) VpnTagAdd(context.Context, *VpnTagVo) (*VpnTagVo, error) {
  9077. return nil, status.Errorf(codes.Unimplemented, "method VpnTagAdd not implemented")
  9078. }
  9079. func (UnimplementedGoVpnClientServer) VpnTagUpdate(context.Context, *VpnTagVo) (*VpnTagVo, error) {
  9080. return nil, status.Errorf(codes.Unimplemented, "method VpnTagUpdate not implemented")
  9081. }
  9082. func (UnimplementedGoVpnClientServer) VpnTagDel(context.Context, *Ids) (*Empty, error) {
  9083. return nil, status.Errorf(codes.Unimplemented, "method VpnTagDel not implemented")
  9084. }
  9085. func (UnimplementedGoVpnClientServer) VpnTagGet(context.Context, *VpnTagGetReq) (*VpnTagVo, error) {
  9086. return nil, status.Errorf(codes.Unimplemented, "method VpnTagGet not implemented")
  9087. }
  9088. func (UnimplementedGoVpnClientServer) VpnTagList(context.Context, *VpnTagListReq) (*VpnTagListResp, error) {
  9089. return nil, status.Errorf(codes.Unimplemented, "method VpnTagList not implemented")
  9090. }
  9091. func (UnimplementedGoVpnClientServer) VpnTagBatchAdd(context.Context, *VpnTagBatchAddReq) (*VpnTagBatchAddResp, error) {
  9092. return nil, status.Errorf(codes.Unimplemented, "method VpnTagBatchAdd not implemented")
  9093. }
  9094. func (UnimplementedGoVpnClientServer) VpnTagBatchUpdate(context.Context, *VpnTagBatchUpdateReq) (*VpnTagBatchUpdateResp, error) {
  9095. return nil, status.Errorf(codes.Unimplemented, "method VpnTagBatchUpdate not implemented")
  9096. }
  9097. func (UnimplementedGoVpnClientServer) VpnGroupAdd(context.Context, *VpnGroupAddReq) (*VpnGroupVo, error) {
  9098. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupAdd not implemented")
  9099. }
  9100. func (UnimplementedGoVpnClientServer) VpnGroupUpdate(context.Context, *VpnGroupAddReq) (*Empty, error) {
  9101. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupUpdate not implemented")
  9102. }
  9103. func (UnimplementedGoVpnClientServer) VpnGroupDel(context.Context, *Ids) (*Empty, error) {
  9104. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupDel not implemented")
  9105. }
  9106. func (UnimplementedGoVpnClientServer) VpnGroupGet(context.Context, *VpnGroupGetReq) (*VpnGroupVo, error) {
  9107. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupGet not implemented")
  9108. }
  9109. func (UnimplementedGoVpnClientServer) VpnGroupList(context.Context, *VpnGroupListReq) (*VpnGroupListResp, error) {
  9110. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupList not implemented")
  9111. }
  9112. func (UnimplementedGoVpnClientServer) VpnGroupBatchAdd(context.Context, *VpnGroupBatchAddReq) (*VpnGroupBatchAddResp, error) {
  9113. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupBatchAdd not implemented")
  9114. }
  9115. func (UnimplementedGoVpnClientServer) VpnGroupBatchUpdate(context.Context, *VpnGroupBatchUpdateReq) (*VpnGroupBatchUpdateResp, error) {
  9116. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupBatchUpdate not implemented")
  9117. }
  9118. func (UnimplementedGoVpnClientServer) VpnGroupTagAdd(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error) {
  9119. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagAdd not implemented")
  9120. }
  9121. func (UnimplementedGoVpnClientServer) VpnGroupTagUpdate(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error) {
  9122. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagUpdate not implemented")
  9123. }
  9124. func (UnimplementedGoVpnClientServer) VpnGroupTagDel(context.Context, *Ids) (*Empty, error) {
  9125. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagDel not implemented")
  9126. }
  9127. func (UnimplementedGoVpnClientServer) VpnGroupTagGet(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error) {
  9128. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagGet not implemented")
  9129. }
  9130. func (UnimplementedGoVpnClientServer) VpnGroupTagList(context.Context, *VpnGroupTagListReq) (*VpnGroupTagListResp, error) {
  9131. return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagList not implemented")
  9132. }
  9133. func (UnimplementedGoVpnClientServer) VpnLocationAdd(context.Context, *VpnLocationVo) (*VpnLocationVo, error) {
  9134. return nil, status.Errorf(codes.Unimplemented, "method VpnLocationAdd not implemented")
  9135. }
  9136. func (UnimplementedGoVpnClientServer) VpnLocationUpdate(context.Context, *VpnLocationVo) (*Empty, error) {
  9137. return nil, status.Errorf(codes.Unimplemented, "method VpnLocationUpdate not implemented")
  9138. }
  9139. func (UnimplementedGoVpnClientServer) VpnLocationDel(context.Context, *Ids) (*Empty, error) {
  9140. return nil, status.Errorf(codes.Unimplemented, "method VpnLocationDel not implemented")
  9141. }
  9142. func (UnimplementedGoVpnClientServer) VpnLocationGet(context.Context, *VpnLocationGetReq) (*VpnLocationVo, error) {
  9143. return nil, status.Errorf(codes.Unimplemented, "method VpnLocationGet not implemented")
  9144. }
  9145. func (UnimplementedGoVpnClientServer) VpnLocationList(context.Context, *VpnLocationListReq) (*VpnLocationListResp, error) {
  9146. return nil, status.Errorf(codes.Unimplemented, "method VpnLocationList not implemented")
  9147. }
  9148. func (UnimplementedGoVpnClientServer) VpnLocationBatchAdd(context.Context, *VpnLocationBatchAddReq) (*VpnLocationBatchAddResp, error) {
  9149. return nil, status.Errorf(codes.Unimplemented, "method VpnLocationBatchAdd not implemented")
  9150. }
  9151. func (UnimplementedGoVpnClientServer) VpnLocationBatchUpdate(context.Context, *VpnLocationBatchUpdateReq) (*VpnLocationBatchUpdateResp, error) {
  9152. return nil, status.Errorf(codes.Unimplemented, "method VpnLocationBatchUpdate not implemented")
  9153. }
  9154. func (UnimplementedGoVpnClientServer) VpnServerAdd(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error) {
  9155. return nil, status.Errorf(codes.Unimplemented, "method VpnServerAdd not implemented")
  9156. }
  9157. func (UnimplementedGoVpnClientServer) VpnServerUpdate(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error) {
  9158. return nil, status.Errorf(codes.Unimplemented, "method VpnServerUpdate not implemented")
  9159. }
  9160. func (UnimplementedGoVpnClientServer) VpnServerDel(context.Context, *Ids) (*Empty, error) {
  9161. return nil, status.Errorf(codes.Unimplemented, "method VpnServerDel not implemented")
  9162. }
  9163. func (UnimplementedGoVpnClientServer) VpnServerGet(context.Context, *VpnServerVo) (*VpnServerVo, error) {
  9164. return nil, status.Errorf(codes.Unimplemented, "method VpnServerGet not implemented")
  9165. }
  9166. func (UnimplementedGoVpnClientServer) VpnServerList(context.Context, *VpnServerListReq) (*VpnServerListResp, error) {
  9167. return nil, status.Errorf(codes.Unimplemented, "method VpnServerList not implemented")
  9168. }
  9169. func (UnimplementedGoVpnClientServer) VpnServerExList(context.Context, *VpnServerListReq) (*VpnServerExListResp, error) {
  9170. return nil, status.Errorf(codes.Unimplemented, "method VpnServerExList not implemented")
  9171. }
  9172. func (UnimplementedGoVpnClientServer) VpnServerBatchAdd(context.Context, *VpnServerBatchAddReq) (*VpnServerBatchAddResp, error) {
  9173. return nil, status.Errorf(codes.Unimplemented, "method VpnServerBatchAdd not implemented")
  9174. }
  9175. func (UnimplementedGoVpnClientServer) VpnServerBatchUpdate(context.Context, *VpnServerBatchUpdateReq) (*VpnServerBatchUpdateResp, error) {
  9176. return nil, status.Errorf(codes.Unimplemented, "method VpnServerBatchUpdate not implemented")
  9177. }
  9178. func (UnimplementedGoVpnClientServer) VpnServerLocationAdd(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error) {
  9179. return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationAdd not implemented")
  9180. }
  9181. func (UnimplementedGoVpnClientServer) VpnServerLocationUpdate(context.Context, *VpnServerLocationVo) (*Empty, error) {
  9182. return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationUpdate not implemented")
  9183. }
  9184. func (UnimplementedGoVpnClientServer) VpnServerLocationDel(context.Context, *Ids) (*Empty, error) {
  9185. return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationDel not implemented")
  9186. }
  9187. func (UnimplementedGoVpnClientServer) VpnServerLocationGet(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error) {
  9188. return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationGet not implemented")
  9189. }
  9190. func (UnimplementedGoVpnClientServer) VpnServerLocationList(context.Context, *VpnServerLocationListReq) (*VpnServerLocationListResp, error) {
  9191. return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationList not implemented")
  9192. }
  9193. func (UnimplementedGoVpnClientServer) VpnLocationServerCount(context.Context, *VpnLocationServerCountReq) (*VpnLocationServerCountResp, error) {
  9194. return nil, status.Errorf(codes.Unimplemented, "method VpnLocationServerCount not implemented")
  9195. }
  9196. func (UnimplementedGoVpnClientServer) VpnProbeTaskAdd(context.Context, *VpnProbeTaskVo) (*VpnProbeTaskVo, error) {
  9197. return nil, status.Errorf(codes.Unimplemented, "method VpnProbeTaskAdd not implemented")
  9198. }
  9199. func (UnimplementedGoVpnClientServer) VpnProbeTaskUpdate(context.Context, *VpnProbeTaskVo) (*Empty, error) {
  9200. return nil, status.Errorf(codes.Unimplemented, "method VpnProbeTaskUpdate not implemented")
  9201. }
  9202. func (UnimplementedGoVpnClientServer) VpnProbeTaskList(context.Context, *VpnProbeTaskListReq) (*VpnProbeTaskListResp, error) {
  9203. return nil, status.Errorf(codes.Unimplemented, "method VpnProbeTaskList not implemented")
  9204. }
  9205. func (UnimplementedGoVpnClientServer) mustEmbedUnimplementedGoVpnClientServer() {}
  9206. func (UnimplementedGoVpnClientServer) testEmbeddedByValue() {}
  9207. // UnsafeGoVpnClientServer may be embedded to opt out of forward compatibility for this service.
  9208. // Use of this interface is not recommended, as added methods to GoVpnClientServer will
  9209. // result in compilation errors.
  9210. type UnsafeGoVpnClientServer interface {
  9211. mustEmbedUnimplementedGoVpnClientServer()
  9212. }
  9213. func RegisterGoVpnClientServer(s grpc.ServiceRegistrar, srv GoVpnClientServer) {
  9214. // If the following call pancis, it indicates UnimplementedGoVpnClientServer was
  9215. // embedded by pointer and is nil. This will cause panics if an
  9216. // unimplemented method is ever invoked, so we test this at initialization
  9217. // time to prevent it from happening at runtime later due to I/O.
  9218. if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
  9219. t.testEmbeddedByValue()
  9220. }
  9221. s.RegisterService(&GoVpnClient_ServiceDesc, srv)
  9222. }
  9223. func _GoVpnClient_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9224. in := new(Request)
  9225. if err := dec(in); err != nil {
  9226. return nil, err
  9227. }
  9228. if interceptor == nil {
  9229. return srv.(GoVpnClientServer).Ping(ctx, in)
  9230. }
  9231. info := &grpc.UnaryServerInfo{
  9232. Server: srv,
  9233. FullMethod: GoVpnClient_Ping_FullMethodName,
  9234. }
  9235. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9236. return srv.(GoVpnClientServer).Ping(ctx, req.(*Request))
  9237. }
  9238. return interceptor(ctx, in, info, handler)
  9239. }
  9240. func _GoVpnClient_Transaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9241. in := new(TransactionReq)
  9242. if err := dec(in); err != nil {
  9243. return nil, err
  9244. }
  9245. if interceptor == nil {
  9246. return srv.(GoVpnClientServer).Transaction(ctx, in)
  9247. }
  9248. info := &grpc.UnaryServerInfo{
  9249. Server: srv,
  9250. FullMethod: GoVpnClient_Transaction_FullMethodName,
  9251. }
  9252. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9253. return srv.(GoVpnClientServer).Transaction(ctx, req.(*TransactionReq))
  9254. }
  9255. return interceptor(ctx, in, info, handler)
  9256. }
  9257. func _GoVpnClient_VpnTagAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9258. in := new(VpnTagVo)
  9259. if err := dec(in); err != nil {
  9260. return nil, err
  9261. }
  9262. if interceptor == nil {
  9263. return srv.(GoVpnClientServer).VpnTagAdd(ctx, in)
  9264. }
  9265. info := &grpc.UnaryServerInfo{
  9266. Server: srv,
  9267. FullMethod: GoVpnClient_VpnTagAdd_FullMethodName,
  9268. }
  9269. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9270. return srv.(GoVpnClientServer).VpnTagAdd(ctx, req.(*VpnTagVo))
  9271. }
  9272. return interceptor(ctx, in, info, handler)
  9273. }
  9274. func _GoVpnClient_VpnTagUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9275. in := new(VpnTagVo)
  9276. if err := dec(in); err != nil {
  9277. return nil, err
  9278. }
  9279. if interceptor == nil {
  9280. return srv.(GoVpnClientServer).VpnTagUpdate(ctx, in)
  9281. }
  9282. info := &grpc.UnaryServerInfo{
  9283. Server: srv,
  9284. FullMethod: GoVpnClient_VpnTagUpdate_FullMethodName,
  9285. }
  9286. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9287. return srv.(GoVpnClientServer).VpnTagUpdate(ctx, req.(*VpnTagVo))
  9288. }
  9289. return interceptor(ctx, in, info, handler)
  9290. }
  9291. func _GoVpnClient_VpnTagDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9292. in := new(Ids)
  9293. if err := dec(in); err != nil {
  9294. return nil, err
  9295. }
  9296. if interceptor == nil {
  9297. return srv.(GoVpnClientServer).VpnTagDel(ctx, in)
  9298. }
  9299. info := &grpc.UnaryServerInfo{
  9300. Server: srv,
  9301. FullMethod: GoVpnClient_VpnTagDel_FullMethodName,
  9302. }
  9303. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9304. return srv.(GoVpnClientServer).VpnTagDel(ctx, req.(*Ids))
  9305. }
  9306. return interceptor(ctx, in, info, handler)
  9307. }
  9308. func _GoVpnClient_VpnTagGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9309. in := new(VpnTagGetReq)
  9310. if err := dec(in); err != nil {
  9311. return nil, err
  9312. }
  9313. if interceptor == nil {
  9314. return srv.(GoVpnClientServer).VpnTagGet(ctx, in)
  9315. }
  9316. info := &grpc.UnaryServerInfo{
  9317. Server: srv,
  9318. FullMethod: GoVpnClient_VpnTagGet_FullMethodName,
  9319. }
  9320. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9321. return srv.(GoVpnClientServer).VpnTagGet(ctx, req.(*VpnTagGetReq))
  9322. }
  9323. return interceptor(ctx, in, info, handler)
  9324. }
  9325. func _GoVpnClient_VpnTagList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9326. in := new(VpnTagListReq)
  9327. if err := dec(in); err != nil {
  9328. return nil, err
  9329. }
  9330. if interceptor == nil {
  9331. return srv.(GoVpnClientServer).VpnTagList(ctx, in)
  9332. }
  9333. info := &grpc.UnaryServerInfo{
  9334. Server: srv,
  9335. FullMethod: GoVpnClient_VpnTagList_FullMethodName,
  9336. }
  9337. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9338. return srv.(GoVpnClientServer).VpnTagList(ctx, req.(*VpnTagListReq))
  9339. }
  9340. return interceptor(ctx, in, info, handler)
  9341. }
  9342. func _GoVpnClient_VpnTagBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9343. in := new(VpnTagBatchAddReq)
  9344. if err := dec(in); err != nil {
  9345. return nil, err
  9346. }
  9347. if interceptor == nil {
  9348. return srv.(GoVpnClientServer).VpnTagBatchAdd(ctx, in)
  9349. }
  9350. info := &grpc.UnaryServerInfo{
  9351. Server: srv,
  9352. FullMethod: GoVpnClient_VpnTagBatchAdd_FullMethodName,
  9353. }
  9354. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9355. return srv.(GoVpnClientServer).VpnTagBatchAdd(ctx, req.(*VpnTagBatchAddReq))
  9356. }
  9357. return interceptor(ctx, in, info, handler)
  9358. }
  9359. func _GoVpnClient_VpnTagBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9360. in := new(VpnTagBatchUpdateReq)
  9361. if err := dec(in); err != nil {
  9362. return nil, err
  9363. }
  9364. if interceptor == nil {
  9365. return srv.(GoVpnClientServer).VpnTagBatchUpdate(ctx, in)
  9366. }
  9367. info := &grpc.UnaryServerInfo{
  9368. Server: srv,
  9369. FullMethod: GoVpnClient_VpnTagBatchUpdate_FullMethodName,
  9370. }
  9371. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9372. return srv.(GoVpnClientServer).VpnTagBatchUpdate(ctx, req.(*VpnTagBatchUpdateReq))
  9373. }
  9374. return interceptor(ctx, in, info, handler)
  9375. }
  9376. func _GoVpnClient_VpnGroupAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9377. in := new(VpnGroupAddReq)
  9378. if err := dec(in); err != nil {
  9379. return nil, err
  9380. }
  9381. if interceptor == nil {
  9382. return srv.(GoVpnClientServer).VpnGroupAdd(ctx, in)
  9383. }
  9384. info := &grpc.UnaryServerInfo{
  9385. Server: srv,
  9386. FullMethod: GoVpnClient_VpnGroupAdd_FullMethodName,
  9387. }
  9388. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9389. return srv.(GoVpnClientServer).VpnGroupAdd(ctx, req.(*VpnGroupAddReq))
  9390. }
  9391. return interceptor(ctx, in, info, handler)
  9392. }
  9393. func _GoVpnClient_VpnGroupUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9394. in := new(VpnGroupAddReq)
  9395. if err := dec(in); err != nil {
  9396. return nil, err
  9397. }
  9398. if interceptor == nil {
  9399. return srv.(GoVpnClientServer).VpnGroupUpdate(ctx, in)
  9400. }
  9401. info := &grpc.UnaryServerInfo{
  9402. Server: srv,
  9403. FullMethod: GoVpnClient_VpnGroupUpdate_FullMethodName,
  9404. }
  9405. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9406. return srv.(GoVpnClientServer).VpnGroupUpdate(ctx, req.(*VpnGroupAddReq))
  9407. }
  9408. return interceptor(ctx, in, info, handler)
  9409. }
  9410. func _GoVpnClient_VpnGroupDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9411. in := new(Ids)
  9412. if err := dec(in); err != nil {
  9413. return nil, err
  9414. }
  9415. if interceptor == nil {
  9416. return srv.(GoVpnClientServer).VpnGroupDel(ctx, in)
  9417. }
  9418. info := &grpc.UnaryServerInfo{
  9419. Server: srv,
  9420. FullMethod: GoVpnClient_VpnGroupDel_FullMethodName,
  9421. }
  9422. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9423. return srv.(GoVpnClientServer).VpnGroupDel(ctx, req.(*Ids))
  9424. }
  9425. return interceptor(ctx, in, info, handler)
  9426. }
  9427. func _GoVpnClient_VpnGroupGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9428. in := new(VpnGroupGetReq)
  9429. if err := dec(in); err != nil {
  9430. return nil, err
  9431. }
  9432. if interceptor == nil {
  9433. return srv.(GoVpnClientServer).VpnGroupGet(ctx, in)
  9434. }
  9435. info := &grpc.UnaryServerInfo{
  9436. Server: srv,
  9437. FullMethod: GoVpnClient_VpnGroupGet_FullMethodName,
  9438. }
  9439. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9440. return srv.(GoVpnClientServer).VpnGroupGet(ctx, req.(*VpnGroupGetReq))
  9441. }
  9442. return interceptor(ctx, in, info, handler)
  9443. }
  9444. func _GoVpnClient_VpnGroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9445. in := new(VpnGroupListReq)
  9446. if err := dec(in); err != nil {
  9447. return nil, err
  9448. }
  9449. if interceptor == nil {
  9450. return srv.(GoVpnClientServer).VpnGroupList(ctx, in)
  9451. }
  9452. info := &grpc.UnaryServerInfo{
  9453. Server: srv,
  9454. FullMethod: GoVpnClient_VpnGroupList_FullMethodName,
  9455. }
  9456. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9457. return srv.(GoVpnClientServer).VpnGroupList(ctx, req.(*VpnGroupListReq))
  9458. }
  9459. return interceptor(ctx, in, info, handler)
  9460. }
  9461. func _GoVpnClient_VpnGroupBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9462. in := new(VpnGroupBatchAddReq)
  9463. if err := dec(in); err != nil {
  9464. return nil, err
  9465. }
  9466. if interceptor == nil {
  9467. return srv.(GoVpnClientServer).VpnGroupBatchAdd(ctx, in)
  9468. }
  9469. info := &grpc.UnaryServerInfo{
  9470. Server: srv,
  9471. FullMethod: GoVpnClient_VpnGroupBatchAdd_FullMethodName,
  9472. }
  9473. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9474. return srv.(GoVpnClientServer).VpnGroupBatchAdd(ctx, req.(*VpnGroupBatchAddReq))
  9475. }
  9476. return interceptor(ctx, in, info, handler)
  9477. }
  9478. func _GoVpnClient_VpnGroupBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9479. in := new(VpnGroupBatchUpdateReq)
  9480. if err := dec(in); err != nil {
  9481. return nil, err
  9482. }
  9483. if interceptor == nil {
  9484. return srv.(GoVpnClientServer).VpnGroupBatchUpdate(ctx, in)
  9485. }
  9486. info := &grpc.UnaryServerInfo{
  9487. Server: srv,
  9488. FullMethod: GoVpnClient_VpnGroupBatchUpdate_FullMethodName,
  9489. }
  9490. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9491. return srv.(GoVpnClientServer).VpnGroupBatchUpdate(ctx, req.(*VpnGroupBatchUpdateReq))
  9492. }
  9493. return interceptor(ctx, in, info, handler)
  9494. }
  9495. func _GoVpnClient_VpnGroupTagAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9496. in := new(VpnGroupTagVo)
  9497. if err := dec(in); err != nil {
  9498. return nil, err
  9499. }
  9500. if interceptor == nil {
  9501. return srv.(GoVpnClientServer).VpnGroupTagAdd(ctx, in)
  9502. }
  9503. info := &grpc.UnaryServerInfo{
  9504. Server: srv,
  9505. FullMethod: GoVpnClient_VpnGroupTagAdd_FullMethodName,
  9506. }
  9507. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9508. return srv.(GoVpnClientServer).VpnGroupTagAdd(ctx, req.(*VpnGroupTagVo))
  9509. }
  9510. return interceptor(ctx, in, info, handler)
  9511. }
  9512. func _GoVpnClient_VpnGroupTagUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9513. in := new(VpnGroupTagVo)
  9514. if err := dec(in); err != nil {
  9515. return nil, err
  9516. }
  9517. if interceptor == nil {
  9518. return srv.(GoVpnClientServer).VpnGroupTagUpdate(ctx, in)
  9519. }
  9520. info := &grpc.UnaryServerInfo{
  9521. Server: srv,
  9522. FullMethod: GoVpnClient_VpnGroupTagUpdate_FullMethodName,
  9523. }
  9524. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9525. return srv.(GoVpnClientServer).VpnGroupTagUpdate(ctx, req.(*VpnGroupTagVo))
  9526. }
  9527. return interceptor(ctx, in, info, handler)
  9528. }
  9529. func _GoVpnClient_VpnGroupTagDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9530. in := new(Ids)
  9531. if err := dec(in); err != nil {
  9532. return nil, err
  9533. }
  9534. if interceptor == nil {
  9535. return srv.(GoVpnClientServer).VpnGroupTagDel(ctx, in)
  9536. }
  9537. info := &grpc.UnaryServerInfo{
  9538. Server: srv,
  9539. FullMethod: GoVpnClient_VpnGroupTagDel_FullMethodName,
  9540. }
  9541. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9542. return srv.(GoVpnClientServer).VpnGroupTagDel(ctx, req.(*Ids))
  9543. }
  9544. return interceptor(ctx, in, info, handler)
  9545. }
  9546. func _GoVpnClient_VpnGroupTagGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9547. in := new(VpnGroupTagVo)
  9548. if err := dec(in); err != nil {
  9549. return nil, err
  9550. }
  9551. if interceptor == nil {
  9552. return srv.(GoVpnClientServer).VpnGroupTagGet(ctx, in)
  9553. }
  9554. info := &grpc.UnaryServerInfo{
  9555. Server: srv,
  9556. FullMethod: GoVpnClient_VpnGroupTagGet_FullMethodName,
  9557. }
  9558. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9559. return srv.(GoVpnClientServer).VpnGroupTagGet(ctx, req.(*VpnGroupTagVo))
  9560. }
  9561. return interceptor(ctx, in, info, handler)
  9562. }
  9563. func _GoVpnClient_VpnGroupTagList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9564. in := new(VpnGroupTagListReq)
  9565. if err := dec(in); err != nil {
  9566. return nil, err
  9567. }
  9568. if interceptor == nil {
  9569. return srv.(GoVpnClientServer).VpnGroupTagList(ctx, in)
  9570. }
  9571. info := &grpc.UnaryServerInfo{
  9572. Server: srv,
  9573. FullMethod: GoVpnClient_VpnGroupTagList_FullMethodName,
  9574. }
  9575. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9576. return srv.(GoVpnClientServer).VpnGroupTagList(ctx, req.(*VpnGroupTagListReq))
  9577. }
  9578. return interceptor(ctx, in, info, handler)
  9579. }
  9580. func _GoVpnClient_VpnLocationAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9581. in := new(VpnLocationVo)
  9582. if err := dec(in); err != nil {
  9583. return nil, err
  9584. }
  9585. if interceptor == nil {
  9586. return srv.(GoVpnClientServer).VpnLocationAdd(ctx, in)
  9587. }
  9588. info := &grpc.UnaryServerInfo{
  9589. Server: srv,
  9590. FullMethod: GoVpnClient_VpnLocationAdd_FullMethodName,
  9591. }
  9592. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9593. return srv.(GoVpnClientServer).VpnLocationAdd(ctx, req.(*VpnLocationVo))
  9594. }
  9595. return interceptor(ctx, in, info, handler)
  9596. }
  9597. func _GoVpnClient_VpnLocationUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9598. in := new(VpnLocationVo)
  9599. if err := dec(in); err != nil {
  9600. return nil, err
  9601. }
  9602. if interceptor == nil {
  9603. return srv.(GoVpnClientServer).VpnLocationUpdate(ctx, in)
  9604. }
  9605. info := &grpc.UnaryServerInfo{
  9606. Server: srv,
  9607. FullMethod: GoVpnClient_VpnLocationUpdate_FullMethodName,
  9608. }
  9609. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9610. return srv.(GoVpnClientServer).VpnLocationUpdate(ctx, req.(*VpnLocationVo))
  9611. }
  9612. return interceptor(ctx, in, info, handler)
  9613. }
  9614. func _GoVpnClient_VpnLocationDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9615. in := new(Ids)
  9616. if err := dec(in); err != nil {
  9617. return nil, err
  9618. }
  9619. if interceptor == nil {
  9620. return srv.(GoVpnClientServer).VpnLocationDel(ctx, in)
  9621. }
  9622. info := &grpc.UnaryServerInfo{
  9623. Server: srv,
  9624. FullMethod: GoVpnClient_VpnLocationDel_FullMethodName,
  9625. }
  9626. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9627. return srv.(GoVpnClientServer).VpnLocationDel(ctx, req.(*Ids))
  9628. }
  9629. return interceptor(ctx, in, info, handler)
  9630. }
  9631. func _GoVpnClient_VpnLocationGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9632. in := new(VpnLocationGetReq)
  9633. if err := dec(in); err != nil {
  9634. return nil, err
  9635. }
  9636. if interceptor == nil {
  9637. return srv.(GoVpnClientServer).VpnLocationGet(ctx, in)
  9638. }
  9639. info := &grpc.UnaryServerInfo{
  9640. Server: srv,
  9641. FullMethod: GoVpnClient_VpnLocationGet_FullMethodName,
  9642. }
  9643. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9644. return srv.(GoVpnClientServer).VpnLocationGet(ctx, req.(*VpnLocationGetReq))
  9645. }
  9646. return interceptor(ctx, in, info, handler)
  9647. }
  9648. func _GoVpnClient_VpnLocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9649. in := new(VpnLocationListReq)
  9650. if err := dec(in); err != nil {
  9651. return nil, err
  9652. }
  9653. if interceptor == nil {
  9654. return srv.(GoVpnClientServer).VpnLocationList(ctx, in)
  9655. }
  9656. info := &grpc.UnaryServerInfo{
  9657. Server: srv,
  9658. FullMethod: GoVpnClient_VpnLocationList_FullMethodName,
  9659. }
  9660. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9661. return srv.(GoVpnClientServer).VpnLocationList(ctx, req.(*VpnLocationListReq))
  9662. }
  9663. return interceptor(ctx, in, info, handler)
  9664. }
  9665. func _GoVpnClient_VpnLocationBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9666. in := new(VpnLocationBatchAddReq)
  9667. if err := dec(in); err != nil {
  9668. return nil, err
  9669. }
  9670. if interceptor == nil {
  9671. return srv.(GoVpnClientServer).VpnLocationBatchAdd(ctx, in)
  9672. }
  9673. info := &grpc.UnaryServerInfo{
  9674. Server: srv,
  9675. FullMethod: GoVpnClient_VpnLocationBatchAdd_FullMethodName,
  9676. }
  9677. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9678. return srv.(GoVpnClientServer).VpnLocationBatchAdd(ctx, req.(*VpnLocationBatchAddReq))
  9679. }
  9680. return interceptor(ctx, in, info, handler)
  9681. }
  9682. func _GoVpnClient_VpnLocationBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9683. in := new(VpnLocationBatchUpdateReq)
  9684. if err := dec(in); err != nil {
  9685. return nil, err
  9686. }
  9687. if interceptor == nil {
  9688. return srv.(GoVpnClientServer).VpnLocationBatchUpdate(ctx, in)
  9689. }
  9690. info := &grpc.UnaryServerInfo{
  9691. Server: srv,
  9692. FullMethod: GoVpnClient_VpnLocationBatchUpdate_FullMethodName,
  9693. }
  9694. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9695. return srv.(GoVpnClientServer).VpnLocationBatchUpdate(ctx, req.(*VpnLocationBatchUpdateReq))
  9696. }
  9697. return interceptor(ctx, in, info, handler)
  9698. }
  9699. func _GoVpnClient_VpnServerAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9700. in := new(VpnServerAddReq)
  9701. if err := dec(in); err != nil {
  9702. return nil, err
  9703. }
  9704. if interceptor == nil {
  9705. return srv.(GoVpnClientServer).VpnServerAdd(ctx, in)
  9706. }
  9707. info := &grpc.UnaryServerInfo{
  9708. Server: srv,
  9709. FullMethod: GoVpnClient_VpnServerAdd_FullMethodName,
  9710. }
  9711. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9712. return srv.(GoVpnClientServer).VpnServerAdd(ctx, req.(*VpnServerAddReq))
  9713. }
  9714. return interceptor(ctx, in, info, handler)
  9715. }
  9716. func _GoVpnClient_VpnServerUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9717. in := new(VpnServerAddReq)
  9718. if err := dec(in); err != nil {
  9719. return nil, err
  9720. }
  9721. if interceptor == nil {
  9722. return srv.(GoVpnClientServer).VpnServerUpdate(ctx, in)
  9723. }
  9724. info := &grpc.UnaryServerInfo{
  9725. Server: srv,
  9726. FullMethod: GoVpnClient_VpnServerUpdate_FullMethodName,
  9727. }
  9728. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9729. return srv.(GoVpnClientServer).VpnServerUpdate(ctx, req.(*VpnServerAddReq))
  9730. }
  9731. return interceptor(ctx, in, info, handler)
  9732. }
  9733. func _GoVpnClient_VpnServerDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9734. in := new(Ids)
  9735. if err := dec(in); err != nil {
  9736. return nil, err
  9737. }
  9738. if interceptor == nil {
  9739. return srv.(GoVpnClientServer).VpnServerDel(ctx, in)
  9740. }
  9741. info := &grpc.UnaryServerInfo{
  9742. Server: srv,
  9743. FullMethod: GoVpnClient_VpnServerDel_FullMethodName,
  9744. }
  9745. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9746. return srv.(GoVpnClientServer).VpnServerDel(ctx, req.(*Ids))
  9747. }
  9748. return interceptor(ctx, in, info, handler)
  9749. }
  9750. func _GoVpnClient_VpnServerGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9751. in := new(VpnServerVo)
  9752. if err := dec(in); err != nil {
  9753. return nil, err
  9754. }
  9755. if interceptor == nil {
  9756. return srv.(GoVpnClientServer).VpnServerGet(ctx, in)
  9757. }
  9758. info := &grpc.UnaryServerInfo{
  9759. Server: srv,
  9760. FullMethod: GoVpnClient_VpnServerGet_FullMethodName,
  9761. }
  9762. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9763. return srv.(GoVpnClientServer).VpnServerGet(ctx, req.(*VpnServerVo))
  9764. }
  9765. return interceptor(ctx, in, info, handler)
  9766. }
  9767. func _GoVpnClient_VpnServerList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9768. in := new(VpnServerListReq)
  9769. if err := dec(in); err != nil {
  9770. return nil, err
  9771. }
  9772. if interceptor == nil {
  9773. return srv.(GoVpnClientServer).VpnServerList(ctx, in)
  9774. }
  9775. info := &grpc.UnaryServerInfo{
  9776. Server: srv,
  9777. FullMethod: GoVpnClient_VpnServerList_FullMethodName,
  9778. }
  9779. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9780. return srv.(GoVpnClientServer).VpnServerList(ctx, req.(*VpnServerListReq))
  9781. }
  9782. return interceptor(ctx, in, info, handler)
  9783. }
  9784. func _GoVpnClient_VpnServerExList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9785. in := new(VpnServerListReq)
  9786. if err := dec(in); err != nil {
  9787. return nil, err
  9788. }
  9789. if interceptor == nil {
  9790. return srv.(GoVpnClientServer).VpnServerExList(ctx, in)
  9791. }
  9792. info := &grpc.UnaryServerInfo{
  9793. Server: srv,
  9794. FullMethod: GoVpnClient_VpnServerExList_FullMethodName,
  9795. }
  9796. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9797. return srv.(GoVpnClientServer).VpnServerExList(ctx, req.(*VpnServerListReq))
  9798. }
  9799. return interceptor(ctx, in, info, handler)
  9800. }
  9801. func _GoVpnClient_VpnServerBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9802. in := new(VpnServerBatchAddReq)
  9803. if err := dec(in); err != nil {
  9804. return nil, err
  9805. }
  9806. if interceptor == nil {
  9807. return srv.(GoVpnClientServer).VpnServerBatchAdd(ctx, in)
  9808. }
  9809. info := &grpc.UnaryServerInfo{
  9810. Server: srv,
  9811. FullMethod: GoVpnClient_VpnServerBatchAdd_FullMethodName,
  9812. }
  9813. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9814. return srv.(GoVpnClientServer).VpnServerBatchAdd(ctx, req.(*VpnServerBatchAddReq))
  9815. }
  9816. return interceptor(ctx, in, info, handler)
  9817. }
  9818. func _GoVpnClient_VpnServerBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9819. in := new(VpnServerBatchUpdateReq)
  9820. if err := dec(in); err != nil {
  9821. return nil, err
  9822. }
  9823. if interceptor == nil {
  9824. return srv.(GoVpnClientServer).VpnServerBatchUpdate(ctx, in)
  9825. }
  9826. info := &grpc.UnaryServerInfo{
  9827. Server: srv,
  9828. FullMethod: GoVpnClient_VpnServerBatchUpdate_FullMethodName,
  9829. }
  9830. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9831. return srv.(GoVpnClientServer).VpnServerBatchUpdate(ctx, req.(*VpnServerBatchUpdateReq))
  9832. }
  9833. return interceptor(ctx, in, info, handler)
  9834. }
  9835. func _GoVpnClient_VpnServerLocationAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9836. in := new(VpnServerLocationVo)
  9837. if err := dec(in); err != nil {
  9838. return nil, err
  9839. }
  9840. if interceptor == nil {
  9841. return srv.(GoVpnClientServer).VpnServerLocationAdd(ctx, in)
  9842. }
  9843. info := &grpc.UnaryServerInfo{
  9844. Server: srv,
  9845. FullMethod: GoVpnClient_VpnServerLocationAdd_FullMethodName,
  9846. }
  9847. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9848. return srv.(GoVpnClientServer).VpnServerLocationAdd(ctx, req.(*VpnServerLocationVo))
  9849. }
  9850. return interceptor(ctx, in, info, handler)
  9851. }
  9852. func _GoVpnClient_VpnServerLocationUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9853. in := new(VpnServerLocationVo)
  9854. if err := dec(in); err != nil {
  9855. return nil, err
  9856. }
  9857. if interceptor == nil {
  9858. return srv.(GoVpnClientServer).VpnServerLocationUpdate(ctx, in)
  9859. }
  9860. info := &grpc.UnaryServerInfo{
  9861. Server: srv,
  9862. FullMethod: GoVpnClient_VpnServerLocationUpdate_FullMethodName,
  9863. }
  9864. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9865. return srv.(GoVpnClientServer).VpnServerLocationUpdate(ctx, req.(*VpnServerLocationVo))
  9866. }
  9867. return interceptor(ctx, in, info, handler)
  9868. }
  9869. func _GoVpnClient_VpnServerLocationDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9870. in := new(Ids)
  9871. if err := dec(in); err != nil {
  9872. return nil, err
  9873. }
  9874. if interceptor == nil {
  9875. return srv.(GoVpnClientServer).VpnServerLocationDel(ctx, in)
  9876. }
  9877. info := &grpc.UnaryServerInfo{
  9878. Server: srv,
  9879. FullMethod: GoVpnClient_VpnServerLocationDel_FullMethodName,
  9880. }
  9881. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9882. return srv.(GoVpnClientServer).VpnServerLocationDel(ctx, req.(*Ids))
  9883. }
  9884. return interceptor(ctx, in, info, handler)
  9885. }
  9886. func _GoVpnClient_VpnServerLocationGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9887. in := new(VpnServerLocationVo)
  9888. if err := dec(in); err != nil {
  9889. return nil, err
  9890. }
  9891. if interceptor == nil {
  9892. return srv.(GoVpnClientServer).VpnServerLocationGet(ctx, in)
  9893. }
  9894. info := &grpc.UnaryServerInfo{
  9895. Server: srv,
  9896. FullMethod: GoVpnClient_VpnServerLocationGet_FullMethodName,
  9897. }
  9898. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9899. return srv.(GoVpnClientServer).VpnServerLocationGet(ctx, req.(*VpnServerLocationVo))
  9900. }
  9901. return interceptor(ctx, in, info, handler)
  9902. }
  9903. func _GoVpnClient_VpnServerLocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9904. in := new(VpnServerLocationListReq)
  9905. if err := dec(in); err != nil {
  9906. return nil, err
  9907. }
  9908. if interceptor == nil {
  9909. return srv.(GoVpnClientServer).VpnServerLocationList(ctx, in)
  9910. }
  9911. info := &grpc.UnaryServerInfo{
  9912. Server: srv,
  9913. FullMethod: GoVpnClient_VpnServerLocationList_FullMethodName,
  9914. }
  9915. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9916. return srv.(GoVpnClientServer).VpnServerLocationList(ctx, req.(*VpnServerLocationListReq))
  9917. }
  9918. return interceptor(ctx, in, info, handler)
  9919. }
  9920. func _GoVpnClient_VpnLocationServerCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9921. in := new(VpnLocationServerCountReq)
  9922. if err := dec(in); err != nil {
  9923. return nil, err
  9924. }
  9925. if interceptor == nil {
  9926. return srv.(GoVpnClientServer).VpnLocationServerCount(ctx, in)
  9927. }
  9928. info := &grpc.UnaryServerInfo{
  9929. Server: srv,
  9930. FullMethod: GoVpnClient_VpnLocationServerCount_FullMethodName,
  9931. }
  9932. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9933. return srv.(GoVpnClientServer).VpnLocationServerCount(ctx, req.(*VpnLocationServerCountReq))
  9934. }
  9935. return interceptor(ctx, in, info, handler)
  9936. }
  9937. func _GoVpnClient_VpnProbeTaskAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9938. in := new(VpnProbeTaskVo)
  9939. if err := dec(in); err != nil {
  9940. return nil, err
  9941. }
  9942. if interceptor == nil {
  9943. return srv.(GoVpnClientServer).VpnProbeTaskAdd(ctx, in)
  9944. }
  9945. info := &grpc.UnaryServerInfo{
  9946. Server: srv,
  9947. FullMethod: GoVpnClient_VpnProbeTaskAdd_FullMethodName,
  9948. }
  9949. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9950. return srv.(GoVpnClientServer).VpnProbeTaskAdd(ctx, req.(*VpnProbeTaskVo))
  9951. }
  9952. return interceptor(ctx, in, info, handler)
  9953. }
  9954. func _GoVpnClient_VpnProbeTaskUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9955. in := new(VpnProbeTaskVo)
  9956. if err := dec(in); err != nil {
  9957. return nil, err
  9958. }
  9959. if interceptor == nil {
  9960. return srv.(GoVpnClientServer).VpnProbeTaskUpdate(ctx, in)
  9961. }
  9962. info := &grpc.UnaryServerInfo{
  9963. Server: srv,
  9964. FullMethod: GoVpnClient_VpnProbeTaskUpdate_FullMethodName,
  9965. }
  9966. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9967. return srv.(GoVpnClientServer).VpnProbeTaskUpdate(ctx, req.(*VpnProbeTaskVo))
  9968. }
  9969. return interceptor(ctx, in, info, handler)
  9970. }
  9971. func _GoVpnClient_VpnProbeTaskList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  9972. in := new(VpnProbeTaskListReq)
  9973. if err := dec(in); err != nil {
  9974. return nil, err
  9975. }
  9976. if interceptor == nil {
  9977. return srv.(GoVpnClientServer).VpnProbeTaskList(ctx, in)
  9978. }
  9979. info := &grpc.UnaryServerInfo{
  9980. Server: srv,
  9981. FullMethod: GoVpnClient_VpnProbeTaskList_FullMethodName,
  9982. }
  9983. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  9984. return srv.(GoVpnClientServer).VpnProbeTaskList(ctx, req.(*VpnProbeTaskListReq))
  9985. }
  9986. return interceptor(ctx, in, info, handler)
  9987. }
  9988. // GoVpnClient_ServiceDesc is the grpc.ServiceDesc for GoVpnClient service.
  9989. // It's only intended for direct use with grpc.RegisterService,
  9990. // and not to be introspected or modified (even as a copy)
  9991. var GoVpnClient_ServiceDesc = grpc.ServiceDesc{
  9992. ServiceName: "gorpc.GoVpnClient",
  9993. HandlerType: (*GoVpnClientServer)(nil),
  9994. Methods: []grpc.MethodDesc{
  9995. {
  9996. MethodName: "Ping",
  9997. Handler: _GoVpnClient_Ping_Handler,
  9998. },
  9999. {
  10000. MethodName: "Transaction",
  10001. Handler: _GoVpnClient_Transaction_Handler,
  10002. },
  10003. {
  10004. MethodName: "VpnTagAdd",
  10005. Handler: _GoVpnClient_VpnTagAdd_Handler,
  10006. },
  10007. {
  10008. MethodName: "VpnTagUpdate",
  10009. Handler: _GoVpnClient_VpnTagUpdate_Handler,
  10010. },
  10011. {
  10012. MethodName: "VpnTagDel",
  10013. Handler: _GoVpnClient_VpnTagDel_Handler,
  10014. },
  10015. {
  10016. MethodName: "VpnTagGet",
  10017. Handler: _GoVpnClient_VpnTagGet_Handler,
  10018. },
  10019. {
  10020. MethodName: "VpnTagList",
  10021. Handler: _GoVpnClient_VpnTagList_Handler,
  10022. },
  10023. {
  10024. MethodName: "VpnTagBatchAdd",
  10025. Handler: _GoVpnClient_VpnTagBatchAdd_Handler,
  10026. },
  10027. {
  10028. MethodName: "VpnTagBatchUpdate",
  10029. Handler: _GoVpnClient_VpnTagBatchUpdate_Handler,
  10030. },
  10031. {
  10032. MethodName: "VpnGroupAdd",
  10033. Handler: _GoVpnClient_VpnGroupAdd_Handler,
  10034. },
  10035. {
  10036. MethodName: "VpnGroupUpdate",
  10037. Handler: _GoVpnClient_VpnGroupUpdate_Handler,
  10038. },
  10039. {
  10040. MethodName: "VpnGroupDel",
  10041. Handler: _GoVpnClient_VpnGroupDel_Handler,
  10042. },
  10043. {
  10044. MethodName: "VpnGroupGet",
  10045. Handler: _GoVpnClient_VpnGroupGet_Handler,
  10046. },
  10047. {
  10048. MethodName: "VpnGroupList",
  10049. Handler: _GoVpnClient_VpnGroupList_Handler,
  10050. },
  10051. {
  10052. MethodName: "VpnGroupBatchAdd",
  10053. Handler: _GoVpnClient_VpnGroupBatchAdd_Handler,
  10054. },
  10055. {
  10056. MethodName: "VpnGroupBatchUpdate",
  10057. Handler: _GoVpnClient_VpnGroupBatchUpdate_Handler,
  10058. },
  10059. {
  10060. MethodName: "VpnGroupTagAdd",
  10061. Handler: _GoVpnClient_VpnGroupTagAdd_Handler,
  10062. },
  10063. {
  10064. MethodName: "VpnGroupTagUpdate",
  10065. Handler: _GoVpnClient_VpnGroupTagUpdate_Handler,
  10066. },
  10067. {
  10068. MethodName: "VpnGroupTagDel",
  10069. Handler: _GoVpnClient_VpnGroupTagDel_Handler,
  10070. },
  10071. {
  10072. MethodName: "VpnGroupTagGet",
  10073. Handler: _GoVpnClient_VpnGroupTagGet_Handler,
  10074. },
  10075. {
  10076. MethodName: "VpnGroupTagList",
  10077. Handler: _GoVpnClient_VpnGroupTagList_Handler,
  10078. },
  10079. {
  10080. MethodName: "VpnLocationAdd",
  10081. Handler: _GoVpnClient_VpnLocationAdd_Handler,
  10082. },
  10083. {
  10084. MethodName: "VpnLocationUpdate",
  10085. Handler: _GoVpnClient_VpnLocationUpdate_Handler,
  10086. },
  10087. {
  10088. MethodName: "VpnLocationDel",
  10089. Handler: _GoVpnClient_VpnLocationDel_Handler,
  10090. },
  10091. {
  10092. MethodName: "VpnLocationGet",
  10093. Handler: _GoVpnClient_VpnLocationGet_Handler,
  10094. },
  10095. {
  10096. MethodName: "VpnLocationList",
  10097. Handler: _GoVpnClient_VpnLocationList_Handler,
  10098. },
  10099. {
  10100. MethodName: "VpnLocationBatchAdd",
  10101. Handler: _GoVpnClient_VpnLocationBatchAdd_Handler,
  10102. },
  10103. {
  10104. MethodName: "VpnLocationBatchUpdate",
  10105. Handler: _GoVpnClient_VpnLocationBatchUpdate_Handler,
  10106. },
  10107. {
  10108. MethodName: "VpnServerAdd",
  10109. Handler: _GoVpnClient_VpnServerAdd_Handler,
  10110. },
  10111. {
  10112. MethodName: "VpnServerUpdate",
  10113. Handler: _GoVpnClient_VpnServerUpdate_Handler,
  10114. },
  10115. {
  10116. MethodName: "VpnServerDel",
  10117. Handler: _GoVpnClient_VpnServerDel_Handler,
  10118. },
  10119. {
  10120. MethodName: "VpnServerGet",
  10121. Handler: _GoVpnClient_VpnServerGet_Handler,
  10122. },
  10123. {
  10124. MethodName: "VpnServerList",
  10125. Handler: _GoVpnClient_VpnServerList_Handler,
  10126. },
  10127. {
  10128. MethodName: "VpnServerExList",
  10129. Handler: _GoVpnClient_VpnServerExList_Handler,
  10130. },
  10131. {
  10132. MethodName: "VpnServerBatchAdd",
  10133. Handler: _GoVpnClient_VpnServerBatchAdd_Handler,
  10134. },
  10135. {
  10136. MethodName: "VpnServerBatchUpdate",
  10137. Handler: _GoVpnClient_VpnServerBatchUpdate_Handler,
  10138. },
  10139. {
  10140. MethodName: "VpnServerLocationAdd",
  10141. Handler: _GoVpnClient_VpnServerLocationAdd_Handler,
  10142. },
  10143. {
  10144. MethodName: "VpnServerLocationUpdate",
  10145. Handler: _GoVpnClient_VpnServerLocationUpdate_Handler,
  10146. },
  10147. {
  10148. MethodName: "VpnServerLocationDel",
  10149. Handler: _GoVpnClient_VpnServerLocationDel_Handler,
  10150. },
  10151. {
  10152. MethodName: "VpnServerLocationGet",
  10153. Handler: _GoVpnClient_VpnServerLocationGet_Handler,
  10154. },
  10155. {
  10156. MethodName: "VpnServerLocationList",
  10157. Handler: _GoVpnClient_VpnServerLocationList_Handler,
  10158. },
  10159. {
  10160. MethodName: "VpnLocationServerCount",
  10161. Handler: _GoVpnClient_VpnLocationServerCount_Handler,
  10162. },
  10163. {
  10164. MethodName: "VpnProbeTaskAdd",
  10165. Handler: _GoVpnClient_VpnProbeTaskAdd_Handler,
  10166. },
  10167. {
  10168. MethodName: "VpnProbeTaskUpdate",
  10169. Handler: _GoVpnClient_VpnProbeTaskUpdate_Handler,
  10170. },
  10171. {
  10172. MethodName: "VpnProbeTaskList",
  10173. Handler: _GoVpnClient_VpnProbeTaskList_Handler,
  10174. },
  10175. },
  10176. Streams: []grpc.StreamDesc{},
  10177. Metadata: "gorpc.proto",
  10178. }