mirror of
https://github.com/spf13/viper
synced 2024-12-22 03:27:03 +00:00
add info about multiple hosts for remote config
This commit is contained in:
parent
7a9716be0b
commit
1c764910bb
1 changed files with 2 additions and 0 deletions
|
@ -418,6 +418,8 @@ in a Key/Value store such as etcd or Consul. These values take precedence over
|
|||
default values, but are overridden by configuration values retrieved from disk,
|
||||
flags, or environment variables.
|
||||
|
||||
Viper supports multiple hosts. To use, pass a list of endpoints separated by `;`. For example `http://127.0.0.1:4001;http://127.0.0.1:4002`.
|
||||
|
||||
Viper uses [crypt](https://github.com/bketelsen/crypt) to retrieve
|
||||
configuration from the K/V store, which means that you can store your
|
||||
configuration values encrypted and have them automatically decrypted if you have
|
||||
|
|
Loading…
Reference in a new issue