forked from extern/smegmesh
12 lines
185 B
Go
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)
|
|
}
|