netclient working for ingress controller

This commit is contained in:
afeiszli
2021-05-27 15:00:56 -04:00
22 changed files with 410 additions and 793 deletions

View File

@@ -23,7 +23,7 @@ import (
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
//homedir "github.com/mitchellh/go-homedir"
)
func InitGRPCWireguard(client models.ServerClient) error {
func InitGRPCWireguard(client models.IntClient) error {
key, err := wgtypes.ParseKey(client.PrivateKey)
if err != nil {
return err