Skip to content

AgamAgarwal/go-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

go-http-server

A simple multithreaded http server written in Go.

Usage

The server can be started using the following command:

go run server.go

Alternatively,

go build server.go
./server

Command line flags

This application currently supports the following flags:

Flag Description Default Value Example
port Port on which the server listens 8000 go run server.go -port=8080 or ./server --port 8001
dir Directory to serve . go run server.go -dir=/path/to/dir or `./server --dir /path/to/dir

Suggestions?

Please open an issue or code it up and send me a PR.

About

A simple http server written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages