Add example configuration and update README

This commit is contained in:
b0unce
2013-12-10 13:31:17 +00:00
parent 181f241f79
commit 7c94d0ea35
2 changed files with 26 additions and 1 deletions

25
example.json Normal file
View File

@@ -0,0 +1,25 @@
{
"network": "tcp",
"addr": ":34000",
"tracker": {
"driver": "redis",
"network": "tcp",
"host": "127.0.0.1",
"port": "6379",
"user": "root",
"pass": "",
"prefix": "test:",
"max_idle_conns": 3,
"idle_timeout": "240s"
},
"private": true,
"freeleech": false,
"announce": "30m",
"min_announce": "15m",
"read_timeout": "20s",
"default_num_want": 50
}