node_thrift_benchmark

0.1.2 • Public • Published

Example

service = require "./gen-nodejs/MessageService"
types = require "./gen-nodejs/MessageService_types"
options =
  host: "localhost"
  port: "10000"
thrift_bench = new ThriftBench(service, options)

user = new types.UserId
  uid: "1"
  type: "csr"
  clientType: "pc"
thrift_bench.online(user, console.log).execute(100)

Readme

Keywords

Package Sidebar

Install

npm i node_thrift_benchmark

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • turristan