MailHog/vendor/gopkg.in/mgo.v2/saslimpl.go

12 lines
224 B
Go
Raw Permalink Normal View History

2017-04-16 23:42:21 +00:00
//+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)
}