Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { MaxNumberOfMessage int64 QueueName string QueueURL string WaitTimeSecond int64 MessageAttributeNames []string }
Config struct
type HandlerFunc ¶
HandlerFunc is used to define the Handler that is run on for each message
func (HandlerFunc) HandleMessage ¶
func (f HandlerFunc) HandleMessage(msg *sqs.Message) error
HandleMessage wraps a function for handling sqs messages
type InvalidEventError ¶
type InvalidEventError struct {
// contains filtered or unexported fields
}
InvalidEventError struct
func NewInvalidEventError ¶
func NewInvalidEventError(event, msg string) InvalidEventError
NewInvalidEventError creates InvalidEventError struct
func (InvalidEventError) Error ¶
func (e InvalidEventError) Error() string
type LoggerIFace ¶
type LoggerIFace interface { Debug(i ...interface{}) Info(i ...interface{}) Error(i ...interface{}) }
LoggerIFace interface
Click to show internal directories.
Click to hide internal directories.