all: use strict(er) and more regular JSON schema

This commit is contained in:
Sebastien Binet
2016-11-10 14:22:11 +01:00
committed by Alexey Rybalchenko
parent 626ebdd298
commit 8f7a584ad0
7 changed files with 154 additions and 154 deletions

View File

@@ -7,27 +7,27 @@
"channels":
[{
"name": "data",
"socket":
{
"sockets":
[{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
},
{
"name": "broadcast",
"socket":
{
"sockets":
[{
"type": "sub",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
@@ -35,44 +35,44 @@
"channels":
[{
"name": "data",
"socket":
{
"sockets":
[{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
},
{
"name": "broadcast",
"socket":
{
"sockets":
[{
"type": "sub",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"id": "broadcaster1",
"channel":
{
"channels":
[{
"name": "broadcast",
"socket":
{
"sockets":
[{
"type": "pub",
"method": "bind",
"address": "tcp://*:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
}
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
}]
}
}