Versions in this module Expand all Collapse all v0 v0.3.1 Nov 1, 2024 v0.3.0 Sep 24, 2023 Changes in this version + const TmpArcName + var ErrNotAvailable = errors.New("this dialer is not available") + func SetLogger(l pnet.Logger) + type Dialer interface + Init func(conf config.Config) error + IntoReceiver func(ctx context.Context, info pnet.PeerInfo) (io.ReadCloser, error) + IntoSender func(ctx context.Context, info pnet.PeerInfo) (io.WriteCloser, error) + SetInfo func(info *pnet.SelfInfo) + func GetDialer(name string) (Dialer, error) + type TSCapability uint + const TSTaildrop + const TSTun + type Tailscale struct + func (d *Tailscale) Init(conf config.Config) error + func (d *Tailscale) IntoReceiver(ctx context.Context, info pnet.PeerInfo) (io.ReadCloser, error) + func (d *Tailscale) IntoSender(ctx context.Context, info pnet.PeerInfo) (io.WriteCloser, error) + func (d *Tailscale) SetInfo(info *pnet.SelfInfo) + type TcpHolePunch struct + func (d *TcpHolePunch) Init(conf config.Config) (err error) + func (d *TcpHolePunch) IntoReceiver(ctx context.Context, info pnet.PeerInfo) (io.ReadCloser, error) + func (d *TcpHolePunch) IntoSender(ctx context.Context, info pnet.PeerInfo) (io.WriteCloser, error) + func (d *TcpHolePunch) SetInfo(info *pnet.SelfInfo)