Versions in this module Expand all Collapse all v1 v1.2.0 Jul 13, 2025 Changes in this version + type Dialer struct + func NewDialer(t interface{ ... }) *Dialer + func (_m *Dialer) Dial(_a0 context.Context, _a1 *addr.Addr) (net.Conn, error) + func (_m *Dialer) EXPECT() *Dialer_Expecter + type Dialer_Dial_Call struct + func (_c *Dialer_Dial_Call) Return(_a0 net.Conn, _a1 error) *Dialer_Dial_Call + func (_c *Dialer_Dial_Call) Run(run func(_a0 context.Context, _a1 *addr.Addr)) *Dialer_Dial_Call + func (_c *Dialer_Dial_Call) RunAndReturn(run func(context.Context, *addr.Addr) (net.Conn, error)) *Dialer_Dial_Call + type Dialer_Expecter struct + func (_e *Dialer_Expecter) Dial(_a0 interface{}, _a1 interface{}) *Dialer_Dial_Call + type Tunneler struct + func NewTunneler(t interface{ ... }) *Tunneler + func (_m *Tunneler) EXPECT() *Tunneler_Expecter + func (_m *Tunneler) Tunnel(ctx context.Context, srcConn net.Conn, dstConn net.Conn) error + type Tunneler_Expecter struct + func (_e *Tunneler_Expecter) Tunnel(ctx interface{}, srcConn interface{}, dstConn interface{}) *Tunneler_Tunnel_Call + type Tunneler_Tunnel_Call struct + func (_c *Tunneler_Tunnel_Call) Return(_a0 error) *Tunneler_Tunnel_Call + func (_c *Tunneler_Tunnel_Call) Run(run func(ctx context.Context, srcConn net.Conn, dstConn net.Conn)) *Tunneler_Tunnel_Call + func (_c *Tunneler_Tunnel_Call) RunAndReturn(run func(context.Context, net.Conn, net.Conn) error) *Tunneler_Tunnel_Call