Go to file
2018-10-22 17:01:08 +02:00
LICENSE.md initial commit 2018-10-22 17:01:08 +02:00
main.go initial commit 2018-10-22 17:01:08 +02:00
Makefile initial commit 2018-10-22 17:01:08 +02:00
README.md initial commit 2018-10-22 17:01:08 +02:00

serve

simple golang wrapper around http.Fileserver and http.ServeFile

Installing

Installation is simple. Just run the following command:

$ go get github.com/oevermod/serve
$ cd $GOPATH/src/github.com/oevermod/serve
$ make && make install clean

make install will copy serve to /usr/local/bin/

Usage

$ serve --help
Usage of serve:
  -f string
        directory/file to be served
  -i string
        desired address (default all)
  -p int
        desired port (default 8080)

Uninstalling

To uninstall just run:

$ make uninstall

License

This project is licensed under the FreeBSD License - see the LICENSE.md file for details