eventbridge

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(sys swarm.System, id string, opts ...Config) (swarm.Queue, error)

New ...

Types

type Config

type Config func(*Queue)

Config ...

func PolicyIO

func PolicyIO(policy backoff.Seq) Config

PolicyIO configures retry of queue I/O

sqs.New(sys, "q", sqs.PolicyIO(backoff.Exp(...)) )

func PolicyTimeToFlight

func PolicyTimeToFlight(t time.Duration) Config

PolicyTimeToFlight configures ack timeout

type Queue

type Queue struct {
	*queue.Queue

	Bus   eventbridgeiface.EventBridgeAPI
	Start func(interface{})
	// contains filtered or unexported fields
}

Queue ...

Jump to

Keyboard shortcuts

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