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 expiration support #94

Closed
wants to merge 8 commits into from

Conversation

tdakkota
Copy link
Contributor

@tdakkota tdakkota commented Feb 25, 2020

#86

Defines two new interfaces:

type SetterWithExp interface {
	SetExp(k string, v interface{}, exp time.Duration) error
}

and

type Cache interface {
	Store
	SetterWithExp
}

implemented for

  • Redis
  • Memcached
  • Freecache
  • Hazelcast
  • BadgerDB
  • etcd

@tdakkota tdakkota changed the base branch from master to develop February 25, 2020 09:21
@philippgille philippgille deleted the branch philippgille:develop May 7, 2022 18:52
@philippgille
Copy link
Owner

Hello 👋, sorry I didn't intend to close this PR - it was automatically done by GitHub due to the deletion of the develop branch, which was the target branch of this PR. I will do some dependency updates first, and get back to this later.

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.

None yet

2 participants