Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrLocalTunnelNotFound = errors.New("no local tunnel found")
)
View Source
var (
ErrNoMatchingInterface = errors.New("no matching /31 interface found")
)
Functions ¶
This section is empty.
Types ¶
type LocalNet ¶
func NewLocalNet ¶
type LocalTunnel ¶
func FindLocalTunnel ¶
func FindLocalTunnel(interfaces []Interface, tunnelNet *net.IPNet) (*LocalTunnel, error)
type MockLocalNet ¶
func (*MockLocalNet) Interfaces ¶
func (m *MockLocalNet) Interfaces() ([]Interface, error)
Click to show internal directories.
Click to hide internal directories.