package
0.0.0-20190220103131-045890faf5e6
Repository: https://github.com/go-orion/orion.git
Documentation: pkg.go.dev
# README
listenerutils
import "github.com/go-orion/Orion/utils/listenerutils"
Overview
Imported Packages
Index
Package files
type CustomListener
type CustomListener interface {
net.Listener
CanClose(bool)
GetListener() CustomListener
StopAccept()
}
CustomListener provides an implementation for a custom net.Listener
func NewListener
func NewListener(network, laddr string) (CustomListener, error)
NewListener creates a new CustomListener
func NewListenerWithTimeout
func NewListenerWithTimeout(network, laddr string, timeout time.Duration) (CustomListener, error)
Generated by godoc2ghmd
# Functions
NewListener creates a new CustomListener.
No description provided by the author
# Interfaces
CustomListener provides an implementation for a custom net.Listener.