tidwall / redcon

Redis compatible server framework for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for context.Context

nathanhack opened this issue · comments

It would be great if there was support for context.Context. So that I could capture os.Signals and kill the server in a nice way.

I have added in my fork https://github.com/nathanhack/redcon
I directly added context, making it not backwards compatible with v1.
Would a PR be something you're interested in (I would expect you would have some feedback on matching your style and backwards compatibility)?

I added a PR #52 for this issue

@nathanhack can u help add context and pub/sub to redhub?
https://github.com/IceFireDB/redhub
thx in advance!
can i buy u a coffee for doing so pls? hope to see it in production