nsq

package
Version: v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Overview

Package nsq provides an NSQ broker

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConcurrentHandlers = 1
)

Functions

func NewBroker

func NewBroker(opts ...broker.Option) broker.Broker

func WithAsyncPublish added in v0.12.0

func WithAsyncPublish(doneChan chan *nsq.ProducerTransaction) broker.PublishOption

func WithConcurrentHandlers added in v0.12.0

func WithConcurrentHandlers(n int) broker.SubscribeOption

func WithConsumerOpts added in v0.12.0

func WithConsumerOpts(consumerOpts []string) broker.Option

func WithDeferredPublish added in v0.12.0

func WithDeferredPublish(delay time.Duration) broker.PublishOption

func WithLookupdAddrs added in v0.12.0

func WithLookupdAddrs(addrs []string) broker.Option

func WithMaxInFlight added in v0.12.0

func WithMaxInFlight(n int) broker.SubscribeOption

Types

This section is empty.

Source Files

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL