Help us shape the future of Go! Take the 2026 Go Developer Survey

file-server

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2018 License: MIT Imports: 7 Imported by: 0

README

file-server

A simple go file-server that can be used to serve a local directory.

Usage

file-server
  -c    enable client caching headers
  -d string
        directory of static files on host (e.g. ./documents) (default ".")
  -f string
        path under which files should be exposed (e.g. /files/img)
  -l    enable detailed logs
  -p string
        port to serve on (default "8100")
  -v    display the version

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