Skip to content

jummyliu/fileserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fileserver

A simple file server writed with go, like python http.server.

It will create file server in current directory by default (http://0.0.0.0:8000).

Installation

To install this package, you need to install Go and set your Go workspace first.

  1. The first need Go installed (version 1.11+ is required), then you can use the below Go command to install fileserver.
$ go get -u github.com/jummyliu/fileserver@master

Usage

$ fileserver -h
  -addr string
        addr (default "0.0.0.0")
  -h    help
  -path string
        basic path (default ".")
  -port int
        port (default 8000)

About

A simple file service writed with go, like python `http.server`.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages