cmd

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2016 License: BSD-3-Clause Imports: 7 Imported by: 1

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 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 Execute

func Execute()

func GetVersionString

func GetVersionString() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL