func (e *expire) Update(entityID string, ts time.Time) bool {
	e.Lock()
	defer e.Unlock()

	_, found := e.lastSeen[entityID]
	e.lastSeen[entityID] = ts

	return !found
}
// Update the map of the Expire obect.
Update the map of the Expire obect.
// Update the map of the Expire obect .
func (e *expire) Update(entityID string, ts time.Time) bool {
	e.Lock()
	defer e.Unlock()
	_, found := e.lastSeen[entityID]
	e.lastSeen[entityID] = ts
	return !found
}
func ( e * expire ) Update ( entityID string , ts time . Time ) bool { e . Lock ( ) defer e . Unlock ( ) _ , found := e . lastSeen [ entityID ] e . lastSeen [ entityID ] = ts return ! found }
Update the map of the Expire obect.
Update the map of the Expire obect .