go-observer
Go package for simplifying channel-based broadcasting of events from multiple publishers to multiple observers (by imkira)
mob
mob is a generic-based, simple mediator / event aggregator Golang library. It supports in-process requests / events processing. (by erni27)
go-observer | mob | |
---|---|---|
1 | 1 | |
84 | 14 | |
- | - | |
4.8 | 10.0 | |
10 months ago | about 1 year ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-observer
Posts with mentions or reviews of go-observer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-09.
-
Simple implementation of observer pattern in Go
We have been using github.com/imkira/go-observer to pub/sub event within the same process.
mob
Posts with mentions or reviews of mob.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-23.
-
Mediator pattern in Go - is the juice worth to squeeze?
There are some mediator-like libraries like https://github.com/mehdihadeli/Go-MediatR or https://github.com/erni27/mob but they are not used widely like for example their C# sibling https://github.com/jbogard/MediatR. Also, neither I see custom implementations of mediator in many projects.
What are some alternatives?
When comparing go-observer and mob you can also consider the following projects:
event - Simple observer pattern implementation
Bus - 🔊Minimalist message bus implementation for internal communication with zero-allocation magic on Emit
broadcast - Notification broadcaster library
gosd - A library for scheduling when to dispatch a message to a channel
watermill - Building event-driven applications the easy way in Go.
pubsub - A simple pubsub package for go.
threadpool - Golang simple thread pool implementation
quamina - Home of Quamina, a fast pattern-matching library in Go
go-concurrency-guide - Practical concurrency guide in Go, communication by channels, patterns
zmq4 - A Go interface to ZeroMQ version 4