clockwork_plugin 1.4.2

Clockwork plugin for Solana validators
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod thread;
pub mod webhook;

use std::{fmt::Debug, sync::Arc};

use thread::ThreadObserver;
use webhook::WebhookObserver;

pub struct Observers {
    pub thread: Arc<ThreadObserver>,
    pub webhook: Arc<WebhookObserver>,
}

impl Debug for Observers {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "observers")
    }
}