Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionOptions ¶
type MongoClient ¶
type Options ¶
type Options struct { Name string `json:"name" validate:"required"` Driver string `json:"driver" validate:"required"` Host string `json:"host" validate:"required"` User string `json:"user" validate:"required"` Password string `json:"password" validate:"required"` Database string `json:"database" validate:"required"` SSLMode string `json:"ssl_mode" default:"disable"` Schema string `json:"schema" default:"public"` Port int `json:"port" validate:"required"` ConnectionOptions []ConnectionOptions `json:"connection_options"` Retries int `json:"retries"` }
Click to show internal directories.
Click to hide internal directories.