Skip to main content

tokn_accounts/
lib.rs

1//! Account management and request routing.
2//!
3//! `pool` owns provider-bucketed account acquisition; `affinity` keeps
4//! session ids pinned to accounts across related requests; `routing`
5//! resolves a requested model into a route mode + upstream selector for the
6//! pool to consume.
7
8pub mod affinity;
9pub mod inventory;
10pub mod registry;
11pub mod routing;
12
13mod handle;
14mod pool;
15
16pub use handle::AccountHandle;
17pub use inventory::{AccountInventory, AccountPoolRuleset};
18pub use pool::{AccountPool, EndpointAcquire, Error, Result, SessionAcquire};
19pub use routing::{ResolveError, RouteResolution, RouteResolver, RouteSelector};