Cimfu.Suave.Healthcheck


Health

Namespace: Cimfu.Suave
Parent Module: Healthcheck

Represents the health of a service.

Union Cases

Union CaseDescription
Healthy
Signature:

Indicates that the healthcheck has passed.

Unhealthy
Signature:

Indicates that the healthcheck has failed and that the service should be marked unhealthy.

Static members

Static memberDescription
( + )(l, r)
Signature: (l:Health * r:Health) -> Health

Adds together two health values such that the result will be Healthy if and only if both operands are Healthy. Otherwise the result will be Unhealthy.

FromJson(arg1)
Signature: Health -> Json -> JsonResult<Health> * Json

Deserializes a Health from a Chiron.Json.

ToJson(x)
Signature: x:Health -> Json<unit>

Serializes a Health to a Chiron.Json.

F# Project
Fork me on GitHub