amqp

package
v0.0.0-...-76fbd6f Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 9 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() *Client

func (*Client) Close

func (self *Client) Close()

func (*Client) Closed

func (self *Client) Closed() bool

func (*Client) Connect

func (self *Client) Connect() *Client

func (*Client) Consume

func (self *Client) Consume(exchange string, queue string, handler func(amqp091.Delivery))

func (*Client) ConsumeAsync

func (self *Client) ConsumeAsync(exchange string, queue string, handler func(amqp091.Delivery))

func (*Client) Publish

func (self *Client) Publish(exchange string, queue string, body any)

Jump to

Keyboard shortcuts

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