Documentation ¶
Overview ¶
Package cmd contains Cobra generated command line application that creates RabbitMQ consumers with rabbit package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CfgFile string
View Source
var Config rabbit.Config
View Source
var RexCmd = &cobra.Command{ Use: "rex", Short: "Rex rabbit likes consuming queued messages", Long: `Rex rabbit is a command line message queue consumer for RabbitMQ. Rex pulls messages from a queue, takes a good care of the jobs, redirects message bodies to other responsible parties. When Rex is not busy, he also likes to hang out with Octocat.`, Run: func(cmd *cobra.Command, args []string) { if Version { cmd.Println(GetVersionString()) } else { cmd.Help() } }, }
View Source
var Version bool
Functions ¶
func GetVersionString ¶
func GetVersionString() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.