tailscale/wgengine/wgcfg
Josh Bleecher Snyder fe7c3e9c17 all: move wgcfg from wireguard-go
This is mostly code movement from the wireguard-go repo.

Most of the new wgcfg package corresponds to the wireguard-go wgcfg package.

wgengine/wgcfg/device{_test}.go was device/config{_test}.go.
There were substantive but simple changes to device_test.go to remove
internal package device references.

The API of device.Config (now wgcfg.DeviceConfig) grew an error return;
we previously logged the error and threw it away.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-01-29 12:52:56 -08:00
..
config.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00
device_test.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00
device.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00
key_test.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00
key.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00
parser_test.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00
parser.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00
writer.go all: move wgcfg from wireguard-go 2021-01-29 12:52:56 -08:00