small webserver for serving directories written in go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
dirserv.go

README.md

Go Report Card

dirserv

small webserver for serving directories written in go

 ./dirserv --help
Usage of ./dirserv:
  --dir string
    	directory (default ".")
  --port int
    	port number (default 3000)

Example

$ ./dirserv --dir=/tmp/html_files --port=8080
2017/12/04 22:03:31 Serving directory '/tmp/html_files' on port 8080