diff --git a/README.md b/README.md index 4e9aeb8..e59a63f 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,5 @@ A simple gopher daemon written in Golang. Forked from [shokara/thomomys](https://gt.kalli.st/shokara/thomomys) -## Configuration -addr = IP address for Tokiko to listen on (Default: 127.0.0.1) -port = Port for Tokiko to listen on (Default: 70) -hostname = Default hostname that gets printed for links (Default: localhost) -rootdir = Root directory that gets served (Default: /var/gopher) - ## Credits I blatantly copied the `parseconfig()` code from [partage](http://z3bra.org/partage/) diff --git a/example/tokiko.ini b/example/tokiko.ini new file mode 100644 index 0000000..fa28d6d --- /dev/null +++ b/example/tokiko.ini @@ -0,0 +1,4 @@ +addr = "127.0.0.1" +port = "70" +hostname = "localhost" +rootdir = "/var/gopher"