Added sync

This commit is contained in:
Tim Beatham
2023-10-10 20:14:40 +01:00
parent e729c5b181
commit ec87afc235
16 changed files with 794 additions and 41 deletions

View File

@ -1,6 +1,7 @@
package ctrlserver
import (
"github.com/tim-beatham/wgmesh/pkg/conf"
"github.com/tim-beatham/wgmesh/pkg/conn"
"github.com/tim-beatham/wgmesh/pkg/manager"
"golang.zx2c4.com/wireguard/wgctrl"
@ -28,7 +29,8 @@ type Mesh struct {
*/
type MeshCtrlServer struct {
Client *wgctrl.Client
MeshManager *manager.MeshManger
MeshManager *manager.MeshManger
ConnectionManager conn.ConnectionManager
ConnectionServer *conn.ConnectionServer
Conf *conf.WgMeshConfiguration
}