Documentation ¶
Overview ¶
Package openssl implements connection to MongoDB over ssl.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSLDBConnector ¶
type SSLDBConnector struct {
// contains filtered or unexported fields
}
For connecting to the database over ssl
func (*SSLDBConnector) Configure ¶
func (self *SSLDBConnector) Configure(opts options.ToolOptions) error
Configure the connector to connect to the server over ssl. Parses the connection string, and sets up the correct function to dial the server based on the ssl options passed in.
func (*SSLDBConnector) GetNewSession ¶
func (self *SSLDBConnector) GetNewSession() (*mgo.Session, error)
Dial the server.
Click to show internal directories.
Click to hide internal directories.