Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClickHouseConfig ¶
type ClickHouseConfig struct {
Addr string
Username string
Password string
Database string
TLSEnabled bool
// MaxOpenConns sizes the connection pool; 0 uses the client default.
MaxOpenConns int
// DialTimeout bounds opening a connection and waiting for a free pooled
// one; 0 means 10s.
DialTimeout time.Duration
// ReadTimeout bounds waiting for a query's response; 0 means 30s.
ReadTimeout time.Duration
}
Click to show internal directories.
Click to hide internal directories.