Documentation ¶
Index ¶
- Variables
- func Bridging(c0, c1 io.ReadWriteCloser, pool *pool.Pool, duration time.Duration)
- func Copy(dst io.Writer, src io.Reader, pool *pool.Pool)
- func NewAddr(network, addr string) net.Addr
- type Dialer
- type Network
- func (n *Network) Dialer(network string, addr string, cfg *tls.Config) (dialer Dialer, e error)
- func (n *Network) Listen(network, address string) (l net.Listener, e error)
- func (n *Network) ListenTLS(network, address string, config *tls.Config) (l net.Listener, e error)
- func (n *Network) ListenUdp(network, address string, opts *config.UDP, pool *pool.Pool) (l net.Listener, e error)
- func (n *Network) NewPortal(log *slog.Logger, l net.Listener, portal *config.Portal) (dialer *reverse.Dialer, e error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNetworkUnix = errors.New(`network unix only supported on linux`)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.