queueClient

package
v0.0.0-...-a1e0f3c Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue interface {
	Close() error
	Produce(payload interface{}) error
}

Queue - queue contract

type QueueClient

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

QueueClient

func New

func New(cfg config.Config) (*QueueClient, error)

New

func (*QueueClient) Close

func (q *QueueClient) Close() error

Close - channel

func (*QueueClient) Produce

func (q *QueueClient) Produce(payload interface{}) error

Produce - send message to queue

Jump to

Keyboard shortcuts

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