Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConnectionTimeout determines how long before a connection attempt to mongo is timed out ConnectionTimeout = time.Second * 10 // ReadRetryInterval is how long to wait between read errors before plumber tries reading again ReadRetryInterval = time.Second * 5 )
Variables ¶
View Source
var ( ErrMissingDatabase = errors.New("you must specify the --database flag") ErrConnectionFailed = errors.New("could not open mongo connection") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.