https://github.com/adridevelopsthings/random-status-codes
A webserver written in golang that returns random status codes without body or needed headers.
https://github.com/adridevelopsthings/random-status-codes
golang http webserver
Last synced: about 1 year ago
JSON representation
A webserver written in golang that returns random status codes without body or needed headers.
- Host: GitHub
- URL: https://github.com/adridevelopsthings/random-status-codes
- Owner: AdriDevelopsThings
- License: agpl-3.0
- Created: 2022-03-27T17:18:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T17:40:46.000Z (about 3 years ago)
- Last Synced: 2025-02-10T21:53:10.371Z (about 1 year ago)
- Topics: golang, http, webserver
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# random-status-codes
A webserver written in golang that returns random status codes without body or needed headers.
## Use it
### Docker
``docker run -p 80:80 ghcr.io/adridevelopsthings/random-status-codes:main``
### Raw
``go build . -t main``
You can configure a host in the environment variable ``HTTP_HOST`` (for example ``0.0.0.0:80``).
Start it with: `./main`.