Documentation ¶ Index ¶ func Wrap(l net.Listener) net.Listener Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Wrap ¶ func Wrap(l net.Listener) net.Listener Wrap returns a new Listener around the provided net.Listener. The returned Listener has a guarantee that when Close returns, it will no longer accept any new connections. See: https://github.com/uber/tchannel-go/issues/141 Types ¶ This section is empty. Source Files ¶ View all Source files listener.go Click to show internal directories. Click to hide internal directories.