thrift/lib/nodejs/test/helpers.js

14 lines
302 B
JavaScript
Raw Normal View History

'use strict';
var thrift = require('../lib/thrift');
module.exports.transports = {
'buffered': thrift.TBufferedTransport,
'framed': thrift.TFramedTransport
};
module.exports.protocols = {
'json': thrift.TJSONProtocol,
'binary': thrift.TBinaryProtocol,
'compact': thrift.TCompactProtocol
};