class

Mangrullo::HealthServer

Inherits Reference < Object

Minimal HTTP endpoint exposing daemon liveness for Docker health checks. Uses the standard library server so the daemon binary does not need the web stack.

Constructors

new(state : HealthState, interval_seconds : Int32, port : Int32, host : String = Mangrullo::Constants::Web::DEFAULT_HOST)
Source

Instance methods

start

Binds synchronously so callers (and tests) learn the actual port, then accepts connections in a background fiber.

Source