Documentation ¶
Index ¶
- type Router
- func (_m *Router) Commit(ctx context.Context, m loafergo.Message) error
- func (_m *Router) Configure(ctx context.Context) error
- func (_m *Router) GetMessages(ctx context.Context) ([]loafergo.Message, error)
- func (_m *Router) HandlerMessage(ctx context.Context, msg loafergo.Message) error
- func (_m *Router) WorkerPoolSize(ctx context.Context) int32
- type SQSClient
- func (_m *SQSClient) ChangeMessageVisibility(ctx context.Context, params *sqs.ChangeMessageVisibilityInput, ...) (*sqs.ChangeMessageVisibilityOutput, error)
- func (_m *SQSClient) DeleteMessage(ctx context.Context, params *sqs.DeleteMessageInput, ...) (*sqs.DeleteMessageOutput, error)
- func (_m *SQSClient) GetQueueUrl(ctx context.Context, params *sqs.GetQueueUrlInput, ...) (*sqs.GetQueueUrlOutput, error)
- func (_m *SQSClient) ReceiveMessage(ctx context.Context, params *sqs.ReceiveMessageInput, ...) (*sqs.ReceiveMessageOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
Router is an autogenerated mock type for the Router type
func NewRouter ¶
NewRouter creates a new instance of Router. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Router) GetMessages ¶
GetMessages provides a mock function with given fields: ctx
func (*Router) HandlerMessage ¶
HandlerMessage provides a mock function with given fields: ctx, msg
type SQSClient ¶
SQSClient is an autogenerated mock type for the SQSClient type
func NewSQSClient ¶
NewSQSClient creates a new instance of SQSClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SQSClient) ChangeMessageVisibility ¶
func (_m *SQSClient) ChangeMessageVisibility(ctx context.Context, params *sqs.ChangeMessageVisibilityInput, optFns ...func(*sqs.Options)) (*sqs.ChangeMessageVisibilityOutput, error)
ChangeMessageVisibility provides a mock function with given fields: ctx, params, optFns
func (*SQSClient) DeleteMessage ¶
func (_m *SQSClient) DeleteMessage(ctx context.Context, params *sqs.DeleteMessageInput, optFns ...func(*sqs.Options)) (*sqs.DeleteMessageOutput, error)
DeleteMessage provides a mock function with given fields: ctx, params, optFns
func (*SQSClient) GetQueueUrl ¶
func (_m *SQSClient) GetQueueUrl(ctx context.Context, params *sqs.GetQueueUrlInput, optFns ...func(*sqs.Options)) (*sqs.GetQueueUrlOutput, error)
GetQueueUrl provides a mock function with given fields: ctx, params, optFns
func (*SQSClient) ReceiveMessage ¶
func (_m *SQSClient) ReceiveMessage(ctx context.Context, params *sqs.ReceiveMessageInput, optFns ...func(*sqs.Options)) (*sqs.ReceiveMessageOutput, error)
ReceiveMessage provides a mock function with given fields: ctx, params, optFns