1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Identify client on connect (#2708)

* Update CLIENT-SETINFO to support suffixes

* Update CLIENT-SETINFO

* fix acl log test

* add setinfo option to cluster

* change to DisableIndentity

* change to DisableIndentity
This commit is contained in:
ofekshenawa
2023-09-20 10:33:09 +03:00
committed by GitHub
parent 54a106ee19
commit 0b6be62b71
6 changed files with 30 additions and 14 deletions

View File

@ -136,6 +136,9 @@ type Options struct {
// Enables read only queries on slave/follower nodes.
readOnly bool
// // Disable set-lib on connect. Default is false.
DisableIndentity bool
}
func (opt *Options) init() {