2020-04-13 22:03:06 +02:00
|
|
|
//! Stream the updates appropriate for a given `User`/`timeline` pair from Redis.
|
|
|
|
|
2020-04-22 20:38:22 +02:00
|
|
|
pub use event::Event;
|
|
|
|
pub use redis::Manager as RedisManager;
|
|
|
|
pub use stream::{Sse as SseStream, Ws as WsStream};
|
2020-04-13 22:03:06 +02:00
|
|
|
|
2020-04-22 20:38:22 +02:00
|
|
|
pub(self) use event::err::Event as EventErr;
|
|
|
|
pub(self) use event::Payload;
|
|
|
|
|
|
|
|
pub(crate) mod event;
|
|
|
|
mod redis;
|
|
|
|
mod stream;
|
|
|
|
|
|
|
|
pub use redis::Error;
|
2020-04-13 22:03:06 +02:00
|
|
|
|
|
|
|
#[cfg(feature = "bench")]
|
2020-05-07 16:56:11 +02:00
|
|
|
pub use event::EventKind;
|
|
|
|
#[cfg(feature = "bench")]
|
|
|
|
pub use redis::{Manager, RedisMsg, RedisParseOutput};
|