package
0.0.0-20230212180147-81f65572bc9b
Repository: https://github.com/thisiserico/golib.git
Documentation: pkg.go.dev
# Packages
Package memory provides an in-memory pubsub mechanism.
Package pubsubtest simplifies the interaction with the pubsub package when running tests.
Package redis provides a way to interact with redis streams.
# Functions
NewEvent creates an event of the specified name that uses contextual information and the given message.
# Interfaces
Publisher defines the capabilities of any publisher.
Subscriber defines the capabilities of any subscriber.
# Type aliases
ErrorHandler should handle the given error and deal with the optional event if necessary.
Handler handles the given event.
ID indicates the event identifier.
Name indicates the event type.