mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-24 06:44:04 +00:00
11 lines
224 B
Go
11 lines
224 B
Go
//+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)
|
|
}
|