mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
format code
This commit is contained in:
@ -46,8 +46,8 @@ type Config struct {
|
||||
IdleTimeout time.Duration // Maximum idle time for connection (default is 10 seconds, not allowed to be set to 0)
|
||||
MaxConnLifetime time.Duration // Maximum lifetime of the connection (default is 30 seconds, not allowed to be set to 0)
|
||||
ConnectTimeout time.Duration // Dial connection timeout.
|
||||
TLS bool // Specifies the config to use when a TLS connection is dialed.
|
||||
TLSSkipVerify bool // Disables server name verification when connecting over TLS
|
||||
TLS bool // Specifies the config to use when a TLS connection is dialed.
|
||||
TLSSkipVerify bool // Disables server name verification when connecting over TLS
|
||||
}
|
||||
|
||||
// Pool statistics.
|
||||
|
||||
Reference in New Issue
Block a user