client

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(config Config, connect *amqp.Connection) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) Open added in v0.1.2

func (c *Client) Open() (err error)

func (*Client) Publish added in v0.1.2

func (c *Client) Publish(msg amqp.Publishing) error

type Config added in v0.1.2

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig added in v0.1.2

func NewConfig(hosts, queue string, bind bool, args amqp.Table) Config

Jump to

Keyboard shortcuts

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