package
1.0.0
Repository: https://github.com/elastic/apm-queue.git
Documentation: pkg.go.dev

# Functions

NewPublishResult creates a PublishResult.
SetPublishResult sets the server ID and error for a publish result and closes the Ready channel.
Wrap returns an abstracted Publisher from a PublisherClient.

# Structs

IPublishResult is a copy from the internal pubsub packgage.

# Interfaces

ErrorStop defines the Stop and Error methods.
Publisher defines an abstracted interface that can be used for mocking or testing purposes.
PublisherClient represents a PubSub PublisherClient.
PublishResult abstracts the pubsub.PublishResult type.

# Type aliases

ReceiveFunc processes a pubsub message.