You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
// AnyPort structure is used to keep information about active port being listened.
type AnyPort struct {
// Active listener bound to an available port
Listener net.Listener
// Port number. Shortcut for 'Listener.Addr().(*net.TCPAddr)' expression.
PortNumber int
}
// Listener interface is used to abstract net.Listen() and tls.Listen() calls for the sake of testing; as well as for custom Listen() routine implementations.