consumer

package
v0.0.0-...-1fd3cfe Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

func Stop

func Stop()

Types

type Consumer

type Consumer struct {
	NsqConsumer *nsq.Consumer
	NsqCfg      *nsq.Config
	Topic       string
	Channel     string
}

type Handler

type Handler struct {
	Topic string
}

func (*Handler) HandleMessage

func (this *Handler) HandleMessage(m *nsq.Message) error

Jump to

Keyboard shortcuts

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