queue

package
v0.0.0-...-97cac26 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AmqpProducer

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

func NewAmqpProducer

func NewAmqpProducer(uri string, queueName string) *AmqpProducer

func (*AmqpProducer) Push

func (p *AmqpProducer) Push(ctx context.Context, headers map[string]interface{}, msg []byte) error

type Producer

type Producer interface {
	Push(ctx context.Context, headers map[string]interface{}, msg []byte) error
}

Jump to

Keyboard shortcuts

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