Luukvdm / mediator

A mediator implementation that makes CQRS in Golang a breeze.

Home Page:https://pkg.go.dev/github.com/luukvdm/mediator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mediator

GoDoc Coverage License

A mediator implementation for Golang. The goal of this package is to make using CQRS easy and testable in Golang using the mediator design pattern.

Mediator supports sending requests and publishing and subscribing to notifications. Requests and notifications are passed through a pipeline that can be used for things like logging and tracing. Mediator also makes it easy to mock sending requests. So Http and gRPC handlers can be unit tested.

Examples can be found on pkg.go.dev.

Install it with the Go CLI.

go get github.com/luukvdm/mediator

About

A mediator implementation that makes CQRS in Golang a breeze.

https://pkg.go.dev/github.com/luukvdm/mediator

License:MIT License


Languages

Language:Go 99.0%Language:Makefile 1.0%