Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerCreators = ®istry.Registry[ConnHandlerCreatorFunc]{}
Functions ¶
Types ¶
type ConnHandlerCreatorFunc ¶
type ConnHandlerCreatorFunc func(addr string, transportParams url.Values) (ConnHandlerFunc, error)
type ConnHandlerFunc ¶
type ConnHandlerFunc func(incoming net.Conn, logger logging.Logger, wg *sync.WaitGroup, done <-chan struct{})
func CreateDirectDialHandler ¶
func CreateDirectDialHandler(addr string, transportParams url.Values) (ConnHandlerFunc, error)
func CreateHandler ¶
func CreateHandler(addr string, transportParams url.Values) (ConnHandlerFunc, error)
func PrimedDialerToHandler ¶
func PrimedDialerToHandler(addr string, dialer N.PrimedDialerFunc) (ConnHandlerFunc, error)
Click to show internal directories.
Click to hide internal directories.