Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugin = plugins.Plugin{
Name: "range",
Setup4: setupRange,
}
Plugin wraps plugin registration information
Functions ¶
This section is empty.
Types ¶
type PluginState ¶
type PluginState struct {
// Rough lock for the whole plugin, we'll get better performance once we use leasestorage
sync.Mutex
// Recordsv4 holds a MAC -> IP address and lease time mapping
Recordsv4 map[string]*Record
LeaseTime time.Duration
// contains filtered or unexported fields
}
PluginState is the data held by an instance of the range plugin
Click to show internal directories.
Click to hide internal directories.