Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQSFilesAdapter ¶
type SQSFilesAdapter struct {
// contains filtered or unexported fields
}
func NewSQSFilesAdapter ¶
func NewSQSFilesAdapter(conf SQSFilesConfig) (*SQSFilesAdapter, chan struct{}, error)
func (*SQSFilesAdapter) Close ¶
func (a *SQSFilesAdapter) Close() error
type SQSFilesConfig ¶
type SQSFilesConfig struct { ClientOptions uspclient.ClientOptions `json:"client_options" yaml:"client_options"` // SQS specific 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"` // S3 specific ParallelFetch int `json:"parallel_fetch" yaml:"parallel_fetch"` BucketPath string `json:"bucket_path,omitempty" yaml:"bucket_path,omitempty"` FilePath string `json:"file_path,omitempty" yaml:"file_path,omitempty"` // Optional: alternative to BucketPath Bucket string `json:"bucket,omitempty" yaml:"bucket,omitempty"` }
func (*SQSFilesConfig) Validate ¶
func (c *SQSFilesConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.