// NewPassiveExpirationService creates a new expiration service
// which is working according to ExpirationPolicyPassive.
NewPassiveExpirationService creates a new expiration service
which is working according to ExpirationPolicyPassive.
// NewPassiveExpirationService creates a new expiration service // which is working according to ExpirationPolicyPassive .
func NewPassiveExpirationService(expires time.Duration) ExpirationService {
	expSrv := &passiveExpirationService{
		accesses: make(map[uint64]int64),
		Expires:  int64(expires),
	}
	return expSrv
}
func NewPassiveExpirationService ( expires time . Duration ) ExpirationService { expSrv := & passiveExpirationService { accesses : make ( map [ uint64 ] int64 ) , Expires : int64 ( expires ) , } return expSrv }
NewPassiveExpirationService creates a new expiration service
which is working according to ExpirationPolicyPassive.
NewPassiveExpirationService creates a new expiration service which is working according to ExpirationPolicyPassive .