This commit is contained in:
parent
ac8812be2f
commit
29ff12f115
7 changed files with 111 additions and 69 deletions
|
|
@ -1,5 +1,6 @@
|
|||
use std::{collections::HashMap, fmt, sync::Arc, time::Duration};
|
||||
|
||||
use async_trait::async_trait;
|
||||
use futures::StreamExt;
|
||||
use k8s_openapi::api::{apps::v1::Deployment, core::v1::Service};
|
||||
use kube::{
|
||||
|
|
@ -115,6 +116,7 @@ pub struct McApi {
|
|||
map: Arc<tokio::sync::Mutex<HashMap<String, JoinHandle<()>>>>,
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl MinecraftAPI<Server> for McApi {
|
||||
#[tracing::instrument(
|
||||
name = "MinecraftAPI::query_server",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue