Skip to main content

Module sinks

Module sinks 

Source
Expand description

EventSink implementations — where ProxyEvents get fanned out to their destinations.

  • stderr_sink: real-time console output.
  • sqlite_sink: persists events into the local SQLite store (crate::store).
  • cloud_sink: batches + POSTs events to cloud.mcpr.app.

Re-exports§

pub use cloud_sink::CloudSink;
pub use cloud_sink::CloudSinkConfig;
pub use cloud_sink::SyncCallback;
pub use cloud_sink::SyncStatus;
pub use sqlite_sink::SqliteSink;
pub use stderr_sink::LogFormat;
pub use stderr_sink::StderrSink;

Modules§

cloud_sink
Cloud event sink — batches proxy events and POSTs them to cloud.mcpr.app.
sqlite_sink
SQLite event sink — writes proxy events to the local SQLite store.
stderr_sink
Stderr event sink — prints proxy events to stderr for real-time visibility.