package
0.18.3
Repository: https://github.com/shellhub-io/shellhub.git
Documentation: pkg.go.dev

# Functions

ConnHandler returns the HTTP handler that needs to be mounted somewhere that the Listeners can dial out and get to.
NewDialer returns the side of the connection which will initiate new connections.
NewListener returns a new Listener, accepting connections which arrive from the provided server connection, which should be after any necessary authentication (usually after an HTTP exchange).

# Variables

No description provided by the author
No description provided by the author
ErrListenerClosed is returned by Accept after Close has been called.

# Structs

The Dialer can create new connections.
Listener is a net.Listener, returning new connections which arrive from a corresponding Dialer.