Crate svc_scheduler
source ·Expand description
svc-scheduler Service
Overview
svc-scheduler is responsible for scheduling, confirming and canceling flights.
Re-exports
pub use crate::config::Config;
Modules
- Config
- gRPC provides client and server implementations for gRPC
- gRPC provides Redis implementations for caching layer
Macros
- Writes a debug! message to the
app::grpc
logger - Writes a error! message to the
app::grpc
logger - Writes a info! message to the
app::grpc
logger - Writes a warn! message to the
app::grpc
logger - Writes a debug! message to the
app::router
logger - Writes a error! message to the
app::router
logger - Writes a info! message to the
app::router
logger - Writes a warn! message to the
app::router
logger - Writes a debug! message to the
backend::tasks::tasks
logger - Writes a error! message to the
backend::tasks::tasks
logger - Writes a info! message to the
backend::tasks::tasks
logger - Writes a warn! message to the
backend::tasks::tasks
logger
Statics
- Initialized log4rs handle
Functions
- Initialize a log4rs logger with provided configuration file path
- Tokio signal handler that will wait for a user to press CTRL+C. This signal handler can be used in our
tonic::transport::Server
methodserve_with_shutdown
.