feat(library): basic library structure completed
This commit is contained in:
@@ -4,7 +4,7 @@ use std::collections::HashMap;
|
||||
* App types
|
||||
* */
|
||||
pub struct HttpAppConfig {
|
||||
port: u8,
|
||||
pub port: u16,
|
||||
}
|
||||
|
||||
pub type HttpAppRouteFunction = Box<fn(HttpRequest) -> String>;
|
||||
|
||||
Reference in New Issue
Block a user