You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> go-redis is brought to you by :star:[**uptrace/uptrace**](https://github.com/uptrace/uptrace).
10
-
> Uptrace is an open-source APM tool that supports distributed tracing, metrics, and logs. You can
11
-
> use it to monitor applications and set up automatic alerts to receive notifications via email,
12
-
> Slack, Telegram, and others.
13
-
>
14
-
> See [OpenTelemetry](https://github.com/redis/go-redis/tree/master/example/otel) example which
15
-
> demonstrates how you can use Uptrace to monitor go-redis.
9
+
> go-redis is the official Redis client library for the Go programming language. It offers a straightforward interface for interacting with Redis servers.
16
10
17
11
## Supported versions
18
12
@@ -184,16 +178,18 @@ By default, go-redis automatically sends the client library name and version dur
184
178
185
179
#### Disabling Identity Verification
186
180
187
-
When connection identity verification is not required or needs to be explicitly disabled, a `DisableIndentity` configuration option exists. In V10 of this library, `DisableIndentity` will become `DisableIdentity` in order to fix the associated typo.
181
+
When connection identity verification is not required or needs to be explicitly disabled, a `DisableIdentity` configuration option exists.
182
+
Initially there was a typo and the option was named `DisableIndentity` instead of `DisableIdentity`. The misspelled option is marked as Deprecated and will be removed in V10 of this library.
183
+
Although both options will work at the moment, the correct option is `DisableIdentity`. The deprecated option will be removed in V10 of this library, so please use the correct option name to avoid any issues.
188
184
189
-
To disable verification, set the `DisableIndentity` option to `true` in the Redis client options:
185
+
To disable verification, set the `DisableIdentity` option to `true` in the Redis client options:
190
186
191
187
```go
192
188
rdb:= redis.NewClient(&redis.Options{
193
189
Addr: "localhost:6379",
194
190
Password: "",
195
191
DB: 0,
196
-
DisableIndentity: true, // Disable set-info on connect
192
+
DisableIdentity: true, // Disable set-info on connect
In the Redis-Search module, **the default dialect is 2**. If needed, you can explicitly specify a different dialect using the appropriate configuration in your queries.
217
+
218
218
## Contributing
219
219
220
220
Please see [out contributing guidelines](CONTRIBUTING.md) to help us improve this library!
@@ -297,6 +297,14 @@ REDIS_PORT=9999 go test <your options>
297
297
298
298
## Contributors
299
299
300
+
> The go-redis project was originally initiated by :star:[**uptrace/uptrace**](https://github.com/uptrace/uptrace).
301
+
> Uptrace is an open-source APM tool that supports distributed tracing, metrics, and logs. You can
302
+
> use it to monitor applications and set up automatic alerts to receive notifications via email,
303
+
> Slack, Telegram, and others.
304
+
>
305
+
> See [OpenTelemetry](https://github.com/redis/go-redis/tree/master/example/otel) example which
306
+
> demonstrates how you can use Uptrace to monitor go-redis.
0 commit comments