mq

package
v0.0.0-...-be230ec Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNsqProducer

func GetNsqProducer(alia string) *nsq.Producer

func InitNsqConsumer

func InitNsqConsumer(topic, channel, addr string, config *nsq.Config, fn func(msg []byte) error)

func InitNsqProducer

func InitNsqProducer(alia, addr string, config *nsq.Config) *nsq.Producer

func InitSimpleNsqConsumer

func InitSimpleNsqConsumer(topic, channel, addr string, fn func(msg []byte) error)

func InitSimpleNsqProducer

func InitSimpleNsqProducer(alia, addr string) *nsq.Producer

Types

This section is empty.

Jump to

Keyboard shortcuts

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