1
0
Fork 0
mirror of https://github.com/vbatts/imgsrv.git synced 2024-11-30 12:05:42 +00:00
imgsrv/vendor/labix.org/v2/mgo/saslimpl.go
Vincent Batts 3c732c3b43
vendoring sources, for posterity sake
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-03-11 15:31:42 -04:00

11 lines
216 B
Go

//+build sasl
package mgo
import (
"labix.org/v2/mgo/sasl"
)
func saslNew(cred Credential, host string) (saslStepper, error) {
return sasl.New(cred.Username, cred.Password, cred.Mechanism, cred.Service, host)
}