mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
20 lines
482 B
Go
20 lines
482 B
Go
package mongo
|
|
|
|
import "context"
|
|
|
|
type ClientOption func(options *ClientOptions)
|
|
|
|
type ClientOptions struct {
|
|
Context context.Context
|
|
Uri string
|
|
Host string
|
|
Port int
|
|
Db string
|
|
Hosts []string
|
|
Username string
|
|
Password string
|
|
AuthSource string
|
|
AuthMechanism string
|
|
AuthMechanismProperties map[string]string
|
|
}
|