Documentation ¶
Overview ¶
Package mocks contains mocks for tunnel.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tunnel ¶
type Tunnel struct { // MockBootstrapTime allows to mock BootstrapTime. MockBootstrapTime func() time.Duration // MockSOCKS5ProxyURL allows to mock Socks5ProxyURL. MockSOCKS5ProxyURL func() *url.URL // MockStop allows to mock Stop. MockStop func() }
Tunnel allows mocking a tunnel.
func (*Tunnel) BootstrapTime ¶
func (*Tunnel) SOCKS5ProxyURL ¶
SOCKS5ProxyURL implements Tunnel.SOCKS5ProxyURL.
Click to show internal directories.
Click to hide internal directories.