Skip to content

bc-stone/go-pythonic-fileserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-pythonic-fileserver

A Pythonic-style HTTP file server written in Go

By default, the server listens on all IP addresses present on the system ('0.0.0.0') and is bound to TCP port 8000. The current directory ('.') is shared, relative to the location of 'fileserver.go' or the binary (if compiled.)

Usage:

go run fileserver.go [optional flags]

The flags are:

-p : The TCP port to listen on. Defaults to 8000

-i : The interface IP address to use. Defaults to 0.0.0.0

-d : The directory path to share. Defaults to '.'

About

A Pythonic-style HTTP file server written in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages