Crate boxcap

Crate boxcap 

Source
Expand description

Boxcap is a type of project structure that focuses on a multilayered approach The application layer is responsible for managing the human hardware interface, as well as initalizing code the main component of the application layer is the dispatcher. The dispatcher resgisters services and spawns them their own thread. The logger is another component of the

Modules§

services
The services module represents the shared code between all services Children elements should implement “Service” Children modules under boxcapp::services house that services implmentation. Types are aliased at the service level, this means the usage for a service is as follows

Structs§

Dispatcher
Dispatcher struct that holds a collection of services
Logger
The Logger struct behaves as the software component responsible for logging.
Message
Common structure that messages between threads take
Messenger
Mediary between services that manages the use of the tx, rx pair between services