~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/gopkg.in/mgo.v2/saslimpl.go

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//+build sasl
 
2
 
 
3
package mgo
 
4
 
 
5
import (
 
6
        "gopkg.in/mgo.v2/internal/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
}