import "github.com/go-orion/Orion/utils/listenerutils"
type CustomListener interface {
net.Listener
CanClose(bool)
GetListener() CustomListener
StopAccept()
}
CustomListener provides an implementation for a custom net.Listener
func NewListener(network, laddr string) (CustomListener, error)
NewListener creates a new CustomListener
func NewListenerWithTimeout(network, laddr string, timeout time.Duration) (CustomListener, error)
Generated by godoc2ghmd