Skip to content

release 0.9.0

Compare
Choose a tag to compare
@hefangshi hefangshi released this 25 May 10:12
· 154 commits to master since this release
  • 支持protobuf数据
module.exports = {
    'PB_BACKEND': {
        unpack: 'protobuf',
        pack: 'protobuf',
        encoding: 'utf-8',
        balance: 'random',
        protocol: 'http',
        protoPaths: [__dirname + '/requestt.proto', __dirname + '/response.proto'],
        encodeMessageName: 'Request',
        decodeMessageName: 'Response',
        server: [{
            host: '127.0.0.1',
            port: 2339
        }]
    }
};