nutzamqp

package module
v0.0.0-...-0438e70 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 4 Imported by: 0

README

nutzamqp

  declare:
    exchanges:
      - name: x1
        type: direct
        durable: true
        autodeleted: false
        
      - name: x2
        type: fanout
        durable: false
        autodeleted: false
        
    queues:
      - name: q1
        durable: true
        delete_when_unused: false
        
      - name: q2
        durable: true
        delete_when_unused: false
        
      - name: q3
        durable: true
        delete_when_unused: false
        
      - name: q4
        durable: false
        delete_when_unused: true
        
    bindings:
      # [exchange, key, queue]
      - [x1, kq1, q1]
      
    xbindings:
      # [exchange, key, exchange]
      - [x2, "", x3]

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AMQPBatchDeclare

func AMQPBatchDeclare(
	log *filtertag.Entry,
	channel *amqp.Channel,
	cfg *config.Config,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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