Skip to content

krishpranav/httpserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpserver

A simple http server built in golang

forthebadge

Installation

git clone https://github.com/krishpranav/httpserver
cd httpserver
go get
go build cmd/httpserver/httpserver.go

Output

$ ./httpserver
2021/01/11 21:40:48 Serving . on http://0.0.0.0:8000/...
2021/01/11 21:41:15 [::1]:50181 "GET / HTTP/1.1" 200 383
2021/01/11 21:41:15 [::1]:50181 "GET /hello.html HTTP/1.1" 404 19

Releases

No releases published

Packages

No packages published

Languages