A sabotaged variant of shokara's simple Gopher server in Golang.
Go to file
Aoi Koizumi (古泉 あおい) dee9f3685a Use flags instead of environment variables, update Gophermap and README
Signed-off-by: Aoi Koizumi (古泉 あおい) <novaburst@kalli.st>
2022-06-14 00:06:30 +00:00
Gophermap Use flags instead of environment variables, update Gophermap and README 2022-06-14 00:06:30 +00:00
LICENSE Use flags instead of environment variables, update Gophermap and README 2022-06-14 00:06:30 +00:00
README Use flags instead of environment variables, update Gophermap and README 2022-06-14 00:06:30 +00:00
go.mod Use flags instead of environment variables, update Gophermap and README 2022-06-14 00:06:30 +00:00
main.go Use flags instead of environment variables, update Gophermap and README 2022-06-14 00:06:30 +00:00

README

Thomomys-F
==========
A simple gopher daemon written in Golang.
Forked from shokara/thomomys

Flags
-----
-i = IP address for Thomomys to listen on (Default: 0.0.0.0)
-p = Port for Thomomys to listen on (Default: 70)
-h = Default hostname that gets printed for links (Default: localhost)
-d = Root directory that gets served (Default: current directory)


Why?
----
Anything can and will happen. Simple as that.
And while environment variables are okay, they are rather messy to deal with, in my opinion, but that's just me I guess.