func (r *Registry) ForgetIP(ip net.IP) error {
	r.lock.Lock()
	defer r.lock.Unlock()

	contents, err := r.load()
	if err != nil {
		return err
	}

	delete(contents.IPs, ip.String())

	return r.save(contents)
}
// ForgetIP removes an IP from the registry
ForgetIP removes an IP from the registry
// ForgetIP removes an IP from the registry
func (r *Registry) ForgetIP(ip net.IP) error {
	r.lock.Lock()
	defer r.lock.Unlock()
	contents, err := r.load()
	if err != nil {
		return err
	}
	delete(contents.IPs, ip.String())
	return r.save(contents)
}
func ( r * Registry ) ForgetIP ( ip net . IP ) error { r . lock . Lock ( ) defer r . lock . Unlock ( ) contents , err := r . load ( ) if err != nil { return err } delete ( contents . IPs , ip . String ( ) ) return r . save ( contents ) }
ForgetIP removes an IP from the registry
ForgetIP removes an IP from the registry