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

Add Suffix support to default client set info (#2852)

* Add Suffix support to defualt client set info

* Change ClientNameSuffix to IdentitySuffix

* add tests
This commit is contained in:
ofekshenawa
2024-01-04 14:40:14 +02:00
committed by GitHub
parent d8e3e95866
commit a32be3d93d
7 changed files with 28 additions and 0 deletions

View File

@ -144,6 +144,9 @@ type Options struct {
// Disable set-lib on connect. Default is false.
DisableIndentity bool
// Add suffix to client name. Default is empty.
IdentitySuffix string
}
func (opt *Options) init() {