Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide( NewReader, )
Module provides all of the dependencies required by the reader module
Functions ¶
Types ¶
type Reader ¶
type Reader struct { Queue pubsub.Subscriber Logger *zap.Logger Shutdowner fx.Shutdowner }
Reader reads from an SQS Queue and logs out the messages
func NewReader ¶
func NewReader( queue pubsub.Subscriber, logger *zap.Logger, shutdowner fx.Shutdowner, ) Reader
NewReader is the constructor of the reader type
Click to show internal directories.
Click to hide internal directories.