mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
12 lines
224 B
Go
12 lines
224 B
Go
//+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)
|
|
}
|