Documentation ¶
Index ¶
- func CreateDynamoTables(db *dynamo.DB, tables []DynamoTableDefinition) (err error)
- func NewDynamoDBClient(session *Session) *dynamo.DB
- type DynamoProvisionedCapacity
- type DynamoTableDefinition
- type S3Client
- type SNSTopicDefinition
- type SQSClient
- func (client *SQSClient) Close()
- func (client *SQSClient) CreateQueues(queues []SQSQueueDefinition) (err error)
- func (client *SQSClient) CreateTopics(topics []SNSTopicDefinition) (err error)
- func (client *SQSClient) PublishToQueue(queueName, payload string) error
- func (client *SQSClient) PublishToQueueJSON(queueName string, value interface{}) error
- func (client *SQSClient) PublishToTopic(topicName, payload string) error
- func (client *SQSClient) PublishToTopicJSON(topicName string, value interface{}) error
- func (client *SQSClient) Subscribe(queueName string, opts ...SQSSubscribeOpt) <-chan *SQSMessage
- type SQSMessage
- type SQSQueueDefinition
- type SQSSubscribeConfig
- type SQSSubscribeOpt
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDynamoTables ¶
func CreateDynamoTables(db *dynamo.DB, tables []DynamoTableDefinition) (err error)
func NewDynamoDBClient ¶
Types ¶
type DynamoTableDefinition ¶
type DynamoTableDefinition struct { Name string From interface{} ProvisionedCapacityMode bool ProvisionedCapacity *DynamoProvisionedCapacity }
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
func NewS3Client ¶
type SNSTopicDefinition ¶
type SQSClient ¶
type SQSClient struct {
// contains filtered or unexported fields
}
func NewSQSClient ¶
func (*SQSClient) CreateQueues ¶
func (client *SQSClient) CreateQueues(queues []SQSQueueDefinition) (err error)
func (*SQSClient) CreateTopics ¶
func (client *SQSClient) CreateTopics(topics []SNSTopicDefinition) (err error)
func (*SQSClient) PublishToQueue ¶
func (*SQSClient) PublishToQueueJSON ¶
func (*SQSClient) PublishToTopic ¶
func (*SQSClient) PublishToTopicJSON ¶
func (*SQSClient) Subscribe ¶
func (client *SQSClient) Subscribe(queueName string, opts ...SQSSubscribeOpt) <-chan *SQSMessage
type SQSMessage ¶
type SQSQueueDefinition ¶
type SQSSubscribeConfig ¶
type SQSSubscribeOpt ¶
type SQSSubscribeOpt = func(*SQSSubscribeConfig)
func MaxNumberOfMessages ¶
func MaxNumberOfMessages(message int64) SQSSubscribeOpt
func VisibilityTimeout ¶
func VisibilityTimeout(timeout int64) SQSSubscribeOpt
Click to show internal directories.
Click to hide internal directories.