Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Send(ctx context.Context, msg string, options ...SendOption) (string, error)
}
Client represents a client that communicates with Amazon SQS about the request.
type SendOption ¶
type SendOption func(*sqs.SendMessageInput)
SendOption is a functional option that can augment or modify a sqs.SendMessageInput request.
func WithDelaySeconds ¶
func WithDelaySeconds(s int32) SendOption
WithDelaySeconds returns a SendOption which setup the delay seconds when SendMessage.
Click to show internal directories.
Click to hide internal directories.