Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

fileserver

Go package for serving static files.

The original http.FileServer() will show directory listings, this one does not.

Example

func main() {
	fs := simplefileserver.OnlyFilesFilesystem{http.Dir("/tmp/")}
	http.ListenAndServe(":8080", http.FileServer(fs))
}

About

Tiny Golang package for serving static files

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages