package
0.1.4
Repository: https://github.com/botchris/go-pubsub.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New returns a new broker with interception capabilities.
WithChainPublishInterceptors returns a Option that specifies the chained interceptor for publishing.
WithChainSubscribeInterceptors returns a Option that specifies the chained interceptor for subscribing.
WithPublishInterceptor returns a Option that sets the PublishInterceptor middleware for the broker.
WithSubscribeInterceptor returns a Option that sets the SubscriberInterceptor for the broker.

# Interfaces

Option sets options for a interceptor broker instance.

# Type aliases

PublishHandler wraps a call to publish, for interception.
PublishInterceptor provides a hook to intercept each message before it gets published.
SubscribeMessageHandler defines the handler invoked by SubscriberInterceptor before a message is delivered to a particular subscriber.
SubscriberInterceptor provides a hook to intercept each message before it gets delivered to subscribers.