mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2024-12-12 17:41:08 +01:00
12 lines
163 B
Go
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)
|
|
}
|