Documentation ¶
Index ¶
- type AwsSqsAdapter
- func (a *AwsSqsAdapter) Close() error
- func (a *AwsSqsAdapter) Consume(queueUrl string) ([]*sqs.Message, error)
- func (a *AwsSqsAdapter) CreateQueue(qName string) (err error)
- func (a *AwsSqsAdapter) DeleteMessage(qName string, receiptHandle string) (err error)
- func (a *AwsSqsAdapter) DeleteQueue(qName string) (err error)
- func (a *AwsSqsAdapter) GetQueueUrl(qName string) (string, error)
- func (a *AwsSqsAdapter) ListQueues() (*[]*string, error)
- func (a *AwsSqsAdapter) Publish(message string) (err error)
- func (a *AwsSqsAdapter) PublishQueue(qName string, message string) (err error)
- func (a *AwsSqsAdapter) PublishQueueBatchRaw(input *sqs.SendMessageBatchInput) (*sqs.SendMessageBatchOutput, error)
- func (a *AwsSqsAdapter) PublishQueueRaw(input *sqs.SendMessageInput) (*sqs.SendMessageOutput, error)
- func (a *AwsSqsAdapter) Setup() (err error)
- type AwsSqsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsSqsAdapter ¶ added in v0.3.1
type AwsSqsAdapter struct { *adapter.BaseAdapter // contains filtered or unexported fields }
func NewAwsSqsAdapter ¶ added in v0.3.1
func NewAwsSqsAdapter(name string, config *AwsSqsConfig) *AwsSqsAdapter
func (*AwsSqsAdapter) Close ¶ added in v0.3.1
func (a *AwsSqsAdapter) Close() error
func (*AwsSqsAdapter) Consume ¶ added in v0.3.1
func (a *AwsSqsAdapter) Consume(queueUrl string) ([]*sqs.Message, error)
func (*AwsSqsAdapter) CreateQueue ¶ added in v0.3.1
func (a *AwsSqsAdapter) CreateQueue(qName string) (err error)
func (*AwsSqsAdapter) DeleteMessage ¶ added in v0.3.1
func (a *AwsSqsAdapter) DeleteMessage(qName string, receiptHandle string) (err error)
func (*AwsSqsAdapter) DeleteQueue ¶ added in v0.3.1
func (a *AwsSqsAdapter) DeleteQueue(qName string) (err error)
func (*AwsSqsAdapter) GetQueueUrl ¶ added in v0.3.2
func (a *AwsSqsAdapter) GetQueueUrl(qName string) (string, error)
func (*AwsSqsAdapter) ListQueues ¶ added in v0.3.1
func (a *AwsSqsAdapter) ListQueues() (*[]*string, error)
func (*AwsSqsAdapter) Publish ¶ added in v0.3.1
func (a *AwsSqsAdapter) Publish(message string) (err error)
func (*AwsSqsAdapter) PublishQueue ¶ added in v0.3.2
func (a *AwsSqsAdapter) PublishQueue(qName string, message string) (err error)
func (*AwsSqsAdapter) PublishQueueBatchRaw ¶ added in v0.3.2
func (a *AwsSqsAdapter) PublishQueueBatchRaw(input *sqs.SendMessageBatchInput) (*sqs.SendMessageBatchOutput, error)
func (*AwsSqsAdapter) PublishQueueRaw ¶ added in v0.3.2
func (a *AwsSqsAdapter) PublishQueueRaw(input *sqs.SendMessageInput) (*sqs.SendMessageOutput, error)
func (*AwsSqsAdapter) Setup ¶ added in v0.3.1
func (a *AwsSqsAdapter) Setup() (err error)
type AwsSqsConfig ¶ added in v0.3.1
type AwsSqsConfig struct { Endpoint string `json:"Endpoint,omitempty" config:"Endpoint"` Region string `json:"Region,omitempty" config:"Region,required"` AccessKeyID string `json:"AccessKeyID,omitempty" config:"AccessKeyID"` SecretAccessKey string `json:"SecretAccessKey,omitempty" config:"SecretAccessKey"` SessionToken string `json:"SessionToken,omitempty" config:"SessionToken"` MaxNumberOfMessages int64 `json:"MaxNumberOfMessages" config:"MaxNumberOfMessages"` WaitTimeSeconds int64 `json:"WaitTimeSeconds" config:"WaitTimeSeconds"` VisibilityTimeout int64 `json:"VisibilityTimeout" config:"VisibilityTimeout"` Queue string `json:"Queue,omitempty" config:"Queue"` }
Click to show internal directories.
Click to hide internal directories.