8000 + added MongoDb checker by LouAdrien · Pull Request #6 · paked/configure · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

+ added MongoDb checker #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ If you notice something that you feel is broken or missing in configure feel fre
|JSON|***[builtin]*** http://github.com/paked/configure |`NewJSON(io.Reader)`| Retrieves values from an `io.Reader` containing JSON |
|Flag|***[builtin]*** http://github.com/paked/configure |`NewFlag()`| Retrieve flagged values from `os.Args` in a `--x=y` format|
|HCL|***[builtin]*** http://github.com/paked/configure |`NewHCL(io.Reader)`| Retrieve values from an `io.Reader` containing HCL|
|MongoDb|***[external]*** https://github.com/LouAdrien/configuremongo |`NewMongo("mongodb://127.0.0.1:27017/test_conf_db","confs")`| Retrieve values from an `io.Reader` containing HCL|
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple things to fix here:

  1. replace NewMongo("mongodb://127.0.0.1:27017/test_conf_db","confs") with NewMongo(dburl, dbname)
  2. add a proper description to replace Retrieve values from an io.Reader containing HCL. Maybe something like retrieve values from a MongoDB database



If you write your own Checker I would *LOVE* to see it, create a PR with a new entry in the table!

Expand Down
0