mirror of
https://github.com/yggdrasil-network/water.git
synced 2025-05-19 08:25:09 +03:00
cleanup
This commit is contained in:
parent
2ee3b4ef0b
commit
ed5454b50a
8 changed files with 5 additions and 19 deletions
|
@ -1,5 +1,3 @@
|
||||||
// +build linux
|
|
||||||
|
|
||||||
package water
|
package water
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
// +build windows
|
|
||||||
package water
|
package water
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// +build darwin
|
|
||||||
|
|
||||||
package water
|
package water
|
||||||
|
|
||||||
// PlatformSpecificParams defines parameters in Config that are specific to
|
// PlatformSpecificParams defines parameters in Config that are specific to
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// +build linux
|
|
||||||
|
|
||||||
package water
|
package water
|
||||||
|
|
||||||
// DevicePermissions determines the owner and group owner for the newly created
|
// DevicePermissions determines the owner and group owner for the newly created
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// +build windows
|
|
||||||
|
|
||||||
package water
|
package water
|
||||||
|
|
||||||
// PlatformSpecificParams defines parameters in Config that are specific to
|
// PlatformSpecificParams defines parameters in Config that are specific to
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// +build darwin
|
|
||||||
|
|
||||||
package water
|
package water
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// +build linux
|
|
||||||
|
|
||||||
package water
|
package water
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
// +build windows
|
|
||||||
|
|
||||||
// To use it with windows, you need a tap driver installed on windows.
|
|
||||||
// https://github.com/OpenVPN/tap-windows6
|
|
||||||
// or just install OpenVPN
|
|
||||||
// https://github.com/OpenVPN/openvpn
|
|
||||||
package water
|
package water
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -18,6 +12,11 @@ import (
|
||||||
"golang.org/x/sys/windows/registry"
|
"golang.org/x/sys/windows/registry"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// To use it with windows, you need a tap driver installed on windows.
|
||||||
|
// https://github.com/OpenVPN/tap-windows6
|
||||||
|
// or just install OpenVPN
|
||||||
|
// https://github.com/OpenVPN/openvpn
|
||||||
|
|
||||||
var (
|
var (
|
||||||
errIfceNameNotFound = errors.New("Failed to find the name of interface")
|
errIfceNameNotFound = errors.New("Failed to find the name of interface")
|
||||||
// Device Control Codes
|
// Device Control Codes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue