Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultMongoDBHost = "localhost" DefaultMongoDBPort = "27017" DefaultMongoDBAuthDB = "admin" DefaultMongoDBTimeout = "5s" DefaultMongoDBTimeoutDuration = time.Duration(5) * time.Second )
View Source
var ( ErrMsgAuthFailedStr = "server returned error on SASL authentication step: Authentication failed." ErrNoReachableServersStr = "no reachable servers" )
Functions ¶
func LastSSLError ¶
func LastSSLError() error
LastSSLError returns the last error related to the DB connection SSL handshake
Types ¶
Click to show internal directories.
Click to hide internal directories.