workers

package
v0.0.0-...-9278f78 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2016 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Contributor: Julien Vehent jvehent@mozilla.com [:ulfr]

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMQ

func InitMQ(conf MqConf) (amqpChan *amqp.Channel, err error)

func InitMqWithConsumer

func InitMqWithConsumer(conf MqConf, name, key string) (consumer <-chan amqp.Delivery, err error)

Types

type MqConf

type MqConf struct {
	Host, User, Pass, Vhost string
	Port                    int
	UseTLS                  bool
	TLScert, TLSkey, CAcert string
	Timeout                 string
}

Directories

Path Synopsis
This Source Code Form is subject to the terms of the Mozilla Public License, v.
This Source Code Form is subject to the terms of the Mozilla Public License, v.
This Source Code Form is subject to the terms of the Mozilla Public License, v.
This Source Code Form is subject to the terms of the Mozilla Public License, v.

Jump to

Keyboard shortcuts

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