Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEndpointResolver ¶ added in v0.2.0
func NewEndpointResolver(urlStr string) (sqs.EndpointResolverV2, error)
Types ¶
type Config ¶
type Config struct { // AWSAccessKeyID is the amazon access key id AWSAccessKeyID string `json:"aws.accessKeyId" validate:"required"` // AWSSecretAccessKey is the amazon secret access key AWSSecretAccessKey string `json:"aws.secretAccessKey" validate:"required"` // AWSRegion is the amazon sqs region AWSRegion string `json:"aws.region" validate:"required"` // AWSURL is the URL for AWS (internal use only). AWSURL string `json:"aws.url"` }
type EndpointResolver ¶ added in v0.2.0
type EndpointResolver struct {
// contains filtered or unexported fields
}
EndpointResolver sets a custom endpoint for the sqs client. It satisfies the sqs.EndpointResolverV2 interface.
func (*EndpointResolver) ResolveEndpoint ¶ added in v0.2.0
func (e *EndpointResolver) ResolveEndpoint( _ context.Context, _ sqs.EndpointParameters, ) (transport.Endpoint, error)
type Position ¶ added in v0.2.0
type Position struct { ReceiptHandle string `json:"receipt_handle"` QueueName string `json:"queue_name"` }
func ParsePosition ¶ added in v0.2.0
func (Position) ToSdkPosition ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.