watch for peer endpoint changes and preserve in machine state

This commit is contained in:
Pavel Sviderski
2024-10-08 16:51:40 +10:00
parent 2eff7d1e22
commit 3a644771ca
4 changed files with 95 additions and 15 deletions
@@ -20,3 +20,7 @@ func (n *WireGuardNetwork) Configure(config Config) error {
func (n *WireGuardNetwork) Run(ctx context.Context) error {
return errors.New("not implemented on darwin")
}
func (n *WireGuardNetwork) WatchEndpoints() <-chan EndpointChangeEvent {
return nil
}