Versions in this module Expand all Collapse all v5 v5.0.2 Dec 22, 2021 Changes in this version + func NewConnector(dsn string) driver.Connector + func NewHTTPClient(host string, baseClient *http.Client, config *Config) (*httpClient, error) + func WithAdditionalHeaders(cli *http.Client, headers http.Header) *http.Client + func WithBasicAuth(cli *http.Client, username, password string) *http.Client + func WithDigestAuth(cli *http.Client, username, password string) *http.Client + func WithKerberosAuth(cli *http.Client, ...) (*http.Client, error) + type Adapter interface + ErrorResponseToResponseError func(*message.ErrorResponse) errors.ResponseError + GetColumnTypeDefinition func(*message.ColumnMetaData) *internal.Column + GetPingStatement func() string + type Config struct + func ParseDSN(dsn string) (map[string]string, *Config, error) + type Connector struct + Client *http.Client + Info map[string]string + func (c *Connector) Connect(context.Context) (driver.Conn, error) + func (c *Connector) Driver() driver.Driver + type Driver struct + func (a *Driver) Open(dsn string) (driver.Conn, error)