kerberos

package
v0.0.0-...-ac81b06 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2015 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_DIAL_TIMEOUT             = time.Second * 3
	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.

Jump to

Keyboard shortcuts

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