Install golang-github-facebookgo-grace-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-facebookgo-grace-dev
Description:
Graceful restart & zero downtime deploy for Go servers
This Go library provides a mechanism that makes it easy to build socket based servers that can be gracefully terminated and restarted--without dropping any connections. . It provides a convenient API for HTTP servers including support for TLS, and listening on multiple ports. It is implemented using the same API as systemd providing socket activation compatibility to also provide lazy activation of the server.
Homepage: https://github.com/facebookgo/grace
Version: 0.0~git20170218.0.4afe952-6
Section: universe/devel