mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 16:48:25 +08:00
✏ remove private keys
This commit is contained in:
@@ -82,9 +82,6 @@ type Config struct {
|
|||||||
// if IdleTimeout is set.
|
// if IdleTimeout is set.
|
||||||
IdleCheckFrequency time.Duration
|
IdleCheckFrequency time.Duration
|
||||||
|
|
||||||
// Enables read only queries on slave nodes.
|
|
||||||
readOnly bool
|
|
||||||
|
|
||||||
// TLS Config to use. When set TLS will be negotiated.
|
// TLS Config to use. When set TLS will be negotiated.
|
||||||
TLSConfig *tls.Config
|
TLSConfig *tls.Config
|
||||||
|
|
||||||
|
@@ -20,7 +20,6 @@ func New(config ...Config) Storage {
|
|||||||
// Override config if provided
|
// Override config if provided
|
||||||
if len(config) > 0 {
|
if len(config) > 0 {
|
||||||
cfg = configDefault(config[0])
|
cfg = configDefault(config[0])
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create new redis client
|
// Create new redis client
|
||||||
|
Reference in New Issue
Block a user