Simple go server with readiness and health endpoints using gorilla/mux for routing.
- Make sure to install and run docker daemon
- docker-desktop for Mac/Windows or
- docker-engine for Linux
make build
make run
On a different terminal window run:
curl localhost:8080
curl localhost:8080?name=jdoshi1
curl localhost:8080/health
curl localhost:8080/readiness
curl localhost:8080/blah
Press ctrl+c