Skip to content
A watchdog microservice in Go
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
heartbeat
.gitignore
LICENSE
Makefile
README.md
watchdog.go

README.md

Watchdog

A very simple example of a watchdog microservice in Go.

To build:

make

This will produce watchdog and example binaries. Run watchdog in the backgroudnd, then example.

$ ./watchdog&
$ ./example

example will register itself with watchdog and then exit. watchdog will restart example (which will simply exit) endlessly. You can observe this behavior in watchdog.log

You can’t perform that action at this time.