Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rexlx/serve
serve a directory over http in golang.
https://github.com/rexlx/serve
directory directory-server go golang http-server multithreading server
Last synced: 23 days ago
JSON representation
serve a directory over http in golang.
- Host: GitHub
- URL: https://github.com/rexlx/serve
- Owner: rexlx
- License: mit
- Created: 2019-12-11T13:25:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-13T21:12:45.000Z (over 3 years ago)
- Last Synced: 2024-06-21T08:27:51.542Z (5 months ago)
- Topics: directory, directory-server, go, golang, http-server, multithreading, server
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serve
serve a directory over http in golangcredit goes to https://gist.github.com/enricofoltran/10b4a980cd07cb02836f70a4ab3e72d7 for making the majority of the code, i just wanted a -d option to specify a directory
```bash
$ serve -h
Usage of serve:
-d string
the directory to host (default ".")
-p string
port to serve on (default "8000")
```