kerberos

package
Version: v0.0.0-...-099f62a Latest Latest
Warning

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

Go to latest
Published: May 3, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package kerberos implements connection to MongoDB using kerberos.

Index

Constants

View Source
const (
	KERBEROS_AUTHENTICATION_MECHANISM = "GSSAPI"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KerberosDBConnector

type KerberosDBConnector struct {
	// contains filtered or unexported fields
}

func (*KerberosDBConnector) Configure

func (self *KerberosDBConnector) Configure(opts options.ToolOptions) error

Configure the db connector. Parses the connection string and sets up the dial info with the default dial timeout.

func (*KerberosDBConnector) GetNewSession

func (self *KerberosDBConnector) GetNewSession() (*mgo.Session, error)

Dial the database.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL