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

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

	contents.IPs[ip.String()] = &registryIP{lib.JSONTime{time.Now()}}
	return r.save(contents)
}
// TrackIP records an IP in the free registry with the current system
// time as the current freed-time. If an IP is freed again, the time
// will be updated to the new current time.
TrackIP records an IP in the free registry with the current system
time as the current freed-time. If an IP is freed again, the time
will be updated to the new current time.
// TrackIP records an IP in the free registry with the current system // time as the current freed - time . If an IP is freed again the time // will be updated to the new current time .
func (r *Registry) TrackIP(ip net.IP) error {
	r.lock.Lock()
	defer r.lock.Unlock()
	contents, err := r.load()
	if err != nil {
		return err
	}
	contents.IPs[ip.String()] = &registryIP{lib.JSONTime{time.Now()}}
	return r.save(contents)
}
func ( r * Registry ) TrackIP ( ip net . IP ) error { r . lock . Lock ( ) defer r . lock . Unlock ( ) contents , err := r . load ( ) if err != nil { return err } contents . IPs [ ip . String ( ) ] = & registryIP { lib . JSONTime { time . Now ( ) } } return r . save ( contents ) }
TrackIP records an IP in the free registry with the current system
time as the current freed-time.
TrackIP records an IP in the free registry with the current system time as the current freed - time .