requestor

package
v0.0.0-...-925cdb7 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Requestor

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

func NewRequestor

func NewRequestor(client sqsClient, responseQueueUrl string, opts ...RequestorOption) *Requestor

func (*Requestor) SendMessageAndWaitForResponse

func (r *Requestor) SendMessageAndWaitForResponse(ctx context.Context, sendToQueueUrl string, message any, response any) error

type RequestorOption

type RequestorOption func(*Requestor)

func WithWaitTime

func WithWaitTime(waitTime int32) RequestorOption

Jump to

Keyboard shortcuts

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