queue

package
v0.0.0-...-bf36c84 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NsqQueue

type NsqQueue struct {
	Host string
	// contains filtered or unexported fields
}

func (*NsqQueue) AddConsumer

func (nq *NsqQueue) AddConsumer(consumers ...QueueHandler) *NsqQueue

func (*NsqQueue) ServeStart

func (nq *NsqQueue) ServeStart() error

type QueueHandler

type QueueHandler interface {
	GetSubscription() (string, string)
}

Jump to

Keyboard shortcuts

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