Skip to content

ghchinoy/httpserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Simple HTTP Server

So simple, almost no reasons to commit.

Prerequisites

Go

Get and install

go get github.com/ghchinoy/httpserver
go install github.com/ghchinoy/httpserver

Run

Once installed, run via:

httpserver

Defaults to current directory for HTML, optional -web param for HTML dir location.

Defaults to 8085 for port, optional -port param for port.

Example (redundant, since these are the defaults)

httpserver -port 8085 -web .

About

simple golang httpserver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published