Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RangePlugin ¶
type RangePlugin struct {
// Next is the next handler in the chain
Next plugin.Handler
// Ranges holds all IP ranges that can be used by the plugin
Ranges iprange.IPRanges
// Network defines the network that is served by the plugin
// setupRange copies this from the dhcpserver.Config
Network net.IPNet
// L holds the logger to use
L log.Logger
}
RangePlugin assigned IP address from preconfigured ranges
func (*RangePlugin) Name ¶
func (p *RangePlugin) Name() string
Name returns "range" and implements the plugin.Handler interface
Click to show internal directories.
Click to hide internal directories.