besterd/server.conf

36 lines
632 B
Plaintext
Raw Normal View History

{
2020-04-17 20:33:35 +02:00
"network" : {
2020-05-14 11:22:41 +02:00
"types" : ["tcp4", "tcp6"],
"unix" : {
"address" : "besterUNIXSock"
},
"tcp4" : {
"port" : "2223",
"address" : "0.0.0.0"
},
"tcp6" : {
2020-04-30 15:55:40 +02:00
"port" : "2224",
"address" : "::"
}
2020-04-17 20:40:02 +02:00
},
"handlers" : {
2020-04-30 15:55:40 +02:00
"availableTypes" : ["type1", "type2"],
2020-04-17 20:43:33 +02:00
"typeMap" : {
2020-04-30 19:43:20 +02:00
"type1" : {"handlerBinary" : "./testing/unixSock.py", "unixDomainSocketPath" : "aSock"},
"type2" : {"handlerBinary" : "./testing/unixSock2.py", "unixDomainSocketPath" : "bSock"}
2020-04-17 20:43:33 +02:00
}
},
"database" : {
2020-05-08 14:16:56 +02:00
"type" : "redis",
"redis" : {
"address" : "127.0.0.1",
"port" : "6379"
}
},
"admin" : {
2020-05-07 18:12:37 +02:00
"info" : {
}
2020-04-17 20:33:35 +02:00
}
}