australis/vendor/git.apache.org/thrift.git/lib/nodejs/test/helpers.js
2018-10-23 23:32:59 -07:00

13 lines
302 B
JavaScript

'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
};