1
0
mirror of https://github.com/minio/minio.git synced 2025-01-27 22:46:00 -05:00

12 lines
224 B
Go
Raw Normal View History

2015-10-19 23:03:01 -07:00
//+build sasl
package mgo
import (
"gopkg.in/mgo.v2/internal/sasl"
)
func saslNew(cred Credential, host string) (saslStepper, error) {
return sasl.New(cred.Username, cred.Password, cred.Mechanism, cred.Service, host)
}