| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689 |
- // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
- // versions:
- // - protoc-gen-go-grpc v1.5.1
- // - protoc v6.33.0
- // 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 (
- GoPlanClient_ServiceTypesAdd_FullMethodName = "/gorpc.GoPlanClient/ServiceTypesAdd"
- GoPlanClient_ServiceTypesUpdate_FullMethodName = "/gorpc.GoPlanClient/ServiceTypesUpdate"
- GoPlanClient_ServiceTypesDel_FullMethodName = "/gorpc.GoPlanClient/ServiceTypesDel"
- GoPlanClient_ServiceTypesGet_FullMethodName = "/gorpc.GoPlanClient/ServiceTypesGet"
- GoPlanClient_ServiceTypesGetWithValue_FullMethodName = "/gorpc.GoPlanClient/ServiceTypesGetWithValue"
- GoPlanClient_ServiceTypesList_FullMethodName = "/gorpc.GoPlanClient/ServiceTypesList"
- GoPlanClient_ServiceTypesListWithValue_FullMethodName = "/gorpc.GoPlanClient/ServiceTypesListWithValue"
- GoPlanClient_ServiceBoxAdd_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxAdd"
- GoPlanClient_ServiceBoxAddWithDetails_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxAddWithDetails"
- GoPlanClient_ServiceBoxUpdate_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxUpdate"
- GoPlanClient_ServiceBoxUpdateWithDetails_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxUpdateWithDetails"
- GoPlanClient_ServiceBoxDel_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxDel"
- GoPlanClient_ServiceBoxGet_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxGet"
- GoPlanClient_ServiceBoxGetWithDetails_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxGetWithDetails"
- GoPlanClient_ServiceBoxList_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxList"
- GoPlanClient_ServiceBoxListWithDetails_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxListWithDetails"
- GoPlanClient_ServiceBoxTypesAdd_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxTypesAdd"
- GoPlanClient_ServiceBoxTypesUpdate_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxTypesUpdate"
- GoPlanClient_ServiceBoxTypesDel_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxTypesDel"
- GoPlanClient_ServiceBoxTypesGet_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxTypesGet"
- GoPlanClient_ServiceBoxTypesList_FullMethodName = "/gorpc.GoPlanClient/ServiceBoxTypesList"
- GoPlanClient_ServicePlanAdd_FullMethodName = "/gorpc.GoPlanClient/ServicePlanAdd"
- GoPlanClient_ServicePlanAddWithBoxes_FullMethodName = "/gorpc.GoPlanClient/ServicePlanAddWithBoxes"
- GoPlanClient_ServicePlanAddWithBoxesAndDetails_FullMethodName = "/gorpc.GoPlanClient/ServicePlanAddWithBoxesAndDetails"
- GoPlanClient_ServicePlanUpdate_FullMethodName = "/gorpc.GoPlanClient/ServicePlanUpdate"
- GoPlanClient_ServicePlanUpdateWithBoxes_FullMethodName = "/gorpc.GoPlanClient/ServicePlanUpdateWithBoxes"
- GoPlanClient_ServicePlanUpdateWithBoxesAndDetails_FullMethodName = "/gorpc.GoPlanClient/ServicePlanUpdateWithBoxesAndDetails"
- GoPlanClient_ServicePlanDel_FullMethodName = "/gorpc.GoPlanClient/ServicePlanDel"
- GoPlanClient_ServicePlanGet_FullMethodName = "/gorpc.GoPlanClient/ServicePlanGet"
- GoPlanClient_ServicePlanGetWithBoxes_FullMethodName = "/gorpc.GoPlanClient/ServicePlanGetWithBoxes"
- GoPlanClient_ServicePlanGetWithBoxesAndDetails_FullMethodName = "/gorpc.GoPlanClient/ServicePlanGetWithBoxesAndDetails"
- GoPlanClient_ServicePlanList_FullMethodName = "/gorpc.GoPlanClient/ServicePlanList"
- GoPlanClient_ServicePlanListWithBoxes_FullMethodName = "/gorpc.GoPlanClient/ServicePlanListWithBoxes"
- GoPlanClient_ServicePlanListWithBoxesAndDetails_FullMethodName = "/gorpc.GoPlanClient/ServicePlanListWithBoxesAndDetails"
- GoPlanClient_ServicePlanBoxesAdd_FullMethodName = "/gorpc.GoPlanClient/ServicePlanBoxesAdd"
- GoPlanClient_ServicePlanBoxesUpdate_FullMethodName = "/gorpc.GoPlanClient/ServicePlanBoxesUpdate"
- GoPlanClient_ServicePlanBoxesDel_FullMethodName = "/gorpc.GoPlanClient/ServicePlanBoxesDel"
- GoPlanClient_ServicePlanBoxesGet_FullMethodName = "/gorpc.GoPlanClient/ServicePlanBoxesGet"
- GoPlanClient_ServicePlanBoxesList_FullMethodName = "/gorpc.GoPlanClient/ServicePlanBoxesList"
- GoPlanClient_ServicePlanChannelAdd_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelAdd"
- GoPlanClient_ServicePlanChannelUpdate_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelUpdate"
- GoPlanClient_ServicePlanChannelDel_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelDel"
- GoPlanClient_ServicePlanChannelGet_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelGet"
- GoPlanClient_ServicePlanChannelGetWithPlan_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelGetWithPlan"
- GoPlanClient_ServicePlanChannelGetWithPlanAndBoxes_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelGetWithPlanAndBoxes"
- GoPlanClient_ServicePlanChannelGetWithPlanAndBoxesAndDetails_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelGetWithPlanAndBoxesAndDetails"
- GoPlanClient_ServicePlanChannelList_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelList"
- GoPlanClient_ServicePlanChannelListWithPlan_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelListWithPlan"
- GoPlanClient_ServicePlanChannelListWithPlanAndBoxes_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelListWithPlanAndBoxes"
- GoPlanClient_ServicePlanChannelListWithPlanAndBoxesAndDetails_FullMethodName = "/gorpc.GoPlanClient/ServicePlanChannelListWithPlanAndBoxesAndDetails"
- )
- // GoPlanClientClient is the client API for GoPlanClient 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 GoPlanClientClient interface {
- // ServiceTypesAdd
- ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesAddResp, error)
- ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesUpdateResp, error)
- ServiceTypesDel(ctx context.Context, in *ServiceTypesDelReq, opts ...grpc.CallOption) (*Empty, error)
- ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesGetResp, error)
- ServiceTypesGetWithValue(ctx context.Context, in *ServiceTypesGetWithValueReq, opts ...grpc.CallOption) (*ServiceTypesGetWithValueResp, error)
- ServiceTypesList(ctx context.Context, in *ServiceTypesListReq, opts ...grpc.CallOption) (*ServiceTypesListResp, error)
- ServiceTypesListWithValue(ctx context.Context, in *ServiceTypesListWithValueReq, opts ...grpc.CallOption) (*ServiceTypesListWithValueResp, error)
- // ServiceBoxAdd
- ServiceBoxAdd(ctx context.Context, in *ServiceBoxAddReq, opts ...grpc.CallOption) (*ServiceBoxAddResp, error)
- ServiceBoxAddWithDetails(ctx context.Context, in *ServiceBoxAddWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxAddWithDetailsResp, error)
- ServiceBoxUpdate(ctx context.Context, in *ServiceBoxUpdateReq, opts ...grpc.CallOption) (*ServiceBoxUpdateResp, error)
- ServiceBoxUpdateWithDetails(ctx context.Context, in *ServiceBoxUpdateWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxUpdateWithDetailsResp, error)
- ServiceBoxDel(ctx context.Context, in *ServiceBoxDelReq, opts ...grpc.CallOption) (*Empty, error)
- ServiceBoxGet(ctx context.Context, in *ServiceBoxGetReq, opts ...grpc.CallOption) (*ServiceBoxGetResp, error)
- ServiceBoxGetWithDetails(ctx context.Context, in *ServiceBoxGetWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxGetWithDetailsResp, error)
- ServiceBoxList(ctx context.Context, in *ServiceBoxListReq, opts ...grpc.CallOption) (*ServiceBoxListResp, error)
- ServiceBoxListWithDetails(ctx context.Context, in *ServiceBoxListWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxListWithDetailsResp, error)
- // ServiceBoxTypesAdd
- ServiceBoxTypesAdd(ctx context.Context, in *ServiceBoxTypesAddReq, opts ...grpc.CallOption) (*ServiceBoxTypesAddResp, error)
- ServiceBoxTypesUpdate(ctx context.Context, in *ServiceBoxTypesUpdateReq, opts ...grpc.CallOption) (*ServiceBoxTypesUpdateResp, error)
- ServiceBoxTypesDel(ctx context.Context, in *ServiceBoxTypesDelReq, opts ...grpc.CallOption) (*Empty, error)
- ServiceBoxTypesGet(ctx context.Context, in *ServiceBoxTypesGetReq, opts ...grpc.CallOption) (*ServiceBoxTypesGetResp, error)
- ServiceBoxTypesList(ctx context.Context, in *ServiceBoxTypesListReq, opts ...grpc.CallOption) (*ServiceBoxTypesListResp, error)
- // ServicePlanAdd
- ServicePlanAdd(ctx context.Context, in *ServicePlanAddReq, opts ...grpc.CallOption) (*ServicePlanAddResp, error)
- ServicePlanAddWithBoxes(ctx context.Context, in *ServicePlanAddWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanAddWithBoxesResp, error)
- ServicePlanAddWithBoxesAndDetails(ctx context.Context, in *ServicePlanAddWithBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanAddWithBoxesAndDetailsResp, error)
- ServicePlanUpdate(ctx context.Context, in *ServicePlanUpdateReq, opts ...grpc.CallOption) (*ServicePlanUpdateResp, error)
- ServicePlanUpdateWithBoxes(ctx context.Context, in *ServicePlanUpdateWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanUpdateWithBoxesResp, error)
- ServicePlanUpdateWithBoxesAndDetails(ctx context.Context, in *ServicePlanUpdateWithBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanUpdateWithBoxesAndDetailsResp, error)
- ServicePlanDel(ctx context.Context, in *ServicePlanDelReq, opts ...grpc.CallOption) (*Empty, error)
- ServicePlanGet(ctx context.Context, in *ServicePlanGetReq, opts ...grpc.CallOption) (*ServicePlanGetResp, error)
- ServicePlanGetWithBoxes(ctx context.Context, in *ServicePlanGetWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanGetWithBoxesResp, error)
- ServicePlanGetWithBoxesAndDetails(ctx context.Context, in *ServicePlanGetWithBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanGetWithBoxesAndDetailsResp, error)
- ServicePlanList(ctx context.Context, in *ServicePlanListReq, opts ...grpc.CallOption) (*ServicePlanListResp, error)
- ServicePlanListWithBoxes(ctx context.Context, in *ServicePlanListWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanListWithBoxesResp, error)
- ServicePlanListWithBoxesAndDetails(ctx context.Context, in *ServicePlanListWithBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanListWithBoxesAndDetailsResp, error)
- // ServicePlanBoxesAdd
- ServicePlanBoxesAdd(ctx context.Context, in *ServicePlanBoxesAddReq, opts ...grpc.CallOption) (*ServicePlanBoxesAddResp, error)
- ServicePlanBoxesUpdate(ctx context.Context, in *ServicePlanBoxesUpdateReq, opts ...grpc.CallOption) (*ServicePlanBoxesUpdateResp, error)
- ServicePlanBoxesDel(ctx context.Context, in *ServicePlanBoxesDelReq, opts ...grpc.CallOption) (*Empty, error)
- ServicePlanBoxesGet(ctx context.Context, in *ServicePlanBoxesGetReq, opts ...grpc.CallOption) (*ServicePlanBoxesGetResp, error)
- ServicePlanBoxesList(ctx context.Context, in *ServicePlanBoxesListReq, opts ...grpc.CallOption) (*ServicePlanBoxesListResp, error)
- // ServicePlanChannelAdd
- ServicePlanChannelAdd(ctx context.Context, in *ServicePlanChannelAddReq, opts ...grpc.CallOption) (*ServicePlanChannelAddResp, error)
- ServicePlanChannelUpdate(ctx context.Context, in *ServicePlanChannelUpdateReq, opts ...grpc.CallOption) (*ServicePlanChannelUpdateResp, error)
- ServicePlanChannelDel(ctx context.Context, in *ServicePlanChannelDelReq, opts ...grpc.CallOption) (*Empty, error)
- ServicePlanChannelGet(ctx context.Context, in *ServicePlanChannelGetReq, opts ...grpc.CallOption) (*ServicePlanChannelGetResp, error)
- ServicePlanChannelGetWithPlan(ctx context.Context, in *ServicePlanChannelGetWithPlanReq, opts ...grpc.CallOption) (*ServicePlanChannelGetWithPlanResp, error)
- ServicePlanChannelGetWithPlanAndBoxes(ctx context.Context, in *ServicePlanChannelGetWithPlanAndBoxesReq, opts ...grpc.CallOption) (*ServicePlanChannelGetWithPlanAndBoxesResp, error)
- ServicePlanChannelGetWithPlanAndBoxesAndDetails(ctx context.Context, in *ServicePlanChannelGetWithPlanAndBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanChannelGetWithPlanAndBoxesAndDetailsResp, error)
- ServicePlanChannelList(ctx context.Context, in *ServicePlanChannelListReq, opts ...grpc.CallOption) (*ServicePlanChannelListResp, error)
- ServicePlanChannelListWithPlan(ctx context.Context, in *ServicePlanChannelListWithPlanReq, opts ...grpc.CallOption) (*ServicePlanChannelListWithPlanResp, error)
- ServicePlanChannelListWithPlanAndBoxes(ctx context.Context, in *ServicePlanChannelListWithPlanAndBoxesReq, opts ...grpc.CallOption) (*ServicePlanChannelListWithPlanAndBoxesResp, error)
- ServicePlanChannelListWithPlanAndBoxesAndDetails(ctx context.Context, in *ServicePlanChannelListWithPlanAndBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanChannelListWithPlanAndBoxesAndDetailsResp, error)
- }
- type goPlanClientClient struct {
- cc grpc.ClientConnInterface
- }
- func NewGoPlanClientClient(cc grpc.ClientConnInterface) GoPlanClientClient {
- return &goPlanClientClient{cc}
- }
- func (c *goPlanClientClient) ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceTypesAddResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceTypesAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceTypesUpdateResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceTypesUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) 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, GoPlanClient_ServiceTypesDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceTypesGetResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceTypesGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceTypesGetWithValue(ctx context.Context, in *ServiceTypesGetWithValueReq, opts ...grpc.CallOption) (*ServiceTypesGetWithValueResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceTypesGetWithValueResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceTypesGetWithValue_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) 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, GoPlanClient_ServiceTypesList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceTypesListWithValue(ctx context.Context, in *ServiceTypesListWithValueReq, opts ...grpc.CallOption) (*ServiceTypesListWithValueResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceTypesListWithValueResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceTypesListWithValue_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxAdd(ctx context.Context, in *ServiceBoxAddReq, opts ...grpc.CallOption) (*ServiceBoxAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxAddResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxAddWithDetails(ctx context.Context, in *ServiceBoxAddWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxAddWithDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxAddWithDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxAddWithDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxUpdate(ctx context.Context, in *ServiceBoxUpdateReq, opts ...grpc.CallOption) (*ServiceBoxUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxUpdateResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxUpdateWithDetails(ctx context.Context, in *ServiceBoxUpdateWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxUpdateWithDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxUpdateWithDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxUpdateWithDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxDel(ctx context.Context, in *ServiceBoxDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxGet(ctx context.Context, in *ServiceBoxGetReq, opts ...grpc.CallOption) (*ServiceBoxGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxGetResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxGetWithDetails(ctx context.Context, in *ServiceBoxGetWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxGetWithDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxGetWithDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxGetWithDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxList(ctx context.Context, in *ServiceBoxListReq, opts ...grpc.CallOption) (*ServiceBoxListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxListResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxListWithDetails(ctx context.Context, in *ServiceBoxListWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxListWithDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxListWithDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxListWithDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxTypesAdd(ctx context.Context, in *ServiceBoxTypesAddReq, opts ...grpc.CallOption) (*ServiceBoxTypesAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxTypesAddResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxTypesAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxTypesUpdate(ctx context.Context, in *ServiceBoxTypesUpdateReq, opts ...grpc.CallOption) (*ServiceBoxTypesUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxTypesUpdateResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxTypesUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxTypesDel(ctx context.Context, in *ServiceBoxTypesDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxTypesDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxTypesGet(ctx context.Context, in *ServiceBoxTypesGetReq, opts ...grpc.CallOption) (*ServiceBoxTypesGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxTypesGetResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxTypesGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServiceBoxTypesList(ctx context.Context, in *ServiceBoxTypesListReq, opts ...grpc.CallOption) (*ServiceBoxTypesListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServiceBoxTypesListResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServiceBoxTypesList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanAdd(ctx context.Context, in *ServicePlanAddReq, opts ...grpc.CallOption) (*ServicePlanAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanAddResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanAddWithBoxes(ctx context.Context, in *ServicePlanAddWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanAddWithBoxesResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanAddWithBoxesResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanAddWithBoxes_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanAddWithBoxesAndDetails(ctx context.Context, in *ServicePlanAddWithBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanAddWithBoxesAndDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanAddWithBoxesAndDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanAddWithBoxesAndDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanUpdate(ctx context.Context, in *ServicePlanUpdateReq, opts ...grpc.CallOption) (*ServicePlanUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanUpdateResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanUpdateWithBoxes(ctx context.Context, in *ServicePlanUpdateWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanUpdateWithBoxesResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanUpdateWithBoxesResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanUpdateWithBoxes_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanUpdateWithBoxesAndDetails(ctx context.Context, in *ServicePlanUpdateWithBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanUpdateWithBoxesAndDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanUpdateWithBoxesAndDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanUpdateWithBoxesAndDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanDel(ctx context.Context, in *ServicePlanDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanGet(ctx context.Context, in *ServicePlanGetReq, opts ...grpc.CallOption) (*ServicePlanGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanGetResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanGetWithBoxes(ctx context.Context, in *ServicePlanGetWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanGetWithBoxesResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanGetWithBoxesResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanGetWithBoxes_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanGetWithBoxesAndDetails(ctx context.Context, in *ServicePlanGetWithBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanGetWithBoxesAndDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanGetWithBoxesAndDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanGetWithBoxesAndDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanList(ctx context.Context, in *ServicePlanListReq, opts ...grpc.CallOption) (*ServicePlanListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanListResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanListWithBoxes(ctx context.Context, in *ServicePlanListWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanListWithBoxesResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanListWithBoxesResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanListWithBoxes_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanListWithBoxesAndDetails(ctx context.Context, in *ServicePlanListWithBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanListWithBoxesAndDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanListWithBoxesAndDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanListWithBoxesAndDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanBoxesAdd(ctx context.Context, in *ServicePlanBoxesAddReq, opts ...grpc.CallOption) (*ServicePlanBoxesAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanBoxesAddResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanBoxesAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanBoxesUpdate(ctx context.Context, in *ServicePlanBoxesUpdateReq, opts ...grpc.CallOption) (*ServicePlanBoxesUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanBoxesUpdateResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanBoxesUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanBoxesDel(ctx context.Context, in *ServicePlanBoxesDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanBoxesDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanBoxesGet(ctx context.Context, in *ServicePlanBoxesGetReq, opts ...grpc.CallOption) (*ServicePlanBoxesGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanBoxesGetResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanBoxesGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanBoxesList(ctx context.Context, in *ServicePlanBoxesListReq, opts ...grpc.CallOption) (*ServicePlanBoxesListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanBoxesListResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanBoxesList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelAdd(ctx context.Context, in *ServicePlanChannelAddReq, opts ...grpc.CallOption) (*ServicePlanChannelAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelAddResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelUpdate(ctx context.Context, in *ServicePlanChannelUpdateReq, opts ...grpc.CallOption) (*ServicePlanChannelUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelUpdateResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelDel(ctx context.Context, in *ServicePlanChannelDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelGet(ctx context.Context, in *ServicePlanChannelGetReq, opts ...grpc.CallOption) (*ServicePlanChannelGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelGetResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelGetWithPlan(ctx context.Context, in *ServicePlanChannelGetWithPlanReq, opts ...grpc.CallOption) (*ServicePlanChannelGetWithPlanResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelGetWithPlanResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelGetWithPlan_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelGetWithPlanAndBoxes(ctx context.Context, in *ServicePlanChannelGetWithPlanAndBoxesReq, opts ...grpc.CallOption) (*ServicePlanChannelGetWithPlanAndBoxesResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelGetWithPlanAndBoxesResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelGetWithPlanAndBoxes_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelGetWithPlanAndBoxesAndDetails(ctx context.Context, in *ServicePlanChannelGetWithPlanAndBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanChannelGetWithPlanAndBoxesAndDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelGetWithPlanAndBoxesAndDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelGetWithPlanAndBoxesAndDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelList(ctx context.Context, in *ServicePlanChannelListReq, opts ...grpc.CallOption) (*ServicePlanChannelListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelListResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelListWithPlan(ctx context.Context, in *ServicePlanChannelListWithPlanReq, opts ...grpc.CallOption) (*ServicePlanChannelListWithPlanResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelListWithPlanResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelListWithPlan_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelListWithPlanAndBoxes(ctx context.Context, in *ServicePlanChannelListWithPlanAndBoxesReq, opts ...grpc.CallOption) (*ServicePlanChannelListWithPlanAndBoxesResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelListWithPlanAndBoxesResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelListWithPlanAndBoxes_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goPlanClientClient) ServicePlanChannelListWithPlanAndBoxesAndDetails(ctx context.Context, in *ServicePlanChannelListWithPlanAndBoxesAndDetailsReq, opts ...grpc.CallOption) (*ServicePlanChannelListWithPlanAndBoxesAndDetailsResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ServicePlanChannelListWithPlanAndBoxesAndDetailsResp)
- err := c.cc.Invoke(ctx, GoPlanClient_ServicePlanChannelListWithPlanAndBoxesAndDetails_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // GoPlanClientServer is the server API for GoPlanClient service.
- // All implementations must embed UnimplementedGoPlanClientServer
- // for forward compatibility.
- type GoPlanClientServer interface {
- // ServiceTypesAdd
- ServiceTypesAdd(context.Context, *ServiceTypesAddReq) (*ServiceTypesAddResp, error)
- ServiceTypesUpdate(context.Context, *ServiceTypesUpdateReq) (*ServiceTypesUpdateResp, error)
- ServiceTypesDel(context.Context, *ServiceTypesDelReq) (*Empty, error)
- ServiceTypesGet(context.Context, *ServiceTypesGetReq) (*ServiceTypesGetResp, error)
- ServiceTypesGetWithValue(context.Context, *ServiceTypesGetWithValueReq) (*ServiceTypesGetWithValueResp, error)
- ServiceTypesList(context.Context, *ServiceTypesListReq) (*ServiceTypesListResp, error)
- ServiceTypesListWithValue(context.Context, *ServiceTypesListWithValueReq) (*ServiceTypesListWithValueResp, error)
- // ServiceBoxAdd
- ServiceBoxAdd(context.Context, *ServiceBoxAddReq) (*ServiceBoxAddResp, error)
- ServiceBoxAddWithDetails(context.Context, *ServiceBoxAddWithDetailsReq) (*ServiceBoxAddWithDetailsResp, error)
- ServiceBoxUpdate(context.Context, *ServiceBoxUpdateReq) (*ServiceBoxUpdateResp, error)
- ServiceBoxUpdateWithDetails(context.Context, *ServiceBoxUpdateWithDetailsReq) (*ServiceBoxUpdateWithDetailsResp, error)
- ServiceBoxDel(context.Context, *ServiceBoxDelReq) (*Empty, error)
- ServiceBoxGet(context.Context, *ServiceBoxGetReq) (*ServiceBoxGetResp, error)
- ServiceBoxGetWithDetails(context.Context, *ServiceBoxGetWithDetailsReq) (*ServiceBoxGetWithDetailsResp, error)
- ServiceBoxList(context.Context, *ServiceBoxListReq) (*ServiceBoxListResp, error)
- ServiceBoxListWithDetails(context.Context, *ServiceBoxListWithDetailsReq) (*ServiceBoxListWithDetailsResp, error)
- // ServiceBoxTypesAdd
- ServiceBoxTypesAdd(context.Context, *ServiceBoxTypesAddReq) (*ServiceBoxTypesAddResp, error)
- ServiceBoxTypesUpdate(context.Context, *ServiceBoxTypesUpdateReq) (*ServiceBoxTypesUpdateResp, error)
- ServiceBoxTypesDel(context.Context, *ServiceBoxTypesDelReq) (*Empty, error)
- ServiceBoxTypesGet(context.Context, *ServiceBoxTypesGetReq) (*ServiceBoxTypesGetResp, error)
- ServiceBoxTypesList(context.Context, *ServiceBoxTypesListReq) (*ServiceBoxTypesListResp, error)
- // ServicePlanAdd
- ServicePlanAdd(context.Context, *ServicePlanAddReq) (*ServicePlanAddResp, error)
- ServicePlanAddWithBoxes(context.Context, *ServicePlanAddWithBoxesReq) (*ServicePlanAddWithBoxesResp, error)
- ServicePlanAddWithBoxesAndDetails(context.Context, *ServicePlanAddWithBoxesAndDetailsReq) (*ServicePlanAddWithBoxesAndDetailsResp, error)
- ServicePlanUpdate(context.Context, *ServicePlanUpdateReq) (*ServicePlanUpdateResp, error)
- ServicePlanUpdateWithBoxes(context.Context, *ServicePlanUpdateWithBoxesReq) (*ServicePlanUpdateWithBoxesResp, error)
- ServicePlanUpdateWithBoxesAndDetails(context.Context, *ServicePlanUpdateWithBoxesAndDetailsReq) (*ServicePlanUpdateWithBoxesAndDetailsResp, error)
- ServicePlanDel(context.Context, *ServicePlanDelReq) (*Empty, error)
- ServicePlanGet(context.Context, *ServicePlanGetReq) (*ServicePlanGetResp, error)
- ServicePlanGetWithBoxes(context.Context, *ServicePlanGetWithBoxesReq) (*ServicePlanGetWithBoxesResp, error)
- ServicePlanGetWithBoxesAndDetails(context.Context, *ServicePlanGetWithBoxesAndDetailsReq) (*ServicePlanGetWithBoxesAndDetailsResp, error)
- ServicePlanList(context.Context, *ServicePlanListReq) (*ServicePlanListResp, error)
- ServicePlanListWithBoxes(context.Context, *ServicePlanListWithBoxesReq) (*ServicePlanListWithBoxesResp, error)
- ServicePlanListWithBoxesAndDetails(context.Context, *ServicePlanListWithBoxesAndDetailsReq) (*ServicePlanListWithBoxesAndDetailsResp, error)
- // ServicePlanBoxesAdd
- ServicePlanBoxesAdd(context.Context, *ServicePlanBoxesAddReq) (*ServicePlanBoxesAddResp, error)
- ServicePlanBoxesUpdate(context.Context, *ServicePlanBoxesUpdateReq) (*ServicePlanBoxesUpdateResp, error)
- ServicePlanBoxesDel(context.Context, *ServicePlanBoxesDelReq) (*Empty, error)
- ServicePlanBoxesGet(context.Context, *ServicePlanBoxesGetReq) (*ServicePlanBoxesGetResp, error)
- ServicePlanBoxesList(context.Context, *ServicePlanBoxesListReq) (*ServicePlanBoxesListResp, error)
- // ServicePlanChannelAdd
- ServicePlanChannelAdd(context.Context, *ServicePlanChannelAddReq) (*ServicePlanChannelAddResp, error)
- ServicePlanChannelUpdate(context.Context, *ServicePlanChannelUpdateReq) (*ServicePlanChannelUpdateResp, error)
- ServicePlanChannelDel(context.Context, *ServicePlanChannelDelReq) (*Empty, error)
- ServicePlanChannelGet(context.Context, *ServicePlanChannelGetReq) (*ServicePlanChannelGetResp, error)
- ServicePlanChannelGetWithPlan(context.Context, *ServicePlanChannelGetWithPlanReq) (*ServicePlanChannelGetWithPlanResp, error)
- ServicePlanChannelGetWithPlanAndBoxes(context.Context, *ServicePlanChannelGetWithPlanAndBoxesReq) (*ServicePlanChannelGetWithPlanAndBoxesResp, error)
- ServicePlanChannelGetWithPlanAndBoxesAndDetails(context.Context, *ServicePlanChannelGetWithPlanAndBoxesAndDetailsReq) (*ServicePlanChannelGetWithPlanAndBoxesAndDetailsResp, error)
- ServicePlanChannelList(context.Context, *ServicePlanChannelListReq) (*ServicePlanChannelListResp, error)
- ServicePlanChannelListWithPlan(context.Context, *ServicePlanChannelListWithPlanReq) (*ServicePlanChannelListWithPlanResp, error)
- ServicePlanChannelListWithPlanAndBoxes(context.Context, *ServicePlanChannelListWithPlanAndBoxesReq) (*ServicePlanChannelListWithPlanAndBoxesResp, error)
- ServicePlanChannelListWithPlanAndBoxesAndDetails(context.Context, *ServicePlanChannelListWithPlanAndBoxesAndDetailsReq) (*ServicePlanChannelListWithPlanAndBoxesAndDetailsResp, error)
- mustEmbedUnimplementedGoPlanClientServer()
- }
- // UnimplementedGoPlanClientServer 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 UnimplementedGoPlanClientServer struct{}
- func (UnimplementedGoPlanClientServer) ServiceTypesAdd(context.Context, *ServiceTypesAddReq) (*ServiceTypesAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesAdd not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceTypesUpdate(context.Context, *ServiceTypesUpdateReq) (*ServiceTypesUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesUpdate not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceTypesDel(context.Context, *ServiceTypesDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesDel not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceTypesGet(context.Context, *ServiceTypesGetReq) (*ServiceTypesGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesGet not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceTypesGetWithValue(context.Context, *ServiceTypesGetWithValueReq) (*ServiceTypesGetWithValueResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesGetWithValue not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceTypesList(context.Context, *ServiceTypesListReq) (*ServiceTypesListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesList not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceTypesListWithValue(context.Context, *ServiceTypesListWithValueReq) (*ServiceTypesListWithValueResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceTypesListWithValue not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxAdd(context.Context, *ServiceBoxAddReq) (*ServiceBoxAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxAdd not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxAddWithDetails(context.Context, *ServiceBoxAddWithDetailsReq) (*ServiceBoxAddWithDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxAddWithDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxUpdate(context.Context, *ServiceBoxUpdateReq) (*ServiceBoxUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxUpdate not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxUpdateWithDetails(context.Context, *ServiceBoxUpdateWithDetailsReq) (*ServiceBoxUpdateWithDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxUpdateWithDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxDel(context.Context, *ServiceBoxDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxDel not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxGet(context.Context, *ServiceBoxGetReq) (*ServiceBoxGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxGet not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxGetWithDetails(context.Context, *ServiceBoxGetWithDetailsReq) (*ServiceBoxGetWithDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxGetWithDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxList(context.Context, *ServiceBoxListReq) (*ServiceBoxListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxList not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxListWithDetails(context.Context, *ServiceBoxListWithDetailsReq) (*ServiceBoxListWithDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxListWithDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxTypesAdd(context.Context, *ServiceBoxTypesAddReq) (*ServiceBoxTypesAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxTypesAdd not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxTypesUpdate(context.Context, *ServiceBoxTypesUpdateReq) (*ServiceBoxTypesUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxTypesUpdate not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxTypesDel(context.Context, *ServiceBoxTypesDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxTypesDel not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxTypesGet(context.Context, *ServiceBoxTypesGetReq) (*ServiceBoxTypesGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxTypesGet not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServiceBoxTypesList(context.Context, *ServiceBoxTypesListReq) (*ServiceBoxTypesListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServiceBoxTypesList not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanAdd(context.Context, *ServicePlanAddReq) (*ServicePlanAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanAdd not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanAddWithBoxes(context.Context, *ServicePlanAddWithBoxesReq) (*ServicePlanAddWithBoxesResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanAddWithBoxes not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanAddWithBoxesAndDetails(context.Context, *ServicePlanAddWithBoxesAndDetailsReq) (*ServicePlanAddWithBoxesAndDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanAddWithBoxesAndDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanUpdate(context.Context, *ServicePlanUpdateReq) (*ServicePlanUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanUpdate not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanUpdateWithBoxes(context.Context, *ServicePlanUpdateWithBoxesReq) (*ServicePlanUpdateWithBoxesResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanUpdateWithBoxes not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanUpdateWithBoxesAndDetails(context.Context, *ServicePlanUpdateWithBoxesAndDetailsReq) (*ServicePlanUpdateWithBoxesAndDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanUpdateWithBoxesAndDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanDel(context.Context, *ServicePlanDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanDel not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanGet(context.Context, *ServicePlanGetReq) (*ServicePlanGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanGet not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanGetWithBoxes(context.Context, *ServicePlanGetWithBoxesReq) (*ServicePlanGetWithBoxesResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanGetWithBoxes not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanGetWithBoxesAndDetails(context.Context, *ServicePlanGetWithBoxesAndDetailsReq) (*ServicePlanGetWithBoxesAndDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanGetWithBoxesAndDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanList(context.Context, *ServicePlanListReq) (*ServicePlanListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanList not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanListWithBoxes(context.Context, *ServicePlanListWithBoxesReq) (*ServicePlanListWithBoxesResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanListWithBoxes not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanListWithBoxesAndDetails(context.Context, *ServicePlanListWithBoxesAndDetailsReq) (*ServicePlanListWithBoxesAndDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanListWithBoxesAndDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanBoxesAdd(context.Context, *ServicePlanBoxesAddReq) (*ServicePlanBoxesAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanBoxesAdd not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanBoxesUpdate(context.Context, *ServicePlanBoxesUpdateReq) (*ServicePlanBoxesUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanBoxesUpdate not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanBoxesDel(context.Context, *ServicePlanBoxesDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanBoxesDel not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanBoxesGet(context.Context, *ServicePlanBoxesGetReq) (*ServicePlanBoxesGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanBoxesGet not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanBoxesList(context.Context, *ServicePlanBoxesListReq) (*ServicePlanBoxesListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanBoxesList not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelAdd(context.Context, *ServicePlanChannelAddReq) (*ServicePlanChannelAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelAdd not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelUpdate(context.Context, *ServicePlanChannelUpdateReq) (*ServicePlanChannelUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelUpdate not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelDel(context.Context, *ServicePlanChannelDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelDel not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelGet(context.Context, *ServicePlanChannelGetReq) (*ServicePlanChannelGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelGet not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelGetWithPlan(context.Context, *ServicePlanChannelGetWithPlanReq) (*ServicePlanChannelGetWithPlanResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelGetWithPlan not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelGetWithPlanAndBoxes(context.Context, *ServicePlanChannelGetWithPlanAndBoxesReq) (*ServicePlanChannelGetWithPlanAndBoxesResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelGetWithPlanAndBoxes not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelGetWithPlanAndBoxesAndDetails(context.Context, *ServicePlanChannelGetWithPlanAndBoxesAndDetailsReq) (*ServicePlanChannelGetWithPlanAndBoxesAndDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelGetWithPlanAndBoxesAndDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelList(context.Context, *ServicePlanChannelListReq) (*ServicePlanChannelListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelList not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelListWithPlan(context.Context, *ServicePlanChannelListWithPlanReq) (*ServicePlanChannelListWithPlanResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelListWithPlan not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelListWithPlanAndBoxes(context.Context, *ServicePlanChannelListWithPlanAndBoxesReq) (*ServicePlanChannelListWithPlanAndBoxesResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelListWithPlanAndBoxes not implemented")
- }
- func (UnimplementedGoPlanClientServer) ServicePlanChannelListWithPlanAndBoxesAndDetails(context.Context, *ServicePlanChannelListWithPlanAndBoxesAndDetailsReq) (*ServicePlanChannelListWithPlanAndBoxesAndDetailsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ServicePlanChannelListWithPlanAndBoxesAndDetails not implemented")
- }
- func (UnimplementedGoPlanClientServer) mustEmbedUnimplementedGoPlanClientServer() {}
- func (UnimplementedGoPlanClientServer) testEmbeddedByValue() {}
- // UnsafeGoPlanClientServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to GoPlanClientServer will
- // result in compilation errors.
- type UnsafeGoPlanClientServer interface {
- mustEmbedUnimplementedGoPlanClientServer()
- }
- func RegisterGoPlanClientServer(s grpc.ServiceRegistrar, srv GoPlanClientServer) {
- // If the following call pancis, it indicates UnimplementedGoPlanClientServer 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(&GoPlanClient_ServiceDesc, srv)
- }
- func _GoPlanClient_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.(GoPlanClientServer).ServiceTypesAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceTypesAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceTypesAdd(ctx, req.(*ServiceTypesAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_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.(GoPlanClientServer).ServiceTypesUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceTypesUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceTypesUpdate(ctx, req.(*ServiceTypesUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_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.(GoPlanClientServer).ServiceTypesDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceTypesDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceTypesDel(ctx, req.(*ServiceTypesDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_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.(GoPlanClientServer).ServiceTypesGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceTypesGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceTypesGet(ctx, req.(*ServiceTypesGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceTypesGetWithValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceTypesGetWithValueReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceTypesGetWithValue(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceTypesGetWithValue_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceTypesGetWithValue(ctx, req.(*ServiceTypesGetWithValueReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_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.(GoPlanClientServer).ServiceTypesList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceTypesList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceTypesList(ctx, req.(*ServiceTypesListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceTypesListWithValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceTypesListWithValueReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceTypesListWithValue(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceTypesListWithValue_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceTypesListWithValue(ctx, req.(*ServiceTypesListWithValueReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxAdd(ctx, req.(*ServiceBoxAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxAddWithDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxAddWithDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxAddWithDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxAddWithDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxAddWithDetails(ctx, req.(*ServiceBoxAddWithDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxUpdate(ctx, req.(*ServiceBoxUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxUpdateWithDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxUpdateWithDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxUpdateWithDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxUpdateWithDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxUpdateWithDetails(ctx, req.(*ServiceBoxUpdateWithDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxDel(ctx, req.(*ServiceBoxDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxGet(ctx, req.(*ServiceBoxGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxGetWithDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxGetWithDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxGetWithDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxGetWithDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxGetWithDetails(ctx, req.(*ServiceBoxGetWithDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxList(ctx, req.(*ServiceBoxListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxListWithDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxListWithDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxListWithDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxListWithDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxListWithDetails(ctx, req.(*ServiceBoxListWithDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxTypesAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxTypesAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxTypesAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxTypesAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxTypesAdd(ctx, req.(*ServiceBoxTypesAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxTypesUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxTypesUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxTypesUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxTypesUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxTypesUpdate(ctx, req.(*ServiceBoxTypesUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxTypesDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxTypesDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxTypesDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxTypesDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxTypesDel(ctx, req.(*ServiceBoxTypesDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxTypesGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxTypesGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxTypesGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxTypesGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxTypesGet(ctx, req.(*ServiceBoxTypesGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServiceBoxTypesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServiceBoxTypesListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServiceBoxTypesList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServiceBoxTypesList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServiceBoxTypesList(ctx, req.(*ServiceBoxTypesListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanAdd(ctx, req.(*ServicePlanAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanAddWithBoxes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanAddWithBoxesReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanAddWithBoxes(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanAddWithBoxes_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanAddWithBoxes(ctx, req.(*ServicePlanAddWithBoxesReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanAddWithBoxesAndDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanAddWithBoxesAndDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanAddWithBoxesAndDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanAddWithBoxesAndDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanAddWithBoxesAndDetails(ctx, req.(*ServicePlanAddWithBoxesAndDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanUpdate(ctx, req.(*ServicePlanUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanUpdateWithBoxes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanUpdateWithBoxesReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanUpdateWithBoxes(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanUpdateWithBoxes_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanUpdateWithBoxes(ctx, req.(*ServicePlanUpdateWithBoxesReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanUpdateWithBoxesAndDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanUpdateWithBoxesAndDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanUpdateWithBoxesAndDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanUpdateWithBoxesAndDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanUpdateWithBoxesAndDetails(ctx, req.(*ServicePlanUpdateWithBoxesAndDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanDel(ctx, req.(*ServicePlanDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanGet(ctx, req.(*ServicePlanGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanGetWithBoxes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanGetWithBoxesReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanGetWithBoxes(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanGetWithBoxes_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanGetWithBoxes(ctx, req.(*ServicePlanGetWithBoxesReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanGetWithBoxesAndDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanGetWithBoxesAndDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanGetWithBoxesAndDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanGetWithBoxesAndDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanGetWithBoxesAndDetails(ctx, req.(*ServicePlanGetWithBoxesAndDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanList(ctx, req.(*ServicePlanListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanListWithBoxes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanListWithBoxesReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanListWithBoxes(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanListWithBoxes_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanListWithBoxes(ctx, req.(*ServicePlanListWithBoxesReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanListWithBoxesAndDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanListWithBoxesAndDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanListWithBoxesAndDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanListWithBoxesAndDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanListWithBoxesAndDetails(ctx, req.(*ServicePlanListWithBoxesAndDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanBoxesAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanBoxesAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanBoxesAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanBoxesAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanBoxesAdd(ctx, req.(*ServicePlanBoxesAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanBoxesUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanBoxesUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanBoxesUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanBoxesUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanBoxesUpdate(ctx, req.(*ServicePlanBoxesUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanBoxesDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanBoxesDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanBoxesDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanBoxesDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanBoxesDel(ctx, req.(*ServicePlanBoxesDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanBoxesGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanBoxesGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanBoxesGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanBoxesGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanBoxesGet(ctx, req.(*ServicePlanBoxesGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanBoxesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanBoxesListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanBoxesList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanBoxesList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanBoxesList(ctx, req.(*ServicePlanBoxesListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelAdd(ctx, req.(*ServicePlanChannelAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelUpdate(ctx, req.(*ServicePlanChannelUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelDel(ctx, req.(*ServicePlanChannelDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelGet(ctx, req.(*ServicePlanChannelGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelGetWithPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelGetWithPlanReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelGetWithPlan(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelGetWithPlan_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelGetWithPlan(ctx, req.(*ServicePlanChannelGetWithPlanReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelGetWithPlanAndBoxes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelGetWithPlanAndBoxesReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelGetWithPlanAndBoxes(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelGetWithPlanAndBoxes_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelGetWithPlanAndBoxes(ctx, req.(*ServicePlanChannelGetWithPlanAndBoxesReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelGetWithPlanAndBoxesAndDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelGetWithPlanAndBoxesAndDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelGetWithPlanAndBoxesAndDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelGetWithPlanAndBoxesAndDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelGetWithPlanAndBoxesAndDetails(ctx, req.(*ServicePlanChannelGetWithPlanAndBoxesAndDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelList(ctx, req.(*ServicePlanChannelListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelListWithPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelListWithPlanReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelListWithPlan(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelListWithPlan_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelListWithPlan(ctx, req.(*ServicePlanChannelListWithPlanReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelListWithPlanAndBoxes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelListWithPlanAndBoxesReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelListWithPlanAndBoxes(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelListWithPlanAndBoxes_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelListWithPlanAndBoxes(ctx, req.(*ServicePlanChannelListWithPlanAndBoxesReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoPlanClient_ServicePlanChannelListWithPlanAndBoxesAndDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ServicePlanChannelListWithPlanAndBoxesAndDetailsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoPlanClientServer).ServicePlanChannelListWithPlanAndBoxesAndDetails(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoPlanClient_ServicePlanChannelListWithPlanAndBoxesAndDetails_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoPlanClientServer).ServicePlanChannelListWithPlanAndBoxesAndDetails(ctx, req.(*ServicePlanChannelListWithPlanAndBoxesAndDetailsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- // GoPlanClient_ServiceDesc is the grpc.ServiceDesc for GoPlanClient service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var GoPlanClient_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "gorpc.GoPlanClient",
- HandlerType: (*GoPlanClientServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "ServiceTypesAdd",
- Handler: _GoPlanClient_ServiceTypesAdd_Handler,
- },
- {
- MethodName: "ServiceTypesUpdate",
- Handler: _GoPlanClient_ServiceTypesUpdate_Handler,
- },
- {
- MethodName: "ServiceTypesDel",
- Handler: _GoPlanClient_ServiceTypesDel_Handler,
- },
- {
- MethodName: "ServiceTypesGet",
- Handler: _GoPlanClient_ServiceTypesGet_Handler,
- },
- {
- MethodName: "ServiceTypesGetWithValue",
- Handler: _GoPlanClient_ServiceTypesGetWithValue_Handler,
- },
- {
- MethodName: "ServiceTypesList",
- Handler: _GoPlanClient_ServiceTypesList_Handler,
- },
- {
- MethodName: "ServiceTypesListWithValue",
- Handler: _GoPlanClient_ServiceTypesListWithValue_Handler,
- },
- {
- MethodName: "ServiceBoxAdd",
- Handler: _GoPlanClient_ServiceBoxAdd_Handler,
- },
- {
- MethodName: "ServiceBoxAddWithDetails",
- Handler: _GoPlanClient_ServiceBoxAddWithDetails_Handler,
- },
- {
- MethodName: "ServiceBoxUpdate",
- Handler: _GoPlanClient_ServiceBoxUpdate_Handler,
- },
- {
- MethodName: "ServiceBoxUpdateWithDetails",
- Handler: _GoPlanClient_ServiceBoxUpdateWithDetails_Handler,
- },
- {
- MethodName: "ServiceBoxDel",
- Handler: _GoPlanClient_ServiceBoxDel_Handler,
- },
- {
- MethodName: "ServiceBoxGet",
- Handler: _GoPlanClient_ServiceBoxGet_Handler,
- },
- {
- MethodName: "ServiceBoxGetWithDetails",
- Handler: _GoPlanClient_ServiceBoxGetWithDetails_Handler,
- },
- {
- MethodName: "ServiceBoxList",
- Handler: _GoPlanClient_ServiceBoxList_Handler,
- },
- {
- MethodName: "ServiceBoxListWithDetails",
- Handler: _GoPlanClient_ServiceBoxListWithDetails_Handler,
- },
- {
- MethodName: "ServiceBoxTypesAdd",
- Handler: _GoPlanClient_ServiceBoxTypesAdd_Handler,
- },
- {
- MethodName: "ServiceBoxTypesUpdate",
- Handler: _GoPlanClient_ServiceBoxTypesUpdate_Handler,
- },
- {
- MethodName: "ServiceBoxTypesDel",
- Handler: _GoPlanClient_ServiceBoxTypesDel_Handler,
- },
- {
- MethodName: "ServiceBoxTypesGet",
- Handler: _GoPlanClient_ServiceBoxTypesGet_Handler,
- },
- {
- MethodName: "ServiceBoxTypesList",
- Handler: _GoPlanClient_ServiceBoxTypesList_Handler,
- },
- {
- MethodName: "ServicePlanAdd",
- Handler: _GoPlanClient_ServicePlanAdd_Handler,
- },
- {
- MethodName: "ServicePlanAddWithBoxes",
- Handler: _GoPlanClient_ServicePlanAddWithBoxes_Handler,
- },
- {
- MethodName: "ServicePlanAddWithBoxesAndDetails",
- Handler: _GoPlanClient_ServicePlanAddWithBoxesAndDetails_Handler,
- },
- {
- MethodName: "ServicePlanUpdate",
- Handler: _GoPlanClient_ServicePlanUpdate_Handler,
- },
- {
- MethodName: "ServicePlanUpdateWithBoxes",
- Handler: _GoPlanClient_ServicePlanUpdateWithBoxes_Handler,
- },
- {
- MethodName: "ServicePlanUpdateWithBoxesAndDetails",
- Handler: _GoPlanClient_ServicePlanUpdateWithBoxesAndDetails_Handler,
- },
- {
- MethodName: "ServicePlanDel",
- Handler: _GoPlanClient_ServicePlanDel_Handler,
- },
- {
- MethodName: "ServicePlanGet",
- Handler: _GoPlanClient_ServicePlanGet_Handler,
- },
- {
- MethodName: "ServicePlanGetWithBoxes",
- Handler: _GoPlanClient_ServicePlanGetWithBoxes_Handler,
- },
- {
- MethodName: "ServicePlanGetWithBoxesAndDetails",
- Handler: _GoPlanClient_ServicePlanGetWithBoxesAndDetails_Handler,
- },
- {
- MethodName: "ServicePlanList",
- Handler: _GoPlanClient_ServicePlanList_Handler,
- },
- {
- MethodName: "ServicePlanListWithBoxes",
- Handler: _GoPlanClient_ServicePlanListWithBoxes_Handler,
- },
- {
- MethodName: "ServicePlanListWithBoxesAndDetails",
- Handler: _GoPlanClient_ServicePlanListWithBoxesAndDetails_Handler,
- },
- {
- MethodName: "ServicePlanBoxesAdd",
- Handler: _GoPlanClient_ServicePlanBoxesAdd_Handler,
- },
- {
- MethodName: "ServicePlanBoxesUpdate",
- Handler: _GoPlanClient_ServicePlanBoxesUpdate_Handler,
- },
- {
- MethodName: "ServicePlanBoxesDel",
- Handler: _GoPlanClient_ServicePlanBoxesDel_Handler,
- },
- {
- MethodName: "ServicePlanBoxesGet",
- Handler: _GoPlanClient_ServicePlanBoxesGet_Handler,
- },
- {
- MethodName: "ServicePlanBoxesList",
- Handler: _GoPlanClient_ServicePlanBoxesList_Handler,
- },
- {
- MethodName: "ServicePlanChannelAdd",
- Handler: _GoPlanClient_ServicePlanChannelAdd_Handler,
- },
- {
- MethodName: "ServicePlanChannelUpdate",
- Handler: _GoPlanClient_ServicePlanChannelUpdate_Handler,
- },
- {
- MethodName: "ServicePlanChannelDel",
- Handler: _GoPlanClient_ServicePlanChannelDel_Handler,
- },
- {
- MethodName: "ServicePlanChannelGet",
- Handler: _GoPlanClient_ServicePlanChannelGet_Handler,
- },
- {
- MethodName: "ServicePlanChannelGetWithPlan",
- Handler: _GoPlanClient_ServicePlanChannelGetWithPlan_Handler,
- },
- {
- MethodName: "ServicePlanChannelGetWithPlanAndBoxes",
- Handler: _GoPlanClient_ServicePlanChannelGetWithPlanAndBoxes_Handler,
- },
- {
- MethodName: "ServicePlanChannelGetWithPlanAndBoxesAndDetails",
- Handler: _GoPlanClient_ServicePlanChannelGetWithPlanAndBoxesAndDetails_Handler,
- },
- {
- MethodName: "ServicePlanChannelList",
- Handler: _GoPlanClient_ServicePlanChannelList_Handler,
- },
- {
- MethodName: "ServicePlanChannelListWithPlan",
- Handler: _GoPlanClient_ServicePlanChannelListWithPlan_Handler,
- },
- {
- MethodName: "ServicePlanChannelListWithPlanAndBoxes",
- Handler: _GoPlanClient_ServicePlanChannelListWithPlanAndBoxes_Handler,
- },
- {
- MethodName: "ServicePlanChannelListWithPlanAndBoxesAndDetails",
- Handler: _GoPlanClient_ServicePlanChannelListWithPlanAndBoxesAndDetails_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_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)
- // 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) 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)
- // 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) 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_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: "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_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"
- GoUserClient_UserServiceAdd_FullMethodName = "/gorpc.GoUserClient/UserServiceAdd"
- GoUserClient_UserServiceUpdate_FullMethodName = "/gorpc.GoUserClient/UserServiceUpdate"
- GoUserClient_UserServiceDel_FullMethodName = "/gorpc.GoUserClient/UserServiceDel"
- GoUserClient_UserServiceGet_FullMethodName = "/gorpc.GoUserClient/UserServiceGet"
- GoUserClient_UserServiceList_FullMethodName = "/gorpc.GoUserClient/UserServiceList"
- )
- // 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)
- // 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)
- // UserService
- UserServiceAdd(ctx context.Context, in *UserServiceAddReq, opts ...grpc.CallOption) (*UserServiceAddResp, error)
- UserServiceUpdate(ctx context.Context, in *UserServiceUpdateReq, opts ...grpc.CallOption) (*UserServiceUpdateResp, error)
- UserServiceDel(ctx context.Context, in *UserServiceDelReq, opts ...grpc.CallOption) (*Empty, error)
- UserServiceGet(ctx context.Context, in *UserServiceGetReq, opts ...grpc.CallOption) (*UserServiceGetResp, error)
- UserServiceList(ctx context.Context, in *UserServiceListReq, opts ...grpc.CallOption) (*UserServiceListResp, 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) 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
- }
- func (c *goUserClientClient) UserServiceAdd(ctx context.Context, in *UserServiceAddReq, opts ...grpc.CallOption) (*UserServiceAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserServiceAddResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserServiceAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserServiceUpdate(ctx context.Context, in *UserServiceUpdateReq, opts ...grpc.CallOption) (*UserServiceUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserServiceUpdateResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserServiceUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserServiceDel(ctx context.Context, in *UserServiceDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoUserClient_UserServiceDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserServiceGet(ctx context.Context, in *UserServiceGetReq, opts ...grpc.CallOption) (*UserServiceGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserServiceGetResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserServiceGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goUserClientClient) UserServiceList(ctx context.Context, in *UserServiceListReq, opts ...grpc.CallOption) (*UserServiceListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserServiceListResp)
- err := c.cc.Invoke(ctx, GoUserClient_UserServiceList_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)
- // 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)
- // UserService
- UserServiceAdd(context.Context, *UserServiceAddReq) (*UserServiceAddResp, error)
- UserServiceUpdate(context.Context, *UserServiceUpdateReq) (*UserServiceUpdateResp, error)
- UserServiceDel(context.Context, *UserServiceDelReq) (*Empty, error)
- UserServiceGet(context.Context, *UserServiceGetReq) (*UserServiceGetResp, error)
- UserServiceList(context.Context, *UserServiceListReq) (*UserServiceListResp, 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) 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) UserServiceAdd(context.Context, *UserServiceAddReq) (*UserServiceAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserServiceAdd not implemented")
- }
- func (UnimplementedGoUserClientServer) UserServiceUpdate(context.Context, *UserServiceUpdateReq) (*UserServiceUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserServiceUpdate not implemented")
- }
- func (UnimplementedGoUserClientServer) UserServiceDel(context.Context, *UserServiceDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserServiceDel not implemented")
- }
- func (UnimplementedGoUserClientServer) UserServiceGet(context.Context, *UserServiceGetReq) (*UserServiceGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserServiceGet not implemented")
- }
- func (UnimplementedGoUserClientServer) UserServiceList(context.Context, *UserServiceListReq) (*UserServiceListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserServiceList 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_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)
- }
- func _GoUserClient_UserServiceAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserServiceAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserServiceAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserServiceAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserServiceAdd(ctx, req.(*UserServiceAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserServiceUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserServiceUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserServiceUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserServiceUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserServiceUpdate(ctx, req.(*UserServiceUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserServiceDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserServiceDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserServiceDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserServiceDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserServiceDel(ctx, req.(*UserServiceDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserServiceGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserServiceGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserServiceGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserServiceGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserServiceGet(ctx, req.(*UserServiceGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoUserClient_UserServiceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserServiceListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoUserClientServer).UserServiceList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoUserClient_UserServiceList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoUserClientServer).UserServiceList(ctx, req.(*UserServiceListReq))
- }
- 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: "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,
- },
- {
- MethodName: "UserServiceAdd",
- Handler: _GoUserClient_UserServiceAdd_Handler,
- },
- {
- MethodName: "UserServiceUpdate",
- Handler: _GoUserClient_UserServiceUpdate_Handler,
- },
- {
- MethodName: "UserServiceDel",
- Handler: _GoUserClient_UserServiceDel_Handler,
- },
- {
- MethodName: "UserServiceGet",
- Handler: _GoUserClient_UserServiceGet_Handler,
- },
- {
- MethodName: "UserServiceList",
- Handler: _GoUserClient_UserServiceList_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"
- GoVpnClient_VpnServerPortAdd_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortAdd"
- GoVpnClient_VpnServerPortUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortUpdate"
- GoVpnClient_VpnServerPortDel_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortDel"
- GoVpnClient_VpnServerPortGet_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortGet"
- GoVpnClient_VpnServerPortList_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortList"
- GoVpnClient_VpnServerPortBatchAdd_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortBatchAdd"
- )
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // VpnServerPortAdd
- VpnServerPortAdd(ctx context.Context, in *VpnServerPortAddReq, opts ...grpc.CallOption) (*VpnServerPortAddResp, error)
- VpnServerPortUpdate(ctx context.Context, in *VpnServerPortUpdateReq, opts ...grpc.CallOption) (*VpnServerPortUpdateResp, error)
- VpnServerPortDel(ctx context.Context, in *VpnServerPortDelReq, opts ...grpc.CallOption) (*Empty, error)
- VpnServerPortGet(ctx context.Context, in *VpnServerPortGetReq, opts ...grpc.CallOption) (*VpnServerPortGetResp, error)
- VpnServerPortList(ctx context.Context, in *VpnServerPortListReq, opts ...grpc.CallOption) (*VpnServerPortListResp, error)
- VpnServerPortBatchAdd(ctx context.Context, in *VpnServerPortBatchAddReq, opts ...grpc.CallOption) (*VpnServerPortBatchAddResp, 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
- }
- func (c *goVpnClientClient) VpnServerPortAdd(ctx context.Context, in *VpnServerPortAddReq, opts ...grpc.CallOption) (*VpnServerPortAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerPortAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortAdd_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerPortUpdate(ctx context.Context, in *VpnServerPortUpdateReq, opts ...grpc.CallOption) (*VpnServerPortUpdateResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerPortUpdateResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortUpdate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerPortDel(ctx context.Context, in *VpnServerPortDelReq, opts ...grpc.CallOption) (*Empty, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(Empty)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortDel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerPortGet(ctx context.Context, in *VpnServerPortGetReq, opts ...grpc.CallOption) (*VpnServerPortGetResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerPortGetResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortGet_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerPortList(ctx context.Context, in *VpnServerPortListReq, opts ...grpc.CallOption) (*VpnServerPortListResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerPortListResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortList_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *goVpnClientClient) VpnServerPortBatchAdd(ctx context.Context, in *VpnServerPortBatchAddReq, opts ...grpc.CallOption) (*VpnServerPortBatchAddResp, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VpnServerPortBatchAddResp)
- err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortBatchAdd_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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // VpnProbeTaskAdd
- VpnProbeTaskAdd(context.Context, *VpnProbeTaskVo) (*VpnProbeTaskVo, error)
- VpnProbeTaskUpdate(context.Context, *VpnProbeTaskVo) (*Empty, error)
- VpnProbeTaskList(context.Context, *VpnProbeTaskListReq) (*VpnProbeTaskListResp, error)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // 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)
- // VpnServerPortAdd
- VpnServerPortAdd(context.Context, *VpnServerPortAddReq) (*VpnServerPortAddResp, error)
- VpnServerPortUpdate(context.Context, *VpnServerPortUpdateReq) (*VpnServerPortUpdateResp, error)
- VpnServerPortDel(context.Context, *VpnServerPortDelReq) (*Empty, error)
- VpnServerPortGet(context.Context, *VpnServerPortGetReq) (*VpnServerPortGetResp, error)
- VpnServerPortList(context.Context, *VpnServerPortListReq) (*VpnServerPortListResp, error)
- VpnServerPortBatchAdd(context.Context, *VpnServerPortBatchAddReq) (*VpnServerPortBatchAddResp, 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) VpnServerPortAdd(context.Context, *VpnServerPortAddReq) (*VpnServerPortAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortAdd not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerPortUpdate(context.Context, *VpnServerPortUpdateReq) (*VpnServerPortUpdateResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortUpdate not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerPortDel(context.Context, *VpnServerPortDelReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortDel not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerPortGet(context.Context, *VpnServerPortGetReq) (*VpnServerPortGetResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortGet not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerPortList(context.Context, *VpnServerPortListReq) (*VpnServerPortListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortList not implemented")
- }
- func (UnimplementedGoVpnClientServer) VpnServerPortBatchAdd(context.Context, *VpnServerPortBatchAddReq) (*VpnServerPortBatchAddResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortBatchAdd 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)
- }
- func _GoVpnClient_VpnServerPortAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerPortAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerPortAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerPortAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerPortAdd(ctx, req.(*VpnServerPortAddReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerPortUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerPortUpdateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerPortUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerPortUpdate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerPortUpdate(ctx, req.(*VpnServerPortUpdateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerPortDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerPortDelReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerPortDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerPortDel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerPortDel(ctx, req.(*VpnServerPortDelReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerPortGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerPortGetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerPortGet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerPortGet_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerPortGet(ctx, req.(*VpnServerPortGetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerPortList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerPortListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerPortList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerPortList_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerPortList(ctx, req.(*VpnServerPortListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _GoVpnClient_VpnServerPortBatchAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VpnServerPortBatchAddReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GoVpnClientServer).VpnServerPortBatchAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: GoVpnClient_VpnServerPortBatchAdd_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GoVpnClientServer).VpnServerPortBatchAdd(ctx, req.(*VpnServerPortBatchAddReq))
- }
- 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,
- },
- {
- MethodName: "VpnServerPortAdd",
- Handler: _GoVpnClient_VpnServerPortAdd_Handler,
- },
- {
- MethodName: "VpnServerPortUpdate",
- Handler: _GoVpnClient_VpnServerPortUpdate_Handler,
- },
- {
- MethodName: "VpnServerPortDel",
- Handler: _GoVpnClient_VpnServerPortDel_Handler,
- },
- {
- MethodName: "VpnServerPortGet",
- Handler: _GoVpnClient_VpnServerPortGet_Handler,
- },
- {
- MethodName: "VpnServerPortList",
- Handler: _GoVpnClient_VpnServerPortList_Handler,
- },
- {
- MethodName: "VpnServerPortBatchAdd",
- Handler: _GoVpnClient_VpnServerPortBatchAdd_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "gorpc.proto",
- }
|