mirror of
https://github.com/gofiber/storage.git
synced 2025-09-27 21:02:20 +08:00
docs: document new option
This commit is contained in:
@@ -160,6 +160,11 @@ type Config struct {
|
|||||||
//
|
//
|
||||||
// Optional. Default is false
|
// Optional. Default is false
|
||||||
Reset bool
|
Reset bool
|
||||||
|
|
||||||
|
// DisableInitialHostLookup disables the initial host lookup
|
||||||
|
//
|
||||||
|
// Optional. Default is false
|
||||||
|
DisableInitialHostLookup bool
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -167,15 +172,16 @@ type Config struct {
|
|||||||
```go
|
```go
|
||||||
// ConfigDefault is the default config
|
// ConfigDefault is the default config
|
||||||
var ConfigDefault = Config{
|
var ConfigDefault = Config{
|
||||||
Session: nil,
|
Session: nil,
|
||||||
Keyspace: "fiber",
|
Keyspace: "fiber",
|
||||||
Hosts: []string{"127.0.0.1"},
|
Hosts: []string{"127.0.0.1"},
|
||||||
Username: "",
|
Username: "",
|
||||||
Password: "",
|
Password: "",
|
||||||
Port: 9042,
|
Port: 9042,
|
||||||
Table: "fiber_storage",
|
Table: "fiber_storage",
|
||||||
Consistency: "LOCAL_ONE",
|
Consistency: "LOCAL_ONE",
|
||||||
SslOpts: nil,
|
SslOpts: nil,
|
||||||
Reset: false,
|
Reset: false,
|
||||||
|
DisableInitialHostLookup: false,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user