Expand description
§Repository Module
Implements data persistence layer for the relayer service using Repository pattern.
Re-exports§
pub use transaction::*;
Modules§
- This module defines an in-memory transaction repository for managing transaction data. It provides asynchronous methods for creating, retrieving, updating, and deleting transactions, as well as querying transactions by various criteria such as relayer ID, status, and nonce. The repository is implemented using a
Mutex
-protectedHashMap
to store transaction data, ensuring thread-safe access in an asynchronous context.
Structs§
- A generic wrapper around a relayer repository implementation.