amqp

package
v4.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *model.NotifAmqp, meta model.Meta) notifier.Notifier

New creates a new amqp notification instance

Types

type Client

type Client struct {
	*notifier.Notifier
	// contains filtered or unexported fields
}

Client represents an active amqp notification object

func (*Client) Name

func (c *Client) Name() string

Name returns notifier's name

func (*Client) Send

func (c *Client) Send(entry model.NotifEntry) error

Send creates and sends a amqp notification with an entry

Jump to

Keyboard shortcuts

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