mock

package
v0.0.0-...-e58ca11 Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SendMessage is a method to be implemented in each test
	SendMessage func(*sqs.SendMessageInput) (*sqs.SendMessageOutput, error)
)

Functions

This section is empty.

Types

type SQSMock

type SQSMock struct {
	sqsiface.SQSAPI
}

SQSMock is a struct to mock as interface by sqsiface.SQSAPI

func (SQSMock) SendMessage

func (m SQSMock) SendMessage(message *sqs.SendMessageInput) (*sqs.SendMessageOutput, error)

SendMessage is a override method by sqsiface.SQSAPI to send message to SQS

Jump to

Keyboard shortcuts

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