Versions in this module Expand all Collapse all v1 v1.15.1 Sep 1, 2026 v1.15.0 Aug 28, 2026 Changes in this version + func M2MScopesSupported(scopes []string) bool + type Auth struct + ClientID string + ClientSecret string + Mode AuthMode + RedirectPort uint16 + Scopes []string + Token string + type AuthMode int + const AuthM2M + const AuthPAT + const AuthU2M + type Config struct + Auth Auth + Catalog string + DecimalAsFloat bool + DriverSystemConfiguration *DriverSystemConfiguration + HTTPPath string + Host string + Location *time.Location + ProxyBypassHosts string + ProxyPassword string + ProxyURL string + ProxyUsername string + RequestTimeout time.Duration + Retry *RetryConfig + Schema string + SessionConf map[string]string + TLSClientCertPEM []byte + TLSClientKeyPEM []byte + TLSSkipHostnameVerify bool + TLSSkipVerify bool + TLSTrustedCertsPEM []byte + Telemetry *TelemetryConfig + TokenCacheEnabled bool + UserAgent string + WarehouseID string + type DriverSystemConfiguration struct + CharSetEncoding string + ClientAppName string + DriverName string + DriverVersion string + LocaleName string + OSArch string + OSName string + OSVersion string + ProcessName string + RuntimeName string + RuntimeVendor string + RuntimeVersion string + type KernelError struct + Code int + HTTPStatus uint16 + Message string + QueryID string + Retryable bool + SQLState string + VendorCode int32 + func (e *KernelError) Category() dbsqlerrint.ErrorCategory + func (e *KernelError) Error() string + type M2MCredentialsProvider interface + M2MCredentials func() (clientID, clientSecret string) + M2MScopes func() []string + type RetryConfig struct + MaxRetries uint32 + MaxWait time.Duration + MinWait time.Duration + OverallTimeout time.Duration + type TelemetryConfig struct + BatchSize int + CloseFlushTimeout time.Duration + Enabled bool + FlushInterval time.Duration + MaxRetries uint32 + RetryDelay time.Duration + type U2MCredentialsProvider interface + U2MClientID func() string