added CIDR method
This commit is contained in:
parent
04aad6a34b
commit
c39acaee43
1 changed files with 1 additions and 0 deletions
1
alloc.go
1
alloc.go
|
|
@ -17,6 +17,7 @@ type Allocator interface {
|
|||
Free(*net.IPAddr) error
|
||||
FreeCIDR(cidr string) error
|
||||
SetStore(store Store)
|
||||
CIDR(*net.IPAddr) string
|
||||
}
|
||||
|
||||
type GenericAlloc struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue