1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 13:05:56 +00:00

allow setting a custom go-redis client at Iris go redis sessions driver as request at https://chat.iris-go.com

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-08-15 00:58:49 +03:00
parent 16af6d017f
commit 057fa462f4
4 changed files with 37 additions and 16 deletions

View File

@@ -30,6 +30,7 @@ type Config struct {
Addr string
// Clusters a list of network addresses for clusters.
// If not empty "Addr" is ignored and Redis clusters feature is used instead.
// Note that this field is ignored when setgging a custom `GoRedisClient`.
Clusters []string
// Use the specified Username to authenticate the current connection
// with one of the connections defined in the ACL list when connecting