Crate svc_pricing
source ·Expand description

svc-pricing Service
Overview
provides the ticket price (in USD) for a given trip. The pricing model currently supports three use cases: cargo, rideshare, and charter. The price supplied and presented to the customers through GUI clients should be the definitive charge to be billed.
Modules
gRPC
provides client and server implementations for gRPC
Macros
Writes a debug! message to the 
app::grpc loggerWrites a error! message to the 
app::grpc loggerWrites a info! message to the 
app::grpc loggerWrites a warn! message to the 
app::grpc loggerStructs
struct holding configuration options
Functions
Tokio signal handler that will wait for a user to press CTRL+C.
This signal handler can be used in our [
axum::Server] method with_graceful_shutdown
and in our tonic::transport::Server method serve_with_shutdown.