mirror of
https://github.com/gofiber/storage.git
synced 2025-09-27 04:46:08 +08:00
docs: document new option
This commit is contained in:
@@ -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,
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user