saslimpl.go 224 B

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