Function hotshot_orchestrator::define_api
source ยท pub(crate) fn define_api<KEY, State, VER>() -> Result<Api<State, ServerError, VER>, ApiError>where
State: 'static + Send + Sync + ReadState + WriteState,
<State as ReadState>::State: Send + Sync + OrchestratorApi<KEY>,
KEY: Serialize + SignatureKey,
VER: StaticVersionType + 'static,
Expand description
Sets up all API routes