-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use standard initialization for server creation
commit-id:c439ca8b
- Loading branch information
1 parent
fcc6b10
commit bbba509
Showing
8 changed files
with
15 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
use starknet_sequencer_infra::component_server::{create_empty_server, WrapperServer}; | ||
use starknet_sequencer_infra::component_server::WrapperServer; | ||
|
||
use crate::http_server::HttpServer as HttpServerComponent; | ||
|
||
pub type HttpServer = WrapperServer<HttpServerComponent>; | ||
|
||
pub fn create_http_server(http_server: HttpServerComponent) -> HttpServer { | ||
create_empty_server(http_server) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
use starknet_sequencer_infra::component_server::{create_empty_server, WrapperServer}; | ||
use starknet_sequencer_infra::component_server::WrapperServer; | ||
|
||
use crate::monitoring_endpoint::MonitoringEndpoint; | ||
|
||
pub type MonitoringEndpointServer = WrapperServer<MonitoringEndpoint>; | ||
|
||
pub fn create_monitoring_endpoint_server( | ||
monitoring_endpont: MonitoringEndpoint, | ||
) -> MonitoringEndpointServer { | ||
create_empty_server(monitoring_endpont) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters