Skip to content

event-bus capability

event-bus adds an in-process domain event bus to your Go service for decoupled communication between components.

  • Event publisher
  • Subscriber interface
  • Async event dispatch

Use event-bus when you want domain components to communicate without direct coupling. A OrderPlaced event lets the billing, notification, and inventory components react independently without the order service knowing about them. Pair with outbox if events must survive process crashes.

Terminal window
verikt new my-service --language go --cap event-bus
# or add to an existing service:
verikt add event-bus

outbox

Transactional outbox to guarantee event delivery on crash.

saga

Saga orchestrator built on top of the event bus.

ddd

DDD building blocks including DomainEvent base types.