1
0
forked from extern/smegmesh
smegmesh/pkg/ip/types.go
2023-10-05 17:48:54 +01:00

12 lines
163 B
Go

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