Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 589 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 589 Bytes

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