CorvoNfse.Resources.Health (Corvo NFS-e v0.1.1)

Copy Markdown View Source

The two public (no API key scope required) health checks.

These return the raw response body (unwrap: :none), since the health endpoints do not use the {data: ...} envelope.

Summary

Functions

Liveness probe (GET /v1/health/live).

Readiness probe (GET /v1/health/ready).

Functions

live(client)

@spec live(CorvoNfse.Client.t()) :: {:ok, map()} | {:error, CorvoNfse.Error.t()}

Liveness probe (GET /v1/health/live).

ready(client)

@spec ready(CorvoNfse.Client.t()) :: {:ok, map()} | {:error, CorvoNfse.Error.t()}

Readiness probe (GET /v1/health/ready).