Versions in this module Expand all Collapse all v4 v4.1.1 Jun 12, 2023 Changes in this version + func CloseOnError(err *error, conn io.Closer) + func Dial(addr string) net.Conn + func ListenAny() net.Listener + func NopClose() error + type CloseFunc func() error + type DialFunc func(n, a string) (net.Conn, error) + type ListenFunc func(n, addr string) (net.Listener, error)