~rogpeppe/+junk/mgo-tagged-log-messages

« back to all changes in this revision

Viewing changes to saslstub.go

  • Committer: Roger Peppe
  • Date: 2014-03-14 18:11:33 UTC
  • mfrom: (263.1.8 master)
  • Revision ID: roger.peppe@canonical.com-20140314181133-107ag3xpitk9682u
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}