generalize log capture to all admin commands; simplify handler
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
use service::Services;
|
||||
use std::time::SystemTime;
|
||||
|
||||
use conduit_service::Services;
|
||||
|
||||
pub(crate) struct Command<'a> {
|
||||
pub(crate) services: &'a Services,
|
||||
pub(crate) body: &'a [&'a str],
|
||||
pub(crate) timer: SystemTime,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user