besterd/server.conf

26 lines
514 B
Plaintext
Raw Normal View History

{
2020-04-17 20:33:35 +02:00
"network" : {
2020-04-24 17:12:25 +02:00
"types" : ["unix", "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
}
},
"admin" : {
2020-04-17 20:33:35 +02:00
}
}