saslstub.go 194 B

1234567891011
  1. //+build !sasl
  2. package mgo
  3. import (
  4. "fmt"
  5. )
  6. func saslNew(cred Credential, host string) (saslStepper, error) {
  7. return nil, fmt.Errorf("SASL support not enabled during build (-tags sasl)")
  8. }