Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // DSN is the MongoDB instance connection DSN. Required. DSN string // TimeoutConnect defines timeout for establishing mongo connection, if not set - default value is used TimeoutConnect time.Duration // TimeoutDisconnect defines timeout for closing connection, if not set - default value is used TimeoutDisconnect time.Duration // TimeoutDisconnect defines timeout for making ping request, if not set - default value is used TimeoutPing time.Duration }
Config is the MongoDB checker configuration settings container.
Click to show internal directories.
Click to hide internal directories.