Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool is a dhcp pool.
func (*Pool) LeaseStaticIP ¶ added in v0.15.0
func (p *Pool) LeaseStaticIP(mac net.HardwareAddr, ip net.IP)
LeaseStaticIP leases static ip from pool according to the given mac.
func (*Pool) ReleaseIP ¶ added in v0.15.0
func (p *Pool) ReleaseIP(mac net.HardwareAddr)
ReleaseIP releases ip from pool according to the given mac.
Click to show internal directories.
Click to hide internal directories.