grmqt

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 7 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 {
	GrmqxCli *grmqx.Client
	// contains filtered or unexported fields
}

func New

func New(t *test.Test) *Client

func (*Client) ConnectionConfig

func (c *Client) ConnectionConfig() grmqx.Connection

func (*Client) DrainMessage

func (c *Client) DrainMessage(queue string) amqp091.Delivery

func (*Client) Publish

func (c *Client) Publish(exchange string, routingKey string, messages ...amqp091.Publishing)

func (*Client) PublishJson

func (c *Client) PublishJson(exchange string, routingKey string, data any)

func (*Client) QueueLength

func (c *Client) QueueLength(queue string) int

func (*Client) Upgrade

func (c *Client) Upgrade(config grmqx.Config)

Jump to

Keyboard shortcuts

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