sqs

package
v1.0.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Module loads the sqs module providing an initialized client.

The module is only loaded once.

func NewEvent

NewEvent returns a initialized client

Types

type Client

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

Client represents a sqs client.

func NewClient

func NewClient(c sqs.Client) *Client

NewClient creates a new sqs client.

func (*Client) Publish

func (p *Client) Publish(ctx context.Context, events []*v2.Event) error

Publish publishes an event slice.

Jump to

Keyboard shortcuts

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