amqp

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	Config    *config.Config
	Exchanges []exchange
	// contains filtered or unexported fields
}

Source implements amqp for the source.Source interface

func (*Source) Close

func (src *Source) Close()

Close stops the source

func (*Source) Connect

func (src *Source) Connect() (sink <-chan deps.Dep, err error)

Connect connects the source and writes new tasks to the sink

func (*Source) Init

func (src *Source) Init(conf *config.Config)

Init initializes the source

Jump to

Keyboard shortcuts

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