Core Concepts

Go Event Bus is built on three orthogonal layers:

┌─────────────────────────────────────────────┐
│           Event & Serialization             │
│  Event, WithVersion, Registry, Envelope     │
├─────────────────────────────────────────────┤
│          Execution Pipeline                 │
│  Invoker Chain (Tracing → Metrics → ...)    │
├─────────────────────────────────────────────┤
│          Transport / Delivery               │
│  LocalBus │ NatsBus │ JetStreamBus          │
└─────────────────────────────────────────────┘

Each layer is decoupled from the others. You define events independently of how they’re dispatched, and the execution pipeline works the same way regardless of transport.


Table of contents


Back to top

Copyright © 2025 Isaque de Souza Barbosa. Distributed under the MIT License.