serve

command module
v0.0.0-...-ff0f340 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2013 License: MIT Imports: 6 Imported by: 0

README

serve

Like python -m SimpleHTTPServer, plus more!

Serve a directory on the host and port of your choice.

Usage

$ serve
Serving '/home/james/' on 'http://127.0.0.1:8000'

$ serve -p 1234
Serving '/home/james/' on 'http://127.0.0.1:1234'

$ serve /usr/share/doc/python3-doc/html
Serving '/usr/share/doc/python3-doc/html/' on 'http://127.0.0.1:8000'

$ serve -h 0.0.0.0
Serving '/home/james/' on 'http://0.0.0.0:8000'

Install

go get github.com/jamesadney/serve

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL