nsq_demo

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerT

type ConsumerT struct {
	// contains filtered or unexported fields
}

func (ConsumerT) HandleMessage

func (c ConsumerT) HandleMessage(msg *nsq.Message) error

func (*ConsumerT) NsqConsumers

func (c *ConsumerT) NsqConsumers()

type ProducerT

type ProducerT struct {
	// contains filtered or unexported fields
}

func (*ProducerT) InitProducer

func (p *ProducerT) InitProducer() error

func (*ProducerT) Publish

func (p *ProducerT) Publish(topic, message string) error

func (*ProducerT) Stop

func (p *ProducerT) Stop()

Jump to

Keyboard shortcuts

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