Correct "etcd" naming

The project should always be referred to in lowercase.
This commit is contained in:
Jonathan Boulle 2015-11-25 11:51:57 -08:00 committed by Steve Francia
parent c25387f10d
commit ce08532bfd
2 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ and formats. It supports:
* reading from JSON, TOML, and YAML config files * reading from JSON, TOML, and YAML config files
* live watching and re-reading of config files (optional) * live watching and re-reading of config files (optional)
* reading from environment variables * reading from environment variables
* reading from remote config systems (Etcd or Consul), and watching changes * reading from remote config systems (etcd or Consul), and watching changes
* reading from command line flags * reading from command line flags
* reading from buffer * reading from buffer
* setting explicit values * setting explicit values
@ -243,7 +243,7 @@ package:
`import _ "github.com/spf13/viper/remote"` `import _ "github.com/spf13/viper/remote"`
Viper will read a config string (as JSON, TOML, or YAML) retrieved from a path Viper will read a config string (as JSON, TOML, or YAML) retrieved from a path
in a Key/Value store such as Etcd or Consul. These values take precedence over 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, default values, but are overridden by configuration values retrieved from disk,
flags, or environment variables. flags, or environment variables.
@ -288,7 +288,7 @@ viper.SetConfigType("json") // because there is no file extension in a stream of
err := viper.ReadRemoteConfig() err := viper.ReadRemoteConfig()
``` ```
### Watching Changes in Etcd - Unencrypted ### Watching Changes in etcd - Unencrypted
```go ```go
// alternatively, you can create a new viper instance. // alternatively, you can create a new viper instance.

View file

@ -63,7 +63,7 @@ func (str UnsupportedConfigError) Error() string {
} }
// Denotes encountering an unsupported remote // Denotes encountering an unsupported remote
// provider. Currently only Etcd and Consul are // provider. Currently only etcd and Consul are
// supported. // supported.
type UnsupportedRemoteProviderError string type UnsupportedRemoteProviderError string