Skip to content

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

License

Notifications You must be signed in to change notification settings

tobiaswatzek/file-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages