Files
NLnetLabs-krill/src/api/mod.rs
T
Martin HoffmannandGitHub 4acdd84ab9 Refactoring and reorganizing. (#1258)
This PR refactors and reorganizes a lot of code. It attempts to organize
things in a way that allows to keep more things private. Conversely, it
made the fields of many data-only structs pub and removed the creator,
accessor, and unpack methods for those.

The PR deliberately avoid any functional code changes given that due to
its sheer size, it is essentially unreviewable.

This is also why it stopped short of re-organizing the structure of the
actual server, ie., the Krillserver and the daemon::http module which
currently have a rather blurry distinction. A follow-up PR will create a
more clear separation but this requires code changes.
2025-03-21 15:20:36 +01:00

16 lines
240 B
Rust

//! Data structures for the API, shared between client and server.
pub mod admin;
pub mod aspa;
pub mod bgp;
pub mod bgpsec;
pub mod ca;
pub mod history;
pub mod import;
pub mod pubd;
pub mod roa;
pub mod rta;
pub mod status;
pub mod ta;