test

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertDeepCopyEqual

func AssertDeepCopyEqual(t *testing.T, a interface{}, b interface{})

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)

func NewLogger

func NewLogger() *logrus.Logger

Types

type NoopTun

type NoopTun struct{}

func (NoopTun) Activate

func (NoopTun) Activate() error

func (NoopTun) Cidr

func (NoopTun) Cidr() *net.IPNet

func (NoopTun) Close

func (NoopTun) Close() error

func (NoopTun) Name

func (NoopTun) Name() string

func (NoopTun) NewMultiQueueReader

func (NoopTun) NewMultiQueueReader() (io.ReadWriteCloser, error)

func (NoopTun) Read

func (NoopTun) Read([]byte) (int, error)

func (NoopTun) RouteFor

func (NoopTun) RouteFor(iputil.VpnIp) iputil.VpnIp

func (NoopTun) Write

func (NoopTun) Write([]byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL