Viper is a complete configuration solution for Go applications including 12-Factor apps. It is designed to work within an application, and can handle all types of configuration needs and formats. It supports setting defaults, reading from JSON, TOML, YAML, HCL, envfile and Java properties config files, live watching and re-reading of config files (optional), reading from environment variables, reading from remote config systems (etcd or Consul), and watching changes, reading from command line flags, reading from buffer, and setting explicit values. iper can be thought of as a registry for all of your applications configuration needs. When building a modern application, you donโ€™t want to worry about configuration file formats; you want to focus on building awesome software. Viper is here to help with that.

Features

  • Find, load, and unmarshal a configuration file in JSON, TOML, YAML, HCL, INI, envfile or Java properties formats
  • Provide a mechanism to set default values for your different configuration options
  • Provide a mechanism to set override values for options specified through command line flags
  • Provide an alias system to easily rename parameters without breaking existing code
  • Make it easy to tell the difference between when a user has provided a command line or config file which is the same as the default
  • Viper requires minimal configuration so it knows where to look for config files

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Viper

Viper Web Site

Other Useful Business Software
Get the most trusted enterprise browser Icon
Get the most trusted enterprise browser

Advanced built-in security helps IT prevent breaches before they happen

Defend against security incidents with Chrome Enterprise. Create customizable controls, manage extensions and set proactive alerts to keep your data and employees protected without slowing down productivity.
Download Chrome
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Viper!

Additional Project Details

Programming Language

Go

Related Categories

Go File Managers, Go Configuration Management Database (CMDB) Software

Registered

2021-03-29