Skip to content

jdoshi1/go-hello-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors