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

« back to all changes in this revision

Viewing changes to saslimpl.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
        "labix.org/v2/mgo/sasl"
 
7
)
 
8
 
 
9
func saslNew(cred Credential, host string) (saslStepper, error) {
 
10
        return sasl.New(cred.Username, cred.Password, cred.Mechanism, cred.Service, host)
 
11
}