command
module
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Feb 21, 2021
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
serve
A simple HTTP file server that serves the current directory on the port defined by the PORT
environment variable.
Install
brew install 4d63/serve/serve
or
go get 4d63.com/serve
Usage
Serve has no options or configurations. Run it in a directory you want to serve.
serve
$ serve
2021/01/08 11:17:58 Listening on :8000
2021/01/08 11:18:04 GET /README.md 200 0.251259ms
$ PORT=3000 serve
2021/01/08 11:17:58 Listening on :3000
2021/01/08 11:18:04 GET /README.md 200 0.251259ms
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.