From b1026d4553c331f36f385ad74d8ad5362e98f581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Wed, 9 Apr 2025 12:58:38 +0200 Subject: [PATCH] docs: document new option --- scylladb/README.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/scylladb/README.md b/scylladb/README.md index 6df96144..72b15c67 100644 --- a/scylladb/README.md +++ b/scylladb/README.md @@ -160,6 +160,11 @@ type Config struct { // // Optional. Default is false Reset bool + + // DisableInitialHostLookup disables the initial host lookup + // + // Optional. Default is false + DisableInitialHostLookup bool } ``` @@ -167,15 +172,16 @@ type Config struct { ```go // ConfigDefault is the default config var ConfigDefault = Config{ - Session: nil, - Keyspace: "fiber", - Hosts: []string{"127.0.0.1"}, - Username: "", - Password: "", - Port: 9042, - Table: "fiber_storage", - Consistency: "LOCAL_ONE", - SslOpts: nil, - Reset: false, + Session: nil, + Keyspace: "fiber", + Hosts: []string{"127.0.0.1"}, + Username: "", + Password: "", + Port: 9042, + Table: "fiber_storage", + Consistency: "LOCAL_ONE", + SslOpts: nil, + Reset: false, + DisableInitialHostLookup: false, } ```