Hi,
Sentinel mainly do as master manager through a quorum, so multiple Sentinel monitors master and slaves, if muster die sentinel elect a slave to master role.
Sentinel protocol is the same Redis one but mainly you can query it for master discovering.
I used it in PHP in this way:
- I've a list of Sentinel
- randomly I connect to one asking about current master
- I connect to current Redis master
It should be managed by Redis go library but doing a quick seach I was not able to find any already implemented.
Thanks
Maurizio