gato_apache_cgi/
apache_service_provider.rs

1use gato_core::kernel::HttpCoreHandler;
2use gato_core::kernel::Provider;
3use crate::ApacheHttpCore;
4
5pub struct ApacheServiceProvider { }
6
7impl ApacheServiceProvider {
8    pub fn new() -> Box<Self> {
9        return Box::new(ApacheServiceProvider {  });
10    }
11}
12
13impl Provider for ApacheServiceProvider {
14    fn boot(&self) {
15        let apache_http_core = ApacheHttpCore::new();
16        HttpCoreHandler::set_driver(Box::new(apache_http_core));
17    }
18}