queues

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteQueue added in v0.0.2

func DeleteQueue(ch *amqp.Channel, q QueueStruct) error

Deletes a queue, duh

func NewQueue

func NewQueue(ch *amqp.Channel, q QueueStruct) (*amqp.Queue, error)

Translates your queue from readable struct to efficient queue declaration

Types

type QueueStruct

type QueueStruct struct {
	Name           string
	Durable        bool
	DeleteOnUnused bool
	Exclusive      bool
	NoWait         bool
	Args           amqp.Table
}

Queue struct for readability(no real point)

Jump to

Keyboard shortcuts

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