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:
parent
6381e85458
commit
e9f23a0d1d
@ -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
4
example/tokiko.ini
Normal file
@ -0,0 +1,4 @@
|
||||
addr = "127.0.0.1"
|
||||
port = "70"
|
||||
hostname = "localhost"
|
||||
rootdir = "/var/gopher"
|
Loading…
x
Reference in New Issue
Block a user