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 error_ids;
12pub mod install;
13pub mod lock;
14pub mod logging;
15pub mod manager;
16pub mod process;
17pub mod version;
18
19pub use cert::{CertificateFiles, generate_certificates};
20pub use config::{ConfigFiles, generate_local_config};
21pub use doctor::{CheckResult, CheckSeverity, DoctorReport, HealthStatus, NapDoctor, RepairReport};
22pub use install::{LoreInstaller, VerificationResult};
23pub use lock::ProcessLock;
24pub use logging::{
25    LogFileInfo, clear_logs, init_persistent_logging, init_rolling_logging, log_file_size,
26    log_files_info, lore_log_path, nap_log_path, read_recent_logs, tail_log, total_log_size,
27};
28pub use manager::{ServerManager, ServerStatus};
29pub use process::LoreProcessManager;
30pub use version::{
31    LoreInstallationStatus, LoreVersionInfo, PINNED_LORE_VERSION, check_lore_compatibility,
32    detect_lore_version, detect_loreserver_version, verify_lore_installation,
33};