Install golang-gopkg-tylerb-graceful.v1-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-gopkg-tylerb-graceful.v1-dev
Description:
Go package for gracefully shutting down HTTP server
This package enables graceful shutdown of a http.Handler server. When the process receives a SIGINT or SIGTERM, the listening port is closed immediately for reuse by another process, while active connections are gracefully terminated after a timeout.
Homepage: https://github.com/tylerb/graceful
Version: 1.2.13-3
Section: universe/devel