- `internal/wireguard` client package with unit tests - Implementation works with kernel space or user space if unavailable - `WIREGUARD_PRIVATE_KEY` - `WIREGUARD_ADDRESS` - `WIREGUARD_PRESHARED_KEY` - `WIREGUARD_PORT` - `internal/netlink` package used by `internal/wireguard`
8 lines
83 B
Go
8 lines
83 B
Go
package netlink
|
|
|
|
type NetLink struct{}
|
|
|
|
func New() *NetLink {
|
|
return &NetLink{}
|
|
}
|