mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-24 17:41:03 +01:00
12 lines
234 B
Go
12 lines
234 B
Go
//+build sasl
|
|
|
|
package mgo
|
|
|
|
import (
|
|
"github.com/globalsign/mgo/internal/sasl"
|
|
)
|
|
|
|
func saslNew(cred Credential, host string) (saslStepper, error) {
|
|
return sasl.New(cred.Username, cred.Password, cred.Mechanism, cred.Service, host)
|
|
}
|