nsqpublisher

package
v0.0.0-...-fcff741 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NsqPublisher

type NsqPublisher struct {
	Config   *nsq.Config
	Producer *nsq.Producer
}

func (*NsqPublisher) Emit

func (pub *NsqPublisher) Emit(doormanId bson.ObjectId, doorman shared.AsDoormanUpdatePayloader) error

func (*NsqPublisher) Init

func (pub *NsqPublisher) Init() error

func (*NsqPublisher) InitConfig

func (pub *NsqPublisher) InitConfig()

func (*NsqPublisher) Stop

func (pub *NsqPublisher) Stop() error

Jump to

Keyboard shortcuts

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