A simple multithreaded http server written in Go.
The server can be started using the following command:
go run server.goAlternatively,
go build server.go
./serverThis application currently supports the following flags:
| Flag | Description | Default Value | Example |
|---|---|---|---|
| port | Port on which the server listens | 8000 | go run server.go -port=8080 or ./server --port 8001 |
| dir | Directory to serve | . | go run server.go -dir=/path/to/dir or `./server --dir /path/to/dir |
Please open an issue or code it up and send me a PR.