Serve current directory via HTTP.
Go to file
Yiyang Kang 014597e73e
change: default port to 8080
2023-03-04 16:54:14 +08:00
.gitignore initial commit 2023-03-04 16:28:13 +08:00
Makefile build: update makefile 2023-03-04 16:54:13 +08:00
README.md change: default port to 8080 2023-03-04 16:54:14 +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 change: default port to 8080 2023-03-04 16:54:14 +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 8080.