Configure Options Get funcs Debug Endpoint Caveats and Gotchas Framework Basics In order to integrate smoothly with existing Vitess configuration mechanisms (including flag...
Q & A Q & A Q: Why not INI files? A: Ini files are pretty awful. There’s no standard format, and they are hard tovalidate. Viper is designed to work with JSON, TOML or YAML fi...
Working with Flags Assign flags to a command Persistent Flags Local Flags Local Flag on Parent Commands Bind Flags with Config Required flags Working with Flags Flags pro...
Usage Message Example Defining your own usage Usage Message When the user provides an invalid flag or invalid command, Cobra responds byshowing the user the ‘usage’. Examp...
Features Query Serving VReplication Programs Compatibility Errors VTAdmin vtctldclient Transition VTOrc Backup and Restore Viper Reference Detailed information about s...
Dynamic Values Values can be configured to be either static or dynamic. Static values are loaded once at startup (more precisely, when viperutil.LoadConfig is called), and whate...
Help Command Example Defining your own help Help Command Cobra automatically adds a help command to your application when you have subcommands.This will be called when a user...
Go Microservices blog series, part 9 - Messaging with RabbitMQ and AMQP 08 June 2017 // Erik Lupander Introduction Source code Sending a message Messaging code Updating config...