proxmox-rest-server: start module docs

This commit is contained in:
Dietmar Maurer
2021-09-30 13:49:29 +02:00
parent 49e25688f1
commit a98a288e2d
2 changed files with 27 additions and 4 deletions

View File

@ -1,3 +1,21 @@
//! # Proxmox REST server
//!
//! This module provides convenient building blocks to implement a
//! REST server.
//!
//! ## Features
//!
//! * HTTP and HTTP2
//! * highly threaded code, uses Rust async
//! * static API definitions using schemas
//! * restartable systemd daemons using `systemd_notify`
//! * support for long running worker tasks (threads or async tokio tasks)
//! * supports separate access and authentification log files
//! * separate control socket to trigger management operations
//! - logfile rotation
//! - worker task management
//! * generic interface to authenticate user
use std::sync::atomic::{Ordering, AtomicBool};
use anyhow::{bail, format_err, Error};