Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CORE] Tener la posibilidad de inicializar la cache con una configuracion, de tal modo que en esa estructura que le pasamos, podemos designar las caracteristicas que deseemos, por ejemplo, algoritmo a utilizar, tiempo por defecto que las entradas deben vivir en el cache, etc/ #28

Open
tomiok opened this issue Mar 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tomiok
Copy link
Member

tomiok commented Mar 18, 2023

pasar de:

cache.New()

a

cache.New(&cache.Options{.....}

Y que se pueda configurar el algoritmo de hash (actualmente hay dos) y el TTL, en caso de que no pasen ninguno, usar los tiempos por defecto (agregarlos porque hasta ahora no hay).

@tomiok tomiok added the enhancement New feature or request label Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants