queue

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer func(context.Context, interface{}) (reject, retry bool, err error)

type ProduceResponse added in v1.0.7

type ProduceResponse struct {
	Partition int32
	Offset    uint64
}

type Queue

type Queue interface {
	Produce(ctx context.Context, msg interface{}) (ProduceResponse, error)
	Consume(params interface{}) error
	Shutdown() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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