Versions in this module Expand all Collapse all v1 v1.0.0 Jan 10, 2023 Changes in this version + type Dispatcher func(Event, SubscriberFn) error + type Event interface + type PubSub struct + func New(dispatcher Dispatcher) *PubSub + func (ps *PubSub) Publish(event Event) error + func (ps *PubSub) Subscribe(subscriberFn SubscriberFn) Unsubscribe + type SubscriberFn interface + type Unsubscribe func() Other modules containing this package github.com/hannahhoward/go-pubsub/v2