Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlagHost string FlagPort int FlagUser string FlagPassword string FlagVirtualHost string FlagQueue string FlagSsl bool FlagSslCert string FlagSslKey string )
View Source
var Cmd = &cobra.Command{ Use: "read-queue", Aliases: []string{"rq"}, Short: "Read messages from RabbitMQ queue", Long: "Read messages from RabbitMQ queue. It will connect to the server and read messages from the specified queue", Example: "slu rabbitmq read-queue -host localhost --port 5672 --user guest --password guest --vhost / --queue my_queue", Run: func(cmd *cobra.Command, args []string) { readQueue(FlagHost, FlagPort, FlagUser, FlagPassword, FlagVirtualHost, FlagQueue, FlagSsl, FlagSslCert, FlagSslKey) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.