/servethis

Simple golang-powered file server

Primary LanguageGoMIT LicenseMIT

servethis

Simple golang-powered file server

usage

Run servethis by itself to have it serve the local directory on localhost using a random free port. Uses ipv4 for simplicity.

example

2013/12/06 14:15:08 Serving /home/jmcguire/go/src/github.com/sadbox/servethis at http://localhost:54780/. Ctrl+C to exit
2013/12/06 14:15:27 Served / to 127.0.0.1:44522
2013/12/06 14:15:34 Served /main.go to 127.0.0.1:44522

install

go get github.com/sadbox/servethis