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

SetWithTTLAndMeta #332

Closed
genexp opened this issue Nov 30, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@genexp
Copy link

commented Nov 30, 2017

Is there a public method exposed at the moment to set a value with both a TTL and Meta? I don't see one, but it seems like something that would be common?

It seems like it would be possible...

func (txn *Txn) setEntry(e *entry) error {

Thanks y'all!

@manishrjain

This comment has been minimized.

Copy link
Member

commented Nov 30, 2017

We have a SetEntry method which we can expose if you need this functionality.

@deepakjois

This comment has been minimized.

Copy link
Contributor

commented Nov 30, 2017

Fixed in 5bc2e16

I will cut a release in a bit.

@deepakjois deepakjois closed this Nov 30, 2017

@genexp

This comment has been minimized.

Copy link
Author

commented Nov 30, 2017

Oh cool! Thanks @manishrjain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.