mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
14 lines
302 B
JavaScript
14 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
|
||
|
};
|