1
0
forked from extern/smegmesh
smegmesh/pkg/ip/types.go
2024-01-02 00:09:31 +00:00

12 lines
185 B
Go

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