Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bmoscon/watchdog

A watchdog microservice in Go
https://github.com/bmoscon/watchdog

go golang microservice watchdog

Last synced: 3 days ago
JSON representation

A watchdog microservice in Go

Awesome Lists containing this project

README

        

## 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`