temp
This commit is contained in:
parent
7757ef32f4
commit
663d508093
6 changed files with 187 additions and 53 deletions
|
@ -11,7 +11,7 @@ use tokio::{net::TcpStream, sync::Mutex};
|
|||
use crate::{
|
||||
config::{Client, Config},
|
||||
db::BoxyDatabase,
|
||||
routes::api::{AddHost, RegisterEndpoint, RemoveHost},
|
||||
routes::api::{AddHostToEndpoint, RegisterEndpoint, RemoveHost},
|
||||
server::{GeneralResponse, custom_resp},
|
||||
services::matcher::Matcher,
|
||||
};
|
||||
|
@ -119,7 +119,7 @@ impl Matcher for ApiMatcher {
|
|||
fn retrieve(&self) -> Vec<Arc<dyn crate::services::matcher::Route<Self> + Sync + Send>> {
|
||||
vec![
|
||||
Arc::new(RegisterEndpoint {}),
|
||||
Arc::new(AddHost {}),
|
||||
Arc::new(AddHostToEndpoint {}),
|
||||
Arc::new(RemoveHost {}),
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue