package
1.2.0-beta1
Repository: https://github.com/tulip/oplogtoredis.git
Documentation: pkg.go.dev

# README

mongourl

A utility for parsing Mongo connection URLs. We use this instead of the built-in parser in mgo, becuase the one in mgo doesn't support the ?ssl=true option. In addition, it applies some reasonable defaults for mgo-specific options (like Timeout), that aren't part of the Mongo URL spec (because they're mgo-specific).

This is mostly based on code from Hashicorp's Vault (licensed under MPL 2.0).

# Functions

Parse parses a mongo URL.

# Variables

DefaultTimeout is the timeout value applied to all parsed URLs.