fedimint_server::net::api

Function attach_endpoints

Source
pub fn attach_endpoints<State, T>(
    rpc_module: &mut RpcModule<RpcHandlerCtx<T>>,
    endpoints: Vec<ApiEndpoint<State>>,
    module_instance_id: Option<ModuleInstanceId>,
)
where T: HasApiContext<State> + Sync + Send + 'static, State: Sync + Send + 'static,