aimo-cli 0.1.0

AiMo Network router node Rust implementation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::server::context::ServiceContext;

#[derive(Clone)]
pub(super) struct ApiState {
    pub ctx: ServiceContext,
}

impl ApiState {
    pub fn new(ctx: ServiceContext) -> Self {
        Self { ctx }
    }
}