go-hello-server

Simple go server with readiness and health endpoints using gorilla/mux for routing.

Pre-reqs

  1. Make sure to install and run docker daemon

How to build locally in docker

make build

How to run the server using docker

make run

How to test

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

How to shutdown the server

Press ctrl+c