brick-config
v1.0.1
Published
Downloads
3
Readme
仓库指南
- 获取服务地址
示例:
var cli = new BrickConfClient({"env": "release"});
cli.getSvrRoute("redis", function (e, svr) {
if (e) {
//error handling
}
console.log(svr.Name);
console.log(svr.Ip);
console.log(svr.Port);
console.log(svr.Extra);
});
- 获取服务配置
todo