Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgHandler ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func (*Publisher) Publish ¶
func (p *Publisher) Publish(ctx context.Context, msg *sqs.SendMessageInput) (*sqs.SendMessageOutput, error)
type SQSClient ¶
type SQSClient interface { ReceiveMessage( ctx context.Context, params *sqs.ReceiveMessageInput, optFns ...func(*sqs.Options)) (*sqs.ReceiveMessageOutput, error) }
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber(c SubscriberConfig) *Subscriber
func (*Subscriber) Unsubscribe ¶
func (s *Subscriber) Unsubscribe() error
type SubscriberConfig ¶
type SubscriberConfig struct { SQSClient *sqs.Client MsgHandler MsgHandler SQSConfig pubsub.SQS }
Click to show internal directories.
Click to hide internal directories.