read_queue

package
v0.92.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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