camarero v0.6.1 Camarero.Carta.Heartbeat View Source

Ready-to-go implementation of the hearbeat; responds with 200 / empty object at "/api/v1/heartbeat" endpoint.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Starts the Elixir.Camarero.Carta.Heartbeat linked to the current process

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(into \\ [], opts \\ []) View Source
start_link(into :: Keyword.t(), opts :: Keyword.t()) ::
  {:ok, pid()} | {:error, {:already_started, pid()} | term()}

Starts the Elixir.Camarero.Carta.Heartbeat linked to the current process.