Versions in this module Expand all Collapse all v1 v1.0.2 Dec 23, 2020 Changes in this version + const QueryID + const QuotaKey + var ErrIncorrectResponse = errors.New("clickhouse: response must contain 'Ok.'") + var ErrMalformed = errors.New("clickhouse: response is malformed") + var ErrNameParams = errors.New("clickhouse: driver does not support the use of Named Parameters") + var ErrNoLastInsertID = errors.New("no LastInsertId available") + var ErrNoRowsAffected = errors.New("no RowsAffected available") + var ErrPlaceholderCount = errors.New("clickhouse: wrong placeholder count") + var ErrTransportNil = errors.New("clickhouse: transport must be set") + func Array(v interface{}) driver.Valuer + func Date(t time.Time) driver.Valuer + func Decimal128(v interface{}, s int32) driver.Valuer + func Decimal32(v interface{}, s int32) driver.Valuer + func Decimal64(v interface{}, s int32) driver.Valuer + func DeregisterTLSConfig(key string) + func RegisterTLSConfig(key string, config *tls.Config) error + func UInt64(u uint64) driver.Valuer + type Config struct + Database string + Debug bool + GzipCompression bool + Host string + IdleTimeout time.Duration + KillQueryOnErr bool + KillQueryTimeout time.Duration + Location *time.Location + Params map[string]string + Password string + ReadTimeout time.Duration + Scheme string + TLSConfig string + Timeout time.Duration + UseDBLocation bool + User string + WriteTimeout time.Duration + func NewConfig() *Config + func ParseDSN(dsn string) (*Config, error) + func (cfg *Config) FormatDSN() string + type DataParser interface + Parse func(io.RuneScanner) (driver.Value, error) + Type func() reflect.Type + func NewDataParser(t *TypeDesc, opt *DataParserOptions) (DataParser, error) + type DataParserOptions struct + Location *time.Location + UseDBLocation bool + type Error struct + Code int + Message string + func (e *Error) Error() string + type TypeDesc struct + Args []*TypeDesc + Name string + func ParseTypeDesc(s string) (*TypeDesc, error)