generalize log capture to all admin commands; simplify handler
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
eded585f79
commit
94b805de0b
3 changed files with 87 additions and 86 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue