The first steps toward Windows support. We can find and attempt to connect to named pipes, but some more work will be necessary to actually allow accessing them:
matt@DESKTOP-2G8V6U5 C:\Users\matt\wireguardctrl\cmd\wgctrl>go build
matt@DESKTOP-2G8V6U5 C:\Users\matt\wireguardctrl\cmd\wgctrl>wgctrl.exe
2019/05/12 12:43:59 failed to get devices: open \\.\pipe\WireGuard\wgwindows0: Access is denied.
matt@DESKTOP-2G8V6U5 C:\Users\matt\wireguardctrl\cmd\wgctrl>wgctrl.exe wgwindows0
2019/05/12 12:44:02 failed to get device "wgwindows0": open \\.\pipe\WireGuard\wgwindows0: Access is denied.
The first steps toward Windows support. We can find and attempt to connect to named pipes, but some more work will be necessary to actually allow accessing them: