move config into a JSON file; lint code

This commit is contained in:
clowwindy
2012-11-02 17:17:40 +08:00
parent 04c04ce40c
commit 2f67cabfe0
3 changed files with 54 additions and 41 deletions

7
config.json Normal file
View File

@ -0,0 +1,7 @@
{
"server":"127.0.0.1",
"server_port":8388,
"local_port":1080,
"password":"barfoo!",
"timeout":60
}