Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "epoxy", Short: "A Memcached Proxy", Long: `A description which need to be longer.`, PersistentPreRun: func(cmd *cobra.Command, _ []string) { log.SetOutput(os.Stderr) level, err := log.ParseLevel(viper.GetString("log-level")) if err != nil { log.WithError(err).Fatal("Logrus: ParseLevel") } log.SetLevel(level) log.SetOutput(os.Stdout) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.