|
//+build sasl
|
|
|
|
package mgo
|
|
|
|
import (
|
|
"gitlab.finogeeks.club/finclip-backend-v2/finclip-mgo/internal/sasl"
|
|
)
|
|
|
|
func saslNew(cred Credential, host string) (saslStepper, error) {
|
|
return sasl.New(cred.Username, cred.Password, cred.Mechanism, cred.Service, host)
|
|
}
|