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

Add simple in-memory cache #2231

Merged
merged 4 commits into from Aug 31, 2021
Merged

Add simple in-memory cache #2231

merged 4 commits into from Aug 31, 2021

Conversation

AuditeMarlow
Copy link
Collaborator

@AuditeMarlow AuditeMarlow commented Aug 31, 2021

This PR adds a cache package with a default in-memory cache implementation registered in the micro and cmd packages. The cache package is fully documented and tested.

Closes #2227.

@asim
Copy link
Member

asim commented Aug 31, 2021

Very clean code. Thanks for the contribution. We can then go on to add memcache/redis implementations in the plugins directory or allow others to contribute those as and when its relevant.

@asim asim merged commit 05a299b into go-micro:master Aug 31, 2021
@AuditeMarlow AuditeMarlow deleted the add-cache branch September 1, 2021 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Cache package
2 participants