1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-06 08:16:03 +02:00
go-micro/examples/shutdown
2021-10-12 12:55:53 +01:00
..
main.go go-micro.dev/v4 (#2305) 2021-10-12 12:55:53 +01:00
README.md Add examples 2020-12-26 15:17:20 +00:00

Shutdown

This demonstrates graceful shutdown of a service via context cancellation after 5 seconds

A micro.Service waits on context.Done() or an OS kill signal