consumer

package
v0.3.37 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ACK     = types.Result(0)
	NACK    = types.Result(1)
	REQUEUE = types.Result(2)
	REJECT  = types.Result(3)

	STATUS_START = 1
	STATUS_CLOSE = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer struct {
	*types.Consumer

	sync.Mutex
	// contains filtered or unexported fields
}

func (*Consumer) Close added in v0.3.1

func (consumer *Consumer) Close()

关闭监听

func (*Consumer) Start added in v0.3.1

func (consumer *Consumer) Start()

Jump to

Keyboard shortcuts

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