https://github.com/zoni/servedir
A trivial Go (golang) application to serve a directory over HTTP or HTTPS
https://github.com/zoni/servedir
Last synced: 8 days ago
JSON representation
A trivial Go (golang) application to serve a directory over HTTP or HTTPS
- Host: GitHub
- URL: https://github.com/zoni/servedir
- Owner: zoni
- Created: 2015-10-02T15:34:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-30T16:26:43.000Z (about 7 years ago)
- Last Synced: 2025-02-22T13:59:51.013Z (over 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
servedir
========
A trivial Go (golang) application to serve a directory over HTTP or HTTPS.
usage
-----
```
usage: servedir []
Serve a directory over HTTP(S)
Flags:
--help Show help (also see --help-long and --help-man).
-a, --addr=":8080" Address to listen on
-d, --dir="." Directory to serve
--cert=CERT TLS certificate to use (optional)
--key=KEY TLS certificate private key to use when using --cert
--version Show application version.
```