Automerge changes

This commit is contained in:
Tim Beatham
2023-10-05 17:48:54 +01:00
parent f191c4ff44
commit 923ca716ec
16 changed files with 355 additions and 310 deletions

11
pkg/ip/types.go Normal file
View File

@@ -0,0 +1,11 @@
package ip
import (
"net"
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
)
type IPAllocator interface {
GetIP(key wgtypes.Key, meshId string) (net.IP, error)
}