aboutsummaryrefslogtreecommitdiff
path: root/vendor/gopkg.in/mgo.v2/saslimpl.go
blob: 0d25f25cbb63ea52c976e9367f9181a5c44a5d03 (plain)
1
2
3
4
5
6
7
8
9
10
11
//+build sasl

package mgo

import (
	"gopkg.in/mgo.v2/internal/sasl"
)

func saslNew(cred Credential, host string) (saslStepper, error) {
	return sasl.New(cred.Username, cred.Password, cred.Mechanism, cred.Service, host)
}