traefik/vendor/gopkg.in/mgo.v2/saslimpl.go
2017-03-09 13:13:02 +01:00

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)
}