A sabotaged variant of shokara's simple Gopher server in Golang.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aoi Koizumi (古泉 あおい) dee9f3685a Use flags instead of environment variables, update Gophermap and README 2 months ago
Gophermap Use flags instead of environment variables, update Gophermap and README 2 months ago
LICENSE Use flags instead of environment variables, update Gophermap and README 2 months ago
README Use flags instead of environment variables, update Gophermap and README 2 months ago
go.mod Use flags instead of environment variables, update Gophermap and README 2 months ago
main.go Use flags instead of environment variables, update Gophermap and README 2 months ago

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.