handler

package
v0.0.0-...-3f72e9c Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBClient

type DBClient interface {
	Save(item domain.Event) error
}

type SQS

type SQS struct {
	// contains filtered or unexported fields
}

func NewSQS

func NewSQS(sqsClient SQSClient, dbClient DBClient) SQS

func (SQS) Run

func (h SQS) Run() error

type SQSClient

type SQSClient interface {
	Receive() (*sqs.ReceiveMessageOutput, error)
	Delete(receiptHandle string) error
}

Jump to

Keyboard shortcuts

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