tidwall / redcon

Redis compatible server framework for Go
MIT License
2.16k stars 159 forks source link

Would pub/sub support be welcome? #35

Closed bootjp closed 3 years ago

bootjp commented 3 years ago

Would I be welcome to implement pub/sub and send a pull request to this repository?

I am in need of a pub/sub right now and if a pull request is welcome, I will implement and send it.

tidwall commented 3 years ago

I actually have a pubsub that uses Redcon in a different project. I think it's a complete implementation. It needs a little cleanup, but I'll push what I have to a branch.

tidwall commented 3 years ago

I added a pubsub branch -> https://github.com/tidwall/redcon/tree/pubsub

The example/clone.go now includes the subscribe, psubscribe, and publish commands.

bootjp commented 3 years ago

Wonderful. Will this one be merged into the master branch?

tidwall commented 3 years ago

Just merged

bootjp commented 3 years ago

thankyou!!