Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DBFile is the file the bolt ndatabase is stored in. DBFile = "bolt.db" // IPBucket is the bolt database bucket for ip key value store. IPBucket = []byte("ipallocator") )
Functions ¶
This section is empty.
Types ¶
type IPAllocator ¶
type IPAllocator struct { Bridge *net.Interface IPNet *net.IPNet // contains filtered or unexported fields }
IPAllocator defines the data structure for allocating a new IP.
Click to show internal directories.
Click to hide internal directories.