Skip to main content

Module worker_server

Module worker_server 

Source
Expand description

Worker HTTP Server

Minimal HTTP server for the A2A worker that provides:

  • /health - liveness probe
  • /ready - readiness probe
  • /task - POST endpoint for CloudEvents (Knative integration)

This enables Kubernetes probes and ingress routing to work.

Structs§

WorkerServerState
Worker server state shared across handlers

Functions§

start_worker_server
Start the worker HTTP server with default state
start_worker_server_with_state
Start the worker HTTP server with custom state