Install golang-github-hydrogen18-stoppablelistener-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-hydrogen18-stoppablelistener-dev
Description:
stoppable TCP listener in Go
This library wraps an existing TCP connection object. A goroutine calling Accept() is interrupted with StoppedError whenever the listener is stopped by a call to Stop().
Homepage: https://github.com/hydrogen18/stoppableListener
Version: 0.0~git20151210.0.dadc9cc-1
Section: universe/devel