Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 556 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 556 Bytes

mock-endpoint

how does gin work no?

Building

Mac/Linux

  1. set GOROOT environment variable
  2. Install Go and Make
  3. make

Docker

  1. set GOROOT environment variable
  2. Install Docker, Go and Make
  3. make docker

Running

Mac/Linux

./mock-endpoint

Docker

docker pull mzajaccaravan/mock-endpoint:latest
docker run -i -t -p 8080:8080 mzajaccaravan/mock-endpoint

Testing

run either the docker container or the raw application binary

curl http://localhost:8080/health

Copyright © 2020, mzajac