besterd/server.conf

36 lines
632 B
Plaintext

{
"network" : {
"types" : ["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" : {
}
}
}