Serve current directory via HTTP.
Go to file
Yiyang Kang 10c2530528 initial commit 2023-03-04 16:28:13 +08:00
.gitignore initial commit 2023-03-04 16:28:13 +08:00
Makefile initial commit 2023-03-04 16:28:13 +08:00
README.md initial commit 2023-03-04 16:28:13 +08:00
go.mod initial commit 2023-03-04 16:28:13 +08:00
go.sum initial commit 2023-03-04 16:28:13 +08:00
main.go initial commit 2023-03-04 16:28:13 +08:00

README.md

httpserve

A very simple HTTP server that might come in handy from time to time.

The only thing it does is serving static files in the current directory.

Usage

httpserve [port_number]

The default port number is 3000.