-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(redis): support redis failover (sentinel) (#38)
* feat(redisfailover): support redis failover (sentinel) This adds the go-redis/redis FailoverClient which is used for Redis Sentinel. * fix(redisfailover): sentinel password * refactor(redisfailover): combine with redis provider * refactor(redis): expressly define structs * refactor: use upstream addrs name * fix: invalid struct key * refactor: remove cluster for a later PR * fix(redis): remove invalid options for failover the routing options are only valid for cluster clients as per upstream docs * refactor(redis): support both NewFailoverClient and NewFailoverClusterClient The documentation upstream is slightly confusing. This has already been tested upstream by Authelia. * docs(redis): add docs about the different clients and their purpose. * docs(redis): add go-docs * refactor: keyprefix -> keyPrefix
- Loading branch information
1 parent
de41073
commit e884ba3
Showing
4 changed files
with
194 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters