Cimfu.Suave.Healthcheck


HealthSwitch

Namespace: Cimfu.Suave
Parent Module: Healthcheck

A switch associated with a healthcheck which can be set to return Healthy when enabled and Unhealthy when disabled.

Constructors

ConstructorDescription
new()
Signature: unit -> HealthSwitch
new(disabledMsg)
Signature: disabledMsg:string -> HealthSwitch
new(enabledMsg, disabledMsg)
Signature: (enabledMsg:string option * disabledMsg:string option) -> HealthSwitch
new(getTime, enabledMsg, disabledMsg)
Signature: (getTime:(unit -> Instant) * enabledMsg:string option * disabledMsg:string option) -> HealthSwitch

Instance members

Instance memberDescription
Check
Signature: Healthcheck
Disable(msg)
Signature: (msg:string option) -> unit
Disable()
Signature: unit -> unit
Enable(msg)
Signature: (msg:string option) -> unit
Enable()
Signature: unit -> unit

Static members

Static memberDescription
ServerMain
Signature: HealthSwitch
F# Project
Fork me on GitHub