limon_core/lib.rs
1#![forbid(unsafe_code)]
2
3//! Limon core library.
4//!
5//! - **monitor** - Provides abstractions for collecting measurements
6//! from different types of monitoring sources (e.g., network pings, http
7//! endpoints). Each monitor implements the `measure` method, which returns
8//! a [`Measurement`](monitor::models::Measurement) result.
9//!
10//! - **schedule** – Provides the [`Schedulable`](schedule::Schedulable) trait
11//! and the [`Schedule`](schedule::Schedule) struct for managing objects that
12//! are polled or executed at regular intervals. Items implementing
13//! [`Schedulable`](schedule::Schedulable) have a unique `id` and an associated
14//! interval, allowing efficient lookup and grouping.
15
16pub mod monitor;
17pub mod schedule;