Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bmoscon/watchdog
- Owner: bmoscon
- License: mit
- Created: 2017-07-28T23:27:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-23T01:07:53.000Z (over 7 years ago)
- Last Synced: 2024-12-16T09:33:40.018Z (about 2 months ago)
- Topics: go, golang, microservice, watchdog
- Language: Go
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`