glowing-gopher

command module
v0.0.0-...-37951be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2018 License: MIT Imports: 8 Imported by: 0

README

Go Report Card License

Glowing-Gopher

This project is to check the health status of different microservices, simply clone this repo and edit the config.yml file to your needs.

The default port is ":3333".

Call the "/healthcheck" endpoint and it will automatically test all the endpoints provided and return their status codes.

The current binary is with the existing config.yml so this needs to be rebuilt with your own config file.

Build

Build the binary with the following commands:

go build main.go
go install

Docker

Build the Docker image with the following commands:

GOOS=linux GOARCH=linux CGO_ENABLED=0 go build main.go
docker build --rm -t clem109/glowing-gopher .
docker run -it -p [YOUR PORT]:3333 clem109/glowing-gopher

In our dockerfile we use the compiled binary as it makes the image size much much smaller.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL