| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819 |
- // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
- // versions:
- // - protoc-gen-go-grpc v1.5.1
- // - protoc v3.19.4
- // source: gorpc.proto
- package pb
- import (
- context "context"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- )
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- // Requires gRPC-Go v1.64.0 or later.
- const _ = grpc.SupportPackageIsVersion9
- const (
- GoGameClient_GameAdd_FullMethodName = "/gorpc.GoGameClient/GameAdd"
- GoGameClient_GameUpdate_FullMethodName = "/gorpc.GoGameClient/GameUpdate"
- GoGameClient_GameDel_FullMethodName = "/gorpc.GoGameClient/GameDel"
- GoGameClient_GameGet_FullMethodName = "/gorpc.GoGameClient/GameGet"
- GoGameClient_GameList_FullMethodName = "/gorpc.GoGameClient/GameList"
- GoGameClient_GameAll_FullMethodName = "/gorpc.GoGameClient/GameAll"
- GoGameClient_GameRedisHScanByName_FullMethodName = "/gorpc.GoGameClient/GameRedisHScanByName"
- GoGameClient_RelGameRankAdd_FullMethodName = "/gorpc.GoGameClient/RelGameRankAdd"
- GoGameClient_RelGameRankUpdate_FullMethodName = "/gorpc.GoGameClient/RelGameRankUpdate"
- GoGameClient_RelGameRankDel_FullMethodName = "/gorpc.GoGameClient/RelGameRankDel"
- GoGameClient_RelGameRankGet_FullMethodName = "/gorpc.GoGameClient/RelGameRankGet"
- GoGameClient_RelGameRankList_FullMethodName = "/gorpc.GoGameClient/RelGameRankList"
- GoGameClient_RelGameVpnGroupAdd_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupAdd"
- GoGameClient_RelGameVpnGroupUpdate_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupUpdate"
- GoGameClient_RelGameVpnGroupDel_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupDel"
- GoGameClient_RelGameVpnGroupGet_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupGet"
- GoGameClient_RelGameVpnGroupList_FullMethodName = "/gorpc.GoGameClient/RelGameVpnGroupList"
- GoGameClient_GameCustomerList_FullMethodName = "/gorpc.GoGameClient/GameCustomerList"
- GoGameClient_GameCustomerAdd_FullMethodName = "/gorpc.GoGameClient/GameCustomerAdd"
- GoGameClient_GameCustomerDel_FullMethodName = "/gorpc.GoGameClient/GameCustomerDel"
- GoGameClient_GameCategoryAdd_FullMethodName = "/gorpc.GoGameClient/GameCategoryAdd"
- GoGameClient_GameCategoryUpdate_FullMethodName = "/gorpc.GoGameClient/GameCategoryUpdate"
- GoGameClient_GameCategoryDel_FullMethodName = "/gorpc.GoGameClient/GameCategoryDel"
- GoGameClient_GameCategoryGet_FullMethodName = "/gorpc.GoGameClient/GameCategoryGet"
- GoGameClient_GameCategoryList_FullMethodName = "/gorpc.GoGameClient/GameCategoryList"
- GoGameClient_GameCategoryAll_FullMethodName = "/gorpc.GoGameClient/GameCategoryAll"
- )
- // GoGameClientClient is the client API for GoGameClient service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
- type GoGameClientClient interface {
- // 加速器游戏管理
- GameAdd(ctx context.Context, in *GameVo, opts ...grpc.CallOption) (*GameVo, error)
- GameUpdate(ctx context.Context, in *GameVo, opts ...grpc.CallOption) (*Empty, error)
- GameDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- GameGet(ctx context.Context, in *GameReq, opts ...grpc.CallOption) (*GameVo, error)
- GameList(ctx context.Context, in *GameListReq, opts ...grpc.CallOption) (*GameListRes, error)
- GameAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*GameListRes, error)
- GameRedisHScanByName(ctx context.Context, in *GameRedisHScanByNameReq, opts ...grpc.CallOption) (*GameRedisHScanByNameResp, error)
- // 游戏榜单关联关系
- RelGameRankAdd(ctx context.Context, in *RelGameRankVo, opts ...grpc.CallOption) (*RelGameRankVo, error)
- RelGameRankUpdate(ctx context.Context, in *RelGameRankVo, opts ...grpc.CallOption) (*Empty, error)
- RelGameRankDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- RelGameRankGet(ctx context.Context, in *RelGameRankReq, opts ...grpc.CallOption) (*RelGameRankVo, error)
- RelGameRankList(ctx context.Context, in *RelGameRankListReq, opts ...grpc.CallOption) (*RelGameRankListRes, error)
- // 游戏地域关联关系
- RelGameVpnGroupAdd(ctx context.Context, in *RelGameVpnGroupVo, opts ...grpc.CallOption) (*RelGameVpnGroupVo, error)
- RelGameVpnGroupUpdate(ctx context.Context, in *RelGameVpnGroupVo, opts ...grpc.CallOption) (*Empty, error)
- RelGameVpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- RelGameVpnGroupGet(ctx context.Context, in *RelGameVpnGroupReq, opts ...grpc.CallOption) (*RelGameVpnGroupVo, error)
- RelGameVpnGroupList(ctx context.Context, in *RelGameVpnGroupListReq, opts ...grpc.CallOption) (*RelGameVpnGroupListRes, error)
- // 用户提交游戏
- GameCustomerList(ctx context.Context, in *GameCustomerListReq, opts ...grpc.CallOption) (*GameCustomerListRes, error)
- GameCustomerAdd(ctx context.Context, in *GameCustomerVo, opts ...grpc.CallOption) (*GameCustomerAddResp, error)
- GameCustomerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- GameCategoryAdd(ctx context.Context, in *GameCategoryVo, opts ...grpc.CallOption) (*GameCategoryVo, error)
- GameCategoryUpdate(ctx context.Context, in *GameCategoryVo, opts ...grpc.CallOption) (*Empty, error)
- GameCategoryDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- GameCategoryGet(ctx context.Context, in *GameCategoryReq, opts ...grpc.CallOption) (*GameCategoryVo, error)
- GameCategoryList(ctx context.Context, in *GameCategoryListReq, opts ...grpc.CallOption) (*GameCategoryListRes, error)
- GameCategoryAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*GameCategoryListRes, error)
- }
- type goGameClientClient struct {
- cc grpc.ClientConnInterface
- }
- func NewGoGameClientClient(cc grpc.ClientConnInterface) GoGameClientClient {
- return &goGameClientClient{cc}
- }
- func (c *goGameClientClient) GameAdd(ctx context.Context, in *GameVo, opts ...grpc.CallOption) (*GameVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameVo)
- err := c.cc.Invoke(ctx, GoGameClient_GameAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameUpdate(ctx context.Context, in *GameVo, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoGameClient_GameUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoGameClient_GameDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameGet(ctx context.Context, in *GameReq, opts ...grpc.CallOption) (*GameVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameVo)
- err := c.cc.Invoke(ctx, GoGameClient_GameGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameList(ctx context.Context, in *GameListReq, opts ...grpc.CallOption) (*GameListRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameListRes)
- err := c.cc.Invoke(ctx, GoGameClient_GameList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*GameListRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameListRes)
- err := c.cc.Invoke(ctx, GoGameClient_GameAll_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameRedisHScanByName(ctx context.Context, in *GameRedisHScanByNameReq, opts ...grpc.CallOption) (*GameRedisHScanByNameResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameRedisHScanByNameResp)
- err := c.cc.Invoke(ctx, GoGameClient_GameRedisHScanByName_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameRankAdd(ctx context.Context, in *RelGameRankVo, opts ...grpc.CallOption) (*RelGameRankVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(RelGameRankVo)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameRankAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameRankUpdate(ctx context.Context, in *RelGameRankVo, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameRankUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameRankDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameRankDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameRankGet(ctx context.Context, in *RelGameRankReq, opts ...grpc.CallOption) (*RelGameRankVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(RelGameRankVo)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameRankGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameRankList(ctx context.Context, in *RelGameRankListReq, opts ...grpc.CallOption) (*RelGameRankListRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(RelGameRankListRes)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameRankList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameVpnGroupAdd(ctx context.Context, in *RelGameVpnGroupVo, opts ...grpc.CallOption) (*RelGameVpnGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(RelGameVpnGroupVo)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameVpnGroupUpdate(ctx context.Context, in *RelGameVpnGroupVo, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameVpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameVpnGroupGet(ctx context.Context, in *RelGameVpnGroupReq, opts ...grpc.CallOption) (*RelGameVpnGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(RelGameVpnGroupVo)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) RelGameVpnGroupList(ctx context.Context, in *RelGameVpnGroupListReq, opts ...grpc.CallOption) (*RelGameVpnGroupListRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(RelGameVpnGroupListRes)
- err := c.cc.Invoke(ctx, GoGameClient_RelGameVpnGroupList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameCustomerList(ctx context.Context, in *GameCustomerListReq, opts ...grpc.CallOption) (*GameCustomerListRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameCustomerListRes)
- err := c.cc.Invoke(ctx, GoGameClient_GameCustomerList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameCustomerAdd(ctx context.Context, in *GameCustomerVo, opts ...grpc.CallOption) (*GameCustomerAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameCustomerAddResp)
- err := c.cc.Invoke(ctx, GoGameClient_GameCustomerAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameCustomerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoGameClient_GameCustomerDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameCategoryAdd(ctx context.Context, in *GameCategoryVo, opts ...grpc.CallOption) (*GameCategoryVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameCategoryVo)
- err := c.cc.Invoke(ctx, GoGameClient_GameCategoryAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameCategoryUpdate(ctx context.Context, in *GameCategoryVo, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoGameClient_GameCategoryUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameCategoryDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoGameClient_GameCategoryDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameCategoryGet(ctx context.Context, in *GameCategoryReq, opts ...grpc.CallOption) (*GameCategoryVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameCategoryVo)
- err := c.cc.Invoke(ctx, GoGameClient_GameCategoryGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameCategoryList(ctx context.Context, in *GameCategoryListReq, opts ...grpc.CallOption) (*GameCategoryListRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameCategoryListRes)
- err := c.cc.Invoke(ctx, GoGameClient_GameCategoryList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goGameClientClient) GameCategoryAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*GameCategoryListRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GameCategoryListRes)
- err := c.cc.Invoke(ctx, GoGameClient_GameCategoryAll_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // GoGameClientServer is the server API for GoGameClient service.
- // All implementations must embed UnimplementedGoGameClientServer
- // for forward compatibility.
- type GoGameClientServer interface {
- // 加速器游戏管理
- GameAdd(context.Context, *GameVo) (*GameVo, error)
- GameUpdate(context.Context, *GameVo) (*Empty, error)
- GameDel(context.Context, *Ids) (*Empty, error)
- GameGet(context.Context, *GameReq) (*GameVo, error)
- GameList(context.Context, *GameListReq) (*GameListRes, error)
- GameAll(context.Context, *Request) (*GameListRes, error)
- GameRedisHScanByName(context.Context, *GameRedisHScanByNameReq) (*GameRedisHScanByNameResp, error)
- // 游戏榜单关联关系
- RelGameRankAdd(context.Context, *RelGameRankVo) (*RelGameRankVo, error)
- RelGameRankUpdate(context.Context, *RelGameRankVo) (*Empty, error)
- RelGameRankDel(context.Context, *Ids) (*Empty, error)
- RelGameRankGet(context.Context, *RelGameRankReq) (*RelGameRankVo, error)
- RelGameRankList(context.Context, *RelGameRankListReq) (*RelGameRankListRes, error)
- // 游戏地域关联关系
- RelGameVpnGroupAdd(context.Context, *RelGameVpnGroupVo) (*RelGameVpnGroupVo, error)
- RelGameVpnGroupUpdate(context.Context, *RelGameVpnGroupVo) (*Empty, error)
- RelGameVpnGroupDel(context.Context, *Ids) (*Empty, error)
- RelGameVpnGroupGet(context.Context, *RelGameVpnGroupReq) (*RelGameVpnGroupVo, error)
- RelGameVpnGroupList(context.Context, *RelGameVpnGroupListReq) (*RelGameVpnGroupListRes, error)
- // 用户提交游戏
- GameCustomerList(context.Context, *GameCustomerListReq) (*GameCustomerListRes, error)
- GameCustomerAdd(context.Context, *GameCustomerVo) (*GameCustomerAddResp, error)
- GameCustomerDel(context.Context, *Ids) (*Empty, error)
- GameCategoryAdd(context.Context, *GameCategoryVo) (*GameCategoryVo, error)
- GameCategoryUpdate(context.Context, *GameCategoryVo) (*Empty, error)
- GameCategoryDel(context.Context, *Ids) (*Empty, error)
- GameCategoryGet(context.Context, *GameCategoryReq) (*GameCategoryVo, error)
- GameCategoryList(context.Context, *GameCategoryListReq) (*GameCategoryListRes, error)
- GameCategoryAll(context.Context, *Request) (*GameCategoryListRes, error)
- mustEmbedUnimplementedGoGameClientServer()
- }
- // UnimplementedGoGameClientServer must be embedded to have
- // forward compatible implementations.
- //
- // NOTE: this should be embedded by value instead of pointer to avoid a nil
- // pointer dereference when methods are called.
- type UnimplementedGoGameClientServer struct{}
- func (UnimplementedGoGameClientServer) GameAdd(context.Context, *GameVo) (*GameVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameAdd not implemented")
- }
- func (UnimplementedGoGameClientServer) GameUpdate(context.Context, *GameVo) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameUpdate not implemented")
- }
- func (UnimplementedGoGameClientServer) GameDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameDel not implemented")
- }
- func (UnimplementedGoGameClientServer) GameGet(context.Context, *GameReq) (*GameVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameGet not implemented")
- }
- func (UnimplementedGoGameClientServer) GameList(context.Context, *GameListReq) (*GameListRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameList not implemented")
- }
- func (UnimplementedGoGameClientServer) GameAll(context.Context, *Request) (*GameListRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameAll not implemented")
- }
- func (UnimplementedGoGameClientServer) GameRedisHScanByName(context.Context, *GameRedisHScanByNameReq) (*GameRedisHScanByNameResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameRedisHScanByName not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameRankAdd(context.Context, *RelGameRankVo) (*RelGameRankVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameRankAdd not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameRankUpdate(context.Context, *RelGameRankVo) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameRankUpdate not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameRankDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameRankDel not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameRankGet(context.Context, *RelGameRankReq) (*RelGameRankVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameRankGet not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameRankList(context.Context, *RelGameRankListReq) (*RelGameRankListRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameRankList not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameVpnGroupAdd(context.Context, *RelGameVpnGroupVo) (*RelGameVpnGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupAdd not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameVpnGroupUpdate(context.Context, *RelGameVpnGroupVo) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupUpdate not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameVpnGroupDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupDel not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameVpnGroupGet(context.Context, *RelGameVpnGroupReq) (*RelGameVpnGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupGet not implemented")
- }
- func (UnimplementedGoGameClientServer) RelGameVpnGroupList(context.Context, *RelGameVpnGroupListReq) (*RelGameVpnGroupListRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RelGameVpnGroupList not implemented")
- }
- func (UnimplementedGoGameClientServer) GameCustomerList(context.Context, *GameCustomerListReq) (*GameCustomerListRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameCustomerList not implemented")
- }
- func (UnimplementedGoGameClientServer) GameCustomerAdd(context.Context, *GameCustomerVo) (*GameCustomerAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameCustomerAdd not implemented")
- }
- func (UnimplementedGoGameClientServer) GameCustomerDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameCustomerDel not implemented")
- }
- func (UnimplementedGoGameClientServer) GameCategoryAdd(context.Context, *GameCategoryVo) (*GameCategoryVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameCategoryAdd not implemented")
- }
- func (UnimplementedGoGameClientServer) GameCategoryUpdate(context.Context, *GameCategoryVo) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameCategoryUpdate not implemented")
- }
- func (UnimplementedGoGameClientServer) GameCategoryDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameCategoryDel not implemented")
- }
- func (UnimplementedGoGameClientServer) GameCategoryGet(context.Context, *GameCategoryReq) (*GameCategoryVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameCategoryGet not implemented")
- }
- func (UnimplementedGoGameClientServer) GameCategoryList(context.Context, *GameCategoryListReq) (*GameCategoryListRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameCategoryList not implemented")
- }
- func (UnimplementedGoGameClientServer) GameCategoryAll(context.Context, *Request) (*GameCategoryListRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GameCategoryAll not implemented")
- }
- func (UnimplementedGoGameClientServer) mustEmbedUnimplementedGoGameClientServer() {}
- func (UnimplementedGoGameClientServer) testEmbeddedByValue() {}
- // UnsafeGoGameClientServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to GoGameClientServer will
- // result in compilation errors.
- type UnsafeGoGameClientServer interface {
- mustEmbedUnimplementedGoGameClientServer()
- }
- func RegisterGoGameClientServer(s grpc.ServiceRegistrar, srv GoGameClientServer) {
- // If the following call pancis, it indicates UnimplementedGoGameClientServer was
- // embedded by pointer and is nil. This will cause panics if an
- // unimplemented method is ever invoked, so we test this at initialization
- // time to prevent it from happening at runtime later due to I/O.
- if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
- t.testEmbeddedByValue()
- }
- s.RegisterService(&GoGameClient_ServiceDesc, srv)
- }
- func _GoGameClient_GameAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameAdd(ctx, req.(*GameVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameUpdate(ctx, req.(*GameVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameGet(ctx, req.(*GameReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameList(ctx, req.(*GameListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Request)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameAll(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameAll_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameAll(ctx, req.(*Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameRedisHScanByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameRedisHScanByNameReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameRedisHScanByName(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameRedisHScanByName_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameRedisHScanByName(ctx, req.(*GameRedisHScanByNameReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameRankAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RelGameRankVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameRankAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameRankAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameRankAdd(ctx, req.(*RelGameRankVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameRankUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RelGameRankVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameRankUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameRankUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameRankUpdate(ctx, req.(*RelGameRankVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameRankDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameRankDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameRankDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameRankDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameRankGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RelGameRankReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameRankGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameRankGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameRankGet(ctx, req.(*RelGameRankReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameRankList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RelGameRankListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameRankList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameRankList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameRankList(ctx, req.(*RelGameRankListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameVpnGroupAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RelGameVpnGroupVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameVpnGroupAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameVpnGroupAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameVpnGroupAdd(ctx, req.(*RelGameVpnGroupVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameVpnGroupUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RelGameVpnGroupVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameVpnGroupUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameVpnGroupUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameVpnGroupUpdate(ctx, req.(*RelGameVpnGroupVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameVpnGroupDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameVpnGroupDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameVpnGroupDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameVpnGroupDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameVpnGroupGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RelGameVpnGroupReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameVpnGroupGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameVpnGroupGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameVpnGroupGet(ctx, req.(*RelGameVpnGroupReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_RelGameVpnGroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RelGameVpnGroupListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).RelGameVpnGroupList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_RelGameVpnGroupList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).RelGameVpnGroupList(ctx, req.(*RelGameVpnGroupListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameCustomerList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameCustomerListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameCustomerList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameCustomerList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameCustomerList(ctx, req.(*GameCustomerListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameCustomerAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameCustomerVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameCustomerAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameCustomerAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameCustomerAdd(ctx, req.(*GameCustomerVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameCustomerDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameCustomerDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameCustomerDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameCustomerDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameCategoryAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameCategoryVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameCategoryAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameCategoryAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameCategoryAdd(ctx, req.(*GameCategoryVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameCategoryUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameCategoryVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameCategoryUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameCategoryUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameCategoryUpdate(ctx, req.(*GameCategoryVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameCategoryDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameCategoryDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameCategoryDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameCategoryDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameCategoryGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameCategoryReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameCategoryGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameCategoryGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameCategoryGet(ctx, req.(*GameCategoryReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameCategoryList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GameCategoryListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameCategoryList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameCategoryList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameCategoryList(ctx, req.(*GameCategoryListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoGameClient_GameCategoryAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Request)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoGameClientServer).GameCategoryAll(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoGameClient_GameCategoryAll_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoGameClientServer).GameCategoryAll(ctx, req.(*Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- // GoGameClient_ServiceDesc is the grpc.ServiceDesc for GoGameClient service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var GoGameClient_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "gorpc.GoGameClient",
- HandlerType: (*GoGameClientServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "GameAdd",
- Handler: _GoGameClient_GameAdd_Handler,
- },
- {
- MethodName: "GameUpdate",
- Handler: _GoGameClient_GameUpdate_Handler,
- },
- {
- MethodName: "GameDel",
- Handler: _GoGameClient_GameDel_Handler,
- },
- {
- MethodName: "GameGet",
- Handler: _GoGameClient_GameGet_Handler,
- },
- {
- MethodName: "GameList",
- Handler: _GoGameClient_GameList_Handler,
- },
- {
- MethodName: "GameAll",
- Handler: _GoGameClient_GameAll_Handler,
- },
- {
- MethodName: "GameRedisHScanByName",
- Handler: _GoGameClient_GameRedisHScanByName_Handler,
- },
- {
- MethodName: "RelGameRankAdd",
- Handler: _GoGameClient_RelGameRankAdd_Handler,
- },
- {
- MethodName: "RelGameRankUpdate",
- Handler: _GoGameClient_RelGameRankUpdate_Handler,
- },
- {
- MethodName: "RelGameRankDel",
- Handler: _GoGameClient_RelGameRankDel_Handler,
- },
- {
- MethodName: "RelGameRankGet",
- Handler: _GoGameClient_RelGameRankGet_Handler,
- },
- {
- MethodName: "RelGameRankList",
- Handler: _GoGameClient_RelGameRankList_Handler,
- },
- {
- MethodName: "RelGameVpnGroupAdd",
- Handler: _GoGameClient_RelGameVpnGroupAdd_Handler,
- },
- {
- MethodName: "RelGameVpnGroupUpdate",
- Handler: _GoGameClient_RelGameVpnGroupUpdate_Handler,
- },
- {
- MethodName: "RelGameVpnGroupDel",
- Handler: _GoGameClient_RelGameVpnGroupDel_Handler,
- },
- {
- MethodName: "RelGameVpnGroupGet",
- Handler: _GoGameClient_RelGameVpnGroupGet_Handler,
- },
- {
- MethodName: "RelGameVpnGroupList",
- Handler: _GoGameClient_RelGameVpnGroupList_Handler,
- },
- {
- MethodName: "GameCustomerList",
- Handler: _GoGameClient_GameCustomerList_Handler,
- },
- {
- MethodName: "GameCustomerAdd",
- Handler: _GoGameClient_GameCustomerAdd_Handler,
- },
- {
- MethodName: "GameCustomerDel",
- Handler: _GoGameClient_GameCustomerDel_Handler,
- },
- {
- MethodName: "GameCategoryAdd",
- Handler: _GoGameClient_GameCategoryAdd_Handler,
- },
- {
- MethodName: "GameCategoryUpdate",
- Handler: _GoGameClient_GameCategoryUpdate_Handler,
- },
- {
- MethodName: "GameCategoryDel",
- Handler: _GoGameClient_GameCategoryDel_Handler,
- },
- {
- MethodName: "GameCategoryGet",
- Handler: _GoGameClient_GameCategoryGet_Handler,
- },
- {
- MethodName: "GameCategoryList",
- Handler: _GoGameClient_GameCategoryList_Handler,
- },
- {
- MethodName: "GameCategoryAll",
- Handler: _GoGameClient_GameCategoryAll_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "gorpc.proto",
- }
- const (
- GoPmpClient_Ping_FullMethodName = "/gorpc.GoPmpClient/Ping"
- GoPmpClient_GlobalParamAdd_FullMethodName = "/gorpc.GoPmpClient/GlobalParamAdd"
- GoPmpClient_GlobalParamUpdate_FullMethodName = "/gorpc.GoPmpClient/GlobalParamUpdate"
- GoPmpClient_GlobalParamDel_FullMethodName = "/gorpc.GoPmpClient/GlobalParamDel"
- GoPmpClient_GlobalParamGet_FullMethodName = "/gorpc.GoPmpClient/GlobalParamGet"
- GoPmpClient_GlobalParamGetWithLang_FullMethodName = "/gorpc.GoPmpClient/GlobalParamGetWithLang"
- GoPmpClient_GlobalParamList_FullMethodName = "/gorpc.GoPmpClient/GlobalParamList"
- GoPmpClient_ProductAdd_FullMethodName = "/gorpc.GoPmpClient/ProductAdd"
- GoPmpClient_ProductUpdate_FullMethodName = "/gorpc.GoPmpClient/ProductUpdate"
- GoPmpClient_ProductDel_FullMethodName = "/gorpc.GoPmpClient/ProductDel"
- GoPmpClient_ProductGet_FullMethodName = "/gorpc.GoPmpClient/ProductGet"
- GoPmpClient_ProductList_FullMethodName = "/gorpc.GoPmpClient/ProductList"
- GoPmpClient_ProductAll_FullMethodName = "/gorpc.GoPmpClient/ProductAll"
- GoPmpClient_ProductParamAdd_FullMethodName = "/gorpc.GoPmpClient/ProductParamAdd"
- GoPmpClient_ProductParamUpdate_FullMethodName = "/gorpc.GoPmpClient/ProductParamUpdate"
- GoPmpClient_ProductParamDel_FullMethodName = "/gorpc.GoPmpClient/ProductParamDel"
- GoPmpClient_ProductParamGet_FullMethodName = "/gorpc.GoPmpClient/ProductParamGet"
- GoPmpClient_ProductParamGetWithLang_FullMethodName = "/gorpc.GoPmpClient/ProductParamGetWithLang"
- GoPmpClient_ProductParamList_FullMethodName = "/gorpc.GoPmpClient/ProductParamList"
- GoPmpClient_ProductActionAdd_FullMethodName = "/gorpc.GoPmpClient/ProductActionAdd"
- GoPmpClient_ProductActionUpdate_FullMethodName = "/gorpc.GoPmpClient/ProductActionUpdate"
- GoPmpClient_ProductActionDel_FullMethodName = "/gorpc.GoPmpClient/ProductActionDel"
- GoPmpClient_ProductActionGet_FullMethodName = "/gorpc.GoPmpClient/ProductActionGet"
- GoPmpClient_ProductActionList_FullMethodName = "/gorpc.GoPmpClient/ProductActionList"
- GoPmpClient_ProductActionGroupAdd_FullMethodName = "/gorpc.GoPmpClient/ProductActionGroupAdd"
- GoPmpClient_ProductActionGroupUpdate_FullMethodName = "/gorpc.GoPmpClient/ProductActionGroupUpdate"
- GoPmpClient_ProductActionGroupDel_FullMethodName = "/gorpc.GoPmpClient/ProductActionGroupDel"
- GoPmpClient_ProductActionGroupGet_FullMethodName = "/gorpc.GoPmpClient/ProductActionGroupGet"
- GoPmpClient_ProductActionGroupList_FullMethodName = "/gorpc.GoPmpClient/ProductActionGroupList"
- GoPmpClient_ProductActionGroupDisable_FullMethodName = "/gorpc.GoPmpClient/ProductActionGroupDisable"
- GoPmpClient_ProductActionGroupEnable_FullMethodName = "/gorpc.GoPmpClient/ProductActionGroupEnable"
- GoPmpClient_ProductActionPolicyGroupAdd_FullMethodName = "/gorpc.GoPmpClient/ProductActionPolicyGroupAdd"
- GoPmpClient_ProductActionPolicyGroupUpdate_FullMethodName = "/gorpc.GoPmpClient/ProductActionPolicyGroupUpdate"
- GoPmpClient_ProductActionPolicyGroupDel_FullMethodName = "/gorpc.GoPmpClient/ProductActionPolicyGroupDel"
- GoPmpClient_ProductActionPolicyGroupGet_FullMethodName = "/gorpc.GoPmpClient/ProductActionPolicyGroupGet"
- GoPmpClient_ProductActionPolicyGroupList_FullMethodName = "/gorpc.GoPmpClient/ProductActionPolicyGroupList"
- GoPmpClient_ProductActionPolicyGroupDisable_FullMethodName = "/gorpc.GoPmpClient/ProductActionPolicyGroupDisable"
- GoPmpClient_ProductActionPolicyGroupEnable_FullMethodName = "/gorpc.GoPmpClient/ProductActionPolicyGroupEnable"
- GoPmpClient_ProductActionTypeAdd_FullMethodName = "/gorpc.GoPmpClient/ProductActionTypeAdd"
- GoPmpClient_ProductActionTypeUpdate_FullMethodName = "/gorpc.GoPmpClient/ProductActionTypeUpdate"
- GoPmpClient_ProductActionTypeDel_FullMethodName = "/gorpc.GoPmpClient/ProductActionTypeDel"
- GoPmpClient_ProductActionTypeGet_FullMethodName = "/gorpc.GoPmpClient/ProductActionTypeGet"
- GoPmpClient_ProductActionTypeList_FullMethodName = "/gorpc.GoPmpClient/ProductActionTypeList"
- GoPmpClient_AreaParamAdd_FullMethodName = "/gorpc.GoPmpClient/AreaParamAdd"
- GoPmpClient_AreaParamUpdate_FullMethodName = "/gorpc.GoPmpClient/AreaParamUpdate"
- GoPmpClient_AreaParamDel_FullMethodName = "/gorpc.GoPmpClient/AreaParamDel"
- GoPmpClient_AreaParamGet_FullMethodName = "/gorpc.GoPmpClient/AreaParamGet"
- GoPmpClient_AreaParamList_FullMethodName = "/gorpc.GoPmpClient/AreaParamList"
- GoPmpClient_NationalLanguageAdd_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageAdd"
- GoPmpClient_NationalLanguageUpdate_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageUpdate"
- GoPmpClient_NationalLanguageDel_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageDel"
- GoPmpClient_NationalLanguageGet_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageGet"
- GoPmpClient_NationalLanguageList_FullMethodName = "/gorpc.GoPmpClient/NationalLanguageList"
- GoPmpClient_TipAdd_FullMethodName = "/gorpc.GoPmpClient/TipAdd"
- GoPmpClient_TipUpdate_FullMethodName = "/gorpc.GoPmpClient/TipUpdate"
- GoPmpClient_TipDel_FullMethodName = "/gorpc.GoPmpClient/TipDel"
- GoPmpClient_TipGet_FullMethodName = "/gorpc.GoPmpClient/TipGet"
- GoPmpClient_TipList_FullMethodName = "/gorpc.GoPmpClient/TipList"
- GoPmpClient_DictAdd_FullMethodName = "/gorpc.GoPmpClient/DictAdd"
- GoPmpClient_DictUpdate_FullMethodName = "/gorpc.GoPmpClient/DictUpdate"
- GoPmpClient_DictDel_FullMethodName = "/gorpc.GoPmpClient/DictDel"
- GoPmpClient_DictGet_FullMethodName = "/gorpc.GoPmpClient/DictGet"
- GoPmpClient_DictList_FullMethodName = "/gorpc.GoPmpClient/DictList"
- GoPmpClient_UpgradePkgPlanAdd_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanAdd"
- GoPmpClient_UpgradePkgPlanUpdate_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanUpdate"
- GoPmpClient_UpgradePkgPlanDel_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDel"
- GoPmpClient_UpgradePkgPlanGet_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanGet"
- GoPmpClient_UpgradePkgPlanList_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanList"
- GoPmpClient_UpgradePkgPlanDetailAdd_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailAdd"
- GoPmpClient_UpgradePkgPlanDetailUpdate_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailUpdate"
- GoPmpClient_UpgradePkgPlanDetailDel_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailDel"
- GoPmpClient_UpgradePkgPlanDetailGet_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailGet"
- GoPmpClient_UpgradePkgPlanDetailList_FullMethodName = "/gorpc.GoPmpClient/UpgradePkgPlanDetailList"
- GoPmpClient_UpgradeResPlanAdd_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanAdd"
- GoPmpClient_UpgradeResPlanUpdate_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanUpdate"
- GoPmpClient_UpgradeResPlanDel_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDel"
- GoPmpClient_UpgradeResPlanGet_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanGet"
- GoPmpClient_UpgradeResPlanList_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanList"
- GoPmpClient_UpgradeResPlanDetailAdd_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailAdd"
- GoPmpClient_UpgradeResPlanDetailUpdate_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailUpdate"
- GoPmpClient_UpgradeResPlanDetailDel_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailDel"
- GoPmpClient_UpgradeResPlanDetailGet_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailGet"
- GoPmpClient_UpgradeResPlanDetailList_FullMethodName = "/gorpc.GoPmpClient/UpgradeResPlanDetailList"
- GoPmpClient_AdPlanAdd_FullMethodName = "/gorpc.GoPmpClient/AdPlanAdd"
- GoPmpClient_AdPlanUpdate_FullMethodName = "/gorpc.GoPmpClient/AdPlanUpdate"
- GoPmpClient_AdPlanDel_FullMethodName = "/gorpc.GoPmpClient/AdPlanDel"
- GoPmpClient_AdPlanGet_FullMethodName = "/gorpc.GoPmpClient/AdPlanGet"
- GoPmpClient_AdPlanList_FullMethodName = "/gorpc.GoPmpClient/AdPlanList"
- GoPmpClient_AdPlanDetailAdd_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailAdd"
- GoPmpClient_AdPlanDetailUpdate_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailUpdate"
- GoPmpClient_AdPlanDetailDel_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailDel"
- GoPmpClient_AdPlanDetailGet_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailGet"
- GoPmpClient_AdPlanDetailList_FullMethodName = "/gorpc.GoPmpClient/AdPlanDetailList"
- GoPmpClient_AdGlobalConfigGet_FullMethodName = "/gorpc.GoPmpClient/AdGlobalConfigGet"
- GoPmpClient_AdGlobalConfigUpdate_FullMethodName = "/gorpc.GoPmpClient/AdGlobalConfigUpdate"
- GoPmpClient_JobBatchAdd_FullMethodName = "/gorpc.GoPmpClient/JobBatchAdd"
- GoPmpClient_JobBatchAddWithTasks_FullMethodName = "/gorpc.GoPmpClient/JobBatchAddWithTasks"
- GoPmpClient_JobBatchUpdate_FullMethodName = "/gorpc.GoPmpClient/JobBatchUpdate"
- GoPmpClient_JobBatchDel_FullMethodName = "/gorpc.GoPmpClient/JobBatchDel"
- GoPmpClient_JobBatchGet_FullMethodName = "/gorpc.GoPmpClient/JobBatchGet"
- GoPmpClient_JobBatchGetWithTasks_FullMethodName = "/gorpc.GoPmpClient/JobBatchGetWithTasks"
- GoPmpClient_JobBatchList_FullMethodName = "/gorpc.GoPmpClient/JobBatchList"
- GoPmpClient_JobBatchListWithTasks_FullMethodName = "/gorpc.GoPmpClient/JobBatchListWithTasks"
- GoPmpClient_JobTasksAdd_FullMethodName = "/gorpc.GoPmpClient/JobTasksAdd"
- GoPmpClient_JobTasksUpdate_FullMethodName = "/gorpc.GoPmpClient/JobTasksUpdate"
- GoPmpClient_JobTasksDel_FullMethodName = "/gorpc.GoPmpClient/JobTasksDel"
- GoPmpClient_JobTasksGet_FullMethodName = "/gorpc.GoPmpClient/JobTasksGet"
- GoPmpClient_JobTasksList_FullMethodName = "/gorpc.GoPmpClient/JobTasksList"
- GoPmpClient_DeployConfigAdd_FullMethodName = "/gorpc.GoPmpClient/DeployConfigAdd"
- GoPmpClient_DeployConfigUpdate_FullMethodName = "/gorpc.GoPmpClient/DeployConfigUpdate"
- GoPmpClient_DeployConfigDel_FullMethodName = "/gorpc.GoPmpClient/DeployConfigDel"
- GoPmpClient_DeployConfigGet_FullMethodName = "/gorpc.GoPmpClient/DeployConfigGet"
- GoPmpClient_DeployConfigList_FullMethodName = "/gorpc.GoPmpClient/DeployConfigList"
- GoPmpClient_OperationLogAdd_FullMethodName = "/gorpc.GoPmpClient/OperationLogAdd"
- GoPmpClient_OperationLogUpdate_FullMethodName = "/gorpc.GoPmpClient/OperationLogUpdate"
- GoPmpClient_OperationLogGet_FullMethodName = "/gorpc.GoPmpClient/OperationLogGet"
- GoPmpClient_OperationLogList_FullMethodName = "/gorpc.GoPmpClient/OperationLogList"
- GoPmpClient_AnnouncePlanAdd_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanAdd"
- GoPmpClient_AnnouncePlanUpdate_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanUpdate"
- GoPmpClient_AnnouncePlanDel_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDel"
- GoPmpClient_AnnouncePlanGet_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanGet"
- GoPmpClient_AnnouncePlanList_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanList"
- GoPmpClient_AnnouncePlanDetailAdd_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailAdd"
- GoPmpClient_AnnouncePlanDetailUpdate_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailUpdate"
- GoPmpClient_AnnouncePlanDetailDel_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailDel"
- GoPmpClient_AnnouncePlanDetailGet_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailGet"
- GoPmpClient_AnnouncePlanDetailList_FullMethodName = "/gorpc.GoPmpClient/AnnouncePlanDetailList"
- GoPmpClient_ServiceTypesAdd_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesAdd"
- GoPmpClient_ServiceTypesUpdate_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesUpdate"
- GoPmpClient_ServiceTypesDel_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesDel"
- GoPmpClient_ServiceTypesGet_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesGet"
- GoPmpClient_ServiceTypesList_FullMethodName = "/gorpc.GoPmpClient/ServiceTypesList"
- GoPmpClient_ServiceSetsAdd_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsAdd"
- GoPmpClient_ServiceSetsUpdate_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsUpdate"
- GoPmpClient_ServiceSetsDel_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsDel"
- GoPmpClient_ServiceSetsGet_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsGet"
- GoPmpClient_ServiceSetsList_FullMethodName = "/gorpc.GoPmpClient/ServiceSetsList"
- GoPmpClient_MessagePushAdd_FullMethodName = "/gorpc.GoPmpClient/MessagePushAdd"
- GoPmpClient_MessagePushUpdate_FullMethodName = "/gorpc.GoPmpClient/MessagePushUpdate"
- GoPmpClient_MessagePushList_FullMethodName = "/gorpc.GoPmpClient/MessagePushList"
- )
- // GoPmpClientClient is the client API for GoPmpClient service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
- //
- // 基础服务: 产品管理,产品配置,升级配置、更新资源管理,资源版本管理,全局配置
- type GoPmpClientClient interface {
- Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
- // GlobalParamVo Model
- // GlobalParamAdd
- GlobalParamAdd(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error)
- GlobalParamUpdate(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error)
- GlobalParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- GlobalParamGet(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error)
- GlobalParamGetWithLang(ctx context.Context, in *GlobalParamGetReq, opts ...grpc.CallOption) (*GlobalParamVo, error)
- GlobalParamList(ctx context.Context, in *GlobalParamListReq, opts ...grpc.CallOption) (*GlobalParamListResp, error)
- // ProductVo Model
- // ProductAdd
- ProductAdd(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error)
- ProductUpdate(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error)
- ProductDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- ProductGet(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error)
- ProductList(ctx context.Context, in *ProductListReq, opts ...grpc.CallOption) (*ProductListResp, error)
- ProductAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ProductListResp, error)
- // ProductParamVo Model
- // ProductParamAdd
- ProductParamAdd(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error)
- ProductParamUpdate(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error)
- ProductParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- ProductParamGet(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error)
- ProductParamGetWithLang(ctx context.Context, in *ProductParamGetReq, opts ...grpc.CallOption) (*ProductParamVo, error)
- ProductParamList(ctx context.Context, in *ProductParamListReq, opts ...grpc.CallOption) (*ProductParamListResp, error)
- // ProductAction 产品行为配置
- ProductActionAdd(ctx context.Context, in *ProductActionVo, opts ...grpc.CallOption) (*ProductActionVo, error)
- ProductActionUpdate(ctx context.Context, in *ProductActionVo, opts ...grpc.CallOption) (*ProductActionVo, error)
- ProductActionDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- ProductActionGet(ctx context.Context, in *ProductActionReq, opts ...grpc.CallOption) (*ProductActionVo, error)
- ProductActionList(ctx context.Context, in *ProductActionListReq, opts ...grpc.CallOption) (*ProductActionListResp, error)
- // ProductActionGroup 产品行为分组
- ProductActionGroupAdd(ctx context.Context, in *ProductActionGroupVo, opts ...grpc.CallOption) (*ProductActionGroupVo, error)
- ProductActionGroupUpdate(ctx context.Context, in *ProductActionGroupVo, opts ...grpc.CallOption) (*ProductActionGroupVo, error)
- ProductActionGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- ProductActionGroupGet(ctx context.Context, in *ProductActionGroupReq, opts ...grpc.CallOption) (*ProductActionGroupVo, error)
- ProductActionGroupList(ctx context.Context, in *ProductActionGroupListReq, opts ...grpc.CallOption) (*ProductActionGroupListResp, error)
- ProductActionGroupDisable(ctx context.Context, in *ProductActionGroupDisableReq, opts ...grpc.CallOption) (*Empty, error)
- ProductActionGroupEnable(ctx context.Context, in *ProductActionGroupEnableReq, opts ...grpc.CallOption) (*Empty, error)
- // ProductActionPolicyGroup 产品行为策略分组
- ProductActionPolicyGroupAdd(ctx context.Context, in *ProductActionPolicyGroupVo, opts ...grpc.CallOption) (*ProductActionPolicyGroupVo, error)
- ProductActionPolicyGroupUpdate(ctx context.Context, in *ProductActionPolicyGroupVo, opts ...grpc.CallOption) (*ProductActionPolicyGroupVo, error)
- ProductActionPolicyGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- ProductActionPolicyGroupGet(ctx context.Context, in *ProductActionPolicyGroupReq, opts ...grpc.CallOption) (*ProductActionPolicyGroupVo, error)
- ProductActionPolicyGroupList(ctx context.Context, in *ProductActionPolicyGroupListReq, opts ...grpc.CallOption) (*ProductActionPolicyGroupListResp, error)
- ProductActionPolicyGroupDisable(ctx context.Context, in *ProductActionPolicyGroupDisableReq, opts ...grpc.CallOption) (*Empty, error)
- ProductActionPolicyGroupEnable(ctx context.Context, in *ProductActionPolicyGroupEnableReq, opts ...grpc.CallOption) (*Empty, error)
- // ProductActionType 产品行为类型
- ProductActionTypeAdd(ctx context.Context, in *ProductActionTypeVo, opts ...grpc.CallOption) (*ProductActionTypeVo, error)
- ProductActionTypeUpdate(ctx context.Context, in *ProductActionTypeVo, opts ...grpc.CallOption) (*ProductActionTypeVo, error)
- ProductActionTypeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- ProductActionTypeGet(ctx context.Context, in *ProductActionTypeReq, opts ...grpc.CallOption) (*ProductActionTypeVo, error)
- ProductActionTypeList(ctx context.Context, in *ProductActionTypeListReq, opts ...grpc.CallOption) (*ProductActionTypeListResp, error)
- // AreaParamVo Model
- // AreaParamAdd
- AreaParamAdd(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error)
- AreaParamUpdate(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error)
- AreaParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- AreaParamGet(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error)
- AreaParamList(ctx context.Context, in *AreaParamListReq, opts ...grpc.CallOption) (*AreaParamListResp, error)
- // NationalLanguage Model
- // NationalLanguageAdd
- NationalLanguageAdd(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error)
- NationalLanguageUpdate(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error)
- NationalLanguageDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- NationalLanguageGet(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error)
- NationalLanguageList(ctx context.Context, in *NationalLanguageListReq, opts ...grpc.CallOption) (*NationalLanguageListResp, error)
- // Tip Model
- // TipAdd
- TipAdd(ctx context.Context, in *TipVo, opts ...grpc.CallOption) (*TipVo, error)
- TipUpdate(ctx context.Context, in *TipVo, opts ...grpc.CallOption) (*TipVo, error)
- TipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- TipGet(ctx context.Context, in *TipGetReq, opts ...grpc.CallOption) (*TipVo, error)
- TipList(ctx context.Context, in *TipListReq, opts ...grpc.CallOption) (*TipListResp, error)
- // Dict Model
- // DictAdd
- DictAdd(ctx context.Context, in *DictVo, opts ...grpc.CallOption) (*DictVo, error)
- DictUpdate(ctx context.Context, in *DictVo, opts ...grpc.CallOption) (*DictVo, error)
- DictDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- DictGet(ctx context.Context, in *DictGetReq, opts ...grpc.CallOption) (*DictVo, error)
- DictList(ctx context.Context, in *DictListReq, opts ...grpc.CallOption) (*DictListResp, error)
- // UpgradePkgPlan Model
- // UpgradePkgPlanAdd
- UpgradePkgPlanAdd(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error)
- UpgradePkgPlanUpdate(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error)
- UpgradePkgPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- UpgradePkgPlanGet(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error)
- UpgradePkgPlanList(ctx context.Context, in *UpgradePkgPlanListReq, opts ...grpc.CallOption) (*UpgradePkgPlanListResp, error)
- // UpgradePkgPlanDetail Model
- // UpgradePkgPlanDetailAdd
- UpgradePkgPlanDetailAdd(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error)
- UpgradePkgPlanDetailUpdate(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error)
- UpgradePkgPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- UpgradePkgPlanDetailGet(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error)
- UpgradePkgPlanDetailList(ctx context.Context, in *UpgradePkgPlanDetailListReq, opts ...grpc.CallOption) (*UpgradePkgPlanDetailListResp, error)
- // UpgradeResPlan Model
- // UpgradeResPlanAdd
- UpgradeResPlanAdd(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error)
- UpgradeResPlanUpdate(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error)
- UpgradeResPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- UpgradeResPlanGet(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error)
- UpgradeResPlanList(ctx context.Context, in *UpgradeResPlanListReq, opts ...grpc.CallOption) (*UpgradeResPlanListResp, error)
- // UpgradeResPlanDetail Model
- // UpgradeResPlanDetailAdd
- UpgradeResPlanDetailAdd(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error)
- UpgradeResPlanDetailUpdate(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error)
- UpgradeResPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- UpgradeResPlanDetailGet(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error)
- UpgradeResPlanDetailList(ctx context.Context, in *UpgradeResPlanDetailListReq, opts ...grpc.CallOption) (*UpgradeResPlanDetailListResp, error)
- // AdPlan Model
- // AdPlanAdd
- AdPlanAdd(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error)
- AdPlanUpdate(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error)
- AdPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- AdPlanGet(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error)
- AdPlanList(ctx context.Context, in *AdPlanListReq, opts ...grpc.CallOption) (*AdPlanListResp, error)
- // AdPlanDetail Model
- // AdPlanDetailAdd
- AdPlanDetailAdd(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error)
- AdPlanDetailUpdate(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error)
- AdPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- AdPlanDetailGet(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error)
- AdPlanDetailList(ctx context.Context, in *AdPlanDetailListReq, opts ...grpc.CallOption) (*AdPlanDetailListResp, error)
- // AdGlobalConfig Model
- // AdGlobalConfigGet
- AdGlobalConfigGet(ctx context.Context, in *AdGlobalConfigGetReq, opts ...grpc.CallOption) (*AdGlobalConfigVo, error)
- AdGlobalConfigUpdate(ctx context.Context, in *AdGlobalConfigVo, opts ...grpc.CallOption) (*AdGlobalConfigVo, error)
- // JobBatch Model
- // JobBatchAdd
- JobBatchAdd(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error)
- JobBatchAddWithTasks(ctx context.Context, in *JobBatchWithTasksVo, opts ...grpc.CallOption) (*JobBatchWithTasksVo, error)
- JobBatchUpdate(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error)
- JobBatchDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- JobBatchGet(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error)
- JobBatchGetWithTasks(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchWithTasksVo, error)
- JobBatchList(ctx context.Context, in *JobBatchListReq, opts ...grpc.CallOption) (*JobBatchListResp, error)
- JobBatchListWithTasks(ctx context.Context, in *JobBatchListReq, opts ...grpc.CallOption) (*JobBatchListWithTasksResp, error)
- // JobTasks Model
- // JobTasksAdd
- JobTasksAdd(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error)
- JobTasksUpdate(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error)
- JobTasksDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- JobTasksGet(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error)
- JobTasksList(ctx context.Context, in *JobTasksListReq, opts ...grpc.CallOption) (*JobTasksListResp, error)
- // DeployConfig Model
- // DeployConfigAdd
- DeployConfigAdd(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error)
- DeployConfigUpdate(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error)
- DeployConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- DeployConfigGet(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error)
- DeployConfigList(ctx context.Context, in *DeployConfigListReq, opts ...grpc.CallOption) (*DeployConfigListResp, error)
- // OperationLog Model
- // OperationLogAdd
- OperationLogAdd(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error)
- OperationLogUpdate(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error)
- OperationLogGet(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error)
- OperationLogList(ctx context.Context, in *OperationLogListReq, opts ...grpc.CallOption) (*OperationLogListResp, error)
- // AnnouncePlan Model
- // AnnouncePlanAdd
- AnnouncePlanAdd(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error)
- AnnouncePlanUpdate(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error)
- AnnouncePlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- AnnouncePlanGet(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error)
- AnnouncePlanList(ctx context.Context, in *AnnouncePlanListReq, opts ...grpc.CallOption) (*AnnouncePlanListResp, error)
- // AnnouncePlanDetail Model
- // AnnouncePlanDetailAdd
- AnnouncePlanDetailAdd(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error)
- AnnouncePlanDetailUpdate(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error)
- AnnouncePlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- AnnouncePlanDetailGet(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error)
- AnnouncePlanDetailList(ctx context.Context, in *AnnouncePlanDetailListReq, opts ...grpc.CallOption) (*AnnouncePlanDetailListResp, error)
- // ServiceTypes Model
- // ServiceTypesAdd
- ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesVo, error)
- ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesVo, error)
- ServiceTypesDel(ctx context.Context, in *ServiceTypesDelReq, opts ...grpc.CallOption) (*Empty, error)
- ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesVo, error)
- ServiceTypesList(ctx context.Context, in *ServiceTypesListReq, opts ...grpc.CallOption) (*ServiceTypesListResp, error)
- // ServiceSets Model
- // ServiceSetsAdd
- ServiceSetsAdd(ctx context.Context, in *ServiceSetsAddReq, opts ...grpc.CallOption) (*ServiceSetsVo, error)
- ServiceSetsUpdate(ctx context.Context, in *ServiceSetsUpdateReq, opts ...grpc.CallOption) (*ServiceSetsVo, error)
- ServiceSetsDel(ctx context.Context, in *ServiceSetsDelReq, opts ...grpc.CallOption) (*Empty, error)
- ServiceSetsGet(ctx context.Context, in *ServiceSetsGetReq, opts ...grpc.CallOption) (*ServiceSetsVo, error)
- ServiceSetsList(ctx context.Context, in *ServiceSetsListReq, opts ...grpc.CallOption) (*ServiceSetsListResp, error)
- // MessagePush Model
- // MessagePushAdd
- MessagePushAdd(ctx context.Context, in *MessagePushVo, opts ...grpc.CallOption) (*MessagePushVo, error)
- MessagePushUpdate(ctx context.Context, in *MessagePushVo, opts ...grpc.CallOption) (*MessagePushVo, error)
- MessagePushList(ctx context.Context, in *MessagePushListReq, opts ...grpc.CallOption) (*MessagePushListResp, error)
- }
- type goPmpClientClient struct {
- cc grpc.ClientConnInterface
- }
- func NewGoPmpClientClient(cc grpc.ClientConnInterface) GoPmpClientClient {
- return &goPmpClientClient{cc}
- }
- func (c *goPmpClientClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Response)
- err := c.cc.Invoke(ctx, GoPmpClient_Ping_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) GlobalParamAdd(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GlobalParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) GlobalParamUpdate(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GlobalParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) GlobalParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) GlobalParamGet(ctx context.Context, in *GlobalParamVo, opts ...grpc.CallOption) (*GlobalParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GlobalParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) GlobalParamGetWithLang(ctx context.Context, in *GlobalParamGetReq, opts ...grpc.CallOption) (*GlobalParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GlobalParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamGetWithLang_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) GlobalParamList(ctx context.Context, in *GlobalParamListReq, opts ...grpc.CallOption) (*GlobalParamListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GlobalParamListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_GlobalParamList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductAdd(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductUpdate(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductGet(ctx context.Context, in *ProductVo, opts ...grpc.CallOption) (*ProductVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductList(ctx context.Context, in *ProductListReq, opts ...grpc.CallOption) (*ProductListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductAll(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ProductListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductAll_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductParamAdd(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductParamAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductParamUpdate(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductParamUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductParamDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductParamGet(ctx context.Context, in *ProductParamVo, opts ...grpc.CallOption) (*ProductParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductParamGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductParamGetWithLang(ctx context.Context, in *ProductParamGetReq, opts ...grpc.CallOption) (*ProductParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductParamGetWithLang_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductParamList(ctx context.Context, in *ProductParamListReq, opts ...grpc.CallOption) (*ProductParamListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductParamListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductParamList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionAdd(ctx context.Context, in *ProductActionVo, opts ...grpc.CallOption) (*ProductActionVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionUpdate(ctx context.Context, in *ProductActionVo, opts ...grpc.CallOption) (*ProductActionVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionGet(ctx context.Context, in *ProductActionReq, opts ...grpc.CallOption) (*ProductActionVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionList(ctx context.Context, in *ProductActionListReq, opts ...grpc.CallOption) (*ProductActionListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionGroupAdd(ctx context.Context, in *ProductActionGroupVo, opts ...grpc.CallOption) (*ProductActionGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionGroupVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionGroupAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionGroupUpdate(ctx context.Context, in *ProductActionGroupVo, opts ...grpc.CallOption) (*ProductActionGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionGroupVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionGroupUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionGroupDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionGroupGet(ctx context.Context, in *ProductActionGroupReq, opts ...grpc.CallOption) (*ProductActionGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionGroupVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionGroupGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionGroupList(ctx context.Context, in *ProductActionGroupListReq, opts ...grpc.CallOption) (*ProductActionGroupListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionGroupListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionGroupList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionGroupDisable(ctx context.Context, in *ProductActionGroupDisableReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionGroupDisable_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionGroupEnable(ctx context.Context, in *ProductActionGroupEnableReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionGroupEnable_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionPolicyGroupAdd(ctx context.Context, in *ProductActionPolicyGroupVo, opts ...grpc.CallOption) (*ProductActionPolicyGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionPolicyGroupVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionPolicyGroupAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionPolicyGroupUpdate(ctx context.Context, in *ProductActionPolicyGroupVo, opts ...grpc.CallOption) (*ProductActionPolicyGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionPolicyGroupVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionPolicyGroupUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionPolicyGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionPolicyGroupDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionPolicyGroupGet(ctx context.Context, in *ProductActionPolicyGroupReq, opts ...grpc.CallOption) (*ProductActionPolicyGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionPolicyGroupVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionPolicyGroupGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionPolicyGroupList(ctx context.Context, in *ProductActionPolicyGroupListReq, opts ...grpc.CallOption) (*ProductActionPolicyGroupListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionPolicyGroupListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionPolicyGroupList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionPolicyGroupDisable(ctx context.Context, in *ProductActionPolicyGroupDisableReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionPolicyGroupDisable_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionPolicyGroupEnable(ctx context.Context, in *ProductActionPolicyGroupEnableReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionPolicyGroupEnable_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionTypeAdd(ctx context.Context, in *ProductActionTypeVo, opts ...grpc.CallOption) (*ProductActionTypeVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionTypeVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionTypeAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionTypeUpdate(ctx context.Context, in *ProductActionTypeVo, opts ...grpc.CallOption) (*ProductActionTypeVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionTypeVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionTypeUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionTypeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionTypeDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionTypeGet(ctx context.Context, in *ProductActionTypeReq, opts ...grpc.CallOption) (*ProductActionTypeVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionTypeVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionTypeGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ProductActionTypeList(ctx context.Context, in *ProductActionTypeListReq, opts ...grpc.CallOption) (*ProductActionTypeListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ProductActionTypeListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_ProductActionTypeList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AreaParamAdd(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AreaParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AreaParamAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AreaParamUpdate(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AreaParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AreaParamUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AreaParamDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_AreaParamDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AreaParamGet(ctx context.Context, in *AreaParamVo, opts ...grpc.CallOption) (*AreaParamVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AreaParamVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AreaParamGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AreaParamList(ctx context.Context, in *AreaParamListReq, opts ...grpc.CallOption) (*AreaParamListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AreaParamListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_AreaParamList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) NationalLanguageAdd(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(NationalLanguageVo)
- err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) NationalLanguageUpdate(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(NationalLanguageVo)
- err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) NationalLanguageDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) NationalLanguageGet(ctx context.Context, in *NationalLanguageVo, opts ...grpc.CallOption) (*NationalLanguageVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(NationalLanguageVo)
- err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) NationalLanguageList(ctx context.Context, in *NationalLanguageListReq, opts ...grpc.CallOption) (*NationalLanguageListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(NationalLanguageListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_NationalLanguageList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) TipAdd(ctx context.Context, in *TipVo, opts ...grpc.CallOption) (*TipVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(TipVo)
- err := c.cc.Invoke(ctx, GoPmpClient_TipAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) TipUpdate(ctx context.Context, in *TipVo, opts ...grpc.CallOption) (*TipVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(TipVo)
- err := c.cc.Invoke(ctx, GoPmpClient_TipUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) TipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_TipDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) TipGet(ctx context.Context, in *TipGetReq, opts ...grpc.CallOption) (*TipVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(TipVo)
- err := c.cc.Invoke(ctx, GoPmpClient_TipGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) TipList(ctx context.Context, in *TipListReq, opts ...grpc.CallOption) (*TipListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(TipListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_TipList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DictAdd(ctx context.Context, in *DictVo, opts ...grpc.CallOption) (*DictVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DictVo)
- err := c.cc.Invoke(ctx, GoPmpClient_DictAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DictUpdate(ctx context.Context, in *DictVo, opts ...grpc.CallOption) (*DictVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DictVo)
- err := c.cc.Invoke(ctx, GoPmpClient_DictUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DictDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_DictDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DictGet(ctx context.Context, in *DictGetReq, opts ...grpc.CallOption) (*DictVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DictVo)
- err := c.cc.Invoke(ctx, GoPmpClient_DictGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DictList(ctx context.Context, in *DictListReq, opts ...grpc.CallOption) (*DictListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DictListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_DictList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanAdd(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradePkgPlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanUpdate(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradePkgPlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanGet(ctx context.Context, in *UpgradePkgPlanVo, opts ...grpc.CallOption) (*UpgradePkgPlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradePkgPlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanList(ctx context.Context, in *UpgradePkgPlanListReq, opts ...grpc.CallOption) (*UpgradePkgPlanListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradePkgPlanListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanDetailAdd(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradePkgPlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanDetailUpdate(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradePkgPlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanDetailGet(ctx context.Context, in *UpgradePkgPlanDetailVo, opts ...grpc.CallOption) (*UpgradePkgPlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradePkgPlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradePkgPlanDetailList(ctx context.Context, in *UpgradePkgPlanDetailListReq, opts ...grpc.CallOption) (*UpgradePkgPlanDetailListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradePkgPlanDetailListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradePkgPlanDetailList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanAdd(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradeResPlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanUpdate(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradeResPlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanGet(ctx context.Context, in *UpgradeResPlanVo, opts ...grpc.CallOption) (*UpgradeResPlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradeResPlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanList(ctx context.Context, in *UpgradeResPlanListReq, opts ...grpc.CallOption) (*UpgradeResPlanListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradeResPlanListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanDetailAdd(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradeResPlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanDetailUpdate(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradeResPlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanDetailGet(ctx context.Context, in *UpgradeResPlanDetailVo, opts ...grpc.CallOption) (*UpgradeResPlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradeResPlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) UpgradeResPlanDetailList(ctx context.Context, in *UpgradeResPlanDetailListReq, opts ...grpc.CallOption) (*UpgradeResPlanDetailListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpgradeResPlanDetailListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_UpgradeResPlanDetailList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanAdd(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdPlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanUpdate(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdPlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanGet(ctx context.Context, in *AdPlanVo, opts ...grpc.CallOption) (*AdPlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdPlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanList(ctx context.Context, in *AdPlanListReq, opts ...grpc.CallOption) (*AdPlanListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdPlanListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanDetailAdd(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdPlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanDetailUpdate(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdPlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanDetailGet(ctx context.Context, in *AdPlanDetailVo, opts ...grpc.CallOption) (*AdPlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdPlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdPlanDetailList(ctx context.Context, in *AdPlanDetailListReq, opts ...grpc.CallOption) (*AdPlanDetailListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdPlanDetailListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_AdPlanDetailList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdGlobalConfigGet(ctx context.Context, in *AdGlobalConfigGetReq, opts ...grpc.CallOption) (*AdGlobalConfigVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdGlobalConfigVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AdGlobalConfigGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AdGlobalConfigUpdate(ctx context.Context, in *AdGlobalConfigVo, opts ...grpc.CallOption) (*AdGlobalConfigVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdGlobalConfigVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AdGlobalConfigUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobBatchAdd(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobBatchVo)
- err := c.cc.Invoke(ctx, GoPmpClient_JobBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobBatchAddWithTasks(ctx context.Context, in *JobBatchWithTasksVo, opts ...grpc.CallOption) (*JobBatchWithTasksVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobBatchWithTasksVo)
- err := c.cc.Invoke(ctx, GoPmpClient_JobBatchAddWithTasks_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobBatchUpdate(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobBatchVo)
- err := c.cc.Invoke(ctx, GoPmpClient_JobBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobBatchDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_JobBatchDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobBatchGet(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobBatchVo)
- err := c.cc.Invoke(ctx, GoPmpClient_JobBatchGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobBatchGetWithTasks(ctx context.Context, in *JobBatchVo, opts ...grpc.CallOption) (*JobBatchWithTasksVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobBatchWithTasksVo)
- err := c.cc.Invoke(ctx, GoPmpClient_JobBatchGetWithTasks_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobBatchList(ctx context.Context, in *JobBatchListReq, opts ...grpc.CallOption) (*JobBatchListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobBatchListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_JobBatchList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobBatchListWithTasks(ctx context.Context, in *JobBatchListReq, opts ...grpc.CallOption) (*JobBatchListWithTasksResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobBatchListWithTasksResp)
- err := c.cc.Invoke(ctx, GoPmpClient_JobBatchListWithTasks_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobTasksAdd(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobTasksVo)
- err := c.cc.Invoke(ctx, GoPmpClient_JobTasksAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobTasksUpdate(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobTasksVo)
- err := c.cc.Invoke(ctx, GoPmpClient_JobTasksUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobTasksDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_JobTasksDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobTasksGet(ctx context.Context, in *JobTasksVo, opts ...grpc.CallOption) (*JobTasksVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobTasksVo)
- err := c.cc.Invoke(ctx, GoPmpClient_JobTasksGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) JobTasksList(ctx context.Context, in *JobTasksListReq, opts ...grpc.CallOption) (*JobTasksListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(JobTasksListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_JobTasksList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DeployConfigAdd(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeployConfigVo)
- err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DeployConfigUpdate(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeployConfigVo)
- err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DeployConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DeployConfigGet(ctx context.Context, in *DeployConfigVo, opts ...grpc.CallOption) (*DeployConfigVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeployConfigVo)
- err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) DeployConfigList(ctx context.Context, in *DeployConfigListReq, opts ...grpc.CallOption) (*DeployConfigListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeployConfigListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_DeployConfigList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) OperationLogAdd(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(OperationLogVo)
- err := c.cc.Invoke(ctx, GoPmpClient_OperationLogAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) OperationLogUpdate(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(OperationLogVo)
- err := c.cc.Invoke(ctx, GoPmpClient_OperationLogUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) OperationLogGet(ctx context.Context, in *OperationLogVo, opts ...grpc.CallOption) (*OperationLogVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(OperationLogVo)
- err := c.cc.Invoke(ctx, GoPmpClient_OperationLogGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) OperationLogList(ctx context.Context, in *OperationLogListReq, opts ...grpc.CallOption) (*OperationLogListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(OperationLogListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_OperationLogList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanAdd(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AnnouncePlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanUpdate(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AnnouncePlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanGet(ctx context.Context, in *AnnouncePlanVo, opts ...grpc.CallOption) (*AnnouncePlanVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AnnouncePlanVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanList(ctx context.Context, in *AnnouncePlanListReq, opts ...grpc.CallOption) (*AnnouncePlanListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AnnouncePlanListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanDetailAdd(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AnnouncePlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanDetailUpdate(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AnnouncePlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanDetailDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanDetailGet(ctx context.Context, in *AnnouncePlanDetailVo, opts ...grpc.CallOption) (*AnnouncePlanDetailVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AnnouncePlanDetailVo)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) AnnouncePlanDetailList(ctx context.Context, in *AnnouncePlanDetailListReq, opts ...grpc.CallOption) (*AnnouncePlanDetailListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AnnouncePlanDetailListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_AnnouncePlanDetailList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceTypesVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceTypesVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceTypesDel(ctx context.Context, in *ServiceTypesDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceTypesVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceTypesList(ctx context.Context, in *ServiceTypesListReq, opts ...grpc.CallOption) (*ServiceTypesListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceTypesListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceTypesList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceSetsAdd(ctx context.Context, in *ServiceSetsAddReq, opts ...grpc.CallOption) (*ServiceSetsVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceSetsVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceSetsUpdate(ctx context.Context, in *ServiceSetsUpdateReq, opts ...grpc.CallOption) (*ServiceSetsVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceSetsVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceSetsDel(ctx context.Context, in *ServiceSetsDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceSetsGet(ctx context.Context, in *ServiceSetsGetReq, opts ...grpc.CallOption) (*ServiceSetsVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceSetsVo)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) ServiceSetsList(ctx context.Context, in *ServiceSetsListReq, opts ...grpc.CallOption) (*ServiceSetsListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceSetsListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_ServiceSetsList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) MessagePushAdd(ctx context.Context, in *MessagePushVo, opts ...grpc.CallOption) (*MessagePushVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(MessagePushVo)
- err := c.cc.Invoke(ctx, GoPmpClient_MessagePushAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) MessagePushUpdate(ctx context.Context, in *MessagePushVo, opts ...grpc.CallOption) (*MessagePushVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(MessagePushVo)
- err := c.cc.Invoke(ctx, GoPmpClient_MessagePushUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPmpClientClient) MessagePushList(ctx context.Context, in *MessagePushListReq, opts ...grpc.CallOption) (*MessagePushListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(MessagePushListResp)
- err := c.cc.Invoke(ctx, GoPmpClient_MessagePushList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // GoPmpClientServer is the server API for GoPmpClient service.
- // All implementations must embed UnimplementedGoPmpClientServer
- // for forward compatibility.
- //
- // 基础服务: 产品管理,产品配置,升级配置、更新资源管理,资源版本管理,全局配置
- type GoPmpClientServer interface {
- Ping(context.Context, *Request) (*Response, error)
- // GlobalParamVo Model
- // GlobalParamAdd
- GlobalParamAdd(context.Context, *GlobalParamVo) (*GlobalParamVo, error)
- GlobalParamUpdate(context.Context, *GlobalParamVo) (*GlobalParamVo, error)
- GlobalParamDel(context.Context, *Ids) (*Empty, error)
- GlobalParamGet(context.Context, *GlobalParamVo) (*GlobalParamVo, error)
- GlobalParamGetWithLang(context.Context, *GlobalParamGetReq) (*GlobalParamVo, error)
- GlobalParamList(context.Context, *GlobalParamListReq) (*GlobalParamListResp, error)
- // ProductVo Model
- // ProductAdd
- ProductAdd(context.Context, *ProductVo) (*ProductVo, error)
- ProductUpdate(context.Context, *ProductVo) (*ProductVo, error)
- ProductDel(context.Context, *Ids) (*Empty, error)
- ProductGet(context.Context, *ProductVo) (*ProductVo, error)
- ProductList(context.Context, *ProductListReq) (*ProductListResp, error)
- ProductAll(context.Context, *Request) (*ProductListResp, error)
- // ProductParamVo Model
- // ProductParamAdd
- ProductParamAdd(context.Context, *ProductParamVo) (*ProductParamVo, error)
- ProductParamUpdate(context.Context, *ProductParamVo) (*ProductParamVo, error)
- ProductParamDel(context.Context, *Ids) (*Empty, error)
- ProductParamGet(context.Context, *ProductParamVo) (*ProductParamVo, error)
- ProductParamGetWithLang(context.Context, *ProductParamGetReq) (*ProductParamVo, error)
- ProductParamList(context.Context, *ProductParamListReq) (*ProductParamListResp, error)
- // ProductAction 产品行为配置
- ProductActionAdd(context.Context, *ProductActionVo) (*ProductActionVo, error)
- ProductActionUpdate(context.Context, *ProductActionVo) (*ProductActionVo, error)
- ProductActionDel(context.Context, *Ids) (*Empty, error)
- ProductActionGet(context.Context, *ProductActionReq) (*ProductActionVo, error)
- ProductActionList(context.Context, *ProductActionListReq) (*ProductActionListResp, error)
- // ProductActionGroup 产品行为分组
- ProductActionGroupAdd(context.Context, *ProductActionGroupVo) (*ProductActionGroupVo, error)
- ProductActionGroupUpdate(context.Context, *ProductActionGroupVo) (*ProductActionGroupVo, error)
- ProductActionGroupDel(context.Context, *Ids) (*Empty, error)
- ProductActionGroupGet(context.Context, *ProductActionGroupReq) (*ProductActionGroupVo, error)
- ProductActionGroupList(context.Context, *ProductActionGroupListReq) (*ProductActionGroupListResp, error)
- ProductActionGroupDisable(context.Context, *ProductActionGroupDisableReq) (*Empty, error)
- ProductActionGroupEnable(context.Context, *ProductActionGroupEnableReq) (*Empty, error)
- // ProductActionPolicyGroup 产品行为策略分组
- ProductActionPolicyGroupAdd(context.Context, *ProductActionPolicyGroupVo) (*ProductActionPolicyGroupVo, error)
- ProductActionPolicyGroupUpdate(context.Context, *ProductActionPolicyGroupVo) (*ProductActionPolicyGroupVo, error)
- ProductActionPolicyGroupDel(context.Context, *Ids) (*Empty, error)
- ProductActionPolicyGroupGet(context.Context, *ProductActionPolicyGroupReq) (*ProductActionPolicyGroupVo, error)
- ProductActionPolicyGroupList(context.Context, *ProductActionPolicyGroupListReq) (*ProductActionPolicyGroupListResp, error)
- ProductActionPolicyGroupDisable(context.Context, *ProductActionPolicyGroupDisableReq) (*Empty, error)
- ProductActionPolicyGroupEnable(context.Context, *ProductActionPolicyGroupEnableReq) (*Empty, error)
- // ProductActionType 产品行为类型
- ProductActionTypeAdd(context.Context, *ProductActionTypeVo) (*ProductActionTypeVo, error)
- ProductActionTypeUpdate(context.Context, *ProductActionTypeVo) (*ProductActionTypeVo, error)
- ProductActionTypeDel(context.Context, *Ids) (*Empty, error)
- ProductActionTypeGet(context.Context, *ProductActionTypeReq) (*ProductActionTypeVo, error)
- ProductActionTypeList(context.Context, *ProductActionTypeListReq) (*ProductActionTypeListResp, error)
- // AreaParamVo Model
- // AreaParamAdd
- AreaParamAdd(context.Context, *AreaParamVo) (*AreaParamVo, error)
- AreaParamUpdate(context.Context, *AreaParamVo) (*AreaParamVo, error)
- AreaParamDel(context.Context, *Ids) (*Empty, error)
- AreaParamGet(context.Context, *AreaParamVo) (*AreaParamVo, error)
- AreaParamList(context.Context, *AreaParamListReq) (*AreaParamListResp, error)
- // NationalLanguage Model
- // NationalLanguageAdd
- NationalLanguageAdd(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error)
- NationalLanguageUpdate(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error)
- NationalLanguageDel(context.Context, *Ids) (*Empty, error)
- NationalLanguageGet(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error)
- NationalLanguageList(context.Context, *NationalLanguageListReq) (*NationalLanguageListResp, error)
- // Tip Model
- // TipAdd
- TipAdd(context.Context, *TipVo) (*TipVo, error)
- TipUpdate(context.Context, *TipVo) (*TipVo, error)
- TipDel(context.Context, *Ids) (*Empty, error)
- TipGet(context.Context, *TipGetReq) (*TipVo, error)
- TipList(context.Context, *TipListReq) (*TipListResp, error)
- // Dict Model
- // DictAdd
- DictAdd(context.Context, *DictVo) (*DictVo, error)
- DictUpdate(context.Context, *DictVo) (*DictVo, error)
- DictDel(context.Context, *Ids) (*Empty, error)
- DictGet(context.Context, *DictGetReq) (*DictVo, error)
- DictList(context.Context, *DictListReq) (*DictListResp, error)
- // UpgradePkgPlan Model
- // UpgradePkgPlanAdd
- UpgradePkgPlanAdd(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error)
- UpgradePkgPlanUpdate(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error)
- UpgradePkgPlanDel(context.Context, *Ids) (*Empty, error)
- UpgradePkgPlanGet(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error)
- UpgradePkgPlanList(context.Context, *UpgradePkgPlanListReq) (*UpgradePkgPlanListResp, error)
- // UpgradePkgPlanDetail Model
- // UpgradePkgPlanDetailAdd
- UpgradePkgPlanDetailAdd(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error)
- UpgradePkgPlanDetailUpdate(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error)
- UpgradePkgPlanDetailDel(context.Context, *Ids) (*Empty, error)
- UpgradePkgPlanDetailGet(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error)
- UpgradePkgPlanDetailList(context.Context, *UpgradePkgPlanDetailListReq) (*UpgradePkgPlanDetailListResp, error)
- // UpgradeResPlan Model
- // UpgradeResPlanAdd
- UpgradeResPlanAdd(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error)
- UpgradeResPlanUpdate(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error)
- UpgradeResPlanDel(context.Context, *Ids) (*Empty, error)
- UpgradeResPlanGet(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error)
- UpgradeResPlanList(context.Context, *UpgradeResPlanListReq) (*UpgradeResPlanListResp, error)
- // UpgradeResPlanDetail Model
- // UpgradeResPlanDetailAdd
- UpgradeResPlanDetailAdd(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error)
- UpgradeResPlanDetailUpdate(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error)
- UpgradeResPlanDetailDel(context.Context, *Ids) (*Empty, error)
- UpgradeResPlanDetailGet(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error)
- UpgradeResPlanDetailList(context.Context, *UpgradeResPlanDetailListReq) (*UpgradeResPlanDetailListResp, error)
- // AdPlan Model
- // AdPlanAdd
- AdPlanAdd(context.Context, *AdPlanVo) (*AdPlanVo, error)
- AdPlanUpdate(context.Context, *AdPlanVo) (*AdPlanVo, error)
- AdPlanDel(context.Context, *Ids) (*Empty, error)
- AdPlanGet(context.Context, *AdPlanVo) (*AdPlanVo, error)
- AdPlanList(context.Context, *AdPlanListReq) (*AdPlanListResp, error)
- // AdPlanDetail Model
- // AdPlanDetailAdd
- AdPlanDetailAdd(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error)
- AdPlanDetailUpdate(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error)
- AdPlanDetailDel(context.Context, *Ids) (*Empty, error)
- AdPlanDetailGet(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error)
- AdPlanDetailList(context.Context, *AdPlanDetailListReq) (*AdPlanDetailListResp, error)
- // AdGlobalConfig Model
- // AdGlobalConfigGet
- AdGlobalConfigGet(context.Context, *AdGlobalConfigGetReq) (*AdGlobalConfigVo, error)
- AdGlobalConfigUpdate(context.Context, *AdGlobalConfigVo) (*AdGlobalConfigVo, error)
- // JobBatch Model
- // JobBatchAdd
- JobBatchAdd(context.Context, *JobBatchVo) (*JobBatchVo, error)
- JobBatchAddWithTasks(context.Context, *JobBatchWithTasksVo) (*JobBatchWithTasksVo, error)
- JobBatchUpdate(context.Context, *JobBatchVo) (*JobBatchVo, error)
- JobBatchDel(context.Context, *Ids) (*Empty, error)
- JobBatchGet(context.Context, *JobBatchVo) (*JobBatchVo, error)
- JobBatchGetWithTasks(context.Context, *JobBatchVo) (*JobBatchWithTasksVo, error)
- JobBatchList(context.Context, *JobBatchListReq) (*JobBatchListResp, error)
- JobBatchListWithTasks(context.Context, *JobBatchListReq) (*JobBatchListWithTasksResp, error)
- // JobTasks Model
- // JobTasksAdd
- JobTasksAdd(context.Context, *JobTasksVo) (*JobTasksVo, error)
- JobTasksUpdate(context.Context, *JobTasksVo) (*JobTasksVo, error)
- JobTasksDel(context.Context, *Ids) (*Empty, error)
- JobTasksGet(context.Context, *JobTasksVo) (*JobTasksVo, error)
- JobTasksList(context.Context, *JobTasksListReq) (*JobTasksListResp, error)
- // DeployConfig Model
- // DeployConfigAdd
- DeployConfigAdd(context.Context, *DeployConfigVo) (*DeployConfigVo, error)
- DeployConfigUpdate(context.Context, *DeployConfigVo) (*DeployConfigVo, error)
- DeployConfigDel(context.Context, *Ids) (*Empty, error)
- DeployConfigGet(context.Context, *DeployConfigVo) (*DeployConfigVo, error)
- DeployConfigList(context.Context, *DeployConfigListReq) (*DeployConfigListResp, error)
- // OperationLog Model
- // OperationLogAdd
- OperationLogAdd(context.Context, *OperationLogVo) (*OperationLogVo, error)
- OperationLogUpdate(context.Context, *OperationLogVo) (*OperationLogVo, error)
- OperationLogGet(context.Context, *OperationLogVo) (*OperationLogVo, error)
- OperationLogList(context.Context, *OperationLogListReq) (*OperationLogListResp, error)
- // AnnouncePlan Model
- // AnnouncePlanAdd
- AnnouncePlanAdd(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error)
- AnnouncePlanUpdate(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error)
- AnnouncePlanDel(context.Context, *Ids) (*Empty, error)
- AnnouncePlanGet(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error)
- AnnouncePlanList(context.Context, *AnnouncePlanListReq) (*AnnouncePlanListResp, error)
- // AnnouncePlanDetail Model
- // AnnouncePlanDetailAdd
- AnnouncePlanDetailAdd(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error)
- AnnouncePlanDetailUpdate(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error)
- AnnouncePlanDetailDel(context.Context, *Ids) (*Empty, error)
- AnnouncePlanDetailGet(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error)
- AnnouncePlanDetailList(context.Context, *AnnouncePlanDetailListReq) (*AnnouncePlanDetailListResp, error)
- // ServiceTypes Model
- // ServiceTypesAdd
- ServiceTypesAdd(context.Context, *ServiceTypesAddReq) (*ServiceTypesVo, error)
- ServiceTypesUpdate(context.Context, *ServiceTypesUpdateReq) (*ServiceTypesVo, error)
- ServiceTypesDel(context.Context, *ServiceTypesDelReq) (*Empty, error)
- ServiceTypesGet(context.Context, *ServiceTypesGetReq) (*ServiceTypesVo, error)
- ServiceTypesList(context.Context, *ServiceTypesListReq) (*ServiceTypesListResp, error)
- // ServiceSets Model
- // ServiceSetsAdd
- ServiceSetsAdd(context.Context, *ServiceSetsAddReq) (*ServiceSetsVo, error)
- ServiceSetsUpdate(context.Context, *ServiceSetsUpdateReq) (*ServiceSetsVo, error)
- ServiceSetsDel(context.Context, *ServiceSetsDelReq) (*Empty, error)
- ServiceSetsGet(context.Context, *ServiceSetsGetReq) (*ServiceSetsVo, error)
- ServiceSetsList(context.Context, *ServiceSetsListReq) (*ServiceSetsListResp, error)
- // MessagePush Model
- // MessagePushAdd
- MessagePushAdd(context.Context, *MessagePushVo) (*MessagePushVo, error)
- MessagePushUpdate(context.Context, *MessagePushVo) (*MessagePushVo, error)
- MessagePushList(context.Context, *MessagePushListReq) (*MessagePushListResp, error)
- mustEmbedUnimplementedGoPmpClientServer()
- }
- // UnimplementedGoPmpClientServer must be embedded to have
- // forward compatible implementations.
- //
- // NOTE: this should be embedded by value instead of pointer to avoid a nil
- // pointer dereference when methods are called.
- type UnimplementedGoPmpClientServer struct{}
- func (UnimplementedGoPmpClientServer) Ping(context.Context, *Request) (*Response, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
- }
- func (UnimplementedGoPmpClientServer) GlobalParamAdd(context.Context, *GlobalParamVo) (*GlobalParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GlobalParamAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) GlobalParamUpdate(context.Context, *GlobalParamVo) (*GlobalParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GlobalParamUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) GlobalParamDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GlobalParamDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) GlobalParamGet(context.Context, *GlobalParamVo) (*GlobalParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GlobalParamGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) GlobalParamGetWithLang(context.Context, *GlobalParamGetReq) (*GlobalParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GlobalParamGetWithLang not implemented")
- }
- func (UnimplementedGoPmpClientServer) GlobalParamList(context.Context, *GlobalParamListReq) (*GlobalParamListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GlobalParamList not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductAdd(context.Context, *ProductVo) (*ProductVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductUpdate(context.Context, *ProductVo) (*ProductVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductGet(context.Context, *ProductVo) (*ProductVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductList(context.Context, *ProductListReq) (*ProductListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductList not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductAll(context.Context, *Request) (*ProductListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductAll not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductParamAdd(context.Context, *ProductParamVo) (*ProductParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductParamAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductParamUpdate(context.Context, *ProductParamVo) (*ProductParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductParamUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductParamDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductParamDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductParamGet(context.Context, *ProductParamVo) (*ProductParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductParamGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductParamGetWithLang(context.Context, *ProductParamGetReq) (*ProductParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductParamGetWithLang not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductParamList(context.Context, *ProductParamListReq) (*ProductParamListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductParamList not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionAdd(context.Context, *ProductActionVo) (*ProductActionVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionUpdate(context.Context, *ProductActionVo) (*ProductActionVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionGet(context.Context, *ProductActionReq) (*ProductActionVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionList(context.Context, *ProductActionListReq) (*ProductActionListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionList not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionGroupAdd(context.Context, *ProductActionGroupVo) (*ProductActionGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionGroupAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionGroupUpdate(context.Context, *ProductActionGroupVo) (*ProductActionGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionGroupUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionGroupDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionGroupDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionGroupGet(context.Context, *ProductActionGroupReq) (*ProductActionGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionGroupGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionGroupList(context.Context, *ProductActionGroupListReq) (*ProductActionGroupListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionGroupList not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionGroupDisable(context.Context, *ProductActionGroupDisableReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionGroupDisable not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionGroupEnable(context.Context, *ProductActionGroupEnableReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionGroupEnable not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionPolicyGroupAdd(context.Context, *ProductActionPolicyGroupVo) (*ProductActionPolicyGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionPolicyGroupAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionPolicyGroupUpdate(context.Context, *ProductActionPolicyGroupVo) (*ProductActionPolicyGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionPolicyGroupUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionPolicyGroupDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionPolicyGroupDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionPolicyGroupGet(context.Context, *ProductActionPolicyGroupReq) (*ProductActionPolicyGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionPolicyGroupGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionPolicyGroupList(context.Context, *ProductActionPolicyGroupListReq) (*ProductActionPolicyGroupListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionPolicyGroupList not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionPolicyGroupDisable(context.Context, *ProductActionPolicyGroupDisableReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionPolicyGroupDisable not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionPolicyGroupEnable(context.Context, *ProductActionPolicyGroupEnableReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionPolicyGroupEnable not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionTypeAdd(context.Context, *ProductActionTypeVo) (*ProductActionTypeVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionTypeAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionTypeUpdate(context.Context, *ProductActionTypeVo) (*ProductActionTypeVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionTypeUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionTypeDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionTypeDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionTypeGet(context.Context, *ProductActionTypeReq) (*ProductActionTypeVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionTypeGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) ProductActionTypeList(context.Context, *ProductActionTypeListReq) (*ProductActionTypeListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProductActionTypeList not implemented")
- }
- func (UnimplementedGoPmpClientServer) AreaParamAdd(context.Context, *AreaParamVo) (*AreaParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AreaParamAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) AreaParamUpdate(context.Context, *AreaParamVo) (*AreaParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AreaParamUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) AreaParamDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AreaParamDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) AreaParamGet(context.Context, *AreaParamVo) (*AreaParamVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AreaParamGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) AreaParamList(context.Context, *AreaParamListReq) (*AreaParamListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AreaParamList not implemented")
- }
- func (UnimplementedGoPmpClientServer) NationalLanguageAdd(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) NationalLanguageUpdate(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) NationalLanguageDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) NationalLanguageGet(context.Context, *NationalLanguageVo) (*NationalLanguageVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) NationalLanguageList(context.Context, *NationalLanguageListReq) (*NationalLanguageListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method NationalLanguageList not implemented")
- }
- func (UnimplementedGoPmpClientServer) TipAdd(context.Context, *TipVo) (*TipVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TipAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) TipUpdate(context.Context, *TipVo) (*TipVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TipUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) TipDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TipDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) TipGet(context.Context, *TipGetReq) (*TipVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TipGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) TipList(context.Context, *TipListReq) (*TipListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TipList not implemented")
- }
- func (UnimplementedGoPmpClientServer) DictAdd(context.Context, *DictVo) (*DictVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DictAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) DictUpdate(context.Context, *DictVo) (*DictVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DictUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) DictDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DictDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) DictGet(context.Context, *DictGetReq) (*DictVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DictGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) DictList(context.Context, *DictListReq) (*DictListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DictList not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanAdd(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanUpdate(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanGet(context.Context, *UpgradePkgPlanVo) (*UpgradePkgPlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanList(context.Context, *UpgradePkgPlanListReq) (*UpgradePkgPlanListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanList not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailAdd(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailUpdate(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailGet(context.Context, *UpgradePkgPlanDetailVo) (*UpgradePkgPlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradePkgPlanDetailList(context.Context, *UpgradePkgPlanDetailListReq) (*UpgradePkgPlanDetailListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradePkgPlanDetailList not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanAdd(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanUpdate(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanGet(context.Context, *UpgradeResPlanVo) (*UpgradeResPlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanList(context.Context, *UpgradeResPlanListReq) (*UpgradeResPlanListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanList not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailAdd(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailUpdate(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailGet(context.Context, *UpgradeResPlanDetailVo) (*UpgradeResPlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) UpgradeResPlanDetailList(context.Context, *UpgradeResPlanDetailListReq) (*UpgradeResPlanDetailListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpgradeResPlanDetailList not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanAdd(context.Context, *AdPlanVo) (*AdPlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanUpdate(context.Context, *AdPlanVo) (*AdPlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanGet(context.Context, *AdPlanVo) (*AdPlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanList(context.Context, *AdPlanListReq) (*AdPlanListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanList not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanDetailAdd(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanDetailUpdate(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanDetailDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanDetailGet(context.Context, *AdPlanDetailVo) (*AdPlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdPlanDetailList(context.Context, *AdPlanDetailListReq) (*AdPlanDetailListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdPlanDetailList not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdGlobalConfigGet(context.Context, *AdGlobalConfigGetReq) (*AdGlobalConfigVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdGlobalConfigGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) AdGlobalConfigUpdate(context.Context, *AdGlobalConfigVo) (*AdGlobalConfigVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdGlobalConfigUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobBatchAdd(context.Context, *JobBatchVo) (*JobBatchVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobBatchAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobBatchAddWithTasks(context.Context, *JobBatchWithTasksVo) (*JobBatchWithTasksVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobBatchAddWithTasks not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobBatchUpdate(context.Context, *JobBatchVo) (*JobBatchVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobBatchUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobBatchDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobBatchDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobBatchGet(context.Context, *JobBatchVo) (*JobBatchVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobBatchGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobBatchGetWithTasks(context.Context, *JobBatchVo) (*JobBatchWithTasksVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobBatchGetWithTasks not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobBatchList(context.Context, *JobBatchListReq) (*JobBatchListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobBatchList not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobBatchListWithTasks(context.Context, *JobBatchListReq) (*JobBatchListWithTasksResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobBatchListWithTasks not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobTasksAdd(context.Context, *JobTasksVo) (*JobTasksVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobTasksAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobTasksUpdate(context.Context, *JobTasksVo) (*JobTasksVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobTasksUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobTasksDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobTasksDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobTasksGet(context.Context, *JobTasksVo) (*JobTasksVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobTasksGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) JobTasksList(context.Context, *JobTasksListReq) (*JobTasksListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method JobTasksList not implemented")
- }
- func (UnimplementedGoPmpClientServer) DeployConfigAdd(context.Context, *DeployConfigVo) (*DeployConfigVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeployConfigAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) DeployConfigUpdate(context.Context, *DeployConfigVo) (*DeployConfigVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeployConfigUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) DeployConfigDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeployConfigDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) DeployConfigGet(context.Context, *DeployConfigVo) (*DeployConfigVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeployConfigGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) DeployConfigList(context.Context, *DeployConfigListReq) (*DeployConfigListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeployConfigList not implemented")
- }
- func (UnimplementedGoPmpClientServer) OperationLogAdd(context.Context, *OperationLogVo) (*OperationLogVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method OperationLogAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) OperationLogUpdate(context.Context, *OperationLogVo) (*OperationLogVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method OperationLogUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) OperationLogGet(context.Context, *OperationLogVo) (*OperationLogVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method OperationLogGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) OperationLogList(context.Context, *OperationLogListReq) (*OperationLogListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method OperationLogList not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanAdd(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanUpdate(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanGet(context.Context, *AnnouncePlanVo) (*AnnouncePlanVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanList(context.Context, *AnnouncePlanListReq) (*AnnouncePlanListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanList not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanDetailAdd(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanDetailUpdate(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanDetailDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanDetailGet(context.Context, *AnnouncePlanDetailVo) (*AnnouncePlanDetailVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) AnnouncePlanDetailList(context.Context, *AnnouncePlanDetailListReq) (*AnnouncePlanDetailListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AnnouncePlanDetailList not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceTypesAdd(context.Context, *ServiceTypesAddReq) (*ServiceTypesVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceTypesUpdate(context.Context, *ServiceTypesUpdateReq) (*ServiceTypesVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceTypesDel(context.Context, *ServiceTypesDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceTypesGet(context.Context, *ServiceTypesGetReq) (*ServiceTypesVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceTypesList(context.Context, *ServiceTypesListReq) (*ServiceTypesListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesList not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceSetsAdd(context.Context, *ServiceSetsAddReq) (*ServiceSetsVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceSetsUpdate(context.Context, *ServiceSetsUpdateReq) (*ServiceSetsVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceSetsDel(context.Context, *ServiceSetsDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsDel not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceSetsGet(context.Context, *ServiceSetsGetReq) (*ServiceSetsVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsGet not implemented")
- }
- func (UnimplementedGoPmpClientServer) ServiceSetsList(context.Context, *ServiceSetsListReq) (*ServiceSetsListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceSetsList not implemented")
- }
- func (UnimplementedGoPmpClientServer) MessagePushAdd(context.Context, *MessagePushVo) (*MessagePushVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MessagePushAdd not implemented")
- }
- func (UnimplementedGoPmpClientServer) MessagePushUpdate(context.Context, *MessagePushVo) (*MessagePushVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MessagePushUpdate not implemented")
- }
- func (UnimplementedGoPmpClientServer) MessagePushList(context.Context, *MessagePushListReq) (*MessagePushListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MessagePushList not implemented")
- }
- func (UnimplementedGoPmpClientServer) mustEmbedUnimplementedGoPmpClientServer() {}
- func (UnimplementedGoPmpClientServer) testEmbeddedByValue() {}
- // UnsafeGoPmpClientServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to GoPmpClientServer will
- // result in compilation errors.
- type UnsafeGoPmpClientServer interface {
- mustEmbedUnimplementedGoPmpClientServer()
- }
- func RegisterGoPmpClientServer(s grpc.ServiceRegistrar, srv GoPmpClientServer) {
- // If the following call pancis, it indicates UnimplementedGoPmpClientServer was
- // embedded by pointer and is nil. This will cause panics if an
- // unimplemented method is ever invoked, so we test this at initialization
- // time to prevent it from happening at runtime later due to I/O.
- if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
- t.testEmbeddedByValue()
- }
- s.RegisterService(&GoPmpClient_ServiceDesc, srv)
- }
- func _GoPmpClient_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Request)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).Ping(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_Ping_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).Ping(ctx, req.(*Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_GlobalParamAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GlobalParamVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).GlobalParamAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_GlobalParamAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).GlobalParamAdd(ctx, req.(*GlobalParamVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_GlobalParamUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GlobalParamVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).GlobalParamUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_GlobalParamUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).GlobalParamUpdate(ctx, req.(*GlobalParamVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_GlobalParamDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).GlobalParamDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_GlobalParamDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).GlobalParamDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_GlobalParamGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GlobalParamVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).GlobalParamGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_GlobalParamGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).GlobalParamGet(ctx, req.(*GlobalParamVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_GlobalParamGetWithLang_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GlobalParamGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).GlobalParamGetWithLang(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_GlobalParamGetWithLang_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).GlobalParamGetWithLang(ctx, req.(*GlobalParamGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_GlobalParamList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GlobalParamListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).GlobalParamList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_GlobalParamList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).GlobalParamList(ctx, req.(*GlobalParamListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductAdd(ctx, req.(*ProductVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductUpdate(ctx, req.(*ProductVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductGet(ctx, req.(*ProductVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductList(ctx, req.(*ProductListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Request)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductAll(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductAll_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductAll(ctx, req.(*Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductParamAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductParamVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductParamAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductParamAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductParamAdd(ctx, req.(*ProductParamVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductParamUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductParamVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductParamUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductParamUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductParamUpdate(ctx, req.(*ProductParamVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductParamDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductParamDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductParamDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductParamDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductParamGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductParamVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductParamGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductParamGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductParamGet(ctx, req.(*ProductParamVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductParamGetWithLang_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductParamGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductParamGetWithLang(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductParamGetWithLang_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductParamGetWithLang(ctx, req.(*ProductParamGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductParamList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductParamListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductParamList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductParamList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductParamList(ctx, req.(*ProductParamListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionAdd(ctx, req.(*ProductActionVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionUpdate(ctx, req.(*ProductActionVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionGet(ctx, req.(*ProductActionReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionList(ctx, req.(*ProductActionListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionGroupAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionGroupVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionGroupAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionGroupAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionGroupAdd(ctx, req.(*ProductActionGroupVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionGroupUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionGroupVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionGroupUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionGroupUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionGroupUpdate(ctx, req.(*ProductActionGroupVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionGroupDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionGroupDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionGroupDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionGroupDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionGroupGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionGroupReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionGroupGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionGroupGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionGroupGet(ctx, req.(*ProductActionGroupReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionGroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionGroupListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionGroupList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionGroupList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionGroupList(ctx, req.(*ProductActionGroupListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionGroupDisable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionGroupDisableReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionGroupDisable(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionGroupDisable_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionGroupDisable(ctx, req.(*ProductActionGroupDisableReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionGroupEnable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionGroupEnableReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionGroupEnable(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionGroupEnable_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionGroupEnable(ctx, req.(*ProductActionGroupEnableReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionPolicyGroupAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionPolicyGroupVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionPolicyGroupAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupAdd(ctx, req.(*ProductActionPolicyGroupVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionPolicyGroupUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionPolicyGroupVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionPolicyGroupUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupUpdate(ctx, req.(*ProductActionPolicyGroupVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionPolicyGroupDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionPolicyGroupDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionPolicyGroupGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionPolicyGroupReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionPolicyGroupGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupGet(ctx, req.(*ProductActionPolicyGroupReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionPolicyGroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionPolicyGroupListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionPolicyGroupList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupList(ctx, req.(*ProductActionPolicyGroupListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionPolicyGroupDisable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionPolicyGroupDisableReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupDisable(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionPolicyGroupDisable_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupDisable(ctx, req.(*ProductActionPolicyGroupDisableReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionPolicyGroupEnable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionPolicyGroupEnableReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupEnable(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionPolicyGroupEnable_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionPolicyGroupEnable(ctx, req.(*ProductActionPolicyGroupEnableReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionTypeAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionTypeVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionTypeAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionTypeAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionTypeAdd(ctx, req.(*ProductActionTypeVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionTypeUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionTypeVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionTypeUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionTypeUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionTypeUpdate(ctx, req.(*ProductActionTypeVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionTypeDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionTypeDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionTypeDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionTypeDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionTypeGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionTypeReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionTypeGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionTypeGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionTypeGet(ctx, req.(*ProductActionTypeReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ProductActionTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ProductActionTypeListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ProductActionTypeList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ProductActionTypeList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ProductActionTypeList(ctx, req.(*ProductActionTypeListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AreaParamAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AreaParamVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AreaParamAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AreaParamAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AreaParamAdd(ctx, req.(*AreaParamVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AreaParamUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AreaParamVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AreaParamUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AreaParamUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AreaParamUpdate(ctx, req.(*AreaParamVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AreaParamDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AreaParamDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AreaParamDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AreaParamDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AreaParamGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AreaParamVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AreaParamGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AreaParamGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AreaParamGet(ctx, req.(*AreaParamVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AreaParamList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AreaParamListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AreaParamList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AreaParamList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AreaParamList(ctx, req.(*AreaParamListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_NationalLanguageAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(NationalLanguageVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).NationalLanguageAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_NationalLanguageAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).NationalLanguageAdd(ctx, req.(*NationalLanguageVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_NationalLanguageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(NationalLanguageVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).NationalLanguageUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_NationalLanguageUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).NationalLanguageUpdate(ctx, req.(*NationalLanguageVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_NationalLanguageDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).NationalLanguageDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_NationalLanguageDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).NationalLanguageDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_NationalLanguageGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(NationalLanguageVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).NationalLanguageGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_NationalLanguageGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).NationalLanguageGet(ctx, req.(*NationalLanguageVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_NationalLanguageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(NationalLanguageListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).NationalLanguageList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_NationalLanguageList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).NationalLanguageList(ctx, req.(*NationalLanguageListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_TipAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TipVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).TipAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_TipAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).TipAdd(ctx, req.(*TipVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_TipUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TipVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).TipUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_TipUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).TipUpdate(ctx, req.(*TipVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_TipDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).TipDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_TipDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).TipDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_TipGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TipGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).TipGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_TipGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).TipGet(ctx, req.(*TipGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_TipList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TipListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).TipList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_TipList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).TipList(ctx, req.(*TipListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DictAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DictVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DictAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DictAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DictAdd(ctx, req.(*DictVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DictUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DictVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DictUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DictUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DictUpdate(ctx, req.(*DictVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DictDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DictDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DictDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DictDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DictGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DictGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DictGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DictGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DictGet(ctx, req.(*DictGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DictList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DictListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DictList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DictList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DictList(ctx, req.(*DictListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradePkgPlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanAdd(ctx, req.(*UpgradePkgPlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradePkgPlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanUpdate(ctx, req.(*UpgradePkgPlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradePkgPlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanGet(ctx, req.(*UpgradePkgPlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradePkgPlanListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanList(ctx, req.(*UpgradePkgPlanListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradePkgPlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanDetailAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailAdd(ctx, req.(*UpgradePkgPlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanDetailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradePkgPlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanDetailUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailUpdate(ctx, req.(*UpgradePkgPlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanDetailDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanDetailGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradePkgPlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanDetailGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailGet(ctx, req.(*UpgradePkgPlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradePkgPlanDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradePkgPlanDetailListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradePkgPlanDetailList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradePkgPlanDetailList(ctx, req.(*UpgradePkgPlanDetailListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradeResPlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanAdd(ctx, req.(*UpgradeResPlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradeResPlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanUpdate(ctx, req.(*UpgradeResPlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradeResPlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanGet(ctx, req.(*UpgradeResPlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradeResPlanListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanList(ctx, req.(*UpgradeResPlanListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradeResPlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanDetailAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailAdd(ctx, req.(*UpgradeResPlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanDetailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradeResPlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanDetailUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailUpdate(ctx, req.(*UpgradeResPlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanDetailDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanDetailGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradeResPlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanDetailGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailGet(ctx, req.(*UpgradeResPlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_UpgradeResPlanDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpgradeResPlanDetailListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_UpgradeResPlanDetailList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).UpgradeResPlanDetailList(ctx, req.(*UpgradeResPlanDetailListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdPlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanAdd(ctx, req.(*AdPlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdPlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanUpdate(ctx, req.(*AdPlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdPlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanGet(ctx, req.(*AdPlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdPlanListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanList(ctx, req.(*AdPlanListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdPlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanDetailAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanDetailAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanDetailAdd(ctx, req.(*AdPlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanDetailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdPlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanDetailUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanDetailUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanDetailUpdate(ctx, req.(*AdPlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanDetailDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanDetailDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanDetailDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanDetailGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdPlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanDetailGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanDetailGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanDetailGet(ctx, req.(*AdPlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdPlanDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdPlanDetailListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdPlanDetailList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdPlanDetailList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdPlanDetailList(ctx, req.(*AdPlanDetailListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdGlobalConfigGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdGlobalConfigGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdGlobalConfigGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdGlobalConfigGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdGlobalConfigGet(ctx, req.(*AdGlobalConfigGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AdGlobalConfigUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdGlobalConfigVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AdGlobalConfigUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AdGlobalConfigUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AdGlobalConfigUpdate(ctx, req.(*AdGlobalConfigVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobBatchVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobBatchAdd(ctx, req.(*JobBatchVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobBatchAddWithTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobBatchWithTasksVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobBatchAddWithTasks(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobBatchAddWithTasks_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobBatchAddWithTasks(ctx, req.(*JobBatchWithTasksVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobBatchVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobBatchUpdate(ctx, req.(*JobBatchVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobBatchDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobBatchDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobBatchDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobBatchDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobBatchGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobBatchVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobBatchGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobBatchGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobBatchGet(ctx, req.(*JobBatchVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobBatchGetWithTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobBatchVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobBatchGetWithTasks(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobBatchGetWithTasks_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobBatchGetWithTasks(ctx, req.(*JobBatchVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobBatchList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobBatchListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobBatchList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobBatchList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobBatchList(ctx, req.(*JobBatchListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobBatchListWithTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobBatchListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobBatchListWithTasks(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobBatchListWithTasks_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobBatchListWithTasks(ctx, req.(*JobBatchListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobTasksAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobTasksVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobTasksAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobTasksAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobTasksAdd(ctx, req.(*JobTasksVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobTasksUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobTasksVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobTasksUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobTasksUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobTasksUpdate(ctx, req.(*JobTasksVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobTasksDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobTasksDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobTasksDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobTasksDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobTasksGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobTasksVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobTasksGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobTasksGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobTasksGet(ctx, req.(*JobTasksVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_JobTasksList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(JobTasksListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).JobTasksList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_JobTasksList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).JobTasksList(ctx, req.(*JobTasksListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DeployConfigAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeployConfigVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DeployConfigAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DeployConfigAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DeployConfigAdd(ctx, req.(*DeployConfigVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DeployConfigUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeployConfigVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DeployConfigUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DeployConfigUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DeployConfigUpdate(ctx, req.(*DeployConfigVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DeployConfigDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DeployConfigDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DeployConfigDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DeployConfigDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DeployConfigGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeployConfigVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DeployConfigGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DeployConfigGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DeployConfigGet(ctx, req.(*DeployConfigVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_DeployConfigList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeployConfigListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).DeployConfigList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_DeployConfigList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).DeployConfigList(ctx, req.(*DeployConfigListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_OperationLogAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OperationLogVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).OperationLogAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_OperationLogAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).OperationLogAdd(ctx, req.(*OperationLogVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_OperationLogUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OperationLogVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).OperationLogUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_OperationLogUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).OperationLogUpdate(ctx, req.(*OperationLogVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_OperationLogGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OperationLogVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).OperationLogGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_OperationLogGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).OperationLogGet(ctx, req.(*OperationLogVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_OperationLogList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OperationLogListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).OperationLogList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_OperationLogList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).OperationLogList(ctx, req.(*OperationLogListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AnnouncePlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanAdd(ctx, req.(*AnnouncePlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AnnouncePlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanUpdate(ctx, req.(*AnnouncePlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AnnouncePlanVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanGet(ctx, req.(*AnnouncePlanVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AnnouncePlanListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanList(ctx, req.(*AnnouncePlanListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AnnouncePlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanDetailAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanDetailAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanDetailAdd(ctx, req.(*AnnouncePlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanDetailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AnnouncePlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanDetailUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanDetailUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanDetailUpdate(ctx, req.(*AnnouncePlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanDetailDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanDetailDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanDetailDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanDetailGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AnnouncePlanDetailVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanDetailGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanDetailGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanDetailGet(ctx, req.(*AnnouncePlanDetailVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_AnnouncePlanDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AnnouncePlanDetailListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).AnnouncePlanDetailList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_AnnouncePlanDetailList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).AnnouncePlanDetailList(ctx, req.(*AnnouncePlanDetailListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceTypesAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceTypesAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceTypesAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceTypesAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceTypesAdd(ctx, req.(*ServiceTypesAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceTypesUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceTypesUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceTypesUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceTypesUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceTypesUpdate(ctx, req.(*ServiceTypesUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceTypesDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceTypesDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceTypesDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceTypesDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceTypesDel(ctx, req.(*ServiceTypesDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceTypesGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceTypesGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceTypesGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceTypesGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceTypesGet(ctx, req.(*ServiceTypesGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceTypesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceTypesListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceTypesList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceTypesList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceTypesList(ctx, req.(*ServiceTypesListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceSetsAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceSetsAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceSetsAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceSetsAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceSetsAdd(ctx, req.(*ServiceSetsAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceSetsUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceSetsUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceSetsUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceSetsUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceSetsUpdate(ctx, req.(*ServiceSetsUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceSetsDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceSetsDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceSetsDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceSetsDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceSetsDel(ctx, req.(*ServiceSetsDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceSetsGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceSetsGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceSetsGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceSetsGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceSetsGet(ctx, req.(*ServiceSetsGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_ServiceSetsList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceSetsListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).ServiceSetsList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_ServiceSetsList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).ServiceSetsList(ctx, req.(*ServiceSetsListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_MessagePushAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MessagePushVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).MessagePushAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_MessagePushAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).MessagePushAdd(ctx, req.(*MessagePushVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_MessagePushUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MessagePushVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).MessagePushUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_MessagePushUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).MessagePushUpdate(ctx, req.(*MessagePushVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPmpClient_MessagePushList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MessagePushListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPmpClientServer).MessagePushList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPmpClient_MessagePushList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPmpClientServer).MessagePushList(ctx, req.(*MessagePushListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- // GoPmpClient_ServiceDesc is the grpc.ServiceDesc for GoPmpClient service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var GoPmpClient_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "gorpc.GoPmpClient",
- HandlerType: (*GoPmpClientServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "Ping",
- Handler: _GoPmpClient_Ping_Handler,
- },
- {
- MethodName: "GlobalParamAdd",
- Handler: _GoPmpClient_GlobalParamAdd_Handler,
- },
- {
- MethodName: "GlobalParamUpdate",
- Handler: _GoPmpClient_GlobalParamUpdate_Handler,
- },
- {
- MethodName: "GlobalParamDel",
- Handler: _GoPmpClient_GlobalParamDel_Handler,
- },
- {
- MethodName: "GlobalParamGet",
- Handler: _GoPmpClient_GlobalParamGet_Handler,
- },
- {
- MethodName: "GlobalParamGetWithLang",
- Handler: _GoPmpClient_GlobalParamGetWithLang_Handler,
- },
- {
- MethodName: "GlobalParamList",
- Handler: _GoPmpClient_GlobalParamList_Handler,
- },
- {
- MethodName: "ProductAdd",
- Handler: _GoPmpClient_ProductAdd_Handler,
- },
- {
- MethodName: "ProductUpdate",
- Handler: _GoPmpClient_ProductUpdate_Handler,
- },
- {
- MethodName: "ProductDel",
- Handler: _GoPmpClient_ProductDel_Handler,
- },
- {
- MethodName: "ProductGet",
- Handler: _GoPmpClient_ProductGet_Handler,
- },
- {
- MethodName: "ProductList",
- Handler: _GoPmpClient_ProductList_Handler,
- },
- {
- MethodName: "ProductAll",
- Handler: _GoPmpClient_ProductAll_Handler,
- },
- {
- MethodName: "ProductParamAdd",
- Handler: _GoPmpClient_ProductParamAdd_Handler,
- },
- {
- MethodName: "ProductParamUpdate",
- Handler: _GoPmpClient_ProductParamUpdate_Handler,
- },
- {
- MethodName: "ProductParamDel",
- Handler: _GoPmpClient_ProductParamDel_Handler,
- },
- {
- MethodName: "ProductParamGet",
- Handler: _GoPmpClient_ProductParamGet_Handler,
- },
- {
- MethodName: "ProductParamGetWithLang",
- Handler: _GoPmpClient_ProductParamGetWithLang_Handler,
- },
- {
- MethodName: "ProductParamList",
- Handler: _GoPmpClient_ProductParamList_Handler,
- },
- {
- MethodName: "ProductActionAdd",
- Handler: _GoPmpClient_ProductActionAdd_Handler,
- },
- {
- MethodName: "ProductActionUpdate",
- Handler: _GoPmpClient_ProductActionUpdate_Handler,
- },
- {
- MethodName: "ProductActionDel",
- Handler: _GoPmpClient_ProductActionDel_Handler,
- },
- {
- MethodName: "ProductActionGet",
- Handler: _GoPmpClient_ProductActionGet_Handler,
- },
- {
- MethodName: "ProductActionList",
- Handler: _GoPmpClient_ProductActionList_Handler,
- },
- {
- MethodName: "ProductActionGroupAdd",
- Handler: _GoPmpClient_ProductActionGroupAdd_Handler,
- },
- {
- MethodName: "ProductActionGroupUpdate",
- Handler: _GoPmpClient_ProductActionGroupUpdate_Handler,
- },
- {
- MethodName: "ProductActionGroupDel",
- Handler: _GoPmpClient_ProductActionGroupDel_Handler,
- },
- {
- MethodName: "ProductActionGroupGet",
- Handler: _GoPmpClient_ProductActionGroupGet_Handler,
- },
- {
- MethodName: "ProductActionGroupList",
- Handler: _GoPmpClient_ProductActionGroupList_Handler,
- },
- {
- MethodName: "ProductActionGroupDisable",
- Handler: _GoPmpClient_ProductActionGroupDisable_Handler,
- },
- {
- MethodName: "ProductActionGroupEnable",
- Handler: _GoPmpClient_ProductActionGroupEnable_Handler,
- },
- {
- MethodName: "ProductActionPolicyGroupAdd",
- Handler: _GoPmpClient_ProductActionPolicyGroupAdd_Handler,
- },
- {
- MethodName: "ProductActionPolicyGroupUpdate",
- Handler: _GoPmpClient_ProductActionPolicyGroupUpdate_Handler,
- },
- {
- MethodName: "ProductActionPolicyGroupDel",
- Handler: _GoPmpClient_ProductActionPolicyGroupDel_Handler,
- },
- {
- MethodName: "ProductActionPolicyGroupGet",
- Handler: _GoPmpClient_ProductActionPolicyGroupGet_Handler,
- },
- {
- MethodName: "ProductActionPolicyGroupList",
- Handler: _GoPmpClient_ProductActionPolicyGroupList_Handler,
- },
- {
- MethodName: "ProductActionPolicyGroupDisable",
- Handler: _GoPmpClient_ProductActionPolicyGroupDisable_Handler,
- },
- {
- MethodName: "ProductActionPolicyGroupEnable",
- Handler: _GoPmpClient_ProductActionPolicyGroupEnable_Handler,
- },
- {
- MethodName: "ProductActionTypeAdd",
- Handler: _GoPmpClient_ProductActionTypeAdd_Handler,
- },
- {
- MethodName: "ProductActionTypeUpdate",
- Handler: _GoPmpClient_ProductActionTypeUpdate_Handler,
- },
- {
- MethodName: "ProductActionTypeDel",
- Handler: _GoPmpClient_ProductActionTypeDel_Handler,
- },
- {
- MethodName: "ProductActionTypeGet",
- Handler: _GoPmpClient_ProductActionTypeGet_Handler,
- },
- {
- MethodName: "ProductActionTypeList",
- Handler: _GoPmpClient_ProductActionTypeList_Handler,
- },
- {
- MethodName: "AreaParamAdd",
- Handler: _GoPmpClient_AreaParamAdd_Handler,
- },
- {
- MethodName: "AreaParamUpdate",
- Handler: _GoPmpClient_AreaParamUpdate_Handler,
- },
- {
- MethodName: "AreaParamDel",
- Handler: _GoPmpClient_AreaParamDel_Handler,
- },
- {
- MethodName: "AreaParamGet",
- Handler: _GoPmpClient_AreaParamGet_Handler,
- },
- {
- MethodName: "AreaParamList",
- Handler: _GoPmpClient_AreaParamList_Handler,
- },
- {
- MethodName: "NationalLanguageAdd",
- Handler: _GoPmpClient_NationalLanguageAdd_Handler,
- },
- {
- MethodName: "NationalLanguageUpdate",
- Handler: _GoPmpClient_NationalLanguageUpdate_Handler,
- },
- {
- MethodName: "NationalLanguageDel",
- Handler: _GoPmpClient_NationalLanguageDel_Handler,
- },
- {
- MethodName: "NationalLanguageGet",
- Handler: _GoPmpClient_NationalLanguageGet_Handler,
- },
- {
- MethodName: "NationalLanguageList",
- Handler: _GoPmpClient_NationalLanguageList_Handler,
- },
- {
- MethodName: "TipAdd",
- Handler: _GoPmpClient_TipAdd_Handler,
- },
- {
- MethodName: "TipUpdate",
- Handler: _GoPmpClient_TipUpdate_Handler,
- },
- {
- MethodName: "TipDel",
- Handler: _GoPmpClient_TipDel_Handler,
- },
- {
- MethodName: "TipGet",
- Handler: _GoPmpClient_TipGet_Handler,
- },
- {
- MethodName: "TipList",
- Handler: _GoPmpClient_TipList_Handler,
- },
- {
- MethodName: "DictAdd",
- Handler: _GoPmpClient_DictAdd_Handler,
- },
- {
- MethodName: "DictUpdate",
- Handler: _GoPmpClient_DictUpdate_Handler,
- },
- {
- MethodName: "DictDel",
- Handler: _GoPmpClient_DictDel_Handler,
- },
- {
- MethodName: "DictGet",
- Handler: _GoPmpClient_DictGet_Handler,
- },
- {
- MethodName: "DictList",
- Handler: _GoPmpClient_DictList_Handler,
- },
- {
- MethodName: "UpgradePkgPlanAdd",
- Handler: _GoPmpClient_UpgradePkgPlanAdd_Handler,
- },
- {
- MethodName: "UpgradePkgPlanUpdate",
- Handler: _GoPmpClient_UpgradePkgPlanUpdate_Handler,
- },
- {
- MethodName: "UpgradePkgPlanDel",
- Handler: _GoPmpClient_UpgradePkgPlanDel_Handler,
- },
- {
- MethodName: "UpgradePkgPlanGet",
- Handler: _GoPmpClient_UpgradePkgPlanGet_Handler,
- },
- {
- MethodName: "UpgradePkgPlanList",
- Handler: _GoPmpClient_UpgradePkgPlanList_Handler,
- },
- {
- MethodName: "UpgradePkgPlanDetailAdd",
- Handler: _GoPmpClient_UpgradePkgPlanDetailAdd_Handler,
- },
- {
- MethodName: "UpgradePkgPlanDetailUpdate",
- Handler: _GoPmpClient_UpgradePkgPlanDetailUpdate_Handler,
- },
- {
- MethodName: "UpgradePkgPlanDetailDel",
- Handler: _GoPmpClient_UpgradePkgPlanDetailDel_Handler,
- },
- {
- MethodName: "UpgradePkgPlanDetailGet",
- Handler: _GoPmpClient_UpgradePkgPlanDetailGet_Handler,
- },
- {
- MethodName: "UpgradePkgPlanDetailList",
- Handler: _GoPmpClient_UpgradePkgPlanDetailList_Handler,
- },
- {
- MethodName: "UpgradeResPlanAdd",
- Handler: _GoPmpClient_UpgradeResPlanAdd_Handler,
- },
- {
- MethodName: "UpgradeResPlanUpdate",
- Handler: _GoPmpClient_UpgradeResPlanUpdate_Handler,
- },
- {
- MethodName: "UpgradeResPlanDel",
- Handler: _GoPmpClient_UpgradeResPlanDel_Handler,
- },
- {
- MethodName: "UpgradeResPlanGet",
- Handler: _GoPmpClient_UpgradeResPlanGet_Handler,
- },
- {
- MethodName: "UpgradeResPlanList",
- Handler: _GoPmpClient_UpgradeResPlanList_Handler,
- },
- {
- MethodName: "UpgradeResPlanDetailAdd",
- Handler: _GoPmpClient_UpgradeResPlanDetailAdd_Handler,
- },
- {
- MethodName: "UpgradeResPlanDetailUpdate",
- Handler: _GoPmpClient_UpgradeResPlanDetailUpdate_Handler,
- },
- {
- MethodName: "UpgradeResPlanDetailDel",
- Handler: _GoPmpClient_UpgradeResPlanDetailDel_Handler,
- },
- {
- MethodName: "UpgradeResPlanDetailGet",
- Handler: _GoPmpClient_UpgradeResPlanDetailGet_Handler,
- },
- {
- MethodName: "UpgradeResPlanDetailList",
- Handler: _GoPmpClient_UpgradeResPlanDetailList_Handler,
- },
- {
- MethodName: "AdPlanAdd",
- Handler: _GoPmpClient_AdPlanAdd_Handler,
- },
- {
- MethodName: "AdPlanUpdate",
- Handler: _GoPmpClient_AdPlanUpdate_Handler,
- },
- {
- MethodName: "AdPlanDel",
- Handler: _GoPmpClient_AdPlanDel_Handler,
- },
- {
- MethodName: "AdPlanGet",
- Handler: _GoPmpClient_AdPlanGet_Handler,
- },
- {
- MethodName: "AdPlanList",
- Handler: _GoPmpClient_AdPlanList_Handler,
- },
- {
- MethodName: "AdPlanDetailAdd",
- Handler: _GoPmpClient_AdPlanDetailAdd_Handler,
- },
- {
- MethodName: "AdPlanDetailUpdate",
- Handler: _GoPmpClient_AdPlanDetailUpdate_Handler,
- },
- {
- MethodName: "AdPlanDetailDel",
- Handler: _GoPmpClient_AdPlanDetailDel_Handler,
- },
- {
- MethodName: "AdPlanDetailGet",
- Handler: _GoPmpClient_AdPlanDetailGet_Handler,
- },
- {
- MethodName: "AdPlanDetailList",
- Handler: _GoPmpClient_AdPlanDetailList_Handler,
- },
- {
- MethodName: "AdGlobalConfigGet",
- Handler: _GoPmpClient_AdGlobalConfigGet_Handler,
- },
- {
- MethodName: "AdGlobalConfigUpdate",
- Handler: _GoPmpClient_AdGlobalConfigUpdate_Handler,
- },
- {
- MethodName: "JobBatchAdd",
- Handler: _GoPmpClient_JobBatchAdd_Handler,
- },
- {
- MethodName: "JobBatchAddWithTasks",
- Handler: _GoPmpClient_JobBatchAddWithTasks_Handler,
- },
- {
- MethodName: "JobBatchUpdate",
- Handler: _GoPmpClient_JobBatchUpdate_Handler,
- },
- {
- MethodName: "JobBatchDel",
- Handler: _GoPmpClient_JobBatchDel_Handler,
- },
- {
- MethodName: "JobBatchGet",
- Handler: _GoPmpClient_JobBatchGet_Handler,
- },
- {
- MethodName: "JobBatchGetWithTasks",
- Handler: _GoPmpClient_JobBatchGetWithTasks_Handler,
- },
- {
- MethodName: "JobBatchList",
- Handler: _GoPmpClient_JobBatchList_Handler,
- },
- {
- MethodName: "JobBatchListWithTasks",
- Handler: _GoPmpClient_JobBatchListWithTasks_Handler,
- },
- {
- MethodName: "JobTasksAdd",
- Handler: _GoPmpClient_JobTasksAdd_Handler,
- },
- {
- MethodName: "JobTasksUpdate",
- Handler: _GoPmpClient_JobTasksUpdate_Handler,
- },
- {
- MethodName: "JobTasksDel",
- Handler: _GoPmpClient_JobTasksDel_Handler,
- },
- {
- MethodName: "JobTasksGet",
- Handler: _GoPmpClient_JobTasksGet_Handler,
- },
- {
- MethodName: "JobTasksList",
- Handler: _GoPmpClient_JobTasksList_Handler,
- },
- {
- MethodName: "DeployConfigAdd",
- Handler: _GoPmpClient_DeployConfigAdd_Handler,
- },
- {
- MethodName: "DeployConfigUpdate",
- Handler: _GoPmpClient_DeployConfigUpdate_Handler,
- },
- {
- MethodName: "DeployConfigDel",
- Handler: _GoPmpClient_DeployConfigDel_Handler,
- },
- {
- MethodName: "DeployConfigGet",
- Handler: _GoPmpClient_DeployConfigGet_Handler,
- },
- {
- MethodName: "DeployConfigList",
- Handler: _GoPmpClient_DeployConfigList_Handler,
- },
- {
- MethodName: "OperationLogAdd",
- Handler: _GoPmpClient_OperationLogAdd_Handler,
- },
- {
- MethodName: "OperationLogUpdate",
- Handler: _GoPmpClient_OperationLogUpdate_Handler,
- },
- {
- MethodName: "OperationLogGet",
- Handler: _GoPmpClient_OperationLogGet_Handler,
- },
- {
- MethodName: "OperationLogList",
- Handler: _GoPmpClient_OperationLogList_Handler,
- },
- {
- MethodName: "AnnouncePlanAdd",
- Handler: _GoPmpClient_AnnouncePlanAdd_Handler,
- },
- {
- MethodName: "AnnouncePlanUpdate",
- Handler: _GoPmpClient_AnnouncePlanUpdate_Handler,
- },
- {
- MethodName: "AnnouncePlanDel",
- Handler: _GoPmpClient_AnnouncePlanDel_Handler,
- },
- {
- MethodName: "AnnouncePlanGet",
- Handler: _GoPmpClient_AnnouncePlanGet_Handler,
- },
- {
- MethodName: "AnnouncePlanList",
- Handler: _GoPmpClient_AnnouncePlanList_Handler,
- },
- {
- MethodName: "AnnouncePlanDetailAdd",
- Handler: _GoPmpClient_AnnouncePlanDetailAdd_Handler,
- },
- {
- MethodName: "AnnouncePlanDetailUpdate",
- Handler: _GoPmpClient_AnnouncePlanDetailUpdate_Handler,
- },
- {
- MethodName: "AnnouncePlanDetailDel",
- Handler: _GoPmpClient_AnnouncePlanDetailDel_Handler,
- },
- {
- MethodName: "AnnouncePlanDetailGet",
- Handler: _GoPmpClient_AnnouncePlanDetailGet_Handler,
- },
- {
- MethodName: "AnnouncePlanDetailList",
- Handler: _GoPmpClient_AnnouncePlanDetailList_Handler,
- },
- {
- MethodName: "ServiceTypesAdd",
- Handler: _GoPmpClient_ServiceTypesAdd_Handler,
- },
- {
- MethodName: "ServiceTypesUpdate",
- Handler: _GoPmpClient_ServiceTypesUpdate_Handler,
- },
- {
- MethodName: "ServiceTypesDel",
- Handler: _GoPmpClient_ServiceTypesDel_Handler,
- },
- {
- MethodName: "ServiceTypesGet",
- Handler: _GoPmpClient_ServiceTypesGet_Handler,
- },
- {
- MethodName: "ServiceTypesList",
- Handler: _GoPmpClient_ServiceTypesList_Handler,
- },
- {
- MethodName: "ServiceSetsAdd",
- Handler: _GoPmpClient_ServiceSetsAdd_Handler,
- },
- {
- MethodName: "ServiceSetsUpdate",
- Handler: _GoPmpClient_ServiceSetsUpdate_Handler,
- },
- {
- MethodName: "ServiceSetsDel",
- Handler: _GoPmpClient_ServiceSetsDel_Handler,
- },
- {
- MethodName: "ServiceSetsGet",
- Handler: _GoPmpClient_ServiceSetsGet_Handler,
- },
- {
- MethodName: "ServiceSetsList",
- Handler: _GoPmpClient_ServiceSetsList_Handler,
- },
- {
- MethodName: "MessagePushAdd",
- Handler: _GoPmpClient_MessagePushAdd_Handler,
- },
- {
- MethodName: "MessagePushUpdate",
- Handler: _GoPmpClient_MessagePushUpdate_Handler,
- },
- {
- MethodName: "MessagePushList",
- Handler: _GoPmpClient_MessagePushList_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "gorpc.proto",
- }
- const (
- GoShortDramaClient_ShortDramaAdd_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaAdd"
- GoShortDramaClient_ShortDramaUpdate_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaUpdate"
- GoShortDramaClient_ShortDramaDel_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaDel"
- GoShortDramaClient_ShortDramaGet_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaGet"
- GoShortDramaClient_ShortDramaList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaList"
- GoShortDramaClient_ShortDramaUpdateModifier_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaUpdateModifier"
- GoShortDramaClient_ShortDramaUpdateReleaseRegions_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaUpdateReleaseRegions"
- GoShortDramaClient_ShortDramaFindIdsWithCopyright_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaFindIdsWithCopyright"
- GoShortDramaClient_ShortDramaFindSchedulePublishList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaFindSchedulePublishList"
- GoShortDramaClient_ShortDramaPublishSchedule_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaPublishSchedule"
- GoShortDramaClient_ShortDramaLanguageList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaLanguageList"
- GoShortDramaClient_ShortDramaEpisodeAdd_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeAdd"
- GoShortDramaClient_ShortDramaEpisodeBatchAdd_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeBatchAdd"
- GoShortDramaClient_ShortDramaEpisodeUpdate_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeUpdate"
- GoShortDramaClient_ShortDramaEpisodeDel_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeDel"
- GoShortDramaClient_ShortDramaEpisodeGet_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeGet"
- GoShortDramaClient_ShortDramaEpisodeList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeList"
- GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeBatchRefreshUpdateTime"
- GoShortDramaClient_ShortDramaEpisodeCount_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaEpisodeCount"
- GoShortDramaClient_ShortDramaCheckName_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaCheckName"
- GoShortDramaClient_SetTotalStats_FullMethodName = "/gorpc.GoShortDramaClient/SetTotalStats"
- GoShortDramaClient_ShortDramaStatsPlaysTotalList_FullMethodName = "/gorpc.GoShortDramaClient/ShortDramaStatsPlaysTotalList"
- )
- // GoShortDramaClientClient is the client API for GoShortDramaClient service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
- type GoShortDramaClientClient interface {
- // ShortDrama
- ShortDramaAdd(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*ShortDramaVo, error)
- ShortDramaUpdate(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*Empty, error)
- ShortDramaDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- ShortDramaGet(ctx context.Context, in *ShortDramaGetReq, opts ...grpc.CallOption) (*ShortDramaVo, error)
- ShortDramaList(ctx context.Context, in *ShortDramaListReq, opts ...grpc.CallOption) (*ShortDramaListResp, error)
- ShortDramaUpdateModifier(ctx context.Context, in *ShortDramaUpdateModifierReq, opts ...grpc.CallOption) (*Empty, error)
- ShortDramaUpdateReleaseRegions(ctx context.Context, in *ShortDramaUpdateReleaseRegionsReq, opts ...grpc.CallOption) (*Empty, error)
- ShortDramaFindIdsWithCopyright(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ShortDramaFindIdsWithCopyrightResp, error)
- ShortDramaFindSchedulePublishList(ctx context.Context, in *FindSchedulePublishListReq, opts ...grpc.CallOption) (*FindSchedulePublishListResp, error)
- ShortDramaPublishSchedule(ctx context.Context, in *PublishScheduleDramaReq, opts ...grpc.CallOption) (*Empty, error)
- // ShortDramaLanguage
- ShortDramaLanguageList(ctx context.Context, in *ShortDramaLanguageListReq, opts ...grpc.CallOption) (*ShortDramaLanguageListResp, error)
- // ShortDramaEpisode
- ShortDramaEpisodeAdd(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error)
- ShortDramaEpisodeBatchAdd(ctx context.Context, in *ShortDramaEpisodeBatchAddReq, opts ...grpc.CallOption) (*Empty, error)
- ShortDramaEpisodeUpdate(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*Empty, error)
- ShortDramaEpisodeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- ShortDramaEpisodeGet(ctx context.Context, in *ShortDramaEpisodeGetReq, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error)
- ShortDramaEpisodeList(ctx context.Context, in *ShortDramaEpisodeListReq, opts ...grpc.CallOption) (*ShortDramaEpisodeListResp, error)
- ShortDramaEpisodeBatchRefreshUpdateTime(ctx context.Context, in *ShortDramaEpisodeBatchRefreshUpdateTimeReq, opts ...grpc.CallOption) (*Empty, error)
- // ShortDramaEpisodeCount
- ShortDramaEpisodeCount(ctx context.Context, in *ShortDramaEpisodeCountReq, opts ...grpc.CallOption) (*ShortDramaEpisodeCountResp, error)
- ShortDramaCheckName(ctx context.Context, in *ShortDramaCheckNameReq, opts ...grpc.CallOption) (*ShortDramaCheckNameResp, error)
- // ShortDramaStats
- SetTotalStats(ctx context.Context, in *SetTotalStatsReq, opts ...grpc.CallOption) (*Empty, error)
- // ShortDramaStatsPlaysTotal
- ShortDramaStatsPlaysTotalList(ctx context.Context, in *ShortDramaStatsPlaysTotalListReq, opts ...grpc.CallOption) (*ShortDramaStatsPlaysTotalListResp, error)
- }
- type goShortDramaClientClient struct {
- cc grpc.ClientConnInterface
- }
- func NewGoShortDramaClientClient(cc grpc.ClientConnInterface) GoShortDramaClientClient {
- return &goShortDramaClientClient{cc}
- }
- func (c *goShortDramaClientClient) ShortDramaAdd(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*ShortDramaVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaVo)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaUpdate(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaGet(ctx context.Context, in *ShortDramaGetReq, opts ...grpc.CallOption) (*ShortDramaVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaVo)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaList(ctx context.Context, in *ShortDramaListReq, opts ...grpc.CallOption) (*ShortDramaListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaListResp)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaUpdateModifier(ctx context.Context, in *ShortDramaUpdateModifierReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaUpdateModifier_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaUpdateReleaseRegions(ctx context.Context, in *ShortDramaUpdateReleaseRegionsReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaUpdateReleaseRegions_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaFindIdsWithCopyright(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ShortDramaFindIdsWithCopyrightResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaFindIdsWithCopyrightResp)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaFindIdsWithCopyright_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaFindSchedulePublishList(ctx context.Context, in *FindSchedulePublishListReq, opts ...grpc.CallOption) (*FindSchedulePublishListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(FindSchedulePublishListResp)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaFindSchedulePublishList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaPublishSchedule(ctx context.Context, in *PublishScheduleDramaReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaPublishSchedule_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaLanguageList(ctx context.Context, in *ShortDramaLanguageListReq, opts ...grpc.CallOption) (*ShortDramaLanguageListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaLanguageListResp)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaLanguageList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaEpisodeAdd(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaEpisodeVo)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaEpisodeBatchAdd(ctx context.Context, in *ShortDramaEpisodeBatchAddReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaEpisodeUpdate(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaEpisodeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaEpisodeGet(ctx context.Context, in *ShortDramaEpisodeGetReq, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaEpisodeVo)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaEpisodeList(ctx context.Context, in *ShortDramaEpisodeListReq, opts ...grpc.CallOption) (*ShortDramaEpisodeListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaEpisodeListResp)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaEpisodeBatchRefreshUpdateTime(ctx context.Context, in *ShortDramaEpisodeBatchRefreshUpdateTimeReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaEpisodeCount(ctx context.Context, in *ShortDramaEpisodeCountReq, opts ...grpc.CallOption) (*ShortDramaEpisodeCountResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaEpisodeCountResp)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaEpisodeCount_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaCheckName(ctx context.Context, in *ShortDramaCheckNameReq, opts ...grpc.CallOption) (*ShortDramaCheckNameResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaCheckNameResp)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaCheckName_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) SetTotalStats(ctx context.Context, in *SetTotalStatsReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoShortDramaClient_SetTotalStats_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goShortDramaClientClient) ShortDramaStatsPlaysTotalList(ctx context.Context, in *ShortDramaStatsPlaysTotalListReq, opts ...grpc.CallOption) (*ShortDramaStatsPlaysTotalListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ShortDramaStatsPlaysTotalListResp)
- err := c.cc.Invoke(ctx, GoShortDramaClient_ShortDramaStatsPlaysTotalList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // GoShortDramaClientServer is the server API for GoShortDramaClient service.
- // All implementations must embed UnimplementedGoShortDramaClientServer
- // for forward compatibility.
- type GoShortDramaClientServer interface {
- // ShortDrama
- ShortDramaAdd(context.Context, *ShortDramaVo) (*ShortDramaVo, error)
- ShortDramaUpdate(context.Context, *ShortDramaVo) (*Empty, error)
- ShortDramaDel(context.Context, *Ids) (*Empty, error)
- ShortDramaGet(context.Context, *ShortDramaGetReq) (*ShortDramaVo, error)
- ShortDramaList(context.Context, *ShortDramaListReq) (*ShortDramaListResp, error)
- ShortDramaUpdateModifier(context.Context, *ShortDramaUpdateModifierReq) (*Empty, error)
- ShortDramaUpdateReleaseRegions(context.Context, *ShortDramaUpdateReleaseRegionsReq) (*Empty, error)
- ShortDramaFindIdsWithCopyright(context.Context, *Empty) (*ShortDramaFindIdsWithCopyrightResp, error)
- ShortDramaFindSchedulePublishList(context.Context, *FindSchedulePublishListReq) (*FindSchedulePublishListResp, error)
- ShortDramaPublishSchedule(context.Context, *PublishScheduleDramaReq) (*Empty, error)
- // ShortDramaLanguage
- ShortDramaLanguageList(context.Context, *ShortDramaLanguageListReq) (*ShortDramaLanguageListResp, error)
- // ShortDramaEpisode
- ShortDramaEpisodeAdd(context.Context, *ShortDramaEpisodeVo) (*ShortDramaEpisodeVo, error)
- ShortDramaEpisodeBatchAdd(context.Context, *ShortDramaEpisodeBatchAddReq) (*Empty, error)
- ShortDramaEpisodeUpdate(context.Context, *ShortDramaEpisodeVo) (*Empty, error)
- ShortDramaEpisodeDel(context.Context, *Ids) (*Empty, error)
- ShortDramaEpisodeGet(context.Context, *ShortDramaEpisodeGetReq) (*ShortDramaEpisodeVo, error)
- ShortDramaEpisodeList(context.Context, *ShortDramaEpisodeListReq) (*ShortDramaEpisodeListResp, error)
- ShortDramaEpisodeBatchRefreshUpdateTime(context.Context, *ShortDramaEpisodeBatchRefreshUpdateTimeReq) (*Empty, error)
- // ShortDramaEpisodeCount
- ShortDramaEpisodeCount(context.Context, *ShortDramaEpisodeCountReq) (*ShortDramaEpisodeCountResp, error)
- ShortDramaCheckName(context.Context, *ShortDramaCheckNameReq) (*ShortDramaCheckNameResp, error)
- // ShortDramaStats
- SetTotalStats(context.Context, *SetTotalStatsReq) (*Empty, error)
- // ShortDramaStatsPlaysTotal
- ShortDramaStatsPlaysTotalList(context.Context, *ShortDramaStatsPlaysTotalListReq) (*ShortDramaStatsPlaysTotalListResp, error)
- mustEmbedUnimplementedGoShortDramaClientServer()
- }
- // UnimplementedGoShortDramaClientServer must be embedded to have
- // forward compatible implementations.
- //
- // NOTE: this should be embedded by value instead of pointer to avoid a nil
- // pointer dereference when methods are called.
- type UnimplementedGoShortDramaClientServer struct{}
- func (UnimplementedGoShortDramaClientServer) ShortDramaAdd(context.Context, *ShortDramaVo) (*ShortDramaVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaAdd not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaUpdate(context.Context, *ShortDramaVo) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaUpdate not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaDel not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaGet(context.Context, *ShortDramaGetReq) (*ShortDramaVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaGet not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaList(context.Context, *ShortDramaListReq) (*ShortDramaListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaList not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaUpdateModifier(context.Context, *ShortDramaUpdateModifierReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaUpdateModifier not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaUpdateReleaseRegions(context.Context, *ShortDramaUpdateReleaseRegionsReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaUpdateReleaseRegions not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaFindIdsWithCopyright(context.Context, *Empty) (*ShortDramaFindIdsWithCopyrightResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaFindIdsWithCopyright not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaFindSchedulePublishList(context.Context, *FindSchedulePublishListReq) (*FindSchedulePublishListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaFindSchedulePublishList not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaPublishSchedule(context.Context, *PublishScheduleDramaReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaPublishSchedule not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaLanguageList(context.Context, *ShortDramaLanguageListReq) (*ShortDramaLanguageListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaLanguageList not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeAdd(context.Context, *ShortDramaEpisodeVo) (*ShortDramaEpisodeVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeAdd not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeBatchAdd(context.Context, *ShortDramaEpisodeBatchAddReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeBatchAdd not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeUpdate(context.Context, *ShortDramaEpisodeVo) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeUpdate not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeDel not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeGet(context.Context, *ShortDramaEpisodeGetReq) (*ShortDramaEpisodeVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeGet not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeList(context.Context, *ShortDramaEpisodeListReq) (*ShortDramaEpisodeListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeList not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeBatchRefreshUpdateTime(context.Context, *ShortDramaEpisodeBatchRefreshUpdateTimeReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeBatchRefreshUpdateTime not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaEpisodeCount(context.Context, *ShortDramaEpisodeCountReq) (*ShortDramaEpisodeCountResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaEpisodeCount not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaCheckName(context.Context, *ShortDramaCheckNameReq) (*ShortDramaCheckNameResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaCheckName not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) SetTotalStats(context.Context, *SetTotalStatsReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SetTotalStats not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) ShortDramaStatsPlaysTotalList(context.Context, *ShortDramaStatsPlaysTotalListReq) (*ShortDramaStatsPlaysTotalListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ShortDramaStatsPlaysTotalList not implemented")
- }
- func (UnimplementedGoShortDramaClientServer) mustEmbedUnimplementedGoShortDramaClientServer() {}
- func (UnimplementedGoShortDramaClientServer) testEmbeddedByValue() {}
- // UnsafeGoShortDramaClientServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to GoShortDramaClientServer will
- // result in compilation errors.
- type UnsafeGoShortDramaClientServer interface {
- mustEmbedUnimplementedGoShortDramaClientServer()
- }
- func RegisterGoShortDramaClientServer(s grpc.ServiceRegistrar, srv GoShortDramaClientServer) {
- // If the following call pancis, it indicates UnimplementedGoShortDramaClientServer was
- // embedded by pointer and is nil. This will cause panics if an
- // unimplemented method is ever invoked, so we test this at initialization
- // time to prevent it from happening at runtime later due to I/O.
- if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
- t.testEmbeddedByValue()
- }
- s.RegisterService(&GoShortDramaClient_ServiceDesc, srv)
- }
- func _GoShortDramaClient_ShortDramaAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaAdd(ctx, req.(*ShortDramaVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaUpdate(ctx, req.(*ShortDramaVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaGet(ctx, req.(*ShortDramaGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaList(ctx, req.(*ShortDramaListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaUpdateModifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaUpdateModifierReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaUpdateModifier(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaUpdateModifier_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaUpdateModifier(ctx, req.(*ShortDramaUpdateModifierReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaUpdateReleaseRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaUpdateReleaseRegionsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaUpdateReleaseRegions(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaUpdateReleaseRegions_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaUpdateReleaseRegions(ctx, req.(*ShortDramaUpdateReleaseRegionsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaFindIdsWithCopyright_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaFindIdsWithCopyright(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaFindIdsWithCopyright_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaFindIdsWithCopyright(ctx, req.(*Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaFindSchedulePublishList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FindSchedulePublishListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaFindSchedulePublishList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaFindSchedulePublishList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaFindSchedulePublishList(ctx, req.(*FindSchedulePublishListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaPublishSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(PublishScheduleDramaReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaPublishSchedule(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaPublishSchedule_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaPublishSchedule(ctx, req.(*PublishScheduleDramaReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaLanguageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaLanguageListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaLanguageList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaLanguageList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaLanguageList(ctx, req.(*ShortDramaLanguageListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaEpisodeAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaEpisodeVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaEpisodeAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeAdd(ctx, req.(*ShortDramaEpisodeVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaEpisodeBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaEpisodeBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaEpisodeBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeBatchAdd(ctx, req.(*ShortDramaEpisodeBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaEpisodeUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaEpisodeVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaEpisodeUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeUpdate(ctx, req.(*ShortDramaEpisodeVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaEpisodeDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaEpisodeDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaEpisodeGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaEpisodeGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaEpisodeGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeGet(ctx, req.(*ShortDramaEpisodeGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaEpisodeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaEpisodeListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaEpisodeList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeList(ctx, req.(*ShortDramaEpisodeListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaEpisodeBatchRefreshUpdateTimeReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeBatchRefreshUpdateTime(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeBatchRefreshUpdateTime(ctx, req.(*ShortDramaEpisodeBatchRefreshUpdateTimeReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaEpisodeCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaEpisodeCountReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeCount(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaEpisodeCount_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaEpisodeCount(ctx, req.(*ShortDramaEpisodeCountReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaCheckName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaCheckNameReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaCheckName(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaCheckName_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaCheckName(ctx, req.(*ShortDramaCheckNameReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_SetTotalStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetTotalStatsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).SetTotalStats(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_SetTotalStats_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).SetTotalStats(ctx, req.(*SetTotalStatsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoShortDramaClient_ShortDramaStatsPlaysTotalList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ShortDramaStatsPlaysTotalListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoShortDramaClientServer).ShortDramaStatsPlaysTotalList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoShortDramaClient_ShortDramaStatsPlaysTotalList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoShortDramaClientServer).ShortDramaStatsPlaysTotalList(ctx, req.(*ShortDramaStatsPlaysTotalListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- // GoShortDramaClient_ServiceDesc is the grpc.ServiceDesc for GoShortDramaClient service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var GoShortDramaClient_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "gorpc.GoShortDramaClient",
- HandlerType: (*GoShortDramaClientServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "ShortDramaAdd",
- Handler: _GoShortDramaClient_ShortDramaAdd_Handler,
- },
- {
- MethodName: "ShortDramaUpdate",
- Handler: _GoShortDramaClient_ShortDramaUpdate_Handler,
- },
- {
- MethodName: "ShortDramaDel",
- Handler: _GoShortDramaClient_ShortDramaDel_Handler,
- },
- {
- MethodName: "ShortDramaGet",
- Handler: _GoShortDramaClient_ShortDramaGet_Handler,
- },
- {
- MethodName: "ShortDramaList",
- Handler: _GoShortDramaClient_ShortDramaList_Handler,
- },
- {
- MethodName: "ShortDramaUpdateModifier",
- Handler: _GoShortDramaClient_ShortDramaUpdateModifier_Handler,
- },
- {
- MethodName: "ShortDramaUpdateReleaseRegions",
- Handler: _GoShortDramaClient_ShortDramaUpdateReleaseRegions_Handler,
- },
- {
- MethodName: "ShortDramaFindIdsWithCopyright",
- Handler: _GoShortDramaClient_ShortDramaFindIdsWithCopyright_Handler,
- },
- {
- MethodName: "ShortDramaFindSchedulePublishList",
- Handler: _GoShortDramaClient_ShortDramaFindSchedulePublishList_Handler,
- },
- {
- MethodName: "ShortDramaPublishSchedule",
- Handler: _GoShortDramaClient_ShortDramaPublishSchedule_Handler,
- },
- {
- MethodName: "ShortDramaLanguageList",
- Handler: _GoShortDramaClient_ShortDramaLanguageList_Handler,
- },
- {
- MethodName: "ShortDramaEpisodeAdd",
- Handler: _GoShortDramaClient_ShortDramaEpisodeAdd_Handler,
- },
- {
- MethodName: "ShortDramaEpisodeBatchAdd",
- Handler: _GoShortDramaClient_ShortDramaEpisodeBatchAdd_Handler,
- },
- {
- MethodName: "ShortDramaEpisodeUpdate",
- Handler: _GoShortDramaClient_ShortDramaEpisodeUpdate_Handler,
- },
- {
- MethodName: "ShortDramaEpisodeDel",
- Handler: _GoShortDramaClient_ShortDramaEpisodeDel_Handler,
- },
- {
- MethodName: "ShortDramaEpisodeGet",
- Handler: _GoShortDramaClient_ShortDramaEpisodeGet_Handler,
- },
- {
- MethodName: "ShortDramaEpisodeList",
- Handler: _GoShortDramaClient_ShortDramaEpisodeList_Handler,
- },
- {
- MethodName: "ShortDramaEpisodeBatchRefreshUpdateTime",
- Handler: _GoShortDramaClient_ShortDramaEpisodeBatchRefreshUpdateTime_Handler,
- },
- {
- MethodName: "ShortDramaEpisodeCount",
- Handler: _GoShortDramaClient_ShortDramaEpisodeCount_Handler,
- },
- {
- MethodName: "ShortDramaCheckName",
- Handler: _GoShortDramaClient_ShortDramaCheckName_Handler,
- },
- {
- MethodName: "SetTotalStats",
- Handler: _GoShortDramaClient_SetTotalStats_Handler,
- },
- {
- MethodName: "ShortDramaStatsPlaysTotalList",
- Handler: _GoShortDramaClient_ShortDramaStatsPlaysTotalList_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "gorpc.proto",
- }
- const (
- GoSysClient_Ping_FullMethodName = "/gorpc.GoSysClient/Ping"
- GoSysClient_SysUserAdd_FullMethodName = "/gorpc.GoSysClient/SysUserAdd"
- GoSysClient_SysUserUpdate_FullMethodName = "/gorpc.GoSysClient/SysUserUpdate"
- GoSysClient_SysUserDelete_FullMethodName = "/gorpc.GoSysClient/SysUserDelete"
- GoSysClient_SysUserGet_FullMethodName = "/gorpc.GoSysClient/SysUserGet"
- GoSysClient_SysUserList_FullMethodName = "/gorpc.GoSysClient/SysUserList"
- GoSysClient_SysUserAddWithRolesAndPerms_FullMethodName = "/gorpc.GoSysClient/SysUserAddWithRolesAndPerms"
- GoSysClient_SysUserUpdateWithRolesAndPerms_FullMethodName = "/gorpc.GoSysClient/SysUserUpdateWithRolesAndPerms"
- GoSysClient_SysUserGetWithRolesAndPerms_FullMethodName = "/gorpc.GoSysClient/SysUserGetWithRolesAndPerms"
- GoSysClient_SysUserListWithRolesAndPerms_FullMethodName = "/gorpc.GoSysClient/SysUserListWithRolesAndPerms"
- GoSysClient_SysRoleAdd_FullMethodName = "/gorpc.GoSysClient/SysRoleAdd"
- GoSysClient_SysRoleUpdate_FullMethodName = "/gorpc.GoSysClient/SysRoleUpdate"
- GoSysClient_SysRoleDelete_FullMethodName = "/gorpc.GoSysClient/SysRoleDelete"
- GoSysClient_SysRoleGet_FullMethodName = "/gorpc.GoSysClient/SysRoleGet"
- GoSysClient_SysRoleList_FullMethodName = "/gorpc.GoSysClient/SysRoleList"
- GoSysClient_SysRoleAddWithPerms_FullMethodName = "/gorpc.GoSysClient/SysRoleAddWithPerms"
- GoSysClient_SysRoleUpdateWithPerms_FullMethodName = "/gorpc.GoSysClient/SysRoleUpdateWithPerms"
- GoSysClient_SysRoleGetWithPerms_FullMethodName = "/gorpc.GoSysClient/SysRoleGetWithPerms"
- GoSysClient_SysRoleListWithPerms_FullMethodName = "/gorpc.GoSysClient/SysRoleListWithPerms"
- GoSysClient_SysPermAdd_FullMethodName = "/gorpc.GoSysClient/SysPermAdd"
- GoSysClient_SysPermUpdate_FullMethodName = "/gorpc.GoSysClient/SysPermUpdate"
- GoSysClient_SysPermDelete_FullMethodName = "/gorpc.GoSysClient/SysPermDelete"
- GoSysClient_SysPermGet_FullMethodName = "/gorpc.GoSysClient/SysPermGet"
- GoSysClient_SysPermList_FullMethodName = "/gorpc.GoSysClient/SysPermList"
- GoSysClient_SysUserRoleAdd_FullMethodName = "/gorpc.GoSysClient/SysUserRoleAdd"
- GoSysClient_SysUserRoleUpdate_FullMethodName = "/gorpc.GoSysClient/SysUserRoleUpdate"
- GoSysClient_SysUserRoleDelete_FullMethodName = "/gorpc.GoSysClient/SysUserRoleDelete"
- GoSysClient_SysUserRoleGet_FullMethodName = "/gorpc.GoSysClient/SysUserRoleGet"
- GoSysClient_SysUserRoleList_FullMethodName = "/gorpc.GoSysClient/SysUserRoleList"
- GoSysClient_SysRolePermAdd_FullMethodName = "/gorpc.GoSysClient/SysRolePermAdd"
- GoSysClient_SysRolePermUpdate_FullMethodName = "/gorpc.GoSysClient/SysRolePermUpdate"
- GoSysClient_SysRolePermDelete_FullMethodName = "/gorpc.GoSysClient/SysRolePermDelete"
- GoSysClient_SysRolePermGet_FullMethodName = "/gorpc.GoSysClient/SysRolePermGet"
- GoSysClient_SysRolePermList_FullMethodName = "/gorpc.GoSysClient/SysRolePermList"
- GoSysClient_SysUserPermAdd_FullMethodName = "/gorpc.GoSysClient/SysUserPermAdd"
- GoSysClient_SysUserPermUpdate_FullMethodName = "/gorpc.GoSysClient/SysUserPermUpdate"
- GoSysClient_SysUserPermDelete_FullMethodName = "/gorpc.GoSysClient/SysUserPermDelete"
- GoSysClient_SysUserPermGet_FullMethodName = "/gorpc.GoSysClient/SysUserPermGet"
- GoSysClient_SysUserPermList_FullMethodName = "/gorpc.GoSysClient/SysUserPermList"
- )
- // GoSysClientClient is the client API for GoSysClient service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
- type GoSysClientClient interface {
- Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
- // 用户管理
- SysUserAdd(ctx context.Context, in *SysUserVo, opts ...grpc.CallOption) (*SysUserVo, error)
- SysUserUpdate(ctx context.Context, in *SysUserVo, opts ...grpc.CallOption) (*SysUserVo, error)
- SysUserDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- SysUserGet(ctx context.Context, in *SysUserGetReq, opts ...grpc.CallOption) (*SysUserVo, error)
- SysUserList(ctx context.Context, in *SysUserListReq, opts ...grpc.CallOption) (*SysUserListResp, error)
- SysUserAddWithRolesAndPerms(ctx context.Context, in *SysUserWithRoleIdsAndPermRules, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error)
- SysUserUpdateWithRolesAndPerms(ctx context.Context, in *SysUserWithRoleIdsAndPermRules, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error)
- SysUserGetWithRolesAndPerms(ctx context.Context, in *SysUserGetReq, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error)
- SysUserListWithRolesAndPerms(ctx context.Context, in *SysUserListReq, opts ...grpc.CallOption) (*SysUserListWithRolesAndPermsResp, error)
- // 角色管理
- SysRoleAdd(ctx context.Context, in *SysRoleVo, opts ...grpc.CallOption) (*SysRoleVo, error)
- SysRoleUpdate(ctx context.Context, in *SysRoleVo, opts ...grpc.CallOption) (*SysRoleVo, error)
- SysRoleDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- SysRoleGet(ctx context.Context, in *SysRoleGetReq, opts ...grpc.CallOption) (*SysRoleVo, error)
- SysRoleList(ctx context.Context, in *SysRoleListReq, opts ...grpc.CallOption) (*SysRoleListResp, error)
- SysRoleAddWithPerms(ctx context.Context, in *SysRoleWithPermIds, opts ...grpc.CallOption) (*SysRoleWithPerms, error)
- SysRoleUpdateWithPerms(ctx context.Context, in *SysRoleWithPermIds, opts ...grpc.CallOption) (*SysRoleWithPerms, error)
- SysRoleGetWithPerms(ctx context.Context, in *SysRoleGetReq, opts ...grpc.CallOption) (*SysRoleWithPerms, error)
- SysRoleListWithPerms(ctx context.Context, in *SysRoleListReq, opts ...grpc.CallOption) (*SysRoleListWithPermsResp, error)
- // 权限管理
- SysPermAdd(ctx context.Context, in *SysPermVo, opts ...grpc.CallOption) (*SysPermVo, error)
- SysPermUpdate(ctx context.Context, in *SysPermVo, opts ...grpc.CallOption) (*SysPermVo, error)
- SysPermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- SysPermGet(ctx context.Context, in *SysPermGetReq, opts ...grpc.CallOption) (*SysPermVo, error)
- SysPermList(ctx context.Context, in *SysPermListReq, opts ...grpc.CallOption) (*SysPermListResp, error)
- // 用户角色管理
- SysUserRoleAdd(ctx context.Context, in *SysUserRoleVo, opts ...grpc.CallOption) (*SysUserRoleVo, error)
- SysUserRoleUpdate(ctx context.Context, in *SysUserRoleVo, opts ...grpc.CallOption) (*SysUserRoleVo, error)
- SysUserRoleDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- SysUserRoleGet(ctx context.Context, in *SysUserRoleGetReq, opts ...grpc.CallOption) (*SysUserRoleVo, error)
- SysUserRoleList(ctx context.Context, in *SysUserRoleListReq, opts ...grpc.CallOption) (*SysUserRoleListResp, error)
- // 角色权限管理
- SysRolePermAdd(ctx context.Context, in *SysRolePermVo, opts ...grpc.CallOption) (*SysRolePermVo, error)
- SysRolePermUpdate(ctx context.Context, in *SysRolePermVo, opts ...grpc.CallOption) (*SysRolePermVo, error)
- SysRolePermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- SysRolePermGet(ctx context.Context, in *SysRolePermGetReq, opts ...grpc.CallOption) (*SysRolePermVo, error)
- SysRolePermList(ctx context.Context, in *SysRolePermListReq, opts ...grpc.CallOption) (*SysRolePermListResp, error)
- // 用户权限管理
- SysUserPermAdd(ctx context.Context, in *SysUserPermVo, opts ...grpc.CallOption) (*SysUserPermVo, error)
- SysUserPermUpdate(ctx context.Context, in *SysUserPermVo, opts ...grpc.CallOption) (*SysUserPermVo, error)
- SysUserPermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- SysUserPermGet(ctx context.Context, in *SysUserPermGetReq, opts ...grpc.CallOption) (*SysUserPermVo, error)
- SysUserPermList(ctx context.Context, in *SysUserPermListReq, opts ...grpc.CallOption) (*SysUserPermListResp, error)
- }
- type goSysClientClient struct {
- cc grpc.ClientConnInterface
- }
- func NewGoSysClientClient(cc grpc.ClientConnInterface) GoSysClientClient {
- return &goSysClientClient{cc}
- }
- func (c *goSysClientClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Response)
- err := c.cc.Invoke(ctx, GoSysClient_Ping_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserAdd(ctx context.Context, in *SysUserVo, opts ...grpc.CallOption) (*SysUserVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserUpdate(ctx context.Context, in *SysUserVo, opts ...grpc.CallOption) (*SysUserVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserDelete_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserGet(ctx context.Context, in *SysUserGetReq, opts ...grpc.CallOption) (*SysUserVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserList(ctx context.Context, in *SysUserListReq, opts ...grpc.CallOption) (*SysUserListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserListResp)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserAddWithRolesAndPerms(ctx context.Context, in *SysUserWithRoleIdsAndPermRules, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserWithRolesAndPerms)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserAddWithRolesAndPerms_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserUpdateWithRolesAndPerms(ctx context.Context, in *SysUserWithRoleIdsAndPermRules, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserWithRolesAndPerms)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserUpdateWithRolesAndPerms_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserGetWithRolesAndPerms(ctx context.Context, in *SysUserGetReq, opts ...grpc.CallOption) (*SysUserWithRolesAndPerms, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserWithRolesAndPerms)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserGetWithRolesAndPerms_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserListWithRolesAndPerms(ctx context.Context, in *SysUserListReq, opts ...grpc.CallOption) (*SysUserListWithRolesAndPermsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserListWithRolesAndPermsResp)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserListWithRolesAndPerms_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRoleAdd(ctx context.Context, in *SysRoleVo, opts ...grpc.CallOption) (*SysRoleVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRoleVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysRoleAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRoleUpdate(ctx context.Context, in *SysRoleVo, opts ...grpc.CallOption) (*SysRoleVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRoleVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysRoleUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRoleDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoSysClient_SysRoleDelete_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRoleGet(ctx context.Context, in *SysRoleGetReq, opts ...grpc.CallOption) (*SysRoleVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRoleVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysRoleGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRoleList(ctx context.Context, in *SysRoleListReq, opts ...grpc.CallOption) (*SysRoleListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRoleListResp)
- err := c.cc.Invoke(ctx, GoSysClient_SysRoleList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRoleAddWithPerms(ctx context.Context, in *SysRoleWithPermIds, opts ...grpc.CallOption) (*SysRoleWithPerms, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRoleWithPerms)
- err := c.cc.Invoke(ctx, GoSysClient_SysRoleAddWithPerms_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRoleUpdateWithPerms(ctx context.Context, in *SysRoleWithPermIds, opts ...grpc.CallOption) (*SysRoleWithPerms, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRoleWithPerms)
- err := c.cc.Invoke(ctx, GoSysClient_SysRoleUpdateWithPerms_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRoleGetWithPerms(ctx context.Context, in *SysRoleGetReq, opts ...grpc.CallOption) (*SysRoleWithPerms, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRoleWithPerms)
- err := c.cc.Invoke(ctx, GoSysClient_SysRoleGetWithPerms_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRoleListWithPerms(ctx context.Context, in *SysRoleListReq, opts ...grpc.CallOption) (*SysRoleListWithPermsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRoleListWithPermsResp)
- err := c.cc.Invoke(ctx, GoSysClient_SysRoleListWithPerms_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysPermAdd(ctx context.Context, in *SysPermVo, opts ...grpc.CallOption) (*SysPermVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysPermVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysPermAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysPermUpdate(ctx context.Context, in *SysPermVo, opts ...grpc.CallOption) (*SysPermVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysPermVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysPermUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysPermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoSysClient_SysPermDelete_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysPermGet(ctx context.Context, in *SysPermGetReq, opts ...grpc.CallOption) (*SysPermVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysPermVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysPermGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysPermList(ctx context.Context, in *SysPermListReq, opts ...grpc.CallOption) (*SysPermListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysPermListResp)
- err := c.cc.Invoke(ctx, GoSysClient_SysPermList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserRoleAdd(ctx context.Context, in *SysUserRoleVo, opts ...grpc.CallOption) (*SysUserRoleVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserRoleVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserRoleUpdate(ctx context.Context, in *SysUserRoleVo, opts ...grpc.CallOption) (*SysUserRoleVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserRoleVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserRoleDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleDelete_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserRoleGet(ctx context.Context, in *SysUserRoleGetReq, opts ...grpc.CallOption) (*SysUserRoleVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserRoleVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserRoleList(ctx context.Context, in *SysUserRoleListReq, opts ...grpc.CallOption) (*SysUserRoleListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserRoleListResp)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserRoleList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRolePermAdd(ctx context.Context, in *SysRolePermVo, opts ...grpc.CallOption) (*SysRolePermVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRolePermVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysRolePermAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRolePermUpdate(ctx context.Context, in *SysRolePermVo, opts ...grpc.CallOption) (*SysRolePermVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRolePermVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysRolePermUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRolePermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoSysClient_SysRolePermDelete_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRolePermGet(ctx context.Context, in *SysRolePermGetReq, opts ...grpc.CallOption) (*SysRolePermVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRolePermVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysRolePermGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysRolePermList(ctx context.Context, in *SysRolePermListReq, opts ...grpc.CallOption) (*SysRolePermListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysRolePermListResp)
- err := c.cc.Invoke(ctx, GoSysClient_SysRolePermList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserPermAdd(ctx context.Context, in *SysUserPermVo, opts ...grpc.CallOption) (*SysUserPermVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserPermVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserPermAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserPermUpdate(ctx context.Context, in *SysUserPermVo, opts ...grpc.CallOption) (*SysUserPermVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserPermVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserPermUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserPermDelete(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserPermDelete_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserPermGet(ctx context.Context, in *SysUserPermGetReq, opts ...grpc.CallOption) (*SysUserPermVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserPermVo)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserPermGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goSysClientClient) SysUserPermList(ctx context.Context, in *SysUserPermListReq, opts ...grpc.CallOption) (*SysUserPermListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(SysUserPermListResp)
- err := c.cc.Invoke(ctx, GoSysClient_SysUserPermList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // GoSysClientServer is the server API for GoSysClient service.
- // All implementations must embed UnimplementedGoSysClientServer
- // for forward compatibility.
- type GoSysClientServer interface {
- Ping(context.Context, *Request) (*Response, error)
- // 用户管理
- SysUserAdd(context.Context, *SysUserVo) (*SysUserVo, error)
- SysUserUpdate(context.Context, *SysUserVo) (*SysUserVo, error)
- SysUserDelete(context.Context, *Ids) (*Empty, error)
- SysUserGet(context.Context, *SysUserGetReq) (*SysUserVo, error)
- SysUserList(context.Context, *SysUserListReq) (*SysUserListResp, error)
- SysUserAddWithRolesAndPerms(context.Context, *SysUserWithRoleIdsAndPermRules) (*SysUserWithRolesAndPerms, error)
- SysUserUpdateWithRolesAndPerms(context.Context, *SysUserWithRoleIdsAndPermRules) (*SysUserWithRolesAndPerms, error)
- SysUserGetWithRolesAndPerms(context.Context, *SysUserGetReq) (*SysUserWithRolesAndPerms, error)
- SysUserListWithRolesAndPerms(context.Context, *SysUserListReq) (*SysUserListWithRolesAndPermsResp, error)
- // 角色管理
- SysRoleAdd(context.Context, *SysRoleVo) (*SysRoleVo, error)
- SysRoleUpdate(context.Context, *SysRoleVo) (*SysRoleVo, error)
- SysRoleDelete(context.Context, *Ids) (*Empty, error)
- SysRoleGet(context.Context, *SysRoleGetReq) (*SysRoleVo, error)
- SysRoleList(context.Context, *SysRoleListReq) (*SysRoleListResp, error)
- SysRoleAddWithPerms(context.Context, *SysRoleWithPermIds) (*SysRoleWithPerms, error)
- SysRoleUpdateWithPerms(context.Context, *SysRoleWithPermIds) (*SysRoleWithPerms, error)
- SysRoleGetWithPerms(context.Context, *SysRoleGetReq) (*SysRoleWithPerms, error)
- SysRoleListWithPerms(context.Context, *SysRoleListReq) (*SysRoleListWithPermsResp, error)
- // 权限管理
- SysPermAdd(context.Context, *SysPermVo) (*SysPermVo, error)
- SysPermUpdate(context.Context, *SysPermVo) (*SysPermVo, error)
- SysPermDelete(context.Context, *Ids) (*Empty, error)
- SysPermGet(context.Context, *SysPermGetReq) (*SysPermVo, error)
- SysPermList(context.Context, *SysPermListReq) (*SysPermListResp, error)
- // 用户角色管理
- SysUserRoleAdd(context.Context, *SysUserRoleVo) (*SysUserRoleVo, error)
- SysUserRoleUpdate(context.Context, *SysUserRoleVo) (*SysUserRoleVo, error)
- SysUserRoleDelete(context.Context, *Ids) (*Empty, error)
- SysUserRoleGet(context.Context, *SysUserRoleGetReq) (*SysUserRoleVo, error)
- SysUserRoleList(context.Context, *SysUserRoleListReq) (*SysUserRoleListResp, error)
- // 角色权限管理
- SysRolePermAdd(context.Context, *SysRolePermVo) (*SysRolePermVo, error)
- SysRolePermUpdate(context.Context, *SysRolePermVo) (*SysRolePermVo, error)
- SysRolePermDelete(context.Context, *Ids) (*Empty, error)
- SysRolePermGet(context.Context, *SysRolePermGetReq) (*SysRolePermVo, error)
- SysRolePermList(context.Context, *SysRolePermListReq) (*SysRolePermListResp, error)
- // 用户权限管理
- SysUserPermAdd(context.Context, *SysUserPermVo) (*SysUserPermVo, error)
- SysUserPermUpdate(context.Context, *SysUserPermVo) (*SysUserPermVo, error)
- SysUserPermDelete(context.Context, *Ids) (*Empty, error)
- SysUserPermGet(context.Context, *SysUserPermGetReq) (*SysUserPermVo, error)
- SysUserPermList(context.Context, *SysUserPermListReq) (*SysUserPermListResp, error)
- mustEmbedUnimplementedGoSysClientServer()
- }
- // UnimplementedGoSysClientServer must be embedded to have
- // forward compatible implementations.
- //
- // NOTE: this should be embedded by value instead of pointer to avoid a nil
- // pointer dereference when methods are called.
- type UnimplementedGoSysClientServer struct{}
- func (UnimplementedGoSysClientServer) Ping(context.Context, *Request) (*Response, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserAdd(context.Context, *SysUserVo) (*SysUserVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserAdd not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserUpdate(context.Context, *SysUserVo) (*SysUserVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserUpdate not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserDelete(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserDelete not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserGet(context.Context, *SysUserGetReq) (*SysUserVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserGet not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserList(context.Context, *SysUserListReq) (*SysUserListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserList not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserAddWithRolesAndPerms(context.Context, *SysUserWithRoleIdsAndPermRules) (*SysUserWithRolesAndPerms, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserAddWithRolesAndPerms not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserUpdateWithRolesAndPerms(context.Context, *SysUserWithRoleIdsAndPermRules) (*SysUserWithRolesAndPerms, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserUpdateWithRolesAndPerms not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserGetWithRolesAndPerms(context.Context, *SysUserGetReq) (*SysUserWithRolesAndPerms, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserGetWithRolesAndPerms not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserListWithRolesAndPerms(context.Context, *SysUserListReq) (*SysUserListWithRolesAndPermsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserListWithRolesAndPerms not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRoleAdd(context.Context, *SysRoleVo) (*SysRoleVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRoleAdd not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRoleUpdate(context.Context, *SysRoleVo) (*SysRoleVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRoleUpdate not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRoleDelete(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRoleDelete not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRoleGet(context.Context, *SysRoleGetReq) (*SysRoleVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRoleGet not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRoleList(context.Context, *SysRoleListReq) (*SysRoleListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRoleList not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRoleAddWithPerms(context.Context, *SysRoleWithPermIds) (*SysRoleWithPerms, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRoleAddWithPerms not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRoleUpdateWithPerms(context.Context, *SysRoleWithPermIds) (*SysRoleWithPerms, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRoleUpdateWithPerms not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRoleGetWithPerms(context.Context, *SysRoleGetReq) (*SysRoleWithPerms, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRoleGetWithPerms not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRoleListWithPerms(context.Context, *SysRoleListReq) (*SysRoleListWithPermsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRoleListWithPerms not implemented")
- }
- func (UnimplementedGoSysClientServer) SysPermAdd(context.Context, *SysPermVo) (*SysPermVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysPermAdd not implemented")
- }
- func (UnimplementedGoSysClientServer) SysPermUpdate(context.Context, *SysPermVo) (*SysPermVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysPermUpdate not implemented")
- }
- func (UnimplementedGoSysClientServer) SysPermDelete(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysPermDelete not implemented")
- }
- func (UnimplementedGoSysClientServer) SysPermGet(context.Context, *SysPermGetReq) (*SysPermVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysPermGet not implemented")
- }
- func (UnimplementedGoSysClientServer) SysPermList(context.Context, *SysPermListReq) (*SysPermListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysPermList not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserRoleAdd(context.Context, *SysUserRoleVo) (*SysUserRoleVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleAdd not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserRoleUpdate(context.Context, *SysUserRoleVo) (*SysUserRoleVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleUpdate not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserRoleDelete(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleDelete not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserRoleGet(context.Context, *SysUserRoleGetReq) (*SysUserRoleVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleGet not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserRoleList(context.Context, *SysUserRoleListReq) (*SysUserRoleListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserRoleList not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRolePermAdd(context.Context, *SysRolePermVo) (*SysRolePermVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRolePermAdd not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRolePermUpdate(context.Context, *SysRolePermVo) (*SysRolePermVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRolePermUpdate not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRolePermDelete(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRolePermDelete not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRolePermGet(context.Context, *SysRolePermGetReq) (*SysRolePermVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRolePermGet not implemented")
- }
- func (UnimplementedGoSysClientServer) SysRolePermList(context.Context, *SysRolePermListReq) (*SysRolePermListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysRolePermList not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserPermAdd(context.Context, *SysUserPermVo) (*SysUserPermVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserPermAdd not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserPermUpdate(context.Context, *SysUserPermVo) (*SysUserPermVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserPermUpdate not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserPermDelete(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserPermDelete not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserPermGet(context.Context, *SysUserPermGetReq) (*SysUserPermVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserPermGet not implemented")
- }
- func (UnimplementedGoSysClientServer) SysUserPermList(context.Context, *SysUserPermListReq) (*SysUserPermListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SysUserPermList not implemented")
- }
- func (UnimplementedGoSysClientServer) mustEmbedUnimplementedGoSysClientServer() {}
- func (UnimplementedGoSysClientServer) testEmbeddedByValue() {}
- // UnsafeGoSysClientServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to GoSysClientServer will
- // result in compilation errors.
- type UnsafeGoSysClientServer interface {
- mustEmbedUnimplementedGoSysClientServer()
- }
- func RegisterGoSysClientServer(s grpc.ServiceRegistrar, srv GoSysClientServer) {
- // If the following call pancis, it indicates UnimplementedGoSysClientServer was
- // embedded by pointer and is nil. This will cause panics if an
- // unimplemented method is ever invoked, so we test this at initialization
- // time to prevent it from happening at runtime later due to I/O.
- if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
- t.testEmbeddedByValue()
- }
- s.RegisterService(&GoSysClient_ServiceDesc, srv)
- }
- func _GoSysClient_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Request)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).Ping(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_Ping_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).Ping(ctx, req.(*Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserAdd(ctx, req.(*SysUserVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserUpdate(ctx, req.(*SysUserVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserDelete(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserDelete_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserDelete(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserGet(ctx, req.(*SysUserGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserList(ctx, req.(*SysUserListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserAddWithRolesAndPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserWithRoleIdsAndPermRules)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserAddWithRolesAndPerms(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserAddWithRolesAndPerms_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserAddWithRolesAndPerms(ctx, req.(*SysUserWithRoleIdsAndPermRules))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserUpdateWithRolesAndPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserWithRoleIdsAndPermRules)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserUpdateWithRolesAndPerms(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserUpdateWithRolesAndPerms_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserUpdateWithRolesAndPerms(ctx, req.(*SysUserWithRoleIdsAndPermRules))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserGetWithRolesAndPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserGetWithRolesAndPerms(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserGetWithRolesAndPerms_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserGetWithRolesAndPerms(ctx, req.(*SysUserGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserListWithRolesAndPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserListWithRolesAndPerms(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserListWithRolesAndPerms_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserListWithRolesAndPerms(ctx, req.(*SysUserListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRoleAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRoleVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRoleAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRoleAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRoleAdd(ctx, req.(*SysRoleVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRoleUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRoleVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRoleUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRoleUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRoleUpdate(ctx, req.(*SysRoleVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRoleDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRoleDelete(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRoleDelete_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRoleDelete(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRoleGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRoleGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRoleGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRoleGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRoleGet(ctx, req.(*SysRoleGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRoleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRoleListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRoleList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRoleList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRoleList(ctx, req.(*SysRoleListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRoleAddWithPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRoleWithPermIds)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRoleAddWithPerms(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRoleAddWithPerms_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRoleAddWithPerms(ctx, req.(*SysRoleWithPermIds))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRoleUpdateWithPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRoleWithPermIds)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRoleUpdateWithPerms(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRoleUpdateWithPerms_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRoleUpdateWithPerms(ctx, req.(*SysRoleWithPermIds))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRoleGetWithPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRoleGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRoleGetWithPerms(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRoleGetWithPerms_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRoleGetWithPerms(ctx, req.(*SysRoleGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRoleListWithPerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRoleListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRoleListWithPerms(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRoleListWithPerms_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRoleListWithPerms(ctx, req.(*SysRoleListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysPermAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysPermVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysPermAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysPermAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysPermAdd(ctx, req.(*SysPermVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysPermUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysPermVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysPermUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysPermUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysPermUpdate(ctx, req.(*SysPermVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysPermDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysPermDelete(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysPermDelete_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysPermDelete(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysPermGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysPermGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysPermGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysPermGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysPermGet(ctx, req.(*SysPermGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysPermList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysPermListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysPermList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysPermList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysPermList(ctx, req.(*SysPermListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserRoleAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserRoleVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserRoleAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserRoleAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserRoleAdd(ctx, req.(*SysUserRoleVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserRoleUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserRoleVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserRoleUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserRoleUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserRoleUpdate(ctx, req.(*SysUserRoleVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserRoleDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserRoleDelete(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserRoleDelete_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserRoleDelete(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserRoleGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserRoleGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserRoleGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserRoleGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserRoleGet(ctx, req.(*SysUserRoleGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserRoleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserRoleListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserRoleList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserRoleList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserRoleList(ctx, req.(*SysUserRoleListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRolePermAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRolePermVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRolePermAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRolePermAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRolePermAdd(ctx, req.(*SysRolePermVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRolePermUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRolePermVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRolePermUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRolePermUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRolePermUpdate(ctx, req.(*SysRolePermVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRolePermDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRolePermDelete(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRolePermDelete_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRolePermDelete(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRolePermGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRolePermGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRolePermGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRolePermGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRolePermGet(ctx, req.(*SysRolePermGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysRolePermList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysRolePermListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysRolePermList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysRolePermList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysRolePermList(ctx, req.(*SysRolePermListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserPermAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserPermVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserPermAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserPermAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserPermAdd(ctx, req.(*SysUserPermVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserPermUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserPermVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserPermUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserPermUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserPermUpdate(ctx, req.(*SysUserPermVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserPermDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserPermDelete(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserPermDelete_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserPermDelete(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserPermGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserPermGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserPermGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserPermGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserPermGet(ctx, req.(*SysUserPermGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoSysClient_SysUserPermList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SysUserPermListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoSysClientServer).SysUserPermList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoSysClient_SysUserPermList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoSysClientServer).SysUserPermList(ctx, req.(*SysUserPermListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- // GoSysClient_ServiceDesc is the grpc.ServiceDesc for GoSysClient service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var GoSysClient_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "gorpc.GoSysClient",
- HandlerType: (*GoSysClientServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "Ping",
- Handler: _GoSysClient_Ping_Handler,
- },
- {
- MethodName: "SysUserAdd",
- Handler: _GoSysClient_SysUserAdd_Handler,
- },
- {
- MethodName: "SysUserUpdate",
- Handler: _GoSysClient_SysUserUpdate_Handler,
- },
- {
- MethodName: "SysUserDelete",
- Handler: _GoSysClient_SysUserDelete_Handler,
- },
- {
- MethodName: "SysUserGet",
- Handler: _GoSysClient_SysUserGet_Handler,
- },
- {
- MethodName: "SysUserList",
- Handler: _GoSysClient_SysUserList_Handler,
- },
- {
- MethodName: "SysUserAddWithRolesAndPerms",
- Handler: _GoSysClient_SysUserAddWithRolesAndPerms_Handler,
- },
- {
- MethodName: "SysUserUpdateWithRolesAndPerms",
- Handler: _GoSysClient_SysUserUpdateWithRolesAndPerms_Handler,
- },
- {
- MethodName: "SysUserGetWithRolesAndPerms",
- Handler: _GoSysClient_SysUserGetWithRolesAndPerms_Handler,
- },
- {
- MethodName: "SysUserListWithRolesAndPerms",
- Handler: _GoSysClient_SysUserListWithRolesAndPerms_Handler,
- },
- {
- MethodName: "SysRoleAdd",
- Handler: _GoSysClient_SysRoleAdd_Handler,
- },
- {
- MethodName: "SysRoleUpdate",
- Handler: _GoSysClient_SysRoleUpdate_Handler,
- },
- {
- MethodName: "SysRoleDelete",
- Handler: _GoSysClient_SysRoleDelete_Handler,
- },
- {
- MethodName: "SysRoleGet",
- Handler: _GoSysClient_SysRoleGet_Handler,
- },
- {
- MethodName: "SysRoleList",
- Handler: _GoSysClient_SysRoleList_Handler,
- },
- {
- MethodName: "SysRoleAddWithPerms",
- Handler: _GoSysClient_SysRoleAddWithPerms_Handler,
- },
- {
- MethodName: "SysRoleUpdateWithPerms",
- Handler: _GoSysClient_SysRoleUpdateWithPerms_Handler,
- },
- {
- MethodName: "SysRoleGetWithPerms",
- Handler: _GoSysClient_SysRoleGetWithPerms_Handler,
- },
- {
- MethodName: "SysRoleListWithPerms",
- Handler: _GoSysClient_SysRoleListWithPerms_Handler,
- },
- {
- MethodName: "SysPermAdd",
- Handler: _GoSysClient_SysPermAdd_Handler,
- },
- {
- MethodName: "SysPermUpdate",
- Handler: _GoSysClient_SysPermUpdate_Handler,
- },
- {
- MethodName: "SysPermDelete",
- Handler: _GoSysClient_SysPermDelete_Handler,
- },
- {
- MethodName: "SysPermGet",
- Handler: _GoSysClient_SysPermGet_Handler,
- },
- {
- MethodName: "SysPermList",
- Handler: _GoSysClient_SysPermList_Handler,
- },
- {
- MethodName: "SysUserRoleAdd",
- Handler: _GoSysClient_SysUserRoleAdd_Handler,
- },
- {
- MethodName: "SysUserRoleUpdate",
- Handler: _GoSysClient_SysUserRoleUpdate_Handler,
- },
- {
- MethodName: "SysUserRoleDelete",
- Handler: _GoSysClient_SysUserRoleDelete_Handler,
- },
- {
- MethodName: "SysUserRoleGet",
- Handler: _GoSysClient_SysUserRoleGet_Handler,
- },
- {
- MethodName: "SysUserRoleList",
- Handler: _GoSysClient_SysUserRoleList_Handler,
- },
- {
- MethodName: "SysRolePermAdd",
- Handler: _GoSysClient_SysRolePermAdd_Handler,
- },
- {
- MethodName: "SysRolePermUpdate",
- Handler: _GoSysClient_SysRolePermUpdate_Handler,
- },
- {
- MethodName: "SysRolePermDelete",
- Handler: _GoSysClient_SysRolePermDelete_Handler,
- },
- {
- MethodName: "SysRolePermGet",
- Handler: _GoSysClient_SysRolePermGet_Handler,
- },
- {
- MethodName: "SysRolePermList",
- Handler: _GoSysClient_SysRolePermList_Handler,
- },
- {
- MethodName: "SysUserPermAdd",
- Handler: _GoSysClient_SysUserPermAdd_Handler,
- },
- {
- MethodName: "SysUserPermUpdate",
- Handler: _GoSysClient_SysUserPermUpdate_Handler,
- },
- {
- MethodName: "SysUserPermDelete",
- Handler: _GoSysClient_SysUserPermDelete_Handler,
- },
- {
- MethodName: "SysUserPermGet",
- Handler: _GoSysClient_SysUserPermGet_Handler,
- },
- {
- MethodName: "SysUserPermList",
- Handler: _GoSysClient_SysUserPermList_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "gorpc.proto",
- }
- const (
- GoUserClient_Ping_FullMethodName = "/gorpc.GoUserClient/Ping"
- GoUserClient_UserAppConfigAdd_FullMethodName = "/gorpc.GoUserClient/UserAppConfigAdd"
- GoUserClient_UserAppConfigUpdate_FullMethodName = "/gorpc.GoUserClient/UserAppConfigUpdate"
- GoUserClient_UserAppConfigDel_FullMethodName = "/gorpc.GoUserClient/UserAppConfigDel"
- GoUserClient_UserAppConfigGet_FullMethodName = "/gorpc.GoUserClient/UserAppConfigGet"
- GoUserClient_UserAppConfigList_FullMethodName = "/gorpc.GoUserClient/UserAppConfigList"
- GoUserClient_DeviceAdd_FullMethodName = "/gorpc.GoUserClient/DeviceAdd"
- GoUserClient_DeviceUpdate_FullMethodName = "/gorpc.GoUserClient/DeviceUpdate"
- GoUserClient_DeviceDel_FullMethodName = "/gorpc.GoUserClient/DeviceDel"
- GoUserClient_DeviceGet_FullMethodName = "/gorpc.GoUserClient/DeviceGet"
- GoUserClient_DeviceList_FullMethodName = "/gorpc.GoUserClient/DeviceList"
- GoUserClient_DeviceAddFirebaseToken_FullMethodName = "/gorpc.GoUserClient/DeviceAddFirebaseToken"
- GoUserClient_DeviceUpdateFirebaseToken_FullMethodName = "/gorpc.GoUserClient/DeviceUpdateFirebaseToken"
- GoUserClient_DeviceFirebaseTokenMap_FullMethodName = "/gorpc.GoUserClient/DeviceFirebaseTokenMap"
- GoUserClient_AccountAdd_FullMethodName = "/gorpc.GoUserClient/AccountAdd"
- GoUserClient_AccountUpdate_FullMethodName = "/gorpc.GoUserClient/AccountUpdate"
- GoUserClient_AccountDel_FullMethodName = "/gorpc.GoUserClient/AccountDel"
- GoUserClient_AccountGet_FullMethodName = "/gorpc.GoUserClient/AccountGet"
- GoUserClient_AccountList_FullMethodName = "/gorpc.GoUserClient/AccountList"
- GoUserClient_AccountDeviceAdd_FullMethodName = "/gorpc.GoUserClient/AccountDeviceAdd"
- GoUserClient_AccountDeviceUpdate_FullMethodName = "/gorpc.GoUserClient/AccountDeviceUpdate"
- GoUserClient_AccountDeviceDel_FullMethodName = "/gorpc.GoUserClient/AccountDeviceDel"
- GoUserClient_AccountDeviceGet_FullMethodName = "/gorpc.GoUserClient/AccountDeviceGet"
- GoUserClient_AccountDeviceList_FullMethodName = "/gorpc.GoUserClient/AccountDeviceList"
- GoUserClient_UserWhiteAdd_FullMethodName = "/gorpc.GoUserClient/UserWhiteAdd"
- GoUserClient_UserWhiteUpdate_FullMethodName = "/gorpc.GoUserClient/UserWhiteUpdate"
- GoUserClient_UserWhiteDel_FullMethodName = "/gorpc.GoUserClient/UserWhiteDel"
- GoUserClient_UserWhiteGet_FullMethodName = "/gorpc.GoUserClient/UserWhiteGet"
- GoUserClient_UserWhiteList_FullMethodName = "/gorpc.GoUserClient/UserWhiteList"
- GoUserClient_UserTestAdd_FullMethodName = "/gorpc.GoUserClient/UserTestAdd"
- GoUserClient_UserTestUpdate_FullMethodName = "/gorpc.GoUserClient/UserTestUpdate"
- GoUserClient_UserTestDel_FullMethodName = "/gorpc.GoUserClient/UserTestDel"
- GoUserClient_UserTestGet_FullMethodName = "/gorpc.GoUserClient/UserTestGet"
- GoUserClient_UserTestList_FullMethodName = "/gorpc.GoUserClient/UserTestList"
- GoUserClient_UserAdd_FullMethodName = "/gorpc.GoUserClient/UserAdd"
- GoUserClient_UserUpdate_FullMethodName = "/gorpc.GoUserClient/UserUpdate"
- GoUserClient_UserDel_FullMethodName = "/gorpc.GoUserClient/UserDel"
- GoUserClient_UserGet_FullMethodName = "/gorpc.GoUserClient/UserGet"
- GoUserClient_UserList_FullMethodName = "/gorpc.GoUserClient/UserList"
- GoUserClient_UserCredentialAdd_FullMethodName = "/gorpc.GoUserClient/UserCredentialAdd"
- GoUserClient_UserCredentialUpdate_FullMethodName = "/gorpc.GoUserClient/UserCredentialUpdate"
- GoUserClient_UserCredentialDel_FullMethodName = "/gorpc.GoUserClient/UserCredentialDel"
- GoUserClient_UserCredentialGet_FullMethodName = "/gorpc.GoUserClient/UserCredentialGet"
- GoUserClient_UserCredentialList_FullMethodName = "/gorpc.GoUserClient/UserCredentialList"
- GoUserClient_UserDeviceAdd_FullMethodName = "/gorpc.GoUserClient/UserDeviceAdd"
- GoUserClient_UserDeviceUpdate_FullMethodName = "/gorpc.GoUserClient/UserDeviceUpdate"
- GoUserClient_UserDeviceDel_FullMethodName = "/gorpc.GoUserClient/UserDeviceDel"
- GoUserClient_UserDeviceGet_FullMethodName = "/gorpc.GoUserClient/UserDeviceGet"
- GoUserClient_UserDeviceList_FullMethodName = "/gorpc.GoUserClient/UserDeviceList"
- )
- // GoUserClientClient is the client API for GoUserClient service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
- //
- // 用户模块
- type GoUserClientClient interface {
- Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
- // 用户app配置管理(ring)
- UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
- UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
- UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error)
- UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error)
- // Device Model
- // DeviceAdd
- DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
- DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
- DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
- DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error)
- DeviceAddFirebaseToken(ctx context.Context, in *DeviceAddFirebaseTokenReq, opts ...grpc.CallOption) (*Empty, error)
- DeviceUpdateFirebaseToken(ctx context.Context, in *DeviceUpdateFirebaseTokenReq, opts ...grpc.CallOption) (*Empty, error)
- DeviceFirebaseTokenMap(ctx context.Context, in *DeviceFirebaseTokenMapReq, opts ...grpc.CallOption) (*DeviceFirebaseTokenMapRes, error)
- // Account Model
- // AccountAdd
- AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
- AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
- AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
- AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error)
- // AccountDevice Model
- // AccountDeviceAdd
- AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
- AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
- AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
- AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error)
- // 用户白名单管理
- UserWhiteAdd(ctx context.Context, in *UserWhiteAddReq, opts ...grpc.CallOption) (*UserWhiteAddResp, error)
- UserWhiteUpdate(ctx context.Context, in *UserWhiteUpdateReq, opts ...grpc.CallOption) (*UserWhiteUpdateResp, error)
- UserWhiteDel(ctx context.Context, in *UserWhiteDelReq, opts ...grpc.CallOption) (*Empty, error)
- UserWhiteGet(ctx context.Context, in *UserWhiteGetReq, opts ...grpc.CallOption) (*UserWhiteGetResp, error)
- UserWhiteList(ctx context.Context, in *UserWhiteListReq, opts ...grpc.CallOption) (*UserWhiteListResp, error)
- // 测试用户管理
- UserTestAdd(ctx context.Context, in *UserTestAddReq, opts ...grpc.CallOption) (*UserTestAddResp, error)
- UserTestUpdate(ctx context.Context, in *UserTestUpdateReq, opts ...grpc.CallOption) (*UserTestUpdateResp, error)
- UserTestDel(ctx context.Context, in *UserTestDelReq, opts ...grpc.CallOption) (*Empty, error)
- UserTestGet(ctx context.Context, in *UserTestGetReq, opts ...grpc.CallOption) (*UserTestGetResp, error)
- UserTestList(ctx context.Context, in *UserTestListReq, opts ...grpc.CallOption) (*UserTestListResp, error)
- // User Model
- // UserAdd
- UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error)
- UserUpdate(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*UserUpdateResp, error)
- UserDel(ctx context.Context, in *UserDelReq, opts ...grpc.CallOption) (*Empty, error)
- UserGet(ctx context.Context, in *UserGetReq, opts ...grpc.CallOption) (*UserGetResp, error)
- UserList(ctx context.Context, in *UserListReq, opts ...grpc.CallOption) (*UserListResp, error)
- // UserCredential Model
- // UserCredentialAdd
- UserCredentialAdd(ctx context.Context, in *UserCredentialAddReq, opts ...grpc.CallOption) (*UserCredentialAddResp, error)
- UserCredentialUpdate(ctx context.Context, in *UserCredentialUpdateReq, opts ...grpc.CallOption) (*UserCredentialUpdateResp, error)
- UserCredentialDel(ctx context.Context, in *UserCredentialDelReq, opts ...grpc.CallOption) (*Empty, error)
- UserCredentialGet(ctx context.Context, in *UserCredentialGetReq, opts ...grpc.CallOption) (*UserCredentialGetResp, error)
- UserCredentialList(ctx context.Context, in *UserCredentialListReq, opts ...grpc.CallOption) (*UserCredentialListResp, error)
- // UserDevice Model
- // UserDeviceAdd
- UserDeviceAdd(ctx context.Context, in *UserDeviceAddReq, opts ...grpc.CallOption) (*UserDeviceAddResp, error)
- UserDeviceUpdate(ctx context.Context, in *UserDeviceUpdateReq, opts ...grpc.CallOption) (*UserDeviceUpdateResp, error)
- UserDeviceDel(ctx context.Context, in *UserDeviceDelReq, opts ...grpc.CallOption) (*Empty, error)
- UserDeviceGet(ctx context.Context, in *UserDeviceGetReq, opts ...grpc.CallOption) (*UserDeviceGetResp, error)
- UserDeviceList(ctx context.Context, in *UserDeviceListReq, opts ...grpc.CallOption) (*UserDeviceListResp, error)
- }
- type goUserClientClient struct {
- cc grpc.ClientConnInterface
- }
- func NewGoUserClientClient(cc grpc.ClientConnInterface) GoUserClientClient {
- return &goUserClientClient{cc}
- }
- func (c *goUserClientClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Response)
- err := c.cc.Invoke(ctx, GoUserClient_Ping_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserAppConfigVo)
- err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserAppConfigVo)
- err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserAppConfigVo)
- err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserAppConfigListRes)
- err := c.cc.Invoke(ctx, GoUserClient_UserAppConfigList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeviceVo)
- err := c.cc.Invoke(ctx, GoUserClient_DeviceAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeviceVo)
- err := c.cc.Invoke(ctx, GoUserClient_DeviceUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_DeviceDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeviceVo)
- err := c.cc.Invoke(ctx, GoUserClient_DeviceGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeviceListRes)
- err := c.cc.Invoke(ctx, GoUserClient_DeviceList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) DeviceAddFirebaseToken(ctx context.Context, in *DeviceAddFirebaseTokenReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_DeviceAddFirebaseToken_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) DeviceUpdateFirebaseToken(ctx context.Context, in *DeviceUpdateFirebaseTokenReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_DeviceUpdateFirebaseToken_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) DeviceFirebaseTokenMap(ctx context.Context, in *DeviceFirebaseTokenMapReq, opts ...grpc.CallOption) (*DeviceFirebaseTokenMapRes, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeviceFirebaseTokenMapRes)
- err := c.cc.Invoke(ctx, GoUserClient_DeviceFirebaseTokenMap_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AccountVo)
- err := c.cc.Invoke(ctx, GoUserClient_AccountAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AccountVo)
- err := c.cc.Invoke(ctx, GoUserClient_AccountUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_AccountDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AccountVo)
- err := c.cc.Invoke(ctx, GoUserClient_AccountGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AccountListResp)
- err := c.cc.Invoke(ctx, GoUserClient_AccountList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AccountDeviceVo)
- err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AccountDeviceVo)
- err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AccountDeviceVo)
- err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AccountDeviceListResp)
- err := c.cc.Invoke(ctx, GoUserClient_AccountDeviceList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserWhiteAdd(ctx context.Context, in *UserWhiteAddReq, opts ...grpc.CallOption) (*UserWhiteAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserWhiteAddResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserWhiteAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserWhiteUpdate(ctx context.Context, in *UserWhiteUpdateReq, opts ...grpc.CallOption) (*UserWhiteUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserWhiteUpdateResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserWhiteUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserWhiteDel(ctx context.Context, in *UserWhiteDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_UserWhiteDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserWhiteGet(ctx context.Context, in *UserWhiteGetReq, opts ...grpc.CallOption) (*UserWhiteGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserWhiteGetResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserWhiteGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserWhiteList(ctx context.Context, in *UserWhiteListReq, opts ...grpc.CallOption) (*UserWhiteListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserWhiteListResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserWhiteList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserTestAdd(ctx context.Context, in *UserTestAddReq, opts ...grpc.CallOption) (*UserTestAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserTestAddResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserTestAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserTestUpdate(ctx context.Context, in *UserTestUpdateReq, opts ...grpc.CallOption) (*UserTestUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserTestUpdateResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserTestUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserTestDel(ctx context.Context, in *UserTestDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_UserTestDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserTestGet(ctx context.Context, in *UserTestGetReq, opts ...grpc.CallOption) (*UserTestGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserTestGetResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserTestGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserTestList(ctx context.Context, in *UserTestListReq, opts ...grpc.CallOption) (*UserTestListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserTestListResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserTestList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserAddResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserUpdate(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*UserUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserUpdateResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserDel(ctx context.Context, in *UserDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_UserDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserGet(ctx context.Context, in *UserGetReq, opts ...grpc.CallOption) (*UserGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserGetResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserList(ctx context.Context, in *UserListReq, opts ...grpc.CallOption) (*UserListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserListResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserCredentialAdd(ctx context.Context, in *UserCredentialAddReq, opts ...grpc.CallOption) (*UserCredentialAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserCredentialAddResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserCredentialAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserCredentialUpdate(ctx context.Context, in *UserCredentialUpdateReq, opts ...grpc.CallOption) (*UserCredentialUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserCredentialUpdateResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserCredentialUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserCredentialDel(ctx context.Context, in *UserCredentialDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_UserCredentialDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserCredentialGet(ctx context.Context, in *UserCredentialGetReq, opts ...grpc.CallOption) (*UserCredentialGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserCredentialGetResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserCredentialGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserCredentialList(ctx context.Context, in *UserCredentialListReq, opts ...grpc.CallOption) (*UserCredentialListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserCredentialListResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserCredentialList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserDeviceAdd(ctx context.Context, in *UserDeviceAddReq, opts ...grpc.CallOption) (*UserDeviceAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserDeviceAddResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserDeviceAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserDeviceUpdate(ctx context.Context, in *UserDeviceUpdateReq, opts ...grpc.CallOption) (*UserDeviceUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserDeviceUpdateResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserDeviceUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserDeviceDel(ctx context.Context, in *UserDeviceDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_UserDeviceDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserDeviceGet(ctx context.Context, in *UserDeviceGetReq, opts ...grpc.CallOption) (*UserDeviceGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserDeviceGetResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserDeviceGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserDeviceList(ctx context.Context, in *UserDeviceListReq, opts ...grpc.CallOption) (*UserDeviceListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserDeviceListResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserDeviceList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // GoUserClientServer is the server API for GoUserClient service.
- // All implementations must embed UnimplementedGoUserClientServer
- // for forward compatibility.
- //
- // 用户模块
- type GoUserClientServer interface {
- Ping(context.Context, *Request) (*Response, error)
- // 用户app配置管理(ring)
- UserAppConfigAdd(context.Context, *UserAppConfigVo) (*UserAppConfigVo, error)
- UserAppConfigUpdate(context.Context, *UserAppConfigVo) (*UserAppConfigVo, error)
- UserAppConfigDel(context.Context, *Ids) (*Empty, error)
- UserAppConfigGet(context.Context, *UserAppConfigGetReq) (*UserAppConfigVo, error)
- UserAppConfigList(context.Context, *UserAppConfigListReq) (*UserAppConfigListRes, error)
- // Device Model
- // DeviceAdd
- DeviceAdd(context.Context, *DeviceVo) (*DeviceVo, error)
- DeviceUpdate(context.Context, *DeviceVo) (*DeviceVo, error)
- DeviceDel(context.Context, *Ids) (*Empty, error)
- DeviceGet(context.Context, *DeviceVo) (*DeviceVo, error)
- DeviceList(context.Context, *DeviceListReq) (*DeviceListRes, error)
- DeviceAddFirebaseToken(context.Context, *DeviceAddFirebaseTokenReq) (*Empty, error)
- DeviceUpdateFirebaseToken(context.Context, *DeviceUpdateFirebaseTokenReq) (*Empty, error)
- DeviceFirebaseTokenMap(context.Context, *DeviceFirebaseTokenMapReq) (*DeviceFirebaseTokenMapRes, error)
- // Account Model
- // AccountAdd
- AccountAdd(context.Context, *AccountVo) (*AccountVo, error)
- AccountUpdate(context.Context, *AccountVo) (*AccountVo, error)
- AccountDel(context.Context, *Ids) (*Empty, error)
- AccountGet(context.Context, *AccountVo) (*AccountVo, error)
- AccountList(context.Context, *AccountListReq) (*AccountListResp, error)
- // AccountDevice Model
- // AccountDeviceAdd
- AccountDeviceAdd(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error)
- AccountDeviceUpdate(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error)
- AccountDeviceDel(context.Context, *Ids) (*Empty, error)
- AccountDeviceGet(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error)
- AccountDeviceList(context.Context, *AccountDeviceListReq) (*AccountDeviceListResp, error)
- // 用户白名单管理
- UserWhiteAdd(context.Context, *UserWhiteAddReq) (*UserWhiteAddResp, error)
- UserWhiteUpdate(context.Context, *UserWhiteUpdateReq) (*UserWhiteUpdateResp, error)
- UserWhiteDel(context.Context, *UserWhiteDelReq) (*Empty, error)
- UserWhiteGet(context.Context, *UserWhiteGetReq) (*UserWhiteGetResp, error)
- UserWhiteList(context.Context, *UserWhiteListReq) (*UserWhiteListResp, error)
- // 测试用户管理
- UserTestAdd(context.Context, *UserTestAddReq) (*UserTestAddResp, error)
- UserTestUpdate(context.Context, *UserTestUpdateReq) (*UserTestUpdateResp, error)
- UserTestDel(context.Context, *UserTestDelReq) (*Empty, error)
- UserTestGet(context.Context, *UserTestGetReq) (*UserTestGetResp, error)
- UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error)
- // User Model
- // UserAdd
- UserAdd(context.Context, *UserAddReq) (*UserAddResp, error)
- UserUpdate(context.Context, *UserUpdateReq) (*UserUpdateResp, error)
- UserDel(context.Context, *UserDelReq) (*Empty, error)
- UserGet(context.Context, *UserGetReq) (*UserGetResp, error)
- UserList(context.Context, *UserListReq) (*UserListResp, error)
- // UserCredential Model
- // UserCredentialAdd
- UserCredentialAdd(context.Context, *UserCredentialAddReq) (*UserCredentialAddResp, error)
- UserCredentialUpdate(context.Context, *UserCredentialUpdateReq) (*UserCredentialUpdateResp, error)
- UserCredentialDel(context.Context, *UserCredentialDelReq) (*Empty, error)
- UserCredentialGet(context.Context, *UserCredentialGetReq) (*UserCredentialGetResp, error)
- UserCredentialList(context.Context, *UserCredentialListReq) (*UserCredentialListResp, error)
- // UserDevice Model
- // UserDeviceAdd
- UserDeviceAdd(context.Context, *UserDeviceAddReq) (*UserDeviceAddResp, error)
- UserDeviceUpdate(context.Context, *UserDeviceUpdateReq) (*UserDeviceUpdateResp, error)
- UserDeviceDel(context.Context, *UserDeviceDelReq) (*Empty, error)
- UserDeviceGet(context.Context, *UserDeviceGetReq) (*UserDeviceGetResp, error)
- UserDeviceList(context.Context, *UserDeviceListReq) (*UserDeviceListResp, error)
- mustEmbedUnimplementedGoUserClientServer()
- }
- // UnimplementedGoUserClientServer must be embedded to have
- // forward compatible implementations.
- //
- // NOTE: this should be embedded by value instead of pointer to avoid a nil
- // pointer dereference when methods are called.
- type UnimplementedGoUserClientServer struct{}
- func (UnimplementedGoUserClientServer) Ping(context.Context, *Request) (*Response, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
- }
- func (UnimplementedGoUserClientServer) UserAppConfigAdd(context.Context, *UserAppConfigVo) (*UserAppConfigVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) UserAppConfigUpdate(context.Context, *UserAppConfigVo) (*UserAppConfigVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) UserAppConfigDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigDel not implemented")
- }
- func (UnimplementedGoUserClientServer) UserAppConfigGet(context.Context, *UserAppConfigGetReq) (*UserAppConfigVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigGet not implemented")
- }
- func (UnimplementedGoUserClientServer) UserAppConfigList(context.Context, *UserAppConfigListReq) (*UserAppConfigListRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserAppConfigList not implemented")
- }
- func (UnimplementedGoUserClientServer) DeviceAdd(context.Context, *DeviceVo) (*DeviceVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) DeviceUpdate(context.Context, *DeviceVo) (*DeviceVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) DeviceDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceDel not implemented")
- }
- func (UnimplementedGoUserClientServer) DeviceGet(context.Context, *DeviceVo) (*DeviceVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceGet not implemented")
- }
- func (UnimplementedGoUserClientServer) DeviceList(context.Context, *DeviceListReq) (*DeviceListRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented")
- }
- func (UnimplementedGoUserClientServer) DeviceAddFirebaseToken(context.Context, *DeviceAddFirebaseTokenReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceAddFirebaseToken not implemented")
- }
- func (UnimplementedGoUserClientServer) DeviceUpdateFirebaseToken(context.Context, *DeviceUpdateFirebaseTokenReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceUpdateFirebaseToken not implemented")
- }
- func (UnimplementedGoUserClientServer) DeviceFirebaseTokenMap(context.Context, *DeviceFirebaseTokenMapReq) (*DeviceFirebaseTokenMapRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceFirebaseTokenMap not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountAdd(context.Context, *AccountVo) (*AccountVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountUpdate(context.Context, *AccountVo) (*AccountVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountDel not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountGet(context.Context, *AccountVo) (*AccountVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountGet not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountList(context.Context, *AccountListReq) (*AccountListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountList not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountDeviceAdd(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountDeviceUpdate(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountDeviceDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceDel not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountDeviceGet(context.Context, *AccountDeviceVo) (*AccountDeviceVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceGet not implemented")
- }
- func (UnimplementedGoUserClientServer) AccountDeviceList(context.Context, *AccountDeviceListReq) (*AccountDeviceListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AccountDeviceList not implemented")
- }
- func (UnimplementedGoUserClientServer) UserWhiteAdd(context.Context, *UserWhiteAddReq) (*UserWhiteAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserWhiteAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) UserWhiteUpdate(context.Context, *UserWhiteUpdateReq) (*UserWhiteUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserWhiteUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) UserWhiteDel(context.Context, *UserWhiteDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserWhiteDel not implemented")
- }
- func (UnimplementedGoUserClientServer) UserWhiteGet(context.Context, *UserWhiteGetReq) (*UserWhiteGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserWhiteGet not implemented")
- }
- func (UnimplementedGoUserClientServer) UserWhiteList(context.Context, *UserWhiteListReq) (*UserWhiteListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserWhiteList not implemented")
- }
- func (UnimplementedGoUserClientServer) UserTestAdd(context.Context, *UserTestAddReq) (*UserTestAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserTestAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) UserTestUpdate(context.Context, *UserTestUpdateReq) (*UserTestUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserTestUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) UserTestDel(context.Context, *UserTestDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserTestDel not implemented")
- }
- func (UnimplementedGoUserClientServer) UserTestGet(context.Context, *UserTestGetReq) (*UserTestGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserTestGet not implemented")
- }
- func (UnimplementedGoUserClientServer) UserTestList(context.Context, *UserTestListReq) (*UserTestListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserTestList not implemented")
- }
- func (UnimplementedGoUserClientServer) UserAdd(context.Context, *UserAddReq) (*UserAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) UserUpdate(context.Context, *UserUpdateReq) (*UserUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) UserDel(context.Context, *UserDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserDel not implemented")
- }
- func (UnimplementedGoUserClientServer) UserGet(context.Context, *UserGetReq) (*UserGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserGet not implemented")
- }
- func (UnimplementedGoUserClientServer) UserList(context.Context, *UserListReq) (*UserListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserList not implemented")
- }
- func (UnimplementedGoUserClientServer) UserCredentialAdd(context.Context, *UserCredentialAddReq) (*UserCredentialAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserCredentialAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) UserCredentialUpdate(context.Context, *UserCredentialUpdateReq) (*UserCredentialUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserCredentialUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) UserCredentialDel(context.Context, *UserCredentialDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserCredentialDel not implemented")
- }
- func (UnimplementedGoUserClientServer) UserCredentialGet(context.Context, *UserCredentialGetReq) (*UserCredentialGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserCredentialGet not implemented")
- }
- func (UnimplementedGoUserClientServer) UserCredentialList(context.Context, *UserCredentialListReq) (*UserCredentialListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserCredentialList not implemented")
- }
- func (UnimplementedGoUserClientServer) UserDeviceAdd(context.Context, *UserDeviceAddReq) (*UserDeviceAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserDeviceAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) UserDeviceUpdate(context.Context, *UserDeviceUpdateReq) (*UserDeviceUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserDeviceUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) UserDeviceDel(context.Context, *UserDeviceDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserDeviceDel not implemented")
- }
- func (UnimplementedGoUserClientServer) UserDeviceGet(context.Context, *UserDeviceGetReq) (*UserDeviceGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserDeviceGet not implemented")
- }
- func (UnimplementedGoUserClientServer) UserDeviceList(context.Context, *UserDeviceListReq) (*UserDeviceListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserDeviceList not implemented")
- }
- func (UnimplementedGoUserClientServer) mustEmbedUnimplementedGoUserClientServer() {}
- func (UnimplementedGoUserClientServer) testEmbeddedByValue() {}
- // UnsafeGoUserClientServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to GoUserClientServer will
- // result in compilation errors.
- type UnsafeGoUserClientServer interface {
- mustEmbedUnimplementedGoUserClientServer()
- }
- func RegisterGoUserClientServer(s grpc.ServiceRegistrar, srv GoUserClientServer) {
- // If the following call pancis, it indicates UnimplementedGoUserClientServer was
- // embedded by pointer and is nil. This will cause panics if an
- // unimplemented method is ever invoked, so we test this at initialization
- // time to prevent it from happening at runtime later due to I/O.
- if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
- t.testEmbeddedByValue()
- }
- s.RegisterService(&GoUserClient_ServiceDesc, srv)
- }
- func _GoUserClient_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Request)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).Ping(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_Ping_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).Ping(ctx, req.(*Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserAppConfigAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserAppConfigVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserAppConfigAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserAppConfigAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserAppConfigAdd(ctx, req.(*UserAppConfigVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserAppConfigUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserAppConfigVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserAppConfigUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserAppConfigUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserAppConfigUpdate(ctx, req.(*UserAppConfigVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserAppConfigDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserAppConfigDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserAppConfigDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserAppConfigDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserAppConfigGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserAppConfigGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserAppConfigGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserAppConfigGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserAppConfigGet(ctx, req.(*UserAppConfigGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserAppConfigList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserAppConfigListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserAppConfigList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserAppConfigList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserAppConfigList(ctx, req.(*UserAppConfigListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_DeviceAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeviceVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).DeviceAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_DeviceAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).DeviceAdd(ctx, req.(*DeviceVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_DeviceUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeviceVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).DeviceUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_DeviceUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).DeviceUpdate(ctx, req.(*DeviceVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_DeviceDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).DeviceDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_DeviceDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).DeviceDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_DeviceGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeviceVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).DeviceGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_DeviceGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).DeviceGet(ctx, req.(*DeviceVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_DeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeviceListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).DeviceList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_DeviceList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).DeviceList(ctx, req.(*DeviceListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_DeviceAddFirebaseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeviceAddFirebaseTokenReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).DeviceAddFirebaseToken(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_DeviceAddFirebaseToken_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).DeviceAddFirebaseToken(ctx, req.(*DeviceAddFirebaseTokenReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_DeviceUpdateFirebaseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeviceUpdateFirebaseTokenReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).DeviceUpdateFirebaseToken(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_DeviceUpdateFirebaseToken_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).DeviceUpdateFirebaseToken(ctx, req.(*DeviceUpdateFirebaseTokenReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_DeviceFirebaseTokenMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeviceFirebaseTokenMapReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).DeviceFirebaseTokenMap(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_DeviceFirebaseTokenMap_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).DeviceFirebaseTokenMap(ctx, req.(*DeviceFirebaseTokenMapReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AccountVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountAdd(ctx, req.(*AccountVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AccountVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountUpdate(ctx, req.(*AccountVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AccountVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountGet(ctx, req.(*AccountVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AccountListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountList(ctx, req.(*AccountListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountDeviceAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AccountDeviceVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountDeviceAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountDeviceAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountDeviceAdd(ctx, req.(*AccountDeviceVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountDeviceUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AccountDeviceVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountDeviceUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountDeviceUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountDeviceUpdate(ctx, req.(*AccountDeviceVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountDeviceDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountDeviceDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountDeviceDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountDeviceDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountDeviceGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AccountDeviceVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountDeviceGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountDeviceGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountDeviceGet(ctx, req.(*AccountDeviceVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_AccountDeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AccountDeviceListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).AccountDeviceList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_AccountDeviceList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).AccountDeviceList(ctx, req.(*AccountDeviceListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserWhiteAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserWhiteAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserWhiteAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserWhiteAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserWhiteAdd(ctx, req.(*UserWhiteAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserWhiteUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserWhiteUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserWhiteUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserWhiteUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserWhiteUpdate(ctx, req.(*UserWhiteUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserWhiteDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserWhiteDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserWhiteDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserWhiteDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserWhiteDel(ctx, req.(*UserWhiteDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserWhiteGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserWhiteGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserWhiteGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserWhiteGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserWhiteGet(ctx, req.(*UserWhiteGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserWhiteList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserWhiteListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserWhiteList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserWhiteList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserWhiteList(ctx, req.(*UserWhiteListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserTestAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserTestAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserTestAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserTestAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserTestAdd(ctx, req.(*UserTestAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserTestUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserTestUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserTestUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserTestUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserTestUpdate(ctx, req.(*UserTestUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserTestDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserTestDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserTestDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserTestDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserTestDel(ctx, req.(*UserTestDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserTestGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserTestGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserTestGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserTestGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserTestGet(ctx, req.(*UserTestGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserTestList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserTestListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserTestList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserTestList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserTestList(ctx, req.(*UserTestListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserAdd(ctx, req.(*UserAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserUpdate(ctx, req.(*UserUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserDel(ctx, req.(*UserDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserGet(ctx, req.(*UserGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserList(ctx, req.(*UserListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserCredentialAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserCredentialAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserCredentialAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserCredentialAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserCredentialAdd(ctx, req.(*UserCredentialAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserCredentialUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserCredentialUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserCredentialUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserCredentialUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserCredentialUpdate(ctx, req.(*UserCredentialUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserCredentialDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserCredentialDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserCredentialDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserCredentialDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserCredentialDel(ctx, req.(*UserCredentialDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserCredentialGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserCredentialGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserCredentialGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserCredentialGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserCredentialGet(ctx, req.(*UserCredentialGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserCredentialList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserCredentialListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserCredentialList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserCredentialList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserCredentialList(ctx, req.(*UserCredentialListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserDeviceAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserDeviceAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserDeviceAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserDeviceAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserDeviceAdd(ctx, req.(*UserDeviceAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserDeviceUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserDeviceUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserDeviceUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserDeviceUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserDeviceUpdate(ctx, req.(*UserDeviceUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserDeviceDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserDeviceDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserDeviceDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserDeviceDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserDeviceDel(ctx, req.(*UserDeviceDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserDeviceGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserDeviceGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserDeviceGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserDeviceGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserDeviceGet(ctx, req.(*UserDeviceGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserDeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserDeviceListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserDeviceList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserDeviceList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserDeviceList(ctx, req.(*UserDeviceListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- // GoUserClient_ServiceDesc is the grpc.ServiceDesc for GoUserClient service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var GoUserClient_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "gorpc.GoUserClient",
- HandlerType: (*GoUserClientServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "Ping",
- Handler: _GoUserClient_Ping_Handler,
- },
- {
- MethodName: "UserAppConfigAdd",
- Handler: _GoUserClient_UserAppConfigAdd_Handler,
- },
- {
- MethodName: "UserAppConfigUpdate",
- Handler: _GoUserClient_UserAppConfigUpdate_Handler,
- },
- {
- MethodName: "UserAppConfigDel",
- Handler: _GoUserClient_UserAppConfigDel_Handler,
- },
- {
- MethodName: "UserAppConfigGet",
- Handler: _GoUserClient_UserAppConfigGet_Handler,
- },
- {
- MethodName: "UserAppConfigList",
- Handler: _GoUserClient_UserAppConfigList_Handler,
- },
- {
- MethodName: "DeviceAdd",
- Handler: _GoUserClient_DeviceAdd_Handler,
- },
- {
- MethodName: "DeviceUpdate",
- Handler: _GoUserClient_DeviceUpdate_Handler,
- },
- {
- MethodName: "DeviceDel",
- Handler: _GoUserClient_DeviceDel_Handler,
- },
- {
- MethodName: "DeviceGet",
- Handler: _GoUserClient_DeviceGet_Handler,
- },
- {
- MethodName: "DeviceList",
- Handler: _GoUserClient_DeviceList_Handler,
- },
- {
- MethodName: "DeviceAddFirebaseToken",
- Handler: _GoUserClient_DeviceAddFirebaseToken_Handler,
- },
- {
- MethodName: "DeviceUpdateFirebaseToken",
- Handler: _GoUserClient_DeviceUpdateFirebaseToken_Handler,
- },
- {
- MethodName: "DeviceFirebaseTokenMap",
- Handler: _GoUserClient_DeviceFirebaseTokenMap_Handler,
- },
- {
- MethodName: "AccountAdd",
- Handler: _GoUserClient_AccountAdd_Handler,
- },
- {
- MethodName: "AccountUpdate",
- Handler: _GoUserClient_AccountUpdate_Handler,
- },
- {
- MethodName: "AccountDel",
- Handler: _GoUserClient_AccountDel_Handler,
- },
- {
- MethodName: "AccountGet",
- Handler: _GoUserClient_AccountGet_Handler,
- },
- {
- MethodName: "AccountList",
- Handler: _GoUserClient_AccountList_Handler,
- },
- {
- MethodName: "AccountDeviceAdd",
- Handler: _GoUserClient_AccountDeviceAdd_Handler,
- },
- {
- MethodName: "AccountDeviceUpdate",
- Handler: _GoUserClient_AccountDeviceUpdate_Handler,
- },
- {
- MethodName: "AccountDeviceDel",
- Handler: _GoUserClient_AccountDeviceDel_Handler,
- },
- {
- MethodName: "AccountDeviceGet",
- Handler: _GoUserClient_AccountDeviceGet_Handler,
- },
- {
- MethodName: "AccountDeviceList",
- Handler: _GoUserClient_AccountDeviceList_Handler,
- },
- {
- MethodName: "UserWhiteAdd",
- Handler: _GoUserClient_UserWhiteAdd_Handler,
- },
- {
- MethodName: "UserWhiteUpdate",
- Handler: _GoUserClient_UserWhiteUpdate_Handler,
- },
- {
- MethodName: "UserWhiteDel",
- Handler: _GoUserClient_UserWhiteDel_Handler,
- },
- {
- MethodName: "UserWhiteGet",
- Handler: _GoUserClient_UserWhiteGet_Handler,
- },
- {
- MethodName: "UserWhiteList",
- Handler: _GoUserClient_UserWhiteList_Handler,
- },
- {
- MethodName: "UserTestAdd",
- Handler: _GoUserClient_UserTestAdd_Handler,
- },
- {
- MethodName: "UserTestUpdate",
- Handler: _GoUserClient_UserTestUpdate_Handler,
- },
- {
- MethodName: "UserTestDel",
- Handler: _GoUserClient_UserTestDel_Handler,
- },
- {
- MethodName: "UserTestGet",
- Handler: _GoUserClient_UserTestGet_Handler,
- },
- {
- MethodName: "UserTestList",
- Handler: _GoUserClient_UserTestList_Handler,
- },
- {
- MethodName: "UserAdd",
- Handler: _GoUserClient_UserAdd_Handler,
- },
- {
- MethodName: "UserUpdate",
- Handler: _GoUserClient_UserUpdate_Handler,
- },
- {
- MethodName: "UserDel",
- Handler: _GoUserClient_UserDel_Handler,
- },
- {
- MethodName: "UserGet",
- Handler: _GoUserClient_UserGet_Handler,
- },
- {
- MethodName: "UserList",
- Handler: _GoUserClient_UserList_Handler,
- },
- {
- MethodName: "UserCredentialAdd",
- Handler: _GoUserClient_UserCredentialAdd_Handler,
- },
- {
- MethodName: "UserCredentialUpdate",
- Handler: _GoUserClient_UserCredentialUpdate_Handler,
- },
- {
- MethodName: "UserCredentialDel",
- Handler: _GoUserClient_UserCredentialDel_Handler,
- },
- {
- MethodName: "UserCredentialGet",
- Handler: _GoUserClient_UserCredentialGet_Handler,
- },
- {
- MethodName: "UserCredentialList",
- Handler: _GoUserClient_UserCredentialList_Handler,
- },
- {
- MethodName: "UserDeviceAdd",
- Handler: _GoUserClient_UserDeviceAdd_Handler,
- },
- {
- MethodName: "UserDeviceUpdate",
- Handler: _GoUserClient_UserDeviceUpdate_Handler,
- },
- {
- MethodName: "UserDeviceDel",
- Handler: _GoUserClient_UserDeviceDel_Handler,
- },
- {
- MethodName: "UserDeviceGet",
- Handler: _GoUserClient_UserDeviceGet_Handler,
- },
- {
- MethodName: "UserDeviceList",
- Handler: _GoUserClient_UserDeviceList_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "gorpc.proto",
- }
- const (
- GoVpnClient_Ping_FullMethodName = "/gorpc.GoVpnClient/Ping"
- GoVpnClient_Transaction_FullMethodName = "/gorpc.GoVpnClient/Transaction"
- GoVpnClient_VpnTagAdd_FullMethodName = "/gorpc.GoVpnClient/VpnTagAdd"
- GoVpnClient_VpnTagUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnTagUpdate"
- GoVpnClient_VpnTagDel_FullMethodName = "/gorpc.GoVpnClient/VpnTagDel"
- GoVpnClient_VpnTagGet_FullMethodName = "/gorpc.GoVpnClient/VpnTagGet"
- GoVpnClient_VpnTagList_FullMethodName = "/gorpc.GoVpnClient/VpnTagList"
- GoVpnClient_VpnTagBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnTagBatchAdd"
- GoVpnClient_VpnTagBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnTagBatchUpdate"
- GoVpnClient_VpnGroupAdd_FullMethodName = "/gorpc.GoVpnClient/VpnGroupAdd"
- GoVpnClient_VpnGroupUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnGroupUpdate"
- GoVpnClient_VpnGroupDel_FullMethodName = "/gorpc.GoVpnClient/VpnGroupDel"
- GoVpnClient_VpnGroupGet_FullMethodName = "/gorpc.GoVpnClient/VpnGroupGet"
- GoVpnClient_VpnGroupList_FullMethodName = "/gorpc.GoVpnClient/VpnGroupList"
- GoVpnClient_VpnGroupBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnGroupBatchAdd"
- GoVpnClient_VpnGroupBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnGroupBatchUpdate"
- GoVpnClient_VpnGroupTagAdd_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagAdd"
- GoVpnClient_VpnGroupTagUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagUpdate"
- GoVpnClient_VpnGroupTagDel_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagDel"
- GoVpnClient_VpnGroupTagGet_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagGet"
- GoVpnClient_VpnGroupTagList_FullMethodName = "/gorpc.GoVpnClient/VpnGroupTagList"
- GoVpnClient_VpnLocationAdd_FullMethodName = "/gorpc.GoVpnClient/VpnLocationAdd"
- GoVpnClient_VpnLocationUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnLocationUpdate"
- GoVpnClient_VpnLocationDel_FullMethodName = "/gorpc.GoVpnClient/VpnLocationDel"
- GoVpnClient_VpnLocationGet_FullMethodName = "/gorpc.GoVpnClient/VpnLocationGet"
- GoVpnClient_VpnLocationList_FullMethodName = "/gorpc.GoVpnClient/VpnLocationList"
- GoVpnClient_VpnLocationBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnLocationBatchAdd"
- GoVpnClient_VpnLocationBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnLocationBatchUpdate"
- GoVpnClient_VpnServerAdd_FullMethodName = "/gorpc.GoVpnClient/VpnServerAdd"
- GoVpnClient_VpnServerUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnServerUpdate"
- GoVpnClient_VpnServerDel_FullMethodName = "/gorpc.GoVpnClient/VpnServerDel"
- GoVpnClient_VpnServerGet_FullMethodName = "/gorpc.GoVpnClient/VpnServerGet"
- GoVpnClient_VpnServerExGet_FullMethodName = "/gorpc.GoVpnClient/VpnServerExGet"
- GoVpnClient_VpnServerList_FullMethodName = "/gorpc.GoVpnClient/VpnServerList"
- GoVpnClient_VpnServerExList_FullMethodName = "/gorpc.GoVpnClient/VpnServerExList"
- GoVpnClient_VpnServerBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnServerBatchAdd"
- GoVpnClient_VpnServerBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnServerBatchUpdate"
- GoVpnClient_VpnServerLocationAdd_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationAdd"
- GoVpnClient_VpnServerLocationUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationUpdate"
- GoVpnClient_VpnServerLocationDel_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationDel"
- GoVpnClient_VpnServerLocationGet_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationGet"
- GoVpnClient_VpnServerLocationList_FullMethodName = "/gorpc.GoVpnClient/VpnServerLocationList"
- GoVpnClient_VpnWithIPAndPort_FullMethodName = "/gorpc.GoVpnClient/VpnWithIPAndPort"
- GoVpnClient_VpnLocationServerCount_FullMethodName = "/gorpc.GoVpnClient/VpnLocationServerCount"
- GoVpnClient_VpnProbeTaskAdd_FullMethodName = "/gorpc.GoVpnClient/VpnProbeTaskAdd"
- GoVpnClient_VpnProbeTaskUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnProbeTaskUpdate"
- GoVpnClient_VpnProbeTaskList_FullMethodName = "/gorpc.GoVpnClient/VpnProbeTaskList"
- GoVpnClient_VpnipWalledAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipWalledAdd"
- GoVpnClient_VpnipWalledUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipWalledUpdate"
- GoVpnClient_VpnipWalledDel_FullMethodName = "/gorpc.GoVpnClient/VpnipWalledDel"
- GoVpnClient_VpnipWalledGet_FullMethodName = "/gorpc.GoVpnClient/VpnipWalledGet"
- GoVpnClient_VpnipWalledList_FullMethodName = "/gorpc.GoVpnClient/VpnipWalledList"
- GoVpnClient_VpnipWalledBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipWalledBatchAdd"
- GoVpnClient_VpnipWalledBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipWalledBatchUpdate"
- GoVpnClient_VpnipAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipAdd"
- GoVpnClient_VpnipExAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipExAdd"
- GoVpnClient_VpnipUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipUpdate"
- GoVpnClient_VpnipExUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipExUpdate"
- GoVpnClient_VpnipDel_FullMethodName = "/gorpc.GoVpnClient/VpnipDel"
- GoVpnClient_VpnipGet_FullMethodName = "/gorpc.GoVpnClient/VpnipGet"
- GoVpnClient_VpnipExGet_FullMethodName = "/gorpc.GoVpnClient/VpnipExGet"
- GoVpnClient_VpnipList_FullMethodName = "/gorpc.GoVpnClient/VpnipList"
- GoVpnClient_VpnipExList_FullMethodName = "/gorpc.GoVpnClient/VpnipExList"
- GoVpnClient_VpnipBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipBatchAdd"
- GoVpnClient_VpnipBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipBatchUpdate"
- GoVpnClient_VpnipExBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipExBatchAdd"
- GoVpnClient_VpnipExBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipExBatchUpdate"
- GoVpnClient_VpnipRangeAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeAdd"
- GoVpnClient_VpnipRangeExAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeExAdd"
- GoVpnClient_VpnipRangeUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeUpdate"
- GoVpnClient_VpnipRangeExUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeExUpdate"
- GoVpnClient_VpnipRangeDel_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeDel"
- GoVpnClient_VpnipRangeGet_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeGet"
- GoVpnClient_VpnipRangeExGet_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeExGet"
- GoVpnClient_VpnipRangeList_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeList"
- GoVpnClient_VpnipRangeExList_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeExList"
- GoVpnClient_VpnipRangeBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeBatchAdd"
- GoVpnClient_VpnipRangeExBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeExBatchAdd"
- GoVpnClient_VpnipRangeBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeBatchUpdate"
- GoVpnClient_VpnipRangeExBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipRangeExBatchUpdate"
- GoVpnClient_VpnipBindAdd_FullMethodName = "/gorpc.GoVpnClient/VpnipBindAdd"
- GoVpnClient_VpnipBindUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipBindUpdate"
- GoVpnClient_VpnipBindDel_FullMethodName = "/gorpc.GoVpnClient/VpnipBindDel"
- GoVpnClient_VpnipBindGet_FullMethodName = "/gorpc.GoVpnClient/VpnipBindGet"
- GoVpnClient_VpnipBindList_FullMethodName = "/gorpc.GoVpnClient/VpnipBindList"
- GoVpnClient_VpnipBindBatchUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnipBindBatchUpdate"
- GoVpnClient_VpnipsBindServer_FullMethodName = "/gorpc.GoVpnClient/VpnipsBindServer"
- GoVpnClient_VpnConfigTemplatePlanAdd_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanAdd"
- GoVpnClient_VpnConfigTemplatePlanUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanUpdate"
- GoVpnClient_VpnConfigTemplatePlanDel_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDel"
- GoVpnClient_VpnConfigTemplatePlanGet_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanGet"
- GoVpnClient_VpnConfigTemplatePlanList_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanList"
- GoVpnClient_VpnConfigTemplatePlanDetailAdd_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailAdd"
- GoVpnClient_VpnConfigTemplatePlanDetailUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailUpdate"
- GoVpnClient_VpnConfigTemplatePlanDetailDel_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailDel"
- GoVpnClient_VpnConfigTemplatePlanDetailGet_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailGet"
- GoVpnClient_VpnConfigTemplatePlanDetailList_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailList"
- )
- // GoVpnClientClient is the client API for GoVpnClient service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
- //
- // govpn 模块,VPN相关服务
- type GoVpnClientClient interface {
- Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
- // 表的事务操作
- Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error)
- // VpnTag Model
- // VpnTagAdd
- VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
- VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
- VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error)
- VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error)
- VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error)
- VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error)
- // VpnGroup Model
- // VpnGroupAdd
- VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
- VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error)
- VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
- VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error)
- VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error)
- VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error)
- // VpnGroupTag Model
- // VpnGroupTagAdd
- VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
- VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
- VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
- VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error)
- // VpnLocation Model
- // VpnLocationAdd
- VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error)
- VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error)
- VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error)
- VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error)
- VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error)
- VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error)
- // VpnServer Model
- // VpnServerAdd
- VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
- VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
- VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error)
- VpnServerExGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerExVo, error)
- VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error)
- VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error)
- VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error)
- VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error)
- // VpnServerLocation Model
- // VpnServerLocationAdd
- VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
- VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error)
- VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
- VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error)
- VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error)
- // VpnLocationServerCount
- VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error)
- // VpnProbeTask Model
- // VpnProbeTaskAdd
- VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error)
- VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error)
- VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error)
- // VpnipWalled Model
- // VpnipWalledAdd
- VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error)
- VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error)
- VpnipWalledDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnipWalledGet(ctx context.Context, in *VpnipWalledGetReq, opts ...grpc.CallOption) (*VpnipWalledGetResp, error)
- VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error)
- VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error)
- VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error)
- // Vpnip Model
- // VpnipAdd
- VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error)
- VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error)
- VpnipUpdate(ctx context.Context, in *VpnipUpdateReq, opts ...grpc.CallOption) (*VpnipUpdateResp, error)
- VpnipExUpdate(ctx context.Context, in *VpnipExUpdateReq, opts ...grpc.CallOption) (*VpnipExUpdateResp, error)
- VpnipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnipGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipGetResp, error)
- VpnipExGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipExGetResp, error)
- VpnipList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipListResp, error)
- VpnipExList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipExListResp, error)
- VpnipBatchAdd(ctx context.Context, in *VpnipBatchAddReq, opts ...grpc.CallOption) (*VpnipBatchAddResp, error)
- VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error)
- VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error)
- VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error)
- // VpnipRange Model
- // VpnipRangeAdd
- VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error)
- // VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
- VpnipRangeExAdd(ctx context.Context, in *VpnipRangeExAddReq, opts ...grpc.CallOption) (*VpnipRangeExAddResp, error)
- VpnipRangeUpdate(ctx context.Context, in *VpnipRangeUpdateReq, opts ...grpc.CallOption) (*VpnipRangeUpdateResp, error)
- VpnipRangeExUpdate(ctx context.Context, in *VpnipRangeExUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExUpdateResp, error)
- VpnipRangeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnipRangeGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeGetResp, error)
- VpnipRangeExGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeExGetResp, error)
- VpnipRangeList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeListResp, error)
- VpnipRangeExList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeExListResp, error)
- VpnipRangeBatchAdd(ctx context.Context, in *VpnipRangeBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeBatchAddResp, error)
- VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error)
- VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error)
- VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error)
- // VpnipBind Model
- // VpnipBindAdd
- VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error)
- VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error)
- VpnipBindDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
- VpnipBindGet(ctx context.Context, in *VpnipBindGetReq, opts ...grpc.CallOption) (*VpnipBindGetResp, error)
- VpnipBindList(ctx context.Context, in *VpnipBindListReq, opts ...grpc.CallOption) (*VpnipBindListResp, error)
- VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error)
- // VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
- VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error)
- // VpnConfigTemplatePlan Model (Xray配置模板,jump那边叫做配置模板)
- // VpnConfigTemplatePlanAdd 添加配置模板及模板详情
- VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error)
- // VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
- VpnConfigTemplatePlanUpdate(ctx context.Context, in *VpnConfigTemplatePlanUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanUpdateResp, error)
- // VpnConfigTemplatePlanDel 删除配置模板(会同时删除模板详情)
- VpnConfigTemplatePlanDel(ctx context.Context, in *VpnConfigTemplatePlanDelReq, opts ...grpc.CallOption) (*Empty, error)
- // VpnConfigTemplatePlanGet 获取配置模板(如果 withDetails 为 true,则返回结果中包含模板详情)
- VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error)
- // VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
- VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error)
- // VpnConfigTemplatePlanDetail Model (Xray配置模板详情,jump那边叫做传输配置)
- // VpnConfigTemplatePlanDetailAdd 添加模板详情
- VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error)
- VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error)
- VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error)
- VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error)
- VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error)
- }
- type goVpnClientClient struct {
- cc grpc.ClientConnInterface
- }
- func NewGoVpnClientClient(cc grpc.ClientConnInterface) GoVpnClientClient {
- return &goVpnClientClient{cc}
- }
- func (c *goVpnClientClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Response)
- err := c.cc.Invoke(ctx, GoVpnClient_Ping_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_Transaction_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnTagVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnTagAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnTagVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnTagUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnTagDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnTagVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnTagGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnTagListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnTagList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnTagBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnTagBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnTagBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnTagBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnGroupVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnGroupVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnGroupListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnGroupBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnGroupBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnGroupTagVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnGroupTagVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnGroupTagVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnGroupTagListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnGroupTagList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnLocationVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnLocationVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnLocationListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnLocationBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnLocationBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerAddReq)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerAddReq)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerExGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerExVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerExVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerExGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerExListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerExList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerLocationVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerLocationVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerLocationListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerLocationList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnWithIPAndPortResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnWithIPAndPort_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnLocationServerCountResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnLocationServerCount_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnProbeTaskVo)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnProbeTaskAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnProbeTaskUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnProbeTaskListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnProbeTaskList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipWalledAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipWalledAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipWalledUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipWalledUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipWalledDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipWalledDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipWalledGet(ctx context.Context, in *VpnipWalledGetReq, opts ...grpc.CallOption) (*VpnipWalledGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipWalledGetResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipWalledGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipWalledListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipWalledList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipWalledBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipWalledBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipWalledBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipWalledBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipExAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipExAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipUpdate(ctx context.Context, in *VpnipUpdateReq, opts ...grpc.CallOption) (*VpnipUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipExUpdate(ctx context.Context, in *VpnipExUpdateReq, opts ...grpc.CallOption) (*VpnipExUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipExUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipExUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipGetResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipExGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipExGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipExGetResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipExGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipExList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipExListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipExListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipExList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipBatchAdd(ctx context.Context, in *VpnipBatchAddReq, opts ...grpc.CallOption) (*VpnipBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipExBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipExBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipExBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipExBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeExAdd(ctx context.Context, in *VpnipRangeExAddReq, opts ...grpc.CallOption) (*VpnipRangeExAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeExAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeExAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeUpdate(ctx context.Context, in *VpnipRangeUpdateReq, opts ...grpc.CallOption) (*VpnipRangeUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeExUpdate(ctx context.Context, in *VpnipRangeExUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeExUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeExUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeGetResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeExGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeExGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeExGetResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeExGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeExList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeExListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeExListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeExList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeBatchAdd(ctx context.Context, in *VpnipRangeBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeExBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeExBatchAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipRangeExBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipRangeExBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipBindAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipBindAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipBindUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipBindUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipBindDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipBindDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipBindGet(ctx context.Context, in *VpnipBindGetReq, opts ...grpc.CallOption) (*VpnipBindGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipBindGetResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipBindGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipBindList(ctx context.Context, in *VpnipBindListReq, opts ...grpc.CallOption) (*VpnipBindListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipBindListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipBindList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipBindBatchUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipBindBatchUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnipBindBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnipsBindServer_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnConfigTemplatePlanAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanUpdate(ctx context.Context, in *VpnConfigTemplatePlanUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnConfigTemplatePlanUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanDel(ctx context.Context, in *VpnConfigTemplatePlanDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnConfigTemplatePlanGetResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnConfigTemplatePlanListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnConfigTemplatePlanDetailAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanDetailAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnConfigTemplatePlanDetailUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanDetailUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanDetailDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnConfigTemplatePlanDetailGetResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanDetailGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnConfigTemplatePlanDetailListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnConfigTemplatePlanDetailList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // GoVpnClientServer is the server API for GoVpnClient service.
- // All implementations must embed UnimplementedGoVpnClientServer
- // for forward compatibility.
- //
- // govpn 模块,VPN相关服务
- type GoVpnClientServer interface {
- Ping(context.Context, *Request) (*Response, error)
- // 表的事务操作
- Transaction(context.Context, *TransactionReq) (*Empty, error)
- // VpnTag Model
- // VpnTagAdd
- VpnTagAdd(context.Context, *VpnTagVo) (*VpnTagVo, error)
- VpnTagUpdate(context.Context, *VpnTagVo) (*VpnTagVo, error)
- VpnTagDel(context.Context, *Ids) (*Empty, error)
- VpnTagGet(context.Context, *VpnTagGetReq) (*VpnTagVo, error)
- VpnTagList(context.Context, *VpnTagListReq) (*VpnTagListResp, error)
- VpnTagBatchAdd(context.Context, *VpnTagBatchAddReq) (*VpnTagBatchAddResp, error)
- VpnTagBatchUpdate(context.Context, *VpnTagBatchUpdateReq) (*VpnTagBatchUpdateResp, error)
- // VpnGroup Model
- // VpnGroupAdd
- VpnGroupAdd(context.Context, *VpnGroupAddReq) (*VpnGroupVo, error)
- VpnGroupUpdate(context.Context, *VpnGroupAddReq) (*Empty, error)
- VpnGroupDel(context.Context, *Ids) (*Empty, error)
- VpnGroupGet(context.Context, *VpnGroupGetReq) (*VpnGroupVo, error)
- VpnGroupList(context.Context, *VpnGroupListReq) (*VpnGroupListResp, error)
- VpnGroupBatchAdd(context.Context, *VpnGroupBatchAddReq) (*VpnGroupBatchAddResp, error)
- VpnGroupBatchUpdate(context.Context, *VpnGroupBatchUpdateReq) (*VpnGroupBatchUpdateResp, error)
- // VpnGroupTag Model
- // VpnGroupTagAdd
- VpnGroupTagAdd(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
- VpnGroupTagUpdate(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
- VpnGroupTagDel(context.Context, *Ids) (*Empty, error)
- VpnGroupTagGet(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
- VpnGroupTagList(context.Context, *VpnGroupTagListReq) (*VpnGroupTagListResp, error)
- // VpnLocation Model
- // VpnLocationAdd
- VpnLocationAdd(context.Context, *VpnLocationVo) (*VpnLocationVo, error)
- VpnLocationUpdate(context.Context, *VpnLocationVo) (*Empty, error)
- VpnLocationDel(context.Context, *Ids) (*Empty, error)
- VpnLocationGet(context.Context, *VpnLocationGetReq) (*VpnLocationVo, error)
- VpnLocationList(context.Context, *VpnLocationListReq) (*VpnLocationListResp, error)
- VpnLocationBatchAdd(context.Context, *VpnLocationBatchAddReq) (*VpnLocationBatchAddResp, error)
- VpnLocationBatchUpdate(context.Context, *VpnLocationBatchUpdateReq) (*VpnLocationBatchUpdateResp, error)
- // VpnServer Model
- // VpnServerAdd
- VpnServerAdd(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error)
- VpnServerUpdate(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error)
- VpnServerDel(context.Context, *Ids) (*Empty, error)
- VpnServerGet(context.Context, *VpnServerVo) (*VpnServerVo, error)
- VpnServerExGet(context.Context, *VpnServerVo) (*VpnServerExVo, error)
- VpnServerList(context.Context, *VpnServerListReq) (*VpnServerListResp, error)
- VpnServerExList(context.Context, *VpnServerListReq) (*VpnServerExListResp, error)
- VpnServerBatchAdd(context.Context, *VpnServerBatchAddReq) (*VpnServerBatchAddResp, error)
- VpnServerBatchUpdate(context.Context, *VpnServerBatchUpdateReq) (*VpnServerBatchUpdateResp, error)
- // VpnServerLocation Model
- // VpnServerLocationAdd
- VpnServerLocationAdd(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error)
- VpnServerLocationUpdate(context.Context, *VpnServerLocationVo) (*Empty, error)
- VpnServerLocationDel(context.Context, *Ids) (*Empty, error)
- VpnServerLocationGet(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error)
- VpnServerLocationList(context.Context, *VpnServerLocationListReq) (*VpnServerLocationListResp, error)
- VpnWithIPAndPort(context.Context, *VpnWithIPAndPortReq) (*VpnWithIPAndPortResp, error)
- // VpnLocationServerCount
- VpnLocationServerCount(context.Context, *VpnLocationServerCountReq) (*VpnLocationServerCountResp, error)
- // VpnProbeTask Model
- // VpnProbeTaskAdd
- VpnProbeTaskAdd(context.Context, *VpnProbeTaskVo) (*VpnProbeTaskVo, error)
- VpnProbeTaskUpdate(context.Context, *VpnProbeTaskVo) (*Empty, error)
- VpnProbeTaskList(context.Context, *VpnProbeTaskListReq) (*VpnProbeTaskListResp, error)
- // VpnipWalled Model
- // VpnipWalledAdd
- VpnipWalledAdd(context.Context, *VpnipWalledAddReq) (*VpnipWalledAddResp, error)
- VpnipWalledUpdate(context.Context, *VpnipWalledUpdateReq) (*VpnipWalledUpdateResp, error)
- VpnipWalledDel(context.Context, *Ids) (*Empty, error)
- VpnipWalledGet(context.Context, *VpnipWalledGetReq) (*VpnipWalledGetResp, error)
- VpnipWalledList(context.Context, *VpnipWalledListReq) (*VpnipWalledListResp, error)
- VpnipWalledBatchAdd(context.Context, *VpnipWalledBatchAddReq) (*VpnipWalledBatchAddResp, error)
- VpnipWalledBatchUpdate(context.Context, *VpnipWalledBatchUpdateReq) (*VpnipWalledBatchUpdateResp, error)
- // Vpnip Model
- // VpnipAdd
- VpnipAdd(context.Context, *VpnipAddReq) (*VpnipAddResp, error)
- VpnipExAdd(context.Context, *VpnipExAddReq) (*VpnipExAddResp, error)
- VpnipUpdate(context.Context, *VpnipUpdateReq) (*VpnipUpdateResp, error)
- VpnipExUpdate(context.Context, *VpnipExUpdateReq) (*VpnipExUpdateResp, error)
- VpnipDel(context.Context, *Ids) (*Empty, error)
- VpnipGet(context.Context, *VpnipGetReq) (*VpnipGetResp, error)
- VpnipExGet(context.Context, *VpnipGetReq) (*VpnipExGetResp, error)
- VpnipList(context.Context, *VpnipListReq) (*VpnipListResp, error)
- VpnipExList(context.Context, *VpnipListReq) (*VpnipExListResp, error)
- VpnipBatchAdd(context.Context, *VpnipBatchAddReq) (*VpnipBatchAddResp, error)
- VpnipBatchUpdate(context.Context, *VpnipBatchUpdateReq) (*VpnipBatchUpdateResp, error)
- VpnipExBatchAdd(context.Context, *VpnipExBatchAddReq) (*VpnipExBatchAddResp, error)
- VpnipExBatchUpdate(context.Context, *VpnipExBatchUpdateReq) (*VpnipExBatchUpdateResp, error)
- // VpnipRange Model
- // VpnipRangeAdd
- VpnipRangeAdd(context.Context, *VpnipRangeAddReq) (*VpnipRangeAddResp, error)
- // VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
- VpnipRangeExAdd(context.Context, *VpnipRangeExAddReq) (*VpnipRangeExAddResp, error)
- VpnipRangeUpdate(context.Context, *VpnipRangeUpdateReq) (*VpnipRangeUpdateResp, error)
- VpnipRangeExUpdate(context.Context, *VpnipRangeExUpdateReq) (*VpnipRangeExUpdateResp, error)
- VpnipRangeDel(context.Context, *Ids) (*Empty, error)
- VpnipRangeGet(context.Context, *VpnipRangeGetReq) (*VpnipRangeGetResp, error)
- VpnipRangeExGet(context.Context, *VpnipRangeGetReq) (*VpnipRangeExGetResp, error)
- VpnipRangeList(context.Context, *VpnipRangeListReq) (*VpnipRangeListResp, error)
- VpnipRangeExList(context.Context, *VpnipRangeListReq) (*VpnipRangeExListResp, error)
- VpnipRangeBatchAdd(context.Context, *VpnipRangeBatchAddReq) (*VpnipRangeBatchAddResp, error)
- VpnipRangeExBatchAdd(context.Context, *VpnipRangeExBatchAddReq) (*VpnipRangeExBatchAddResp, error)
- VpnipRangeBatchUpdate(context.Context, *VpnipRangeBatchUpdateReq) (*VpnipRangeBatchUpdateResp, error)
- VpnipRangeExBatchUpdate(context.Context, *VpnipRangeExBatchUpdateReq) (*VpnipRangeExBatchUpdateResp, error)
- // VpnipBind Model
- // VpnipBindAdd
- VpnipBindAdd(context.Context, *VpnipBindAddReq) (*VpnipBindAddResp, error)
- VpnipBindUpdate(context.Context, *VpnipBindUpdateReq) (*VpnipBindUpdateResp, error)
- VpnipBindDel(context.Context, *Ids) (*Empty, error)
- VpnipBindGet(context.Context, *VpnipBindGetReq) (*VpnipBindGetResp, error)
- VpnipBindList(context.Context, *VpnipBindListReq) (*VpnipBindListResp, error)
- VpnipBindBatchUpdate(context.Context, *VpnipBindBatchUpdateReq) (*VpnipBindBatchUpdateResp, error)
- // VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
- VpnipsBindServer(context.Context, *VpnipBindBatchAddReq) (*VpnipBindBatchAddResp, error)
- // VpnConfigTemplatePlan Model (Xray配置模板,jump那边叫做配置模板)
- // VpnConfigTemplatePlanAdd 添加配置模板及模板详情
- VpnConfigTemplatePlanAdd(context.Context, *VpnConfigTemplatePlanAddReq) (*VpnConfigTemplatePlanAddResp, error)
- // VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
- VpnConfigTemplatePlanUpdate(context.Context, *VpnConfigTemplatePlanUpdateReq) (*VpnConfigTemplatePlanUpdateResp, error)
- // VpnConfigTemplatePlanDel 删除配置模板(会同时删除模板详情)
- VpnConfigTemplatePlanDel(context.Context, *VpnConfigTemplatePlanDelReq) (*Empty, error)
- // VpnConfigTemplatePlanGet 获取配置模板(如果 withDetails 为 true,则返回结果中包含模板详情)
- VpnConfigTemplatePlanGet(context.Context, *VpnConfigTemplatePlanGetReq) (*VpnConfigTemplatePlanGetResp, error)
- // VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
- VpnConfigTemplatePlanList(context.Context, *VpnConfigTemplatePlanListReq) (*VpnConfigTemplatePlanListResp, error)
- // VpnConfigTemplatePlanDetail Model (Xray配置模板详情,jump那边叫做传输配置)
- // VpnConfigTemplatePlanDetailAdd 添加模板详情
- VpnConfigTemplatePlanDetailAdd(context.Context, *VpnConfigTemplatePlanDetailAddReq) (*VpnConfigTemplatePlanDetailAddResp, error)
- VpnConfigTemplatePlanDetailUpdate(context.Context, *VpnConfigTemplatePlanDetailUpdateReq) (*VpnConfigTemplatePlanDetailUpdateResp, error)
- VpnConfigTemplatePlanDetailDel(context.Context, *VpnConfigTemplatePlanDetailDelReq) (*Empty, error)
- VpnConfigTemplatePlanDetailGet(context.Context, *VpnConfigTemplatePlanDetailGetReq) (*VpnConfigTemplatePlanDetailGetResp, error)
- VpnConfigTemplatePlanDetailList(context.Context, *VpnConfigTemplatePlanDetailListReq) (*VpnConfigTemplatePlanDetailListResp, error)
- mustEmbedUnimplementedGoVpnClientServer()
- }
- // UnimplementedGoVpnClientServer must be embedded to have
- // forward compatible implementations.
- //
- // NOTE: this should be embedded by value instead of pointer to avoid a nil
- // pointer dereference when methods are called.
- type UnimplementedGoVpnClientServer struct{}
- func (UnimplementedGoVpnClientServer) Ping(context.Context, *Request) (*Response, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
- }
- func (UnimplementedGoVpnClientServer) Transaction(context.Context, *TransactionReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Transaction not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnTagAdd(context.Context, *VpnTagVo) (*VpnTagVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnTagAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnTagUpdate(context.Context, *VpnTagVo) (*VpnTagVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnTagUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnTagDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnTagDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnTagGet(context.Context, *VpnTagGetReq) (*VpnTagVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnTagGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnTagList(context.Context, *VpnTagListReq) (*VpnTagListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnTagList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnTagBatchAdd(context.Context, *VpnTagBatchAddReq) (*VpnTagBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnTagBatchAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnTagBatchUpdate(context.Context, *VpnTagBatchUpdateReq) (*VpnTagBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnTagBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupAdd(context.Context, *VpnGroupAddReq) (*VpnGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupUpdate(context.Context, *VpnGroupAddReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupGet(context.Context, *VpnGroupGetReq) (*VpnGroupVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupList(context.Context, *VpnGroupListReq) (*VpnGroupListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupBatchAdd(context.Context, *VpnGroupBatchAddReq) (*VpnGroupBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupBatchAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupBatchUpdate(context.Context, *VpnGroupBatchUpdateReq) (*VpnGroupBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupTagAdd(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupTagUpdate(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupTagDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupTagGet(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnGroupTagList(context.Context, *VpnGroupTagListReq) (*VpnGroupTagListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnGroupTagList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnLocationAdd(context.Context, *VpnLocationVo) (*VpnLocationVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnLocationAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnLocationUpdate(context.Context, *VpnLocationVo) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnLocationUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnLocationDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnLocationDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnLocationGet(context.Context, *VpnLocationGetReq) (*VpnLocationVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnLocationGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnLocationList(context.Context, *VpnLocationListReq) (*VpnLocationListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnLocationList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnLocationBatchAdd(context.Context, *VpnLocationBatchAddReq) (*VpnLocationBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnLocationBatchAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnLocationBatchUpdate(context.Context, *VpnLocationBatchUpdateReq) (*VpnLocationBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnLocationBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerAdd(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerUpdate(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerGet(context.Context, *VpnServerVo) (*VpnServerVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerExGet(context.Context, *VpnServerVo) (*VpnServerExVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerExGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerList(context.Context, *VpnServerListReq) (*VpnServerListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerExList(context.Context, *VpnServerListReq) (*VpnServerExListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerExList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerBatchAdd(context.Context, *VpnServerBatchAddReq) (*VpnServerBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerBatchAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerBatchUpdate(context.Context, *VpnServerBatchUpdateReq) (*VpnServerBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerLocationAdd(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerLocationUpdate(context.Context, *VpnServerLocationVo) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerLocationDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerLocationGet(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerLocationList(context.Context, *VpnServerLocationListReq) (*VpnServerLocationListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerLocationList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnWithIPAndPort(context.Context, *VpnWithIPAndPortReq) (*VpnWithIPAndPortResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnWithIPAndPort not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnLocationServerCount(context.Context, *VpnLocationServerCountReq) (*VpnLocationServerCountResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnLocationServerCount not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnProbeTaskAdd(context.Context, *VpnProbeTaskVo) (*VpnProbeTaskVo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnProbeTaskAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnProbeTaskUpdate(context.Context, *VpnProbeTaskVo) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnProbeTaskUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnProbeTaskList(context.Context, *VpnProbeTaskListReq) (*VpnProbeTaskListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnProbeTaskList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipWalledAdd(context.Context, *VpnipWalledAddReq) (*VpnipWalledAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipWalledAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipWalledUpdate(context.Context, *VpnipWalledUpdateReq) (*VpnipWalledUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipWalledUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipWalledDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipWalledDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipWalledGet(context.Context, *VpnipWalledGetReq) (*VpnipWalledGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipWalledGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipWalledList(context.Context, *VpnipWalledListReq) (*VpnipWalledListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipWalledList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipWalledBatchAdd(context.Context, *VpnipWalledBatchAddReq) (*VpnipWalledBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipWalledBatchAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipWalledBatchUpdate(context.Context, *VpnipWalledBatchUpdateReq) (*VpnipWalledBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipWalledBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipAdd(context.Context, *VpnipAddReq) (*VpnipAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipExAdd(context.Context, *VpnipExAddReq) (*VpnipExAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipExAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipUpdate(context.Context, *VpnipUpdateReq) (*VpnipUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipExUpdate(context.Context, *VpnipExUpdateReq) (*VpnipExUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipExUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipGet(context.Context, *VpnipGetReq) (*VpnipGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipExGet(context.Context, *VpnipGetReq) (*VpnipExGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipExGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipList(context.Context, *VpnipListReq) (*VpnipListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipExList(context.Context, *VpnipListReq) (*VpnipExListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipExList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipBatchAdd(context.Context, *VpnipBatchAddReq) (*VpnipBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipBatchAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipBatchUpdate(context.Context, *VpnipBatchUpdateReq) (*VpnipBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipExBatchAdd(context.Context, *VpnipExBatchAddReq) (*VpnipExBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipExBatchAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipExBatchUpdate(context.Context, *VpnipExBatchUpdateReq) (*VpnipExBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipExBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeAdd(context.Context, *VpnipRangeAddReq) (*VpnipRangeAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeExAdd(context.Context, *VpnipRangeExAddReq) (*VpnipRangeExAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeExAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeUpdate(context.Context, *VpnipRangeUpdateReq) (*VpnipRangeUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeExUpdate(context.Context, *VpnipRangeExUpdateReq) (*VpnipRangeExUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeExUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeGet(context.Context, *VpnipRangeGetReq) (*VpnipRangeGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeExGet(context.Context, *VpnipRangeGetReq) (*VpnipRangeExGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeExGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeList(context.Context, *VpnipRangeListReq) (*VpnipRangeListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeExList(context.Context, *VpnipRangeListReq) (*VpnipRangeExListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeExList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeBatchAdd(context.Context, *VpnipRangeBatchAddReq) (*VpnipRangeBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeBatchAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeExBatchAdd(context.Context, *VpnipRangeExBatchAddReq) (*VpnipRangeExBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeExBatchAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeBatchUpdate(context.Context, *VpnipRangeBatchUpdateReq) (*VpnipRangeBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipRangeExBatchUpdate(context.Context, *VpnipRangeExBatchUpdateReq) (*VpnipRangeExBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipRangeExBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipBindAdd(context.Context, *VpnipBindAddReq) (*VpnipBindAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipBindAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipBindUpdate(context.Context, *VpnipBindUpdateReq) (*VpnipBindUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipBindUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipBindDel(context.Context, *Ids) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipBindDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipBindGet(context.Context, *VpnipBindGetReq) (*VpnipBindGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipBindGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipBindList(context.Context, *VpnipBindListReq) (*VpnipBindListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipBindList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipBindBatchUpdate(context.Context, *VpnipBindBatchUpdateReq) (*VpnipBindBatchUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipBindBatchUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnipsBindServer(context.Context, *VpnipBindBatchAddReq) (*VpnipBindBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnipsBindServer not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanAdd(context.Context, *VpnConfigTemplatePlanAddReq) (*VpnConfigTemplatePlanAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanUpdate(context.Context, *VpnConfigTemplatePlanUpdateReq) (*VpnConfigTemplatePlanUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanDel(context.Context, *VpnConfigTemplatePlanDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanGet(context.Context, *VpnConfigTemplatePlanGetReq) (*VpnConfigTemplatePlanGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanList(context.Context, *VpnConfigTemplatePlanListReq) (*VpnConfigTemplatePlanListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanDetailAdd(context.Context, *VpnConfigTemplatePlanDetailAddReq) (*VpnConfigTemplatePlanDetailAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanDetailAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanDetailUpdate(context.Context, *VpnConfigTemplatePlanDetailUpdateReq) (*VpnConfigTemplatePlanDetailUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanDetailUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanDetailDel(context.Context, *VpnConfigTemplatePlanDetailDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanDetailDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanDetailGet(context.Context, *VpnConfigTemplatePlanDetailGetReq) (*VpnConfigTemplatePlanDetailGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanDetailGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanDetailList(context.Context, *VpnConfigTemplatePlanDetailListReq) (*VpnConfigTemplatePlanDetailListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanDetailList not implemented")
- }
- func (UnimplementedGoVpnClientServer) mustEmbedUnimplementedGoVpnClientServer() {}
- func (UnimplementedGoVpnClientServer) testEmbeddedByValue() {}
- // UnsafeGoVpnClientServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to GoVpnClientServer will
- // result in compilation errors.
- type UnsafeGoVpnClientServer interface {
- mustEmbedUnimplementedGoVpnClientServer()
- }
- func RegisterGoVpnClientServer(s grpc.ServiceRegistrar, srv GoVpnClientServer) {
- // If the following call pancis, it indicates UnimplementedGoVpnClientServer was
- // embedded by pointer and is nil. This will cause panics if an
- // unimplemented method is ever invoked, so we test this at initialization
- // time to prevent it from happening at runtime later due to I/O.
- if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
- t.testEmbeddedByValue()
- }
- s.RegisterService(&GoVpnClient_ServiceDesc, srv)
- }
- func _GoVpnClient_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Request)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).Ping(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_Ping_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).Ping(ctx, req.(*Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_Transaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TransactionReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).Transaction(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_Transaction_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).Transaction(ctx, req.(*TransactionReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnTagAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnTagVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnTagAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnTagAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnTagAdd(ctx, req.(*VpnTagVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnTagUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnTagVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnTagUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnTagUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnTagUpdate(ctx, req.(*VpnTagVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnTagDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnTagDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnTagDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnTagDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnTagGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnTagGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnTagGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnTagGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnTagGet(ctx, req.(*VpnTagGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnTagList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnTagListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnTagList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnTagList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnTagList(ctx, req.(*VpnTagListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnTagBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnTagBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnTagBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnTagBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnTagBatchAdd(ctx, req.(*VpnTagBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnTagBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnTagBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnTagBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnTagBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnTagBatchUpdate(ctx, req.(*VpnTagBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupAdd(ctx, req.(*VpnGroupAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupUpdate(ctx, req.(*VpnGroupAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupGet(ctx, req.(*VpnGroupGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupList(ctx, req.(*VpnGroupListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupBatchAdd(ctx, req.(*VpnGroupBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupBatchUpdate(ctx, req.(*VpnGroupBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupTagAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupTagVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupTagAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupTagAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupTagAdd(ctx, req.(*VpnGroupTagVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupTagUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupTagVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupTagUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupTagUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupTagUpdate(ctx, req.(*VpnGroupTagVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupTagDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupTagDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupTagDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupTagDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupTagGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupTagVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupTagGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupTagGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupTagGet(ctx, req.(*VpnGroupTagVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnGroupTagList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnGroupTagListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnGroupTagList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnGroupTagList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnGroupTagList(ctx, req.(*VpnGroupTagListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnLocationAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnLocationVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnLocationAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnLocationAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnLocationAdd(ctx, req.(*VpnLocationVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnLocationUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnLocationVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnLocationUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnLocationUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnLocationUpdate(ctx, req.(*VpnLocationVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnLocationDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnLocationDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnLocationDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnLocationDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnLocationGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnLocationGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnLocationGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnLocationGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnLocationGet(ctx, req.(*VpnLocationGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnLocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnLocationListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnLocationList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnLocationList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnLocationList(ctx, req.(*VpnLocationListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnLocationBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnLocationBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnLocationBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnLocationBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnLocationBatchAdd(ctx, req.(*VpnLocationBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnLocationBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnLocationBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnLocationBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnLocationBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnLocationBatchUpdate(ctx, req.(*VpnLocationBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerAdd(ctx, req.(*VpnServerAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerUpdate(ctx, req.(*VpnServerAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerGet(ctx, req.(*VpnServerVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerExGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerExGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerExGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerExGet(ctx, req.(*VpnServerVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerList(ctx, req.(*VpnServerListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerExList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerExList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerExList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerExList(ctx, req.(*VpnServerListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerBatchAdd(ctx, req.(*VpnServerBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerBatchUpdate(ctx, req.(*VpnServerBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerLocationAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerLocationVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerLocationAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerLocationAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerLocationAdd(ctx, req.(*VpnServerLocationVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerLocationUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerLocationVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerLocationUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerLocationUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerLocationUpdate(ctx, req.(*VpnServerLocationVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerLocationDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerLocationDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerLocationDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerLocationDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerLocationGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerLocationVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerLocationGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerLocationGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerLocationGet(ctx, req.(*VpnServerLocationVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerLocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerLocationListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerLocationList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerLocationList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerLocationList(ctx, req.(*VpnServerLocationListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnWithIPAndPort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnWithIPAndPortReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnWithIPAndPort(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnWithIPAndPort_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnWithIPAndPort(ctx, req.(*VpnWithIPAndPortReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnLocationServerCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnLocationServerCountReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnLocationServerCount(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnLocationServerCount_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnLocationServerCount(ctx, req.(*VpnLocationServerCountReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnProbeTaskAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnProbeTaskVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnProbeTaskAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnProbeTaskAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnProbeTaskAdd(ctx, req.(*VpnProbeTaskVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnProbeTaskUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnProbeTaskVo)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnProbeTaskUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnProbeTaskUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnProbeTaskUpdate(ctx, req.(*VpnProbeTaskVo))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnProbeTaskList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnProbeTaskListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnProbeTaskList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnProbeTaskList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnProbeTaskList(ctx, req.(*VpnProbeTaskListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipWalledAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipWalledAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipWalledAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipWalledAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipWalledAdd(ctx, req.(*VpnipWalledAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipWalledUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipWalledUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipWalledUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipWalledUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipWalledUpdate(ctx, req.(*VpnipWalledUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipWalledDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipWalledDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipWalledDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipWalledDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipWalledGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipWalledGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipWalledGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipWalledGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipWalledGet(ctx, req.(*VpnipWalledGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipWalledList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipWalledListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipWalledList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipWalledList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipWalledList(ctx, req.(*VpnipWalledListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipWalledBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipWalledBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipWalledBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipWalledBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipWalledBatchAdd(ctx, req.(*VpnipWalledBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipWalledBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipWalledBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipWalledBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipWalledBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipWalledBatchUpdate(ctx, req.(*VpnipWalledBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipAdd(ctx, req.(*VpnipAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipExAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipExAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipExAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipExAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipExAdd(ctx, req.(*VpnipExAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipUpdate(ctx, req.(*VpnipUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipExUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipExUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipExUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipExUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipExUpdate(ctx, req.(*VpnipExUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipGet(ctx, req.(*VpnipGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipExGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipExGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipExGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipExGet(ctx, req.(*VpnipGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipList(ctx, req.(*VpnipListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipExList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipExList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipExList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipExList(ctx, req.(*VpnipListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipBatchAdd(ctx, req.(*VpnipBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipBatchUpdate(ctx, req.(*VpnipBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipExBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipExBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipExBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipExBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipExBatchAdd(ctx, req.(*VpnipExBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipExBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipExBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipExBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipExBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipExBatchUpdate(ctx, req.(*VpnipExBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeAdd(ctx, req.(*VpnipRangeAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeExAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeExAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeExAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeExAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeExAdd(ctx, req.(*VpnipRangeExAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeUpdate(ctx, req.(*VpnipRangeUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeExUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeExUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeExUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeExUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeExUpdate(ctx, req.(*VpnipRangeExUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeGet(ctx, req.(*VpnipRangeGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeExGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeExGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeExGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeExGet(ctx, req.(*VpnipRangeGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeList(ctx, req.(*VpnipRangeListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeExList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeExList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeExList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeExList(ctx, req.(*VpnipRangeListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeBatchAdd(ctx, req.(*VpnipRangeBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeExBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeExBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeExBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeExBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeExBatchAdd(ctx, req.(*VpnipRangeExBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeBatchUpdate(ctx, req.(*VpnipRangeBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipRangeExBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipRangeExBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipRangeExBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipRangeExBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipRangeExBatchUpdate(ctx, req.(*VpnipRangeExBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipBindAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipBindAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipBindAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipBindAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipBindAdd(ctx, req.(*VpnipBindAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipBindUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipBindUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipBindUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipBindUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipBindUpdate(ctx, req.(*VpnipBindUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipBindDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Ids)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipBindDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipBindDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipBindDel(ctx, req.(*Ids))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipBindGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipBindGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipBindGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipBindGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipBindGet(ctx, req.(*VpnipBindGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipBindList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipBindListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipBindList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipBindList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipBindList(ctx, req.(*VpnipBindListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipBindBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipBindBatchUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipBindBatchUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipBindBatchUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipBindBatchUpdate(ctx, req.(*VpnipBindBatchUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnipsBindServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnipBindBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnipsBindServer(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnipsBindServer_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnipsBindServer(ctx, req.(*VpnipBindBatchAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanAdd(ctx, req.(*VpnConfigTemplatePlanAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanUpdate(ctx, req.(*VpnConfigTemplatePlanUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDel(ctx, req.(*VpnConfigTemplatePlanDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanGet(ctx, req.(*VpnConfigTemplatePlanGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanList(ctx, req.(*VpnConfigTemplatePlanListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanDetailAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanDetailAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanDetailAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailAdd(ctx, req.(*VpnConfigTemplatePlanDetailAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanDetailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanDetailUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanDetailUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailUpdate(ctx, req.(*VpnConfigTemplatePlanDetailUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanDetailDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanDetailDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanDetailDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailDel(ctx, req.(*VpnConfigTemplatePlanDetailDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanDetailGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanDetailGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanDetailGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailGet(ctx, req.(*VpnConfigTemplatePlanDetailGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnConfigTemplatePlanDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnConfigTemplatePlanDetailListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnConfigTemplatePlanDetailList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnConfigTemplatePlanDetailList(ctx, req.(*VpnConfigTemplatePlanDetailListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- // GoVpnClient_ServiceDesc is the grpc.ServiceDesc for GoVpnClient service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var GoVpnClient_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "gorpc.GoVpnClient",
- HandlerType: (*GoVpnClientServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "Ping",
- Handler: _GoVpnClient_Ping_Handler,
- },
- {
- MethodName: "Transaction",
- Handler: _GoVpnClient_Transaction_Handler,
- },
- {
- MethodName: "VpnTagAdd",
- Handler: _GoVpnClient_VpnTagAdd_Handler,
- },
- {
- MethodName: "VpnTagUpdate",
- Handler: _GoVpnClient_VpnTagUpdate_Handler,
- },
- {
- MethodName: "VpnTagDel",
- Handler: _GoVpnClient_VpnTagDel_Handler,
- },
- {
- MethodName: "VpnTagGet",
- Handler: _GoVpnClient_VpnTagGet_Handler,
- },
- {
- MethodName: "VpnTagList",
- Handler: _GoVpnClient_VpnTagList_Handler,
- },
- {
- MethodName: "VpnTagBatchAdd",
- Handler: _GoVpnClient_VpnTagBatchAdd_Handler,
- },
- {
- MethodName: "VpnTagBatchUpdate",
- Handler: _GoVpnClient_VpnTagBatchUpdate_Handler,
- },
- {
- MethodName: "VpnGroupAdd",
- Handler: _GoVpnClient_VpnGroupAdd_Handler,
- },
- {
- MethodName: "VpnGroupUpdate",
- Handler: _GoVpnClient_VpnGroupUpdate_Handler,
- },
- {
- MethodName: "VpnGroupDel",
- Handler: _GoVpnClient_VpnGroupDel_Handler,
- },
- {
- MethodName: "VpnGroupGet",
- Handler: _GoVpnClient_VpnGroupGet_Handler,
- },
- {
- MethodName: "VpnGroupList",
- Handler: _GoVpnClient_VpnGroupList_Handler,
- },
- {
- MethodName: "VpnGroupBatchAdd",
- Handler: _GoVpnClient_VpnGroupBatchAdd_Handler,
- },
- {
- MethodName: "VpnGroupBatchUpdate",
- Handler: _GoVpnClient_VpnGroupBatchUpdate_Handler,
- },
- {
- MethodName: "VpnGroupTagAdd",
- Handler: _GoVpnClient_VpnGroupTagAdd_Handler,
- },
- {
- MethodName: "VpnGroupTagUpdate",
- Handler: _GoVpnClient_VpnGroupTagUpdate_Handler,
- },
- {
- MethodName: "VpnGroupTagDel",
- Handler: _GoVpnClient_VpnGroupTagDel_Handler,
- },
- {
- MethodName: "VpnGroupTagGet",
- Handler: _GoVpnClient_VpnGroupTagGet_Handler,
- },
- {
- MethodName: "VpnGroupTagList",
- Handler: _GoVpnClient_VpnGroupTagList_Handler,
- },
- {
- MethodName: "VpnLocationAdd",
- Handler: _GoVpnClient_VpnLocationAdd_Handler,
- },
- {
- MethodName: "VpnLocationUpdate",
- Handler: _GoVpnClient_VpnLocationUpdate_Handler,
- },
- {
- MethodName: "VpnLocationDel",
- Handler: _GoVpnClient_VpnLocationDel_Handler,
- },
- {
- MethodName: "VpnLocationGet",
- Handler: _GoVpnClient_VpnLocationGet_Handler,
- },
- {
- MethodName: "VpnLocationList",
- Handler: _GoVpnClient_VpnLocationList_Handler,
- },
- {
- MethodName: "VpnLocationBatchAdd",
- Handler: _GoVpnClient_VpnLocationBatchAdd_Handler,
- },
- {
- MethodName: "VpnLocationBatchUpdate",
- Handler: _GoVpnClient_VpnLocationBatchUpdate_Handler,
- },
- {
- MethodName: "VpnServerAdd",
- Handler: _GoVpnClient_VpnServerAdd_Handler,
- },
- {
- MethodName: "VpnServerUpdate",
- Handler: _GoVpnClient_VpnServerUpdate_Handler,
- },
- {
- MethodName: "VpnServerDel",
- Handler: _GoVpnClient_VpnServerDel_Handler,
- },
- {
- MethodName: "VpnServerGet",
- Handler: _GoVpnClient_VpnServerGet_Handler,
- },
- {
- MethodName: "VpnServerExGet",
- Handler: _GoVpnClient_VpnServerExGet_Handler,
- },
- {
- MethodName: "VpnServerList",
- Handler: _GoVpnClient_VpnServerList_Handler,
- },
- {
- MethodName: "VpnServerExList",
- Handler: _GoVpnClient_VpnServerExList_Handler,
- },
- {
- MethodName: "VpnServerBatchAdd",
- Handler: _GoVpnClient_VpnServerBatchAdd_Handler,
- },
- {
- MethodName: "VpnServerBatchUpdate",
- Handler: _GoVpnClient_VpnServerBatchUpdate_Handler,
- },
- {
- MethodName: "VpnServerLocationAdd",
- Handler: _GoVpnClient_VpnServerLocationAdd_Handler,
- },
- {
- MethodName: "VpnServerLocationUpdate",
- Handler: _GoVpnClient_VpnServerLocationUpdate_Handler,
- },
- {
- MethodName: "VpnServerLocationDel",
- Handler: _GoVpnClient_VpnServerLocationDel_Handler,
- },
- {
- MethodName: "VpnServerLocationGet",
- Handler: _GoVpnClient_VpnServerLocationGet_Handler,
- },
- {
- MethodName: "VpnServerLocationList",
- Handler: _GoVpnClient_VpnServerLocationList_Handler,
- },
- {
- MethodName: "VpnWithIPAndPort",
- Handler: _GoVpnClient_VpnWithIPAndPort_Handler,
- },
- {
- MethodName: "VpnLocationServerCount",
- Handler: _GoVpnClient_VpnLocationServerCount_Handler,
- },
- {
- MethodName: "VpnProbeTaskAdd",
- Handler: _GoVpnClient_VpnProbeTaskAdd_Handler,
- },
- {
- MethodName: "VpnProbeTaskUpdate",
- Handler: _GoVpnClient_VpnProbeTaskUpdate_Handler,
- },
- {
- MethodName: "VpnProbeTaskList",
- Handler: _GoVpnClient_VpnProbeTaskList_Handler,
- },
- {
- MethodName: "VpnipWalledAdd",
- Handler: _GoVpnClient_VpnipWalledAdd_Handler,
- },
- {
- MethodName: "VpnipWalledUpdate",
- Handler: _GoVpnClient_VpnipWalledUpdate_Handler,
- },
- {
- MethodName: "VpnipWalledDel",
- Handler: _GoVpnClient_VpnipWalledDel_Handler,
- },
- {
- MethodName: "VpnipWalledGet",
- Handler: _GoVpnClient_VpnipWalledGet_Handler,
- },
- {
- MethodName: "VpnipWalledList",
- Handler: _GoVpnClient_VpnipWalledList_Handler,
- },
- {
- MethodName: "VpnipWalledBatchAdd",
- Handler: _GoVpnClient_VpnipWalledBatchAdd_Handler,
- },
- {
- MethodName: "VpnipWalledBatchUpdate",
- Handler: _GoVpnClient_VpnipWalledBatchUpdate_Handler,
- },
- {
- MethodName: "VpnipAdd",
- Handler: _GoVpnClient_VpnipAdd_Handler,
- },
- {
- MethodName: "VpnipExAdd",
- Handler: _GoVpnClient_VpnipExAdd_Handler,
- },
- {
- MethodName: "VpnipUpdate",
- Handler: _GoVpnClient_VpnipUpdate_Handler,
- },
- {
- MethodName: "VpnipExUpdate",
- Handler: _GoVpnClient_VpnipExUpdate_Handler,
- },
- {
- MethodName: "VpnipDel",
- Handler: _GoVpnClient_VpnipDel_Handler,
- },
- {
- MethodName: "VpnipGet",
- Handler: _GoVpnClient_VpnipGet_Handler,
- },
- {
- MethodName: "VpnipExGet",
- Handler: _GoVpnClient_VpnipExGet_Handler,
- },
- {
- MethodName: "VpnipList",
- Handler: _GoVpnClient_VpnipList_Handler,
- },
- {
- MethodName: "VpnipExList",
- Handler: _GoVpnClient_VpnipExList_Handler,
- },
- {
- MethodName: "VpnipBatchAdd",
- Handler: _GoVpnClient_VpnipBatchAdd_Handler,
- },
- {
- MethodName: "VpnipBatchUpdate",
- Handler: _GoVpnClient_VpnipBatchUpdate_Handler,
- },
- {
- MethodName: "VpnipExBatchAdd",
- Handler: _GoVpnClient_VpnipExBatchAdd_Handler,
- },
- {
- MethodName: "VpnipExBatchUpdate",
- Handler: _GoVpnClient_VpnipExBatchUpdate_Handler,
- },
- {
- MethodName: "VpnipRangeAdd",
- Handler: _GoVpnClient_VpnipRangeAdd_Handler,
- },
- {
- MethodName: "VpnipRangeExAdd",
- Handler: _GoVpnClient_VpnipRangeExAdd_Handler,
- },
- {
- MethodName: "VpnipRangeUpdate",
- Handler: _GoVpnClient_VpnipRangeUpdate_Handler,
- },
- {
- MethodName: "VpnipRangeExUpdate",
- Handler: _GoVpnClient_VpnipRangeExUpdate_Handler,
- },
- {
- MethodName: "VpnipRangeDel",
- Handler: _GoVpnClient_VpnipRangeDel_Handler,
- },
- {
- MethodName: "VpnipRangeGet",
- Handler: _GoVpnClient_VpnipRangeGet_Handler,
- },
- {
- MethodName: "VpnipRangeExGet",
- Handler: _GoVpnClient_VpnipRangeExGet_Handler,
- },
- {
- MethodName: "VpnipRangeList",
- Handler: _GoVpnClient_VpnipRangeList_Handler,
- },
- {
- MethodName: "VpnipRangeExList",
- Handler: _GoVpnClient_VpnipRangeExList_Handler,
- },
- {
- MethodName: "VpnipRangeBatchAdd",
- Handler: _GoVpnClient_VpnipRangeBatchAdd_Handler,
- },
- {
- MethodName: "VpnipRangeExBatchAdd",
- Handler: _GoVpnClient_VpnipRangeExBatchAdd_Handler,
- },
- {
- MethodName: "VpnipRangeBatchUpdate",
- Handler: _GoVpnClient_VpnipRangeBatchUpdate_Handler,
- },
- {
- MethodName: "VpnipRangeExBatchUpdate",
- Handler: _GoVpnClient_VpnipRangeExBatchUpdate_Handler,
- },
- {
- MethodName: "VpnipBindAdd",
- Handler: _GoVpnClient_VpnipBindAdd_Handler,
- },
- {
- MethodName: "VpnipBindUpdate",
- Handler: _GoVpnClient_VpnipBindUpdate_Handler,
- },
- {
- MethodName: "VpnipBindDel",
- Handler: _GoVpnClient_VpnipBindDel_Handler,
- },
- {
- MethodName: "VpnipBindGet",
- Handler: _GoVpnClient_VpnipBindGet_Handler,
- },
- {
- MethodName: "VpnipBindList",
- Handler: _GoVpnClient_VpnipBindList_Handler,
- },
- {
- MethodName: "VpnipBindBatchUpdate",
- Handler: _GoVpnClient_VpnipBindBatchUpdate_Handler,
- },
- {
- MethodName: "VpnipsBindServer",
- Handler: _GoVpnClient_VpnipsBindServer_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanAdd",
- Handler: _GoVpnClient_VpnConfigTemplatePlanAdd_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanUpdate",
- Handler: _GoVpnClient_VpnConfigTemplatePlanUpdate_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanDel",
- Handler: _GoVpnClient_VpnConfigTemplatePlanDel_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanGet",
- Handler: _GoVpnClient_VpnConfigTemplatePlanGet_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanList",
- Handler: _GoVpnClient_VpnConfigTemplatePlanList_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanDetailAdd",
- Handler: _GoVpnClient_VpnConfigTemplatePlanDetailAdd_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanDetailUpdate",
- Handler: _GoVpnClient_VpnConfigTemplatePlanDetailUpdate_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanDetailDel",
- Handler: _GoVpnClient_VpnConfigTemplatePlanDetailDel_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanDetailGet",
- Handler: _GoVpnClient_VpnConfigTemplatePlanDetailGet_Handler,
- },
- {
- MethodName: "VpnConfigTemplatePlanDetailList",
- Handler: _GoVpnClient_VpnConfigTemplatePlanDetailList_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "gorpc.proto",
- }
|