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,