Description
Sample of implementation message bus for project using CQRS pattern.
MessageBus implementation for CQRS projects alternatives and similar packages
Based on the "Go Tools" category.
Alternatively, view MessageBus implementation for CQRS projects alternatives based on common mentions on social networks and blogs.
-
JuiceFS
JuiceFS is a distributed POSIX file system built on top of Redis and S3. -
OctoLinker
OctoLinker — Links together, what belongs together -
go-callvis
Visualize call graph of a Go program using Graphviz -
JSON-to-Go
Translates JSON into a Go type in your browser instantly (original) -
gb
An easy to use project based build tool for the Go programming language. -
kube-prompt
An interactive kubernetes client featuring auto-complete. -
go-critic
The most opinionated Go source code linter for code audit. -
The Go Play Space
Advanced Go Playground frontend written in Go, with syntax highlighting, turtle graphics mode, and more -
Peanut
🐺 Deploy Databases and Services Easily for Development and Testing Pipelines. -
richgo
Enrich `go test` outputs with text decorations. -
golang-tutorials
Golang Tutorials. Learn Golang from Scratch with simple examples. -
xdg-go
Go implementation of the XDG Base Directory Specification and XDG user directories -
rts
RTS: request to struct. Generates Go structs from JSON server responses. -
typex
[TOOL, CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations. -
colorgo
Colorize (highlight) `go build` command output -
roumon
Universal goroutine monitor using pprof and termui -
zb
an opinionated repo based tool for linting, testing and building go source -
gothanks
GoThanks automatically stars Go's official repository and your go.mod github dependencies, providing a simple way to say thanks to the maintainers of the modules you use and the contributors of Go itself. -
go-lock
go-lock is a lock library implementing read-write mutex and read-write trylock without starvation -
Viney's go-cache
A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern. -
goroutines
It is an efficient, flexible, and lightweight goroutine pool. It provides an easy way to deal with concurrent tasks with limited resource. -
terminal-Task
Terminal tasks todo with reminder tool for geek -
An exit strategy for go routines.
An exit strategy for go routines -
go-james
James is your butler and helps you to create, build, debug, test and run your Go projects -
generator-go-lang
A Yeoman generator to get new Go projects started. -
import "github/shuLhan/share"
A collection of libraries and tools written in Go; including DNS, email, git ini file format, HTTP, memfs (embedding file into Go), paseto, SMTP, TOTP, WebSocket, XMLRPC, and many more. -
version
Go package to present your CLI version with an upgrade notice. -
go-pkg-complete
bash completion for go and wgo -
PDF to Image Converter Using Golang
This project will help you to convert PDF file to IMAGE using golang. -
gotestdox
Show Go test results as readable sentences -
rescached
Resolver (DNS) cache daemon. -
go-sanitize
:bathtub: Golang library of simple to use sanitation functions -
gomodrun
The forgotten go tool that executes and caches binaries included in go.mod files. -
go-whatsonchain
:link: Unofficial golang implementation for the WhatsOnChain API -
Proofable
General purpose proving framework for certifying digital assets to public blockchains -
docs
Automatically generate RESTful API documentation for GO projects - aligned with Open API Specification standard -
ciiigo
[mirror] Go static website generator with asciidoc markup language -
try
A go package that offers a try/catch statement block. -
go-preev
:link: Unofficial golang implementation for the Preev API -
golang-ifood-sdk
Golang Ifood API SDK -
go-slices
Helper functions for the manipulation of slices of all types in Go -
redispubsub
Redis Streams queue driver for https://godoc.org/gocloud.dev/pubsub package -
go-pipl
:family_man_woman_boy: Unofficial golang implementation for the pipl.com search API -
channelize
A websocket framework to manage outbound streams. Allowing to have multiple channels per connection that includes public and private channels. -
modver
Compare two versions of a Go module to check the version-number change required (major, minor, or patchlevel), according to semver rules. -
retry
Small, full-featured, 100% test-covered retry package for golang. -
go-mattercloud
:cloud: Unofficial Go implementation for the MatterCloud API
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of MessageBus implementation for CQRS projects or a related project?
Popular Comparisons
-
MessageBus implementation for CQRS projectsvscolorgo
-
MessageBus implementation for CQRS projectsvsGolla
-
MessageBus implementation for CQRS projectsvsgolang-tutorials
-
MessageBus implementation for CQRS projectsvsgo-bitindex
-
MessageBus implementation for CQRS projectsvsPDF to Image Converter Using Golang
README
CQRS Pattern for Go language

Getting Started
Project distributed as open-source example and you can can copy and modify code snippet based on you need or requirements. Project contains following parts:
Create handler(s)
const ExampleEvent = "_EventExample"
type ExampleHandler1 struct {
}
func (h *ExampleHandler1) Event() string {
return ExampleEvent
}
func (h *ExampleHandler1) Execute(... interface{}) error {
fmt.Println("Run Execute...")
return nil
}
func (h *ExampleHandler1) OnSubscribe() {
fmt.Println("Run OnSubscribe...")
}
func (h *ExampleHandler1) OnUnsubscribe() {
fmt.Println("Run OnUnsubscribe...")
}
Add handler into the Bus and send message
func main() {
eventBus := bus.New()
h := &ExampleHandler1{}
eventBus.Subscribe(h)
eventBus.Publish(ExampleEvent, 1, 2, "Test Message", 4.5)
defer eventBus.Unsubscribe(ExampleEvent)
}
Contributing
The project intended to use as a part of part of the project, but if you want to contribute, feel free to send pull requests!
Have problems, bugs, feature ideas? We are using the github issue tracker to manage them.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Valentyn Ponomarenko - Initial work - P-A-R-U-S
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Hat tip to anyone who's code was used
- Inspiration
- etc
*Note that all licence references and agreements mentioned in the MessageBus implementation for CQRS projects README section above
are relevant to that project's source code only.