usp_sqs

package
v0.0.0-...-a979c26 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQSAdapter

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

func NewSQSAdapter

func NewSQSAdapter(conf SQSConfig) (*SQSAdapter, chan struct{}, error)

func (*SQSAdapter) Close

func (a *SQSAdapter) Close() error

type SQSConfig

type SQSConfig struct {
	ClientOptions uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
	AccessKey     string                  `json:"access_key" yaml:"access_key"`
	SecretKey     string                  `json:"secret_key,omitempty" yaml:"secret_key,omitempty"`
	QueueURL      string                  `json:"queue_url" yaml:"queue_url"`
	Region        string                  `json:"region" yaml:"region"`
}

func (*SQSConfig) Validate

func (c *SQSConfig) Validate() error

Jump to

Keyboard shortcuts

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