# Functions
GetBuiltinOptionNames returns a map of option name to option-code.
GetBuiltinOptionTypes returns a map of dhcpv4 option-code to KnownType.
NewFromFile creates and returns a new Runner from the given input configuration file.
NewFromReader creates and returns a new lua runner from the given input reader.
NewOptionModule creates a new option module with support for the named DHCP options configured in names.
# Constants
Type names for known types.
Type names for known types.
Type names for known types.
Type names for known types.
# Variables
TypeIP represents an IP type.
TypeIPList represents a list of IP addresses.
TypeString represents a String type.
TypeStringList represents a list of strings.
# Structs
KnownType defines a Lua-to-OptionValue and an OptionValue-to-Lua conversion function.
OptionModule keeps track of well-known and user-defined DHCPv4 options and how to covert them between their DHCPv4 wire and lua representation.
PluginConfig describes the configuration of a loadable plugin.
PluginManager allows configuration of loadable.
Runner is cool :) TODO(ppacher): fix comment.
Subnet defines a subnet to be served.
SubnetConfig holds the configuration for a subnet.
SubnetManager allows subnets to be declared via lua code.
# Type aliases
NumberFactory converts a number to an option.
NumberListFactory converts a number slice to an option.
StringFactory converts a string to an option.
StringListFactory converts a string slice to an option.
ToLuaFunc is a function coverting a dhcpv4.OptionValue to a string representation.