Debian Codegraph @

saslimpl.go

raw
1 //+build sasl
2
3 package mgo
4
5 import (
6 "gopkg.in/mgo.v2/internal/sasl"
7 )
8
9 func saslNew(cred Credential, host string) (saslStepper, error) {
10 return sasl.New(cred.Username, cred.Password, cred.Mechanism, cred.Service, host)
11 }