rabbitmq

package
v0.0.0-...-edc38d9 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

*

  • Copyright 2020 Whiteblock Inc. All rights reserved.
  • Use of this source code is governed by a BSD-style
  • license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Queue         string
	QueueURL      string
	MaxConcurreny int64
	MaxRetries    int64
	// contains filtered or unexported fields
}

func (*Client) Close

func (c *Client) Close()

Close cleans up the connections and resources used by this client

func (*Client) CreateQueue

func (c *Client) CreateQueue(durable, autoDelete, exclusive, noWait bool, args amqp.Table) error

CreateQueue creates the coresponding queue with the given parameters

func (*Client) Init

func (c *Client) Init(callback func(msg amqp.Delivery) error) error

func (*Client) Run

func (c *Client) Run()

Run starts the client. This function should be called only once and does not return

Jump to

Keyboard shortcuts

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