Documentation ¶
Index ¶
- func AssertDeepCopyEqual(t *testing.T, a interface{}, b interface{})
- func NewLogger() *logrus.Logger
- type NoopTun
- func (NoopTun) Activate() error
- func (NoopTun) Cidr() *net.IPNet
- func (NoopTun) Close() error
- func (NoopTun) Name() string
- func (NoopTun) NewMultiQueueReader() (io.ReadWriteCloser, error)
- func (NoopTun) Read([]byte) (int, error)
- func (NoopTun) RouteFor(iputil.VpnIp) iputil.VpnIp
- func (NoopTun) Write([]byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertDeepCopyEqual ¶
AssertDeepCopyEqual checks to see if two variables have the same values but DO NOT share any memory There is currently a special case for `time.loc` (as this code traverses into unexported fields)
Types ¶
type NoopTun ¶
type NoopTun struct{}
func (NoopTun) NewMultiQueueReader ¶
func (NoopTun) NewMultiQueueReader() (io.ReadWriteCloser, error)
Click to show internal directories.
Click to hide internal directories.