package
1.3.6
Repository: https://github.com/nytimes/gizmo.git
Documentation: pkg.go.dev

# Packages

Package pubsubtest provides a publisher and a subscriber intended for use in tests.

# Variables

Log is the structured logger used throughout the package.

# Interfaces

MultiPublisher is an interface for publishers who support sending multiple messages in a single request, in addition to individual messages.
Publisher is a generic interface to encapsulate how we want our publishers to behave.
Subscriber is a generic interface to encapsulate how we want our subscribers to behave.
SubscriberMessage is a struct to encapsulate subscriber messages and provide a mechanism for acknowledging messages _after_ they've been processed.