Skip to content

Commit

Permalink
Add latest etcd, vault and consul usage
Browse files Browse the repository at this point in the history
  • Loading branch information
asdine committed Apr 19, 2018
1 parent 6505252 commit f6a8236
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ loader := confita.NewLoader(
env.NewBackend(),
file.NewBackend("/path/to/config.json"),
file.NewBackend("/path/to/config.yaml"),
etcd.NewBackend(etcdClientv3, "namespace"),
consul.NewBackend(consulClient, "namespace"),
etcd.NewBackend(etcdClientv3),
consul.NewBackend(consulClient),
vault.NewBackend(vaultClient),
)
```
Expand Down

0 comments on commit f6a8236

Please sign in to comment.