servedir

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

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

Go to latest
Published: Nov 13, 2015 License: ISC Imports: 8 Imported by: 0

README

servedir

A Go Language program that serves the current directory over HTTP

Installation

go get github.com/howeyc/servedir

Running

Run the executable and it will serve the current working directory on port 8080.

Command line flags are available to change the port and to listen on localhost only.

Why

The extremely basic file http.FileServer and http.Dir do not sort the directory listing and there is no file size information displayed in the listing.

Documentation

Overview

Serve Directory

Jump to

Keyboard shortcuts

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