Static ReadonlyServiceHelpers to select a service name from params or querystring.
StaticEntryDefault HTTP entrypoint path used by clients.
StaticBaseCreate a gateway endpoint for SvelteKit route files.
Example usage:
const { endpoint, access } = ServiceManager.Base();
export const { GET, POST, PUT, DELETE, PATCH, HEAD } = endpoint;
access('ping');
Select the service from params/query. Defaults to [service_name] param.
Optionaloptions: { accessKey?: string }StaticInternalCall a service-local function (or retrieve a local value).
This is an in-process call (no HTTP).
StaticLoadLoad a service definition (supports export default and optional HMR).
StaticReloadReload a service during HMR:
Service registry and gateway utilities.