Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCosmosDB ¶
func LoadCertificateAndKey ¶
func LoadCertificateAndKey(data []byte) (*tls.Certificate, error)
func LoadCertificateAndKeyFromFile ¶
func LoadCertificateAndKeyFromFile(path string) (*tls.Certificate, error)
func ParsePassword ¶ added in v1.0.4
ParsePassword parses the password from the connection string and URL encodes it. It's useful when the password contains special characters. Example: mongodb://user:p@ssword@localhost:27017/db -> mongodb://user:p%40word@40localhost:27017/db
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.