Versions in this module Expand all Collapse all v0 v0.0.2 Mar 6, 2018 Changes in this version type ConnString + SSLClientCertificateKeyFile string + SSLClientCertificateKeyFileSet bool v0.0.1 Feb 13, 2018 Changes in this version + type ConnString struct + AppName string + AuthMechanism string + AuthMechanismProperties map[string]string + AuthSource string + Connect ConnectMode + ConnectTimeout time.Duration + Database string + HeartbeatInterval time.Duration + Hosts []string + J bool + JSet bool + LocalThreshold time.Duration + MaxConnIdleTime time.Duration + MaxConnLifeTime time.Duration + MaxConnsPerHost uint16 + MaxConnsPerHostSet bool + MaxIdleConnsPerHost uint16 + MaxIdleConnsPerHostSet bool + Options map[string][]string + Original string + Password string + PasswordSet bool + ReadConcernLevel string + ReadPreference string + ReadPreferenceTagSets []map[string]string + ReplicaSet string + SSL bool + SSLCaFile string + SSLCaFileSet bool + SSLInsecure bool + ServerSelectionTimeout time.Duration + SocketTimeout time.Duration + UnknownOptions map[string][]string + Username string + WNumber int + WNumberSet bool + WString string + WTimeout time.Duration + WTimeoutSet bool + func Parse(s string) (ConnString, error) + func (u *ConnString) String() string + type ConnectMode uint8 + const AutoConnect + const SingleConnect