Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 863 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 863 Bytes

sparkswap - sparkswap.com

CircleCI Greenkeeper badge

Grpc Methods

Make writing Grpc Methods fun by using these handy wrappers

Quickstart

  1. Install
$ npm install --save kinesis-exchange/grpc-methods
  1. Require
const { GrpcUnaryMethod } = require('grpc-methods')
  1. Enjoy
const server = new grpc.Server()

server.addService(serviceDefinition, {
  myMethod: new GrpcUnaryMethod(myMethod, '[myMethod]').register()
})