Debian Codegraph @

saslstub.go

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