Versions in this module Expand all Collapse all v1 v1.1.0 Jun 6, 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 Proxy struct + func NewProxy(t interface{ ... }) *Proxy + func (_m *Proxy) EXPECT() *Proxy_Expecter + func (_m *Proxy) ForwardHTTP(ctx context.Context, r *http.Request, dstHost *addr.Addr) (*http.Response, error) + func (_m *Proxy) OpenTunnel(ctx context.Context, srcConn net.Conn, dstHost *addr.Addr) (<-chan error, error) + type Proxy_Expecter struct + func (_e *Proxy_Expecter) ForwardHTTP(ctx interface{}, r interface{}, dstHost interface{}) *Proxy_ForwardHTTP_Call + func (_e *Proxy_Expecter) OpenTunnel(ctx interface{}, srcConn interface{}, dstHost interface{}) *Proxy_OpenTunnel_Call + type Proxy_ForwardHTTP_Call struct + func (_c *Proxy_ForwardHTTP_Call) Return(_a0 *http.Response, _a1 error) *Proxy_ForwardHTTP_Call + func (_c *Proxy_ForwardHTTP_Call) Run(run func(ctx context.Context, r *http.Request, dstHost *addr.Addr)) *Proxy_ForwardHTTP_Call + func (_c *Proxy_ForwardHTTP_Call) RunAndReturn(run func(context.Context, *http.Request, *addr.Addr) (*http.Response, error)) *Proxy_ForwardHTTP_Call + type Proxy_OpenTunnel_Call struct + func (_c *Proxy_OpenTunnel_Call) Return(done <-chan error, err error) *Proxy_OpenTunnel_Call + func (_c *Proxy_OpenTunnel_Call) Run(run func(ctx context.Context, srcConn net.Conn, dstHost *addr.Addr)) *Proxy_OpenTunnel_Call + func (_c *Proxy_OpenTunnel_Call) RunAndReturn(run func(context.Context, net.Conn, *addr.Addr) (<-chan error, error)) *Proxy_OpenTunnel_Call