Create example directory

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: https://svn.yakumo.dev/yakumo.izuru/tokiko/trunk@18 8f5ca974-a7f8-e144-9f80-d41d5039c194
This commit is contained in:
yakumo.izuru 2023-10-12 22:48:34 +00:00
parent 6381e85458
commit e9f23a0d1d
2 changed files with 4 additions and 6 deletions

View File

@ -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/)

4
example/tokiko.ini Normal file
View File

@ -0,0 +1,4 @@
addr = "127.0.0.1"
port = "70"
hostname = "localhost"
rootdir = "/var/gopher"