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.
Click to show internal directories.
Click to hide internal directories.