{"_id":"@142vip/egg-grpc-server","_rev":"12-1ec94c22492028c00041cc7ca41007ad","name":"@142vip/egg-grpc-server","dist-tags":{"latest":"0.0.1-alpha.5"},"versions":{"0.0.1":{"name":"@142vip/egg-grpc-server","version":"0.0.1","keywords":["egg-grpc","egg.js","grpc","公众号：Rong姐姐好可爱","mmdapl","142vip"],"author":{"name":"Rong姐姐好可爱"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.1","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://github.com/142vip/egg-grpc-server#readme","bugs":{"url":"https://github.com/142vip/egg-grpc-server/issues"},"ci":{"version":"8, 10"},"bin":{"fairy":"index.js"},"dist":{"shasum":"599a7641834ef1a20d73228cc72ff63d4955e449","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.1.tgz","fileCount":13,"integrity":"sha512-AQSyCXTehgZc/ERvTsFayrVX+V+olr4LZ8v6m8XHbFv1JlQcf+IQOqFjGGs4C/CnVgaViTEmuY41HR3g+ae9rQ==","signatures":[{"sig":"MEYCIQCwC+wrctlsXyNGmmiuV2ohuLX5HiEV0v84HC3lSi2nAgIhAPOpkCAi3VJACLHVsKIh/L3S16/LhSfPt6n8o4Bg+r2G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizAukACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHdA/+N6Szn5m064hPbZGC5ocpNQS6wjWJ82HNWiR0XsNxr1STFrT/\r\nYfS4Pgyj8ye4pH5IhXmkLza86tgRYpG6xGkeG9V2wrSTlnM33QFG4j8UhsHx\r\nm5RWf4TTTDZSuJ3VjtcyyWm7fj8TC+MbYZJMEQ5irdt6Ds4Oc3rZxYxAoOa7\r\nB0dN1gmD1HZ1n38HqNWO+ZT8y97tmqdfq3VGZm2FXPHiA4XgTBkpLN5i6+3w\r\nb6CuhTfk9oRLgpv7tiLHfwQPYvipJ4zcK+h3ASdld0aTZKPaXGv4cwYEBisQ\r\noXZfXY5ix+6iazp2vY89G7TVA68lDYlah7yqJZTgVT9bsjyuoAuThVmjQYkE\r\nxfYNiRVgwt7WX0yrQiltk5L6mAZohT3WfUB77bMzJqtPMknFGNeUREHCCDli\r\n+rYl9mIYaqReCD/F6hhRNc4m7Vo/MYMml8sdcIppCBLdlyS6+9YGrVaAKZzv\r\n8khvxNWLZT33wEGYW555e/V+Uxs+j2uSwO1ftop1sbF5vDbC+f06EHSxx4oD\r\n747DpMm9vx/M7YGFs16PhJyS0ESnRugtv8Xp6vYNcmHHWp+YOlP67MyEyt2g\r\nE96GrIPciclRTSsdolvpZBSboAi+9WcxevLN8An2IsQZBPm+541t6Ht0WG2x\r\nTMgbT/C0NOlggK85GzRM+EJl9O6SI3uTjg0=\r\n=AxBB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=8.0.0"},"gitHead":"8de2179a52ba830dd641efab7dcfed01babde653","scripts":{"ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","cov":"egg-bin cov","lint":"eslint .","test":"npm run lint  --fix && egg-bin pkgfiles && npm run test-local","autod":"autod","pkgfiles":"egg-bin pkgfiles","test-local":"egg-bin test"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"eggPlugin":{"name":"grpcServer","dependencies":{"fs-extra":"^10.1.0","@grpc/grpc-js":"^1.6.7","@grpc/proto-loader":"^0.6.13"}},"repository":{"url":"git+https://github.com/142vip/egg-grpc-server.git","type":"git"},"_npmVersion":"6.14.17","description":"egg.js框架下grpc服务端插件，支持grpc服务远程调用","directories":{},"_nodeVersion":"14.19.2","dependencies":{"fs-extra":"^10.1.0","@grpc/grpc-js":"^1.6.7","@grpc/proto-loader":"^0.6.13"},"_hasShrinkwrap":false,"devDependencies":{"egg":"^2.16.0","autod":"^3.0.1","egg-ci":"^1.11.0","eslint":"^5.13.0","egg-bin":"^4.11.0","egg-mock":"^3.21.0","autod-egg":"^1.1.0","eslint-config-egg":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.1_1657539491995_0.09941279023695637","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@142vip/egg-grpc-server","version":"0.0.2","keywords":["公众号：Rong姐姐好可爱","142vip","grpc","egg-grpc","egg.js"],"author":{"name":"Rong姐姐好可爱"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.2","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://github.com/142vip/egg-grpc-server#readme","bugs":{"url":"https://github.com/142vip/egg-grpc-server/issues"},"ci":{"version":"8, 10"},"dist":{"shasum":"2b8f48467198c7bc5396a25f5188070c411fe9ab","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.2.tgz","fileCount":15,"integrity":"sha512-5iaRhoN4jce8XExaLGRQbpMQ9i5TxnlnoWmJIFgicW0dK3KnnunMLfEeUUq660/n7SXSqCy25xk/uTZj6a0rTQ==","signatures":[{"sig":"MEUCIClXluSoD8/H5wEDzowRfnlkS0s65ndXSjIdQBRINmnlAiEAxL9z+jntqd6ymXlmIxvcEtOChrk1IGuC0RJucVh8qWk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizVn0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqicg/+Im92E4Jzyewz30U+oP6a4FNjgmIyGikZKtXXAzVxA8jDCSfM\r\n1RROAZkOa+7T5tHzgWedpr4+uX/NJdTnxFvkW5cYT8DyJq6oxQJfEK4sw6L4\r\n2WW8co0Gws68b4A8EKg+Ux/rdck6yqicOe7x8gN7AAS6BdvMeeGS23j6lXc7\r\nysn6JAvuWz7GrilTKmDSIbh1JrKz7agiTOWLDYSoQMYilN7vKuXdlWwXIyKT\r\n6T5k+x3ipJPFn1ZCcYv5qdGs+FaEwIJt+dFPJZMp3zq41wnMTVFzESQbjyyc\r\nGaB6eKRmJG1J7fHldsZrsLdMNDOYvplIJShvQW6xZNCoEFXHjyimRYgo2eX6\r\nkDLVx1XO522w5VsjNnLdEDNt06C8xZ2wrnzG5NZ4SG3x2SwIePwtVJ+4hX3e\r\n5Sg9oI1kQP4c8mpr0YUtMlfPYbFmW7UsF6tjmZRGqWNRfKEoYEqWa8F2OfiS\r\nL6hbG97jPOC5MuLfdDd/hIS6pIWj0dk1w4SXUepPo+A7xzvybaXEcV3Djqda\r\nFNSb5D6O+j9+w/qpau3sP6S/WATiOnou0zl3I4bCPkPataZBXaRjBBcd2KNO\r\nZX6NSJVOPshHCeTIZwK79s0lhKoPlxd2e+sePtrfZfZ6z4tSprcF2NuL/gUF\r\n+r92eTT46Rjh9c+J7PBkRf0nq+I3VPj0ewU=\r\n=W/VJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=8.0.0"},"gitHead":"610b4bf13bfd87a06aa5234db3ac5b8cdca1a7fe","scripts":{"ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","cov":"egg-bin cov","lint":"eslint .","test":"npm run lint  --fix && egg-bin pkgfiles && npm run test-local","autod":"autod","pkgfiles":"egg-bin pkgfiles","test-local":"egg-bin test"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"eggPlugin":{"name":"grpcServer"},"repository":{"url":"git+https://github.com/142vip/egg-grpc-server.git","type":"git"},"_npmVersion":"6.14.17","description":"egg.js框架下grpc服务端插件，支持grpc服务远程调用","directories":{},"_nodeVersion":"14.19.2","dependencies":{"@grpc/grpc-js":"^1.6.7","@grpc/proto-loader":"^0.6.13"},"_hasShrinkwrap":false,"devDependencies":{"egg":"^2.16.0","autod":"^3.0.1","egg-ci":"^1.11.0","eslint":"^5.13.0","egg-bin":"^4.11.0","egg-mock":"^3.21.0","autod-egg":"^1.1.0","eslint-config-egg":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.2_1657625075991_0.6558356818930016","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@142vip/egg-grpc-server","version":"0.0.3","keywords":["公众号：Rong姐姐好可爱","142vip","grpc","egg-grpc","egg.js"],"author":{"name":"Rong姐姐好可爱"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.3","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://github.com/142vip/egg-grpc-server#readme","bugs":{"url":"https://github.com/142vip/egg-grpc-server/issues"},"ci":{"version":"8, 10"},"dist":{"shasum":"13af4ad2e69074621cb91b584afe76a3c4741019","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.3.tgz","fileCount":15,"integrity":"sha512-xKK+GpsBA6theygYPnWotnJ1lyjUH8L/Y6/4BI7OdtbCjWtQQB3hfP2b+RLH0/QKvaddRLz+ucw60NN5a46A4Q==","signatures":[{"sig":"MEQCIBM42jjBq1cqOA5mGIVnqLbW2GRQBirbua+9CbJ2Fw9iAiAS5XHrCxD4RvAM2JAriJfCwIyNe5F9qeg4t6lJaU3Gbw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizVpdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrX2RAAhNAPNwwgwVOQmEOmXjCWfueKRpML5E4yhObnw/Cjn2IXLx/8\r\naNIaPgOg4zBptCXUmWYGKRDo0/aejxXH2hBECaqUKUKVVNRguogaBw+sz3ze\r\nBcfkxmryc5/3JO/D/urs9GTQ+LH4IUJr4m/akLPntX/D1FGzaoasg/1ny71X\r\nXrK5QkoOi0CvCUIK3/r+URIX0AKN1DRVnAHXrvlAtOruSi/WDEBMU961MSJA\r\ntMup3LDtzHaM9zkqfNMicpr5pHCwDiTjOvWShFBi5v1U2ILCkZGdldnBrAEe\r\nZK4DX1rtSdeovxCXYUV7LpENMkzl27MgDmtI5z1ElLD5nzQeiyM9ihCOEaP8\r\noy6gdQsL/caw97sxgYqnD98GmRf/p0OHXMonXvfdo0AxwwVJks+2sXDzmlRq\r\n14ICaoamDDgUOrT79dNxh/KEzUIQ/ZQHiXUde0y3f7+2Uire+Sm+6BAKn+2a\r\nDwm1Jc5F3+V1TOuK1LC6mB2n76NSk5+xnOnz1A4M559tE/UvKgmwuNOHs+MR\r\nFTQN0RV4+KeO8ZyAxBrCfAp/YHR6t6DZ3z5y4O7rqbLzd9Ot6XRjH51DoBdk\r\nN5YjafyoY+YoMM2wVz56NKwLULp05o3YuwFFgpvaU8S8Tz93tp3zseX6GItG\r\nZFDdHmoQTM8TKyyLe/S8RreqfUNaHyHwrUY=\r\n=5NEv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=8.0.0"},"gitHead":"610b4bf13bfd87a06aa5234db3ac5b8cdca1a7fe","scripts":{"ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","cov":"egg-bin cov","lint":"eslint .","test":"npm run lint  --fix && egg-bin pkgfiles && npm run test-local","autod":"autod","pkgfiles":"egg-bin pkgfiles","test-local":"egg-bin test"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"eggPlugin":{"name":"grpcServer"},"repository":{"url":"git+https://github.com/142vip/egg-grpc-server.git","type":"git"},"_npmVersion":"6.14.17","description":"egg.js框架下grpc服务端插件，支持grpc服务远程调用","directories":{},"_nodeVersion":"14.19.2","dependencies":{"@grpc/grpc-js":"^1.6.7","@grpc/proto-loader":"^0.6.13"},"_hasShrinkwrap":false,"devDependencies":{"egg":"^2.16.0","autod":"^3.0.1","egg-ci":"^1.11.0","eslint":"^5.13.0","egg-bin":"^4.11.0","egg-mock":"^3.21.0","autod-egg":"^1.1.0","eslint-config-egg":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.3_1657625181295_0.6198707119753162","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@142vip/egg-grpc-server","version":"0.0.4","keywords":["公众号：Rong姐姐好可爱","142vip","grpc","egg-grpc","egg.js"],"author":{"name":"Rong姐姐好可爱","email":"fairy_vip@2925.com"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.4","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://github.com/142vip/egg-grpc-server#readme","bugs":{"url":"https://github.com/142vip/egg-grpc-server/issues"},"ci":{"version":"8, 10"},"dist":{"shasum":"395a9afa25307c288eacbb8508ec84df9cd00cf9","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.4.tgz","fileCount":14,"integrity":"sha512-gFuGWZXTzgJ14w8LEKDvrbMO5iGOXza1eKkp9d+Sw56Eu/p1pM5rQuh2038DmcDsYyslTjaQdgfoAYwHPzvo3Q==","signatures":[{"sig":"MEUCIQDZ7pMm+GwLePxerL0Phq9r6qAMHqkJ0CrT7e/8g99XpQIgXjU1gVjMDxrUgL5ih1DLy+reiVJGEqfgqL9A5KO32AM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0pTjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoc9hAAlJjBMG2AVObtaNdwYQcN+OsMWF/AFPBjA7jE+qCn8TS5LQiW\r\nof2ibfKYk5lG1dG5BK0jmJlqMJL1EWf4wCH6+fTzqjoA+0JnxFpCBoNOdoeZ\r\nd9MnwVe+nZisFoTieZhIR764I8vwaAaP1Smx0HcySIspxfgX1xqu4EnYIuXA\r\nn8KBDIMtV6IXvMP6hBa7WYU7MDb4gZC20qqzFhZ5WOmWvBhGt69and4WBWkb\r\n3pCZDZqXSReSaJhnIVo5hG/55Lr83m1mbWYwNSKwYEUOcYyo1sFWQXDiu1oK\r\nKFmMPs7qsW0I02q1W1tEVM9ns2kcdcbMMPOsRao+dtso8B0h36TwweWaJhoY\r\n/TV/igU/MkNRxVLNTPGdkyodRWCS/HhjREZb6/3AmtCnW3Hapjq1Agxj+sxM\r\nU6Y1tdELjAdBe36fYuQf1nWk8QaYzUZSUbV+zH7LwZ+lP65NFR15B6J0nWag\r\nP2EfwEpm+1XRExjEPlHMe/nz03z5HriyY4tcebB2MSdYpUXgwV1pDWsXrwx5\r\nBhbSnBS/R9unscJiuw51edbxcEYk3ueV9JJZSKi1OBLsdsGFB4K3wgp/HmfR\r\nacYDgQntunWPaD1O7Cn73UrHv2mJl15IPrEXg8K4EARySuIORHLyz5l1uMKw\r\nPWoR5qfC0+saPYEIFq2Vx/u9AmxXjp3tlDw=\r\n=R1L2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=8.0.0"},"gitHead":"54a1619475e18e6a145804a75b46ca3edb801c76","scripts":{"ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","cov":"egg-bin cov","lint":"eslint .","test":"npm run lint  --fix && egg-bin pkgfiles && npm run test-local","autod":"autod","pkgfiles":"egg-bin pkgfiles","test-local":"egg-bin test"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"eggPlugin":{"name":"grpcServer"},"repository":{"url":"git+https://github.com/142vip/egg-grpc-server.git","type":"git"},"_npmVersion":"6.14.17","description":"egg.js框架下grpc服务端插件，支持grpc服务远程调用","directories":{},"_nodeVersion":"14.19.2","dependencies":{"@grpc/grpc-js":"^1.6.7","@grpc/proto-loader":"^0.6.13"},"_hasShrinkwrap":false,"devDependencies":{"egg":"^2.16.0","autod":"^3.0.1","egg-ci":"^1.11.0","eslint":"^5.13.0","egg-bin":"^4.11.0","egg-mock":"^3.21.0","autod-egg":"^1.1.0","eslint-config-egg":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.4_1657967842903_0.39016937009269403","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@142vip/egg-grpc-server","version":"0.0.5","keywords":["公众号：Rong姐姐好可爱","142vip","grpc","egg-grpc","egg.js"],"author":{"name":"Rong姐姐好可爱","email":"fairy_vip@2925.com"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.5","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://github.com/142vip/egg-grpc-server#readme","bugs":{"url":"https://github.com/142vip/egg-grpc-server/issues"},"ci":{"version":"8, 10"},"dist":{"shasum":"7b3b3e96c349acd4f6b0395f3d399cf75428787b","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.5.tgz","fileCount":13,"integrity":"sha512-exkgR/nx4bK10SjnIKSOx4A24P6xwuyg8tiURxFu37B2jQz3uvweUz8coO9BKBtnHadjlfQ0/17R5xTZZaz3fQ==","signatures":[{"sig":"MEUCICZmYPsU2fwl+z6xqlEaG9H4dmvHQLJcUmlTVNjD5g4QAiEAkyaSg9pqjg7qB8oZrRPsv+AD983nAc4gnz6ctCXt81E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2LfeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTzw//U1fkIHlBQsy3cX+xZIJ3TI45ajEPRsiaYdnX3B0gGHA7/e/i\r\n5D9esbflj6jN0LZZxKUY2UC08OJOhXFIiv4Zllfn+jU38yvbzW+lSPimo70u\r\nN+qTovK1zGe6i2O0/Hoq00BAL9fXtluEQinUqr/LcbQQC77BFKWR2qI0HSpa\r\n/e8pqabp6bNxF7G64uUX3Q2yqRQFR/n5onB+Vb6ywJSd4WPAFwTl6GgH7KH1\r\nh32trXl1rBvOWhPoBvo3vWU4xcKhXC9uXZ/U9mTcVz0xoRiwTWLSCsZYIrEB\r\nCWiC+GraMuOBniMBmmK75cOUBDR6Swido99tCQWttXi0ImppWf6KnPBoB2+9\r\nHTSg2i/ohDub9IRRnDWIrlBMwV7XUBY8rdkt5JXWq7hvWtPrbGXn1A0TTPWN\r\ntQYhqGO7knTSNVeFCymNea5TwtAqG2koUeHpm6xgBQKB2/A25YDLrm11yf7P\r\nmx5CJgcI0/sX1u5xcxjHHbNcZ21dM0hJuSunwLw8GN8039qtKk2yMhYW+NjK\r\nDT3yYczPqxz4e2SzqBk/Wdu9ne9t7DlZ98seiGkf8jOfvaPLTOFFC6mzBxFy\r\nUXD9csHEXAnZjIaBDMbGHjQqYqfocb9q33R0gZkroljgrDOMALJLhJKzf1sw\r\nOm3V06D7opwDk/LoI3v26i8MlSqk+ZGL9UU=\r\n=Sb7i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=8.0.0"},"gitHead":"88b19b057619f219914f21c0e5ad287a1d8eba52","scripts":{"ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","cov":"egg-bin cov","lint":"eslint .","test":"npm run lint  --fix && egg-bin pkgfiles && npm run test-local","autod":"autod","pkgfiles":"egg-bin pkgfiles","test-local":"egg-bin test"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"eggPlugin":{"name":"grpcServer"},"repository":{"url":"git+https://github.com/142vip/egg-grpc-server.git","type":"git"},"_npmVersion":"6.14.17","description":"egg.js框架下grpc服务端插件，支持grpc服务远程调用","directories":{},"_nodeVersion":"14.19.2","dependencies":{"@grpc/grpc-js":"^1.6.7","@grpc/proto-loader":"^0.6.13"},"_hasShrinkwrap":false,"devDependencies":{"egg":"^2.16.0","autod":"^3.0.1","egg-ci":"^1.11.0","eslint":"^5.13.0","egg-bin":"^4.11.0","egg-mock":"^3.21.0","autod-egg":"^1.1.0","eslint-config-egg":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.5_1658370014661_0.9102075820792495","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@142vip/egg-grpc-server","version":"0.1.0","keywords":["公众号：Rong姐姐好可爱","142vip","grpc","egg-grpc","egg.js"],"author":{"name":"Rong姐姐好可爱","email":"fairy_vip@2925.com"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.1.0","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://github.com/142vip/egg-grpc-server#readme","bugs":{"url":"https://github.com/142vip/egg-grpc-server/issues"},"ci":{"version":"8, 10"},"dist":{"shasum":"173ec739d1b02b347cf6dd7746feaf7908ae5364","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.1.0.tgz","fileCount":13,"integrity":"sha512-GJvTa8TBVjW3A1glUvY8+nnHrVWczJDexG+tb4BeQP+qLJMDF50weWkArRwav3cFhoGK7P+hFKNYWi2eCefz0Q==","signatures":[{"sig":"MEUCIQDBGFmcAKgVkCyQwlE7csAjVBxiUFEi/N9z7ZkxJ2WLXgIgKEZrblM2DyIxXTqMT+d1b1fmxnckc391Nr6WpfyJe48=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2L0NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqK+Q//XzXo8lpxqDdilbKcB/3KhjVTsdafZEIFrjoxIX9eF0eKBov1\r\nB7bY5R5oM2uI/CjTN9PVXrURXTvti7CnAph2HYvxMnJJjn00D9NZA2WR5VWo\r\nNSMkLv64SSfoLTi68e50CdGDfUVfsGAICbPByka3idHVGZLwPwaUIZkMZ23R\r\nuzahk1/gb95Vo8QvxPLFYThPrUvXEv8pO7YwVn6SybOOI48UF+Gf3CMqVgMA\r\nm7ymaulPJ0SmiFmalcCyEvCvi5f02LTCauW75GkqGi517mVE8oWFFGAZwz0S\r\nn4xkN/c1CzBSe4GyhGhojolRw+WmsfqR1NIuWz0fiW94Kk0GTT1UiH1ncUYV\r\nyQcydQ2MbNuMDJPtIIwYsFA8Jo1jjWeUqmnzTdxrnNMLpCAk8/V9bE2Dvq0u\r\n8rwjzVCkWYG4Ua4AzSn5DCoaQw1IoKXVjfMf/CmSNLJoMlxhqsEBtluma1P1\r\nktHDc7YQkH+7JHfbsfvPceXnVoUdca6S0nyaoTLUx90A2llWdgfoIfAq6wLo\r\nk9+0dCswQHVc7PAsU+wiTiUdOi8HPOnw8RTY96E1OWJwAATNThhBj6PqfUZK\r\n+zxnoLArKWKe6r38vej/5Tn08L+vIGbOLtfDrYyoekuRY6eWHcckfxEM6BY2\r\nS0hhK6l7kS5Pgmi8nRO6S0HFzXAK0phl8gk=\r\n=W/iF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=8.0.0"},"gitHead":"5264d072bc4b6ce7e6f5eab74c16d8d5795409e1","scripts":{"ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","cov":"egg-bin cov","lint":"eslint .","test":"npm run lint  --fix && egg-bin pkgfiles && npm run test-local","autod":"autod","pkgfiles":"egg-bin pkgfiles","test-local":"egg-bin test"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"eggPlugin":{"name":"grpcServer"},"repository":{"url":"git+https://github.com/142vip/egg-grpc-server.git","type":"git"},"_npmVersion":"6.14.17","description":"egg.js框架下grpc服务端插件，支持grpc服务远程调用","directories":{},"_nodeVersion":"14.19.2","dependencies":{"@grpc/grpc-js":"^1.6.7","@grpc/proto-loader":"^0.6.13"},"_hasShrinkwrap":false,"devDependencies":{"egg":"^2.16.0","autod":"^3.0.1","egg-ci":"^1.11.0","eslint":"^5.13.0","egg-bin":"^4.11.0","egg-mock":"^3.21.0","autod-egg":"^1.1.0","eslint-config-egg":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.1.0_1658371341751_0.5095547932582831","host":"s3://npm-registry-packages"}},"0.0.1-alpha.0":{"name":"@142vip/egg-grpc-server","version":"0.0.1-alpha.0","keywords":["公众号搜：储凡"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.1-alpha.0","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"dist":{"shasum":"3e71c25f5a59de7034ac6701e09eaf07e837e24d","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.1-alpha.0.tgz","fileCount":12,"integrity":"sha512-BMHAnjLPDOpHFOB1k5DZ4yc4/l0DaH1xEXLGyN6P89QLe3gP7Up4vUeazGbz6/8sKjfgGqz1EmuvqFupMGmejQ==","signatures":[{"sig":"MEYCIQC13mSwljk65Wer86lFSRmE+1YFYkzExwzlAVVfRPKh9QIhAJjJ8zsRl7+7ZjToumABldxT1uf1mEXddrhn/8fmKOxa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3125},"_from":"file:142vip-egg-grpc-server-0.0.1-alpha.0.tgz","private":false,"scripts":{"build":"unbuild","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/private/var/folders/93/44x7xwkd2vz0pdy1z9s29m4r0000gn/T/b4a758c498d8cb1467073bd594d97f44/142vip-egg-grpc-server-0.0.1-alpha.0.tgz","_integrity":"sha512-BMHAnjLPDOpHFOB1k5DZ4yc4/l0DaH1xEXLGyN6P89QLe3gP7Up4vUeazGbz6/8sKjfgGqz1EmuvqFupMGmejQ==","_npmVersion":"10.8.1","description":"公众号搜：储凡","directories":{},"_nodeVersion":"20.16.0","dependencies":{"dayjs":"^1.11.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.1-alpha.0_1722504180549_0.40389041511840196","host":"s3://npm-registry-packages"}},"0.0.1-alpha.1":{"name":"@142vip/egg-grpc-server","version":"0.0.1-alpha.1","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/egg-grpc-server","grpc","egg-grpc","egg-plugin","eggPlugin","egg"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.1-alpha.1","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/egg-grpc-server/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"980e0c381d3261ba478c4ed0363cdb6b3d40f122","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.1-alpha.1.tgz","fileCount":6,"integrity":"sha512-MAcEIjByVP9WSlbSS96ogepvk24/cbgOIqg8sOVb+uINNol4i1osgA1FLNE/B9JtHllXhTEVbKHw2ZXbowZo3A==","signatures":[{"sig":"MEUCIQCo0orGBd4l3ELEE1svLwhrxCtXvGbRxjGZAd2ddLpRgAIgSEzcZxf07waYrXVTLK2rlSw8aC76hH3ZjjP1BBLE1Xk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3607},"_from":"file:142vip-egg-grpc-server-0.0.1-alpha.1.tgz","private":false,"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/d14e7f5d31594da9b8946c88120af3a4/142vip-egg-grpc-server-0.0.1-alpha.1.tgz","eggPlugin":{"name":"grpcServer"},"_integrity":"sha512-MAcEIjByVP9WSlbSS96ogepvk24/cbgOIqg8sOVb+uINNol4i1osgA1FLNE/B9JtHllXhTEVbKHw2ZXbowZo3A==","repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/egg-grpc-server"},"_npmVersion":"10.5.0","description":"公众号搜：储凡","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@142vip/egg":"0.0.1-alpha.0","@142vip/utils":"0.0.1-alpha.13"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.1-alpha.1_1736165390871_0.13620462812813194","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.2":{"name":"@142vip/egg-grpc-server","version":"0.0.1-alpha.2","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/egg-grpc-server","grpc","egg-grpc","egg-plugin","eggPlugin","egg"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.1-alpha.2","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/egg-grpc-server/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"b409f57ce9bf6a1692f272920fb94a0b185d9ace","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.1-alpha.2.tgz","fileCount":7,"integrity":"sha512-Xv7h+AjJQKWpvKAnTWVARm5JSlvshp+oPHmer/vXySzp+ZAwHYtSmFnBw8QCeZfiaDwgTZHckWyq6/Q74HuG3g==","signatures":[{"sig":"MEYCIQCYRQGOiXXRzVXU1IRxJivPK8FttjGPLBVB/cdNSnba5QIhAOraSNsPvyBjwANr+M8eG2fUkfOCJYqsPrQDcrCOAsKK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4808},"_from":"file:142vip-egg-grpc-server-0.0.1-alpha.2.tgz","private":false,"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/b6c558bbff9336e677a418a63b643de0/142vip-egg-grpc-server-0.0.1-alpha.2.tgz","eggPlugin":{"name":"grpcServer"},"_integrity":"sha512-Xv7h+AjJQKWpvKAnTWVARm5JSlvshp+oPHmer/vXySzp+ZAwHYtSmFnBw8QCeZfiaDwgTZHckWyq6/Q74HuG3g==","repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/egg-grpc-server"},"_npmVersion":"10.5.0","description":"公众号搜：储凡","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@142vip/egg":"0.0.1-alpha.2","@142vip/grpc":"0.0.1-alpha.1","@142vip/utils":"0.0.1-alpha.14"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.1-alpha.2_1737375602487_0.22461837201015777","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.3":{"name":"@142vip/egg-grpc-server","version":"0.0.1-alpha.3","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/egg-grpc-server","grpc","egg-grpc","egg-plugin","eggPlugin","egg"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.1-alpha.3","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/egg-grpc-server/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"3a748b22a3441d3fe4f6b39d6a07885207f2e59b","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.1-alpha.3.tgz","fileCount":8,"integrity":"sha512-M0B3mkXS7Kr10rJk4+Ef6Di+JRBkjGdsxyWwtLrGcvdsnbFolezr4+eH65Zv/aG/YO0kn2Hq7Ob6YWhgmSXEKw==","signatures":[{"sig":"MEYCIQCuI8agvMW5MhDIHibV93hF3Q79bIc4EL1Hi8soUJP9sgIhAKbSmipuj5ujF+vSOEdXYDt+/yHkfNe3GwEBRJo9XxfY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7407},"_from":"file:142vip-egg-grpc-server-0.0.1-alpha.3.tgz","private":false,"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/9d633dfde626de55a1ad79dd6f3ab64f/142vip-egg-grpc-server-0.0.1-alpha.3.tgz","eggPlugin":{"name":"grpcServer"},"_integrity":"sha512-M0B3mkXS7Kr10rJk4+Ef6Di+JRBkjGdsxyWwtLrGcvdsnbFolezr4+eH65Zv/aG/YO0kn2Hq7Ob6YWhgmSXEKw==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/egg-grpc-server"},"_npmVersion":"10.5.0","description":"Egg.js框架下使用grpc的插件，简化grpc服务端配置","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@142vip/egg":"0.0.1-alpha.4","@142vip/grpc":"0.0.1-alpha.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.1-alpha.3_1758771329302_0.8274442053613078","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.4":{"name":"@142vip/egg-grpc-server","version":"0.0.1-alpha.4","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/egg-grpc-server","grpc","egg-grpc","egg-plugin","eggPlugin","egg"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/egg-grpc-server@0.0.1-alpha.4","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/egg-grpc-server/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"ca2a001bae0b4ce2886bf08cc38eefec610adbad","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.1-alpha.4.tgz","fileCount":8,"integrity":"sha512-4a2Qi/SU96ekKXRDO1MWWbiogby6WozK0seTMCfPQsVK55POcP6TC3FOkjnQ97K5erRmU/2FRAx4O1s/ncKE5A==","signatures":[{"sig":"MEYCIQCskJZw/QsNMyF97zvUIkXDWoRxdjRpfix0GMk+8lNu3wIhAKA7XfJouEYloPY7vaWj+eBs/PEDl2LRgU7k5HXlwlNe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11682},"_from":"file:142vip-egg-grpc-server-0.0.1-alpha.4.tgz","private":false,"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/d9f7f3f7d05781795c7f43c78c935efe/142vip-egg-grpc-server-0.0.1-alpha.4.tgz","eggPlugin":{"name":"grpcServer"},"_integrity":"sha512-4a2Qi/SU96ekKXRDO1MWWbiogby6WozK0seTMCfPQsVK55POcP6TC3FOkjnQ97K5erRmU/2FRAx4O1s/ncKE5A==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/egg-grpc-server"},"_npmVersion":"10.5.0","description":"Egg.js框架下使用grpc的插件，简化grpc服务端配置","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@142vip/egg":"0.0.1-alpha.5","@142vip/grpc":"0.0.1-alpha.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/egg-grpc-server_0.0.1-alpha.4_1759025091208_0.6427972167601199","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.5":{"name":"@142vip/egg-grpc-server","version":"0.0.1-alpha.5","private":false,"description":"Egg.js框架下使用grpc的插件，简化grpc服务端配置","author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","homepage":"https://142vip.github.io/core-x/packages/egg-grpc-server/","repository":{"type":"git","url":"git+https://github.com/142vip/core-x.git","directory":"packages/egg-grpc-server"},"eggPlugin":{"name":"grpcServer"},"keywords":["公众号搜：储凡","142vip","@142vip","@142vip/egg-grpc-server","grpc","egg-grpc","egg-plugin","eggPlugin","egg"],"authorInfo":{"name":"微信公众号：储凡","email":"fairy_vip@2925.com","url":"https://github.com/142vip","homePage":"https://142vip.cn"},"dependencies":{"@142vip/egg":"0.0.1-alpha.6","@142vip/grpc":"0.0.1-alpha.4"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"bugs":{"url":"https://github.com/142vip/core-x/issues"},"_id":"@142vip/egg-grpc-server@0.0.1-alpha.5","_integrity":"sha512-mnf0FuuUX8CFNgKKYiNXCihEODstkUnMT/VyvrSyzGpdkIcGzqzsynyCUeduQuwUzS1f0sJiDxUgzSu3G3STGQ==","_resolved":"/tmp/77fda8cb279f49c0f42c6a3607841250/142vip-egg-grpc-server-0.0.1-alpha.5.tgz","_from":"file:142vip-egg-grpc-server-0.0.1-alpha.5.tgz","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-mnf0FuuUX8CFNgKKYiNXCihEODstkUnMT/VyvrSyzGpdkIcGzqzsynyCUeduQuwUzS1f0sJiDxUgzSu3G3STGQ==","shasum":"0abb2807ca85dcf1d19c194b86de728ba5fdb511","tarball":"https://registry.npmjs.org/@142vip/egg-grpc-server/-/egg-grpc-server-0.0.1-alpha.5.tgz","fileCount":8,"unpackedSize":12057,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDI/9Q1bv353+AQlJAu3dCEZy0xA1qCgg7rL9wXaMSgZQIhAPGshrRw4zOCBQOhINoJ/Rqz+laSukwz2jgeQjzMamO/"}]},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"directories":{},"maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/egg-grpc-server_0.0.1-alpha.5_1760612025352_0.7320128242566395"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-11T11:38:11.946Z","modified":"2025-10-16T10:53:45.795Z","0.0.1":"2022-07-11T11:38:12.146Z","0.0.2":"2022-07-12T11:24:36.192Z","0.0.3":"2022-07-12T11:26:21.431Z","0.0.4":"2022-07-16T10:37:23.086Z","0.0.5":"2022-07-21T02:20:14.907Z","0.1.0":"2022-07-21T02:42:21.908Z","0.0.1-alpha.0":"2024-08-01T09:23:00.681Z","0.0.1-alpha.1":"2025-01-06T12:09:51.027Z","0.0.1-alpha.2":"2025-01-20T12:20:02.742Z","0.0.1-alpha.3":"2025-09-25T03:35:29.482Z","0.0.1-alpha.4":"2025-09-28T02:04:51.388Z","0.0.1-alpha.5":"2025-10-16T10:53:45.607Z"},"bugs":{"url":"https://github.com/142vip/core-x/issues"},"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","homepage":"https://142vip.github.io/core-x/packages/egg-grpc-server/","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/egg-grpc-server","grpc","egg-grpc","egg-plugin","eggPlugin","egg"],"repository":{"type":"git","url":"git+https://github.com/142vip/core-x.git","directory":"packages/egg-grpc-server"},"description":"Egg.js框架下使用grpc的插件，简化grpc服务端配置","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"readme":"# @142vip/egg-grpc-server\n\n[![NPM version](https://img.shields.io/npm/v/@142vip/egg-grpc-server?labelColor=0b3d52&color=1da469&label=version)](https://www.npmjs.com/package/@142vip/egg-grpc-server)\n\n## 安装\n\n```shell\n# npm\nnpm install @142vip/egg-grpc-server\n# pnpm\npnpm i @142vip/egg-grpc-server\n```\n\n## 配置\n\n### 默认配置\n\n`@142vip/egg-grpc-server`插件，做如下默认限定：\n\n- 只在`agent.js`中加载，防止在`app.js`中加载，因为`app.js`是在每个worker中都加载的，同一端口会被占用，导致启动失败。\n- 限定proto文件的加载方式\n\n```js\nconst { defaultPluginConfig, PluginLoader } = require('@142vip/egg')\nconst { name: pkgName } = require('../package.json')\n\nmodule.exports = {\n  grpcServer: defaultPluginConfig(pkgName, {\n    default: {\n      loaderOptions: {\n        keepCase: true,\n        longs: Stri,\n        enums: String,\n        defaults: true,\n        oneofs: true,\n      },\n    },\n    // Grpc只在agent.js中加载\n    loaders: [PluginLoader.AGENT],\n  }),\n}\n```\n\n### 单实例配置\n\n```js\nconst { exampleProto } = require('@142vip/egg-grpc-server/example/example-grpc')\nconst { GrpcConnectURI } = require('@142vip/grpc')\n\nmodule.exports = {\n  grpcServer: {\n    client: {\n      connectUri: GrpcConnectURI.PORT_50001,\n      protoPaths: [exampleProto],\n    },\n  },\n}\n```\n\n### 多实例配置\n\n```javascript\nconst { exampleProto } = require('@142vip/egg-grpc-server/example/example-grpc')\nconst { GrpcConnectURI } = require('@142vip/grpc')\n\nmodule.exports = {\n  grpcServer: {\n    clients: {\n      example1: {\n        connectUri: GrpcConnectURI.PORT_50001,\n        protoPaths: [exampleProto],\n      },\n      example2: {\n        connectUri: GrpcConnectURI.PORT_50002,\n        protoPaths: [exampleProto],\n      },\n    },\n  },\n}\n```\n\n### 更多配置\n\n`@142vip/egg-grpc-client`客户端：\n\n- [默认配置](https://github.com/142vip/core-x/tree/main/packages/egg-grpc-client/config/config.default.js)\n- [单实例配置](https://github.com/142vip/core-x/tree/main/apps/egg-demo/config/config.grpc-client.js)\n- [多实例配置](https://github.com/142vip/core-x/tree/main/apps/egg-demo/config/config.grpc-client-multiple.js)\n\n`@142vip/egg-grpc-server`服务端：\n\n- [默认配置](https://github.com/142vip/core-x/tree/main/packages/egg-grpc-server/config/config.default.js)\n- [单实例配置](https://github.com/142vip/core-x/tree/main/apps/egg-demo/config/config.grpc-server.js)\n- [多实例配置](https://github.com/142vip/core-x/tree/main/apps/egg-demo/config/config.grpc-server-multiple.js)\n\n## 使用\n\n### 定义proto文件\n\n### 实现rpc方法\n\n基于Egg框架的目录风格，在app目录下，新建grpc目录。所有的rpc方法通过使用该目录下的js文件管理。例如，新建`Example.js`文件\n\n```javascript\n// app/grpc/Example.js\n\nconst BaseGrpcService = require('@142vip/egg-grpc-server/core/base-grpc.service')\n\n/**\n * 直接继承GrpcExampleService方法，用来演示\n * - 可以另外拓展\n */\nclass Example extends BaseGrpcService {\n  async test() {\n    const { ctx } = this\n    console.log('test:', ctx.method)\n  }\n\n  // async ClientToServer(requestData) {\n  //   console.log(11, this)\n  //   const { app } = this\n  //   console.log(123, app)\n  //   console.log(123123, app.grpc)\n  //   return await clientToServer(requestData)\n  // }\n}\n\nmodule.exports = Example\n```\n\n**注意：在Egg框架下的所有rpc方法实现，都要继承`BaseGrpcService`父类实现，类似框架的`Service`加载模式，这样才能在对应实现类中使用`this.app`对象，融入`Egg`框架体系**\n\n## 参考\n\n- [egg-demo](https://github.com/142vip/core-x/tree/main/apps/egg-demo)\n- [@142vip/grpc](https://www.npmjs.com/package/@142vip/grpc)\n- [@142vip/egg](https://www.npmjs.com/package/@142vip/egg)\n\n## 证书\n\n[MIT](https://opensource.org/license/MIT)\n\nCopyright (c) 2019-present, @142vip 储凡\n\n**仅供学习参考，商业使用请保留作者版权信息，作者不保证也不承担任何软件的使用风险。**\n","readmeFilename":"README.md"}