eon.server¶
CPython AKMC / server dispatcher.
Entry points: python -m eon.server python -m eon eon-server (console script → eon.server:main)
Module Contents¶
Functions¶
Return the registered server runner for job, or None for fallback. |
|
Initialize config and dispatch to the configured main job. |
|
Console-script entry point for |
API¶
- eon.server.select_job_runner(job: str) Optional[Callable[[eon.config.ConfigClass], None]][source]¶
Return the registered server runner for job, or None for fallback.
Job modules are imported lazily so
import eon.serverstays light and does not require the full AKMC stack until a job is actually selected.
- eon.server.server(config: eon.config.ConfigClass | None = None) None[source]¶
Initialize config and dispatch to the configured main job.
config defaults to the process-edge module singleton for CLI compatibility; callers should prefer constructing
ConfigClass()and passing it explicitly.