Module services

Module services 

Source
Expand description

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

let db = services::Database::new()

Instead of

let db = services::database::Database::new()

Modules§

database
The database service provides all interactions between the dispatcher and a remote or local database
www
The www module provdes web services including the following: Scraper FileHoster Server

Structs§

TestService
Test service is helpful to test and build various services

Traits§

Service
Services are the functional blocks that bridge the data and application layers

Functions§

map_comm_pairs
Accepts both a service and a messenger, and assigns them a dual channel tx, rx pair so the service can send messages between threads

Type Aliases§

Database
Alias the database struct from the database module so you dont have to nest it to access it