Crate zopp_events

Crate zopp_events 

Source
Expand description

Event bus abstraction for zopp secret change notifications.

This crate defines the EventBus trait that allows different implementations for event broadcasting across server replicas:

  • Memory (single server, tokio broadcast channels)
  • Redis (multi-server, Redis pub/sub)
  • Postgres (multi-server, PostgreSQL LISTEN/NOTIFY)

Structs§

SecretChangeEvent
Event representing a change to a secret in an environment

Enums§

EventBusError
Error type for event bus operations
EventType
Type of secret change event

Traits§

EventBus
Event bus trait for publishing and subscribing to secret change events.

Type Aliases§

EventStream
Stream of secret change events