A0: contract stubs types, transport, fake and registry seams
Land the shared peer contracts: types, error mapping, transport trait, fake transport and fixtures, registry/proxy/health skeletons, the AppState.peers and Config.peers seams, the ping and peers route stubs, and unit plus integration tests. No loops, no network, feature off by default.
This commit is contained in:
1 parent
746b389a2b
commit
4bfb097be6
22 files changed
+1781
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
//! Peer status and GET-only pass-through routes.
|
||||
//!
|
||||
//! Handlers are added here; the module is merged only when `state.peers` is
|
||||
//! set, so a peer-less instance has no peers routes at all.
|
||||
|
||||
use axum::Router;
|
||||
|
||||
use crate::state::AppState;
|
||||
|
||||
pub fn routes() -> Router<AppState> {
|
||||
Router::new()
|
||||
}
|
||||
Reference in new issue
Block a user