Versions in this module Expand all Collapse all v0 v0.12.8 Apr 8, 2024 Changes in this version + const EncryptionDisabled + const EncryptionOff + const EncryptionRequired + func SetupTLS(certificate string, insecureSkipVerify bool, hostInCertificate string) (*tls.Config, error) + type Config struct + AppName string + ConnTimeout time.Duration + Database string + DialTimeout time.Duration + DisableRetry bool + Encryption Encryption + FailOverPartner string + FailOverPort uint64 + Host string + HostInCertificateProvided bool + Instance string + KeepAlive time.Duration + LogFlags Log + PacketSize uint16 + Password string + Port uint64 + Protocol Protocol + ReadOnlyIntent bool + ServerSPN string + TLSConfig *tls.Config + User string + Workstation string + func Parse(dsn string) (Config, map[string]string, error) + func (p Config) URL() *url.URL + type Encryption int + type Log uint64 + const LogDebug + const LogErrors + const LogMessages + const LogParams + const LogRetries + const LogRows + const LogSQL + const LogTransaction + type Protocol string + const NAMED_PIPE + const SHARED_MEMORY + const TCP