Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Anything is used in Diff and Assert when the argument being tested // shouldn't be taken into consideration. Anything = "mock.Anything" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
Broker is an implementation of the Broker interface with a mock, use for testing not for production
type Downloader ¶
Downloader is an implementation of the Downloader interface with a mock, use for testing not for production
func NewDownloader ¶
func NewDownloader(content string) *Downloader
NewDownloader provides a mock instance of a Downloader
func (*Downloader) GetObject ¶
func (_m *Downloader) GetObject(ctx context.Context, input *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
type Parser ¶
Parser is an implementation of the Parser interface with a mock, use for testing not for production
func (*Parser) ParseTransactions ¶
ParseTransactions parses an array of Transaction from a reader
type SQS ¶
type SQS struct { iface.SQSSendMessageAPI mock.Mock }
SQS is an implementation of the SQSAPI interface with a mock, use for testing not for production
func (*SQS) SendMessageBatch ¶
func (_m *SQS) SendMessageBatch(ctx context.Context, params *sqs.SendMessageBatchInput, optFns ...func(*sqs.Options)) (*sqs.SendMessageBatchOutput, error)
SendMessageBatch API operation for Amazon Simple Queue Service. Delivers a bunch of messages to the specified queue.
Click to show internal directories.
Click to hide internal directories.