An open API service indexing awesome lists of open source software.

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.

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