24 lines
805 B
Rust
24 lines
805 B
Rust
//! gRPC service implementations for the supported credit-control service.
|
|
//!
|
|
//! The product boundary is quota, reservation, wallet, and admission control.
|
|
//! This crate intentionally avoids turning that scope into a finance-grade
|
|
//! billing or settlement system.
|
|
|
|
mod billing;
|
|
mod credit_service;
|
|
mod flaredb_storage;
|
|
mod gateway_credit_service;
|
|
mod nightlight;
|
|
mod sql_storage;
|
|
mod storage;
|
|
|
|
pub use billing::{
|
|
MockUsageMetricsProvider, PricingRules, ProjectBillingResult, ResourceUsage, UsageMetrics,
|
|
UsageMetricsProvider,
|
|
};
|
|
pub use credit_service::CreditServiceImpl;
|
|
pub use flaredb_storage::FlareDbStorage;
|
|
pub use gateway_credit_service::GatewayCreditServiceImpl;
|
|
pub use nightlight::NightLightClient;
|
|
pub use sql_storage::SqlStorage;
|
|
pub use storage::{CreditStorage, InMemoryStorage};
|