mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
More godoc improvements
This commit is contained in:
parent
b5ac65cacb
commit
f19a4e4398
4 changed files with 44 additions and 14 deletions
|
@ -41,6 +41,10 @@ type tcp struct {
|
|||
conns map[linkInfo](chan struct{})
|
||||
}
|
||||
|
||||
// TcpListener is a stoppable TCP listener interface. These are typically
|
||||
// returned from calls to the ListenTCP() function and are also used internally
|
||||
// to represent listeners created by the "Listen" configuration option and for
|
||||
// multicast interfaces.
|
||||
type TcpListener struct {
|
||||
Listener net.Listener
|
||||
Stop chan bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue