Expand description
jono_core
provides shared utilities for the Jono queue system.
This crate includes common functionality used across the Jono components, such as ULID generation, Redis key management, and error types.
Modules§
Structs§
- Context
- Topic-specific context for Jono operations
- Forum
- Central Redis connection pool that manages access to all topics
- Inspector
- Interface for querying job details
- JobMetadata
- Metadata for a job in the Jono system
- Keys
- Redis key generator for Jono components
Enums§
- Error
- All the possible errors from Jono operations
- JobStatus
- All the possible states that a job can be in
Functions§
- current_
timestamp_ ms - Get current timestamp in milliseconds since UNIX epoch
- generate_
job_ id - Generate a new ULID for a job
- get_
redis_ url - A standardized way to read JONO_REDIS_URL env var
Type Aliases§
- Result
- Return for Jono operations that can succeed (OK) or fail (Err)