amqp

package
v0.0.0-...-53ae92a Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 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 Client

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

func New

func New() *Client

func (*Client) Ack

func (self *Client) Ack(id uint64) error

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) 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