Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Allow client callers to pass config programmatically rather than only via env vars #6

Closed
chill opened this issue Jul 11, 2016 · 0 comments

Comments

@chill
Copy link
Contributor

chill commented Jul 11, 2016

Currently the client environment variables are loaded in an init() function in the client package, it would be nice for callers to be able to set these themselves by creating a client struct containing the config instead.

There could also be a function to create that struct using env vars for those who wanted to load the config that way.

nemosupremo added a commit that referenced this issue Jul 18, 2016
Allow clients to provide their own vars (Fixes #6)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant