openssl

package
v0.0.0-...-ae3bf8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL