10000 GitHub - tomatohf/thrift-node-client: Support multiple thrift servers
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tomatohf/thrift-node-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

thrift-node-client

Support multiple thrift servers

Install

$ npm install thrift-node-client

Usage

var service = require('./gen/Service');

var servers = [
  {server: '10.1.8.6', port: 6666},
  {server: '10.1.8.8', port: 8888}
];

var getClient = require('thrift-node-client').pool(service, servers);
getClient().callThriftMethod();

About

Support multiple thrift servers

Resources

Stars

Watchers

Forks

Packages

No packages published
0