mirror of
https://github.com/besterprotocol/besterd
synced 2023-12-13 21:00:32 +01:00
36 lines
No EOL
640 B
Text
36 lines
No EOL
640 B
Text
{
|
|
"network" : {
|
|
"types" : ["unix", "tcp4", "tcp6"],
|
|
"unix" : {
|
|
"address" : "besterUNIXSock"
|
|
},
|
|
"tcp4" : {
|
|
"port" : "2223",
|
|
"address" : "0.0.0.0"
|
|
},
|
|
"tcp6" : {
|
|
"port" : "2224",
|
|
"address" : "::"
|
|
}
|
|
},
|
|
"handlers" : {
|
|
"availableTypes" : ["type1", "type2"],
|
|
"typeMap" : {
|
|
"type1" : {"handlerBinary" : "./testing/unixSock.py", "unixDomainSocketPath" : "aSock"},
|
|
"type2" : {"handlerBinary" : "./testing/unixSock2.py", "unixDomainSocketPath" : "bSock"}
|
|
}
|
|
},
|
|
"database" : {
|
|
"type" : "redis",
|
|
"redis" : {
|
|
"address" : "127.0.0.1",
|
|
"port" : "6379"
|
|
}
|
|
|
|
},
|
|
"admin" : {
|
|
"info" : {
|
|
|
|
}
|
|
}
|
|
} |