Documentation ¶
Index ¶
Constants ¶
View Source
const ( TopicName = "login.sessionexpire" ChannelName = "expire" )
Variables ¶
This section is empty.
Functions ¶
func BroadcastSessionExpiry ¶
func BroadcastSessionExpiry(sessId string)
BroadcastSessionExpiry sends a message to NSQ saying that a session is now invalid
Types ¶
type Processor ¶
type Processor struct{}
Processor exists to strap a HandleMessage to in order to satisfy http://godoc.org/github.com/bitly/go-nsq#Handler
func (*Processor) HandleMessage ¶
HandleMessage implements http://godoc.org/github.com/bitly/go-nsq#Handler for processing our jobs
Click to show internal directories.
Click to hide internal directories.