forklaunch 1.34.0

Launch faster with forklaunch
1
2
3
4
5
6
7
8
9
10
11
12
//! Plans routes; the billing
//! interface declares each operation's contract.
use crate::{api::controllers::plan, registrations::{AppState, Routes}};

pub fn mount(routes: Routes, state: &AppState) -> Routes {
    routes
        .route("createPlan", plan::create_plan(state))
        .route("listPlans", plan::list_plans(state))
        .route("getPlan", plan::get_plan(state))
        .route("updatePlan", plan::update_plan(state))
        .route("deletePlan", plan::delete_plan(state))
}