https://github.com/krishpranav/httpserver
A simple http server built in golang
https://github.com/krishpranav/httpserver
go go-http golang golang-library httpserver
Last synced: 9 months ago
JSON representation
A simple http server built in golang
- Host: GitHub
- URL: https://github.com/krishpranav/httpserver
- Owner: krishpranav
- Created: 2021-06-26T10:25:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-26T11:18:31.000Z (over 4 years ago)
- Last Synced: 2025-03-04T13:46:26.182Z (10 months ago)
- Topics: go, go-http, golang, golang-library, httpserver
- Language: Go
- Homepage:
- Size: 422 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# httpserver
A simple http server built in golang
[](https://forthebadge.com)

# 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
```