Documentation ¶
Overview ¶
Provides a super minimal publish/subscribe interface with backend implementations for different providers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompletePublisher ¶
type CompletePublisher interface {
PublishUntilComplete(context.Context, []byte, map[string]string) error
}
A CompletePublisher takes some data and publishes it on a topic and returns errors, if any
type Message ¶
type Message interface { Data() []byte Attrs() map[string]string Ack() Nack() EnrichContext(context.Context) context.Context }
A Message is a pubsub message to be consumed by a Worker
Directories ¶
Path | Synopsis |
---|---|
Google Cloud PubSub implemenation
|
Google Cloud PubSub implemenation |
Stub pubsub implementation for testing.
|
Stub pubsub implementation for testing. |
Click to show internal directories.
Click to hide internal directories.