Skip to main content

nap_core/server/
mod.rs

1// SPDX-FileCopyrightText: 2026 Digital Creations
2// SPDX-License-Identifier: MIT
3//! Server management for Lore repository backend
4//!
5//! This module provides server lifecycle management for the Local provider,
6//! including certificate generation, configuration generation, and process management.
7
8pub mod cert;
9pub mod config;
10pub mod doctor;
11pub mod install;
12pub mod lock;
13pub mod logging;
14pub mod manager;
15pub mod process;
16pub mod version;
17
18pub use cert::{CertificateFiles, generate_certificates};
19pub use config::{ConfigFiles, generate_local_config};
20pub use doctor::{CheckResult, CheckSeverity, DoctorReport, HealthStatus, NapDoctor, RepairReport};
21pub use install::{LoreInstaller, VerificationResult};
22pub use lock::ProcessLock;
23pub use logging::{
24    LogFileInfo, clear_logs, init_persistent_logging, init_rolling_logging, log_file_size,
25    log_files_info, lore_log_path, nap_log_path, read_recent_logs, tail_log, total_log_size,
26};
27pub use manager::{ServerManager, ServerStatus};
28pub use process::LoreProcessManager;
29pub use version::{
30    LoreInstallationStatus, PINNED_LORE_VERSION, check_lore_compatibility, detect_lore_version,
31    detect_loreserver_version, verify_lore_installation,
32};