From 1c764910bb13df749e688f4a3f0b33f81c5cd260 Mon Sep 17 00:00:00 2001 From: maxim-konovalov Date: Thu, 16 Nov 2023 19:39:12 +0300 Subject: [PATCH] add info about multiple hosts for remote config --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 78102fb..06cef72 100644 --- a/README.md +++ b/README.md @@ -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