Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NumberPrinter ¶
type NumberPrinter struct {
shezmu.BaseDaemon
}
NumberPrinter is a daemon that prints numbers once in a while.
func (*NumberPrinter) Startup ¶
func (n *NumberPrinter) Startup()
Startup sets up panic handler and starts enqueuing number printing jobs.
type PriceConsumer ¶
PriceConsumer consumes price update messages and prints them to the console.
func (*PriceConsumer) Startup ¶
func (p *PriceConsumer) Startup()
Startup creates a new subscription for ProductPriceUpdates topic.
type PriceUpdate ¶
PriceUpdate describes a price update message.
Click to show internal directories.
Click to hide internal directories.