mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-12-12 18:29:00 -05:00
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