Stoppable TCP listener in Go
An example of a 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(). Usage is demonstrated below, and in example/example.go. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/hydrogen18/stoppableListener
Release | Stable | Testing |
---|---|---|
Fedora 38 | 0-0.10.20190629git827d760.fc38 | - |
You can contact the maintainers of this package via email at
golang-github-hydrogen18-stoppablelistener dash maintainers at fedoraproject dot org
.