Skip to content

vogo/staticsvr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

staticsvr

Serve static resource from one command!

install:

go install github.com/vogo/staticsvr@master

usage:

staticsvr <PORT> <PATH>

examples:

# serve at port 9999 for directory /opt/html
staticsvr 9999 /opt/html

# serve at port 8080 for current directory
staticsvr 8080

Releases

No releases published

Packages

No packages published

Languages