0.1.2 • Published 9 years ago
node_thrift_benchmark v0.1.2
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)