nsqsubscriber

package
v0.0.0-...-511b00e Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UUID = uuid.New()

Functions

This section is empty.

Types

type NSQMessage

type NSQMessage struct {
	*nsq.Message
}

func (*NSQMessage) Body

func (m *NSQMessage) Body() []byte

func (*NSQMessage) Timestamp

func (m *NSQMessage) Timestamp() int64

type NSQSubscriber

type NSQSubscriber struct {
	NSQLookupURL string
}

func (*NSQSubscriber) Subscribe

func (sub *NSQSubscriber) Subscribe(doormanId string, update shared.UpdateHandlerFunc) error

Jump to

Keyboard shortcuts

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